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
07-08-2014, 08:01 AM
Dekk
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.
07-08-2014, 12:56 PM
elguiie
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
Quote:
auto(500)
if not $connected and currenttime() < '04:55:00' and currenttime() > '05:20:00' then
connect('*****','******','char1')
waitping()
end
is that right?
07-08-2014, 01:02 PM
Dehan
Quote:
Originally Posted by elguiie
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
07-08-2014, 01:13 PM
elguiie
What If I have 2 clients opened?
07-08-2014, 01:50 PM
pvzin
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
07-09-2014, 03:53 AM
elguiie
thx dudes, rep+ for both of you
07-09-2014, 05:25 AM
kolaroov
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])