Results 1 to 2 of 2

Thread: [Release] Logout for Reconnect at server save

  1. #1
    iBot User
    Join Date
    May 2012
    Location
    Spain
    Posts
    213
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    15 Post(s)
    Reputation
    32
    Rep Power
    5

    [Release] Logout for Reconnect at server save

    here you have a code that you can combine with a reconnect after SS.. I didnt tested yet but I think its full working and it will make you logout safety, you can put it to go to a specify label if you feel that there u will be more safe... enjoy
    Code:
    if maround(7) == 0
    then
          setcavebot('no')
          wait(1000)
          if (lootbodies == false) and (connected == true) and (battlesigned == false) then 
            repeat
                     focusclient()
                     wait(1000)
                     logout()
                     wait(1000)
            until (connected == false)
                     wait(100,300)
                     setlooting('no')
                     wait(100,300)
                     settargeting('no')
          end
    end
    Regards,
    Last edited by NWA; 06-09-2012 at 12:16 AM. Reason: addind () to maround()

  2. #2
    iBot User
    Join Date
    May 2012
    Location
    Spain
    Posts
    213
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    15 Post(s)
    Reputation
    32
    Rep Power
    5
    Quote Originally Posted by Ropiderz View Post
    I'm pretty sure that it doesn't work.

    maround == 0 is called without arguments;
    lootbodies is an int variable not boolean;

    You should use

    maround(7) == 0
    lootbodies == 0

    Anyway good job trying to make it by yourself, just read about the functions of bot and that's all.
    about the () i forgot to put cuz i do the script in the forum not in bot, about the lootbodies it return false, false means 0 so not bodys left so it works..

Posting Permissions

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