I just want to make very simple reconnecter to next character, i even do not want to check if character is login or not, because I know that he is not.
So I made action point inside my script and put such code there :
local accountName = "login"
local accountPass = "pass"
local character = "character name"
connect(accountName, accountPass, character)
I log off from game and set this action at the beggining and run cavebot, but nothing happened, cavebot just stay on this action, no window to logging appeared in tibia client, nothing. So how to use this function ?
Also such simple script doesn't work :
the character is beeing logout, and scripts stoped at recconect, but when I made reconnect hotkey, and press this hotkey it works.
<w000>Action 31977 32277 7 logout();wait(4000,5000)</w000>
<w001>Action 31977 32277 7 reconnect()</w001>
<w002>Stand 31984 32277 7 0</w002>
<w003>Stand 31977 32277 7 0</w003>