PDA

View Full Version : Relog and Character Switch



tibiaa
10-28-2014, 12:08 PM
Hi there,
This is my first post, so I apologize if it seems ignorant.

This is my first time botting and xenobot is amazing. However, I think it would be better if it was possible to log out of one character and in on another character. Based on my forum readings, it seems we are unable to do it, but I searched ibot and they can do it with the following code:
local ACC, PASS = "account", "password"
local CHARS = {"char1","char2","char3","char4"}

--[[ ENGINE ]]--
local INDEX_CHAR
if (stamina <= 900 and pzone) then
for INDEX, CHAR_NAME in ipairs(CHARS) do
if (name == CHAR_NAME) then
INDEX_CHAR = INDEX
end
end
if (INDEX_CHAR == #CHARS) then
INDEX_CHAR = 0
end
setcavebot("no") wait(3000, 4500)
logout() wait(3000, 4500)
connect(ACC, PASS, CHARS[INDEX_CHAR + 1]) wait(3000, 4500)
gotolabel("start") wait(3000, 4500)
setcavebot("yes") wait(3000, 4500)
end

So, again, my suggestion is that you make this possible somehow in xenobot. If it is already possible, please say so. Thanks a gillion and thanks for providing this program,

tibiaa
10-28-2014, 09:07 PM
oops, nvm with this one post :/
Thanks again if this has potential.