PDA

View Full Version : Self.Logout() not working?



ramakil
12-05-2015, 05:03 PM
Whenever I run a script with Self.Logout() I get this error "Error: attempt to call field 'Logout' (a nil value)" every time. Does anyone know what could be wrong?

Nakuu
12-05-2015, 05:06 PM
Do you play on OTs which is not up to date with real tibia?

ramakil
12-05-2015, 05:20 PM
The newest xenobot is for 10.82 and the ot im on is 10.77, can Self.Logout() only work with some functionality added between those patches?

Nakuu
12-05-2015, 05:25 PM
Self.Logout() function has been added in XenoBot (Binary) v15.11.10.1092 (http://forums.xenobot.net/showthread.php?38931) which is 10.82 protocol. So all those new functions are not available in earlier clients.

ramakil
12-05-2015, 05:32 PM
Okay, that's a shame. I figured it would work on earlier protocols unless something was added to tibia between those patches that specifically made Self.Logout() possible.

shadowart
12-05-2015, 05:35 PM
Use os.exit() instead.