Results 1 to 3 of 3

Thread: Reconnect Script.

  1. #1
    Normal User haerlig's Avatar
    Join Date
    Mar 2012
    Posts
    255
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    19
    Rep Power
    5

    Reconnect Script.

    Yo i want a script for reconnect after ss or if kick, with bp oppener , main bp and 3+ bps if anyone got please share it

  2. #2
    Normal User
    Join Date
    Oct 2012
    Location
    Poland
    Posts
    59
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    bump . Plz bro :]

  3. #3
    Normal User
    Join Date
    Jun 2012
    Location
    Poland
    Posts
    113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    5 Post(s)
    Reputation
    14
    Rep Power
    5
    Code:
    --[[
        Name: Auto Safe Reconnect by BlakW 
        Version: v3.0.0
    ]]--
        
        
    --Account:
    local accountNameIs = ("accoutname")
    
    --Password:
    local passwordNameIs = ("urpass")
    
    --Character name:
    local characterNameIs = ("namecharacter")
    
    --Reopen backpacks:
    local reopenBps = ("yes")
    
    --Main Backpack Name:
    local mainBackpackName = ("Backpack of Holding")
    
    --Loot Backpack Name:
    local lootBackpackName = ("Expedition Backpack")
    
    --Supplies Backpack Name:
    local supBackpackName = ("Orange Backpack")
    
    --Gold Backpack Name:
    local goldBackpackName = ("Red Backpack")
    
    --Temple NPCs:
    local templeNpcNames = {"Alia", "Tyrias", "Brewster", "Rahkem", "Kasmir", "Amanda", "Isimov", "Yberius", "Maealil", "Quentin", "Lynda", "Lorietta", "Prezil", "Kjesse", "Asralius"}
    
    
    if (connected == false)
    then
        connect(accountNameIs, passwordNameIs, characterNameIs)
        wait(600, 1800)
        pausewalking(10000)
    
        if ((pzone == true) and (maround(7, false, unpack(templeNpcNames)) >= 1))
        then
            wait(1500)
            closetibia()
            wait(1500)
            message("Reconnect Message: Tibia client has been closed because character was inside a temple. This is to protect your character from being killed by other players.")
        end  
    
        wait(2500)
        if ((reopenBps == ("yes")) and (windowcount() == 0) and (maround(7, false) == 0) and (lootbodiescount == 0))
        then
            closewindows()
            wait(2000, 3500)
            while ((windowcount(mainBackpackName) == 0))
            do
                openitem(mainBackpackName, "back")
                wait(2000)
                resizewindows()
            end
            wait(2000, 3500)
            while ((windowcount(supBackpackName) == 0) and (windowcount(mainBackpackName) == 1))
            do
                openitem(supBackpackName, mainBackpackName, true)
                wait(2000)
                resizewindows()
            end
            wait(2000, 3500)
            while ((windowcount(lootBackpackName) == 0) and (windowcount(mainBackpackName) == 1))
            do
                openitem(lootBackpackName, mainBackpackName, true)
                wait(2000)
                resizewindows()
            end
            wait(2000, 3500)
            while ((windowcount(goldBackpackName) == 0) and (windowcount(mainBackpackName) == 1))
            do
                openitem(goldBackpackName, mainBackpackName, true)
                wait(2000)
                resizewindows()
            end
            wait(2000, 3500)
        end
        setcavebot("yes")
        wait(2000, 3500)
        setlooting("yes")
        wait(1000, 2500)
        settargeting("yes")
        wait(2000, 3500)
    end
    By BlakW

Posting Permissions

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