when I execute the code:
Code: Select all
player:logout(true);for the code to procede I have to press ESC once, so it exits the 'character select menu', and continues to execute code, closing the game and activating the shutdown timer.
I need it to be fully automatic.
I dont know if I need an updated player.lua of it is from the chapter IV.
I checked and maybe there could be an error in the file classes/player.lua from the line 2833 down
it may need a line of code to make it exit 'character select menu' and procede the code normaly.
Hope you can help me