Signup Now
Results 1 to 8 of 8
  1. #1
    Free User
    Join Date
    Jun 2014
    Posts
    6
    Reputation
    10
    Rep Power
    0

    Wink Recconect :confused:

    Hello!

    I'm using windbot for like 2 months now, and i've tried so many reconnect scripts.. but none of them work..

    does anyone have a working reconnect persistent/script/hotkey? ?

    With these kicks and lags, and server save, this is now the most important script I need

    Thx all
    Last edited by elguiie; 07-08-2014 at 03:52 AM.

  2. #2
    Banned
    Join Date
    May 2014
    Location
    Somewhere in the world.
    Posts
    361
    Reputation
    71
    Rep Power
    0
    Yes dude. Add the following script to persistent.
    Here your are:

    Code:
    auto(500)
    if not $connected and currenttime() < '09:45:00' and currenttime() > '10:20:00' then
                connect('acc','pass','char')
                waitping()
    end
    I set that hours to avoid reconnect while SS is going on.

  3. #3
    Free User
    Join Date
    Jun 2014
    Posts
    6
    Reputation
    10
    Rep Power
    0
    I have to write my ('acc name","password','character name') by hand?

    example: ( 'windbot' , 'pass123' . 'elguiie' )

    and at mine server, ss is 5:00..

    so I can put like

    auto(500)
    if not $connected and currenttime() < '04:55:00' and currenttime() > '05:20:00' then
    connect('*****','******','char1')
    waitping()
    end

    is that right?

  4. #4
    Moderator Dehan's Avatar
    Join Date
    Dec 2013
    Posts
    1,404
    Reputation
    315
    Rep Power
    27
    Quote Originally Posted by elguiie View Post
    I have to write my ('acc name","password','character name') by hand?

    example: ( 'windbot' , 'pass123' . 'elguiie' )

    and at mine server, ss is 5:00..

    so I can put like




    is that right?
    yes, and keep your client focused

  5. #5
    Free User
    Join Date
    Jun 2014
    Posts
    6
    Reputation
    10
    Rep Power
    0
    What If I have 2 clients opened?

  6. #6
    Free User pvzin's Avatar
    Join Date
    Dec 2013
    Location
    USA
    Posts
    974
    Reputation
    48
    Rep Power
    22
    This should do the trick:
    auto(500)

    if not $connected and currenttime() < '04:55:00' and currenttime() > '05:20:00' then
    focusclient()
    connect('*****','******','char1')
    waitping()
    end
    Yours,
    pvzin

  7. #7
    Free User
    Join Date
    Jun 2014
    Posts
    6
    Reputation
    10
    Rep Power
    0
    thx dudes, rep+ for both of you

  8. #8
    Free User
    Join Date
    Jun 2014
    Posts
    56
    Reputation
    10
    Rep Power
    21

    init start
    local ReopenBps = true
    local IgnoreSS = false


    -- DO NOT EDIT BELOW --
    local state, logout_callBacks = true, {
    {
    function()
    return isontemple()
    end,

    function()
    return messagebox('Reconnect Issue', 'Reconnect persistent was disabled because your character was inside a temple.\nTo enable script again just enter on it and click on OK.')
    end
    },

    {
    function()
    return ($self.skull == SKULL_RED or $self.skull == SKULL_BLACK) and $pzone
    end,

    function()
    return messagebox('Reconnect Issue', 'Reconnect persistent was disabled because your character have gained a red/black skull.\nTo enable script again just enter on it and click on OK.')
    end
    }
    }

    if $curscript.type == 'cavebot' then
    messagebox("Reconnect Issue", "Reconnect should be placed at Scripter/Persistents and not Cavebot/Scripter.\nChange this setting to run it properly.")
    state = false
    end

    init end

    auto(1000, 2000)

    if (not IgnoreSS) and (sstime() <= 600 or sstime() >= 85800) then
    return
    end

    if not $connected and state then
    local ts = $timems
    setsetting('Targeting/Enabled', 'no')
    setsetting('Cavebot/Enabled', 'no')
    pausewalking(10000)

    while not $connected do
    keyevent(0x1B)
    reconnect()
    waitping()
    end

    if not $connected then
    return
    else
    for _, xlogf in ipairs(logout_callBacks) do
    if xlogf[1]() then
    state = false
    logout()
    return xlogf[2]()
    end
    end

    if ReopenBps then
    local min = $minimized

    if min then
    restoreclient() waitping()
    end

    reopenwindows('small')

    local waittime = {1, 1}

    while $openingbps do
    waitping(1 + waittime[1], 1.2 + waittime[2])

    waittime[1], waittime[2] = waittime[1] + 1, waittime[2] + 1

    if $timems - ts >= 10000 or maround(5) > 0 then
    pausewalking(5000)
    setsetting('Targeting/Enabled', 'yes')
    setsetting('Cavebot/Enabled', 'yes')
    end
    end

    if min and not $minimized then
    minimizeclient()
    end
    end

    setsetting('Targeting/Enabled', 'yes')
    setsetting('Cavebot/Enabled', 'yes')
    pausewalking(0)
    end
    end


    This one works for me ( it opens your bp slot and all the bps inside that bp)

 

 

Posting Permissions

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