Results 1 to 6 of 6

Thread: Reconnect after Server Save

  1. #1
    Normal User
    Join Date
    Jun 2012
    Posts
    54
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    11
    Rep Power
    5

    Reconnect after Server Save

    Hello, I'm looking for a script that allow me to reach a certain Waypoint and then logout at "x:xx:xx" hour, after save server at "x:xx:xx" hour login and start hunt again. Coould someone create an action like this? or something? thank you

  2. #2
    Normal User
    Join Date
    Oct 2012
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    need too
    : ) thx

  3. #3
    Normal User
    Join Date
    Sep 2012
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    and i need ;p

  4. #4
    Normal User
    Join Date
    Feb 2014
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    3
    Im looking for a good server save action script anyone can post????

  5. #5
    iBot User walukasz's Avatar
    Join Date
    Feb 2012
    Location
    Poland
    Posts
    312
    Mentioned
    39 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    25 Post(s)
    Reputation
    67
    Rep Power
    5
    Code:
    if (time() < "10:00" or time() > "10:10") and not connected then
        setcavebot("no")
        settargeting("no")
        setlooting("no")
        
        while not connected do 
            reconnect()
            wait(2000, 4000)
            updateworld()
        end
        
        local TEMPLE_NPCS = {"Maealil", "Alia", "Isimov", "Quentin", "Yberius", "Rahkem", "Kasmir", "Amanda", "Prezil", "Tyrias", "Brewster", "Kjesse", "Lorietta"}
    
        for _, NPC in ipairs(TEMPLE_NPCS) do
            if maround(7, false, NPC) > 0 then
                closetibia()
                message("You died.")
            end
        end
    
        setsettings("Settings\\CaveBot\\Settings\\OpenNextBp", "no")
        while windowcount(MainBP) ~= 1 or windowcount(LootBP) ~= 1 or windowcount(GoldBP) ~= 1 or windowcount() ~= 3 do
            closewindows()
            wait(400, 600)
    
            openitem(MainBP, 'back')
            wait(400, 600)
            resizewindow(MainBP, 0)
    
            openitem(LootBP, MainBP, true)
            wait(400, 600)
            resizewindow(LootBP, 0)
            
            openitem(GoldBP, MainBP, true)
            wait(400, 600)
    
            resizewindows()
        end
        setsettings("Settings\\CaveBot\\Settings\\OpenNextBp", "yes")
        setcavebot("yes")
        settargeting("yes")
        setlooting("yes")
    end
    Unless your script is very specific it will work for it. You will be kicked on server save, and after it bot will login, open backpacks and continue whatever it was doing. You should just change backpack reopening if you have different variables or something.

  6. #6
    iBot User
    Join Date
    May 2012
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    10 Post(s)
    Reputation
    10
    Rep Power
    5
    /\ can I use this reconect? I Got 4 bps - main, loot, pots and gold. Will it work?

Posting Permissions

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