Results 1 to 4 of 4

Thread: Need reconnect script that does NOT reconnect after death

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

    Need reconnect script that does NOT reconnect after death

    I need a script that reconnects but NOT after a death. i wouldnt wanna run around without tof or blessings now

    ~EDIT~Is there any recconect script that logs out like 10 min before SS and then logs in 10~ mins after?
    Last edited by oronanomicon; 08-25-2012 at 11:27 AM.

  2. #2
    Normal User
    Join Date
    May 2012
    Location
    Venezuela
    Posts
    124
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    6 Post(s)
    Reputation
    11
    Rep Power
    5
    ]]--


    --Account:
    accountNameIs = ("abcdefg")

    --Password:
    passwordNameIs = ("1234567")

    --Character name:
    characterNameIs = ("Your Char name")


    if (connected == false)
    then
    connect(accountNameIs, passwordNameIs, characterNameIs)
    wait(600, 1800)
    pausewalking(10000)
    setcavebot("yes")
    wait(300)
    settargeting("yes")
    wait(300)
    setlooting("yes")
    wait(1000)
    end

  3. #3
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    use any working reconnect and add this to a new action
    Code:
    if findcreature("TEMPLE_NPC_NAME_HERE") ~= -1 then
    closeclient() end

  4. #4
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    By default, the bot is set to pause after death anyway. Therefore, if you disconnect with any reconnect action running, it will reconnect, but if you die the bot will pause and so will the reconnect script.

    So you don't need to do anything unless you change this setting.

    PHP Code:
    setsettings("Settings\\CaveBot\\Settings\\PauseOnDeath\\""yes"

Posting Permissions

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