Results 1 to 3 of 3

Thread: Reconnect.

  1. #1
    iBot User
    Join Date
    Dec 2012
    Posts
    4
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4

    Reconnect.

    Hello.

    I'm looking for scrypt to login and open bp's after disconnect cuz my provider internet is sux. Got many kick's per day

  2. #2
    Moderator Drakke's Avatar
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,898
    Mentioned
    216 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    389 Post(s)
    Reputation
    366
    Rep Power
    10
    @Shaki
    Very simple and easy one

    Lua Code:
     
    --Use reconnecter
    local reconnecter = true
     
    --What backpacks to open
    local usemainbps = true
    local usesuppliebps = true
    local uselootbps = true
    local usegoldbps = true
     
    --Which backpacks to use
    local mainbp = 'backpack'
    local suppliebp = 'deepling backpack'
    local lootbp = 'fur backpack'
    local goldbp = 'green backpack'
     
    --Do not touch below here
    if not connected and (time() < '9:59:00' or time() > '10:25:00') and reconnecter then
     
    setcavebot('off')
    setlooting('off')
    settargeting('off')    
     
    while not connected do
    reconnect()
    wait(1000,1500)
    updateworld()
    end
     
    local templenpcs = {"Alia", "Tyrias", "Brewster", "Rahkem", "Kasmir", "Amanda", "Isimov", "Yberius", "Maealil", "Quentin", "Lynda", "Lorietta", "Prezil", "Kjesse", "Asralius"}
    for i=1,#templenpcs do
    if maround(15, templenpcs[i]) > 0 then
    closetibia()
    end
    end
     
    if usemainbps then
    while windowcount(mainbp) == 0 do
    openitem(mainbp, 'back', true)
    wait(1000)
    resizewindows()
    wait(500, 800)
    updateworld()
    end
    end
    if usesuppliebps then
    while windowcount(suppliebp) == 0 do
    openitem(suppliebp, mainbp, true)
    wait(1000)
    resizewindows()
    wait(500, 800)
    updateworld()
    end
    end
    if uselootbps then
    while windowcount(lootbp) == 0 do
    openitem(lootbp, mainbp, true)
    wait(1000)
    resizewindows()
    wait(500, 800)
    updateworld()
    end
    end
    if usegoldbps then
    while windowcount(goldbp) == 0 do
    openitem(goldbp, mainbp, true)
    wait(1000)
    resizewindows()
    wait(500, 800)
    updateworld()
    end
    end
     
    setcavebot('on')
    setlooting('on')
    settargeting('on')
     
    end
    Last edited by Drakke; 08-30-2014 at 07:37 PM.

  3. #3
    iBot User
    Join Date
    Dec 2012
    Posts
    4
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    Good one. Ty but im looking for script to log in after disconnect/ kick.

    My router made kick's 4-8 times per day.

    Need to log in and open bp's after kick.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •