no one can help me? have something in bot that can detecte if my character is on screen?
you should do logout()
lol...
auto(1000)
if not $connected then
restoreclient()
reconnect()
wait(3000,5000)
end
The bot wont reconnect because he think the character still online... i need something to check if my char is on screen or another idead
im still with this shit help please
auto(1000)
if not $connected then
restoreclient()
reconnect()
wait(3000,5000)
elseif $standtime > 10000 then
press("[CTRL] [G]")
end
Not sure if it'll work, you need Raphael's library.
Leonardo it didnt worked, please help me! i see that when i press only ctrl using your script it open the character list, but if i dont press ctrl it dont open!
Try one of these:
auto(1000)
if not $connected then
restoreclient()
reconnect()
wait(3000,5000)
elseif $standtime > 60000 then
logout()
end
auto(1000)
if not $connected then
restoreclient()
reconnect()
wait(3000,5000)
elseif $standtime > 60000 then
foreach creature p "ps" do
if p.name == $name then
return
end
end
logout()
end
Last edited by Leonardo; 01-01-2014 at 01:27 AM.
Leonardo the second script gived a error, and bot dont logout pressing CTRL+L (logout)
Sorry try the second again, if it doesn't work I dont have any idea to logout. I've this problem too when the server kick me and I haven't find any solution.