Not be better to the bot, when reconnects open ALL Bps??...
also waiting to have 100% working reconnect for SS
this might help you just change hour to your timezone
(not (((tonumber(os.date("%H"))==9) and (tonumber(os.date("%M"))>43)) or ((tonumber(os.date("%H"))==10) and (tonumber(os.date("%M"))<22))))
and control how long you are waiting to connect, for example
local maxtime = 200 --1/10seconds
local waittime = 0
while not $connected do
wait(100)
if maxtime < waittime then return end
waittime=waittime+1
end
Last edited by jakub; 12-26-2013 at 09:03 PM.
Where can I find Raphael's library documentation? I see he uses Javadoc to generate documentation:-)
edit:
I found it's only in source code. No extern doc for now.
Last edited by jakub; 12-26-2013 at 09:56 PM.
Reconnect is awesome but it needs a little fix - when you logging inside resp with few monsters, bot set targetting on, and then you trying attack monsters when you need wait (i dont remember how many time after logging is needed to wait) so you trying attack something and luring another. Would be nice to do waits for cavebot and targetting till char can attack creatures (and in this time bot will open bp ofc).
Good job + rep
on my scripts... this bot open only 2 bps...
main and second
orange and brocade doesnt open...local backpacks = {
{'Backpack of Holding', 'back'},
{'Beach Backpack' , '0' },
{'Brocade Backpack' , '1', false},
{'Orange Backpack' , '2' },