Page 1 of 1

Cannot leave the game!!!

Posted: Thu May 13, 2010 2:49 pm
by PowerWyrm
Ok I had a character going and ran of playing time, so I decided to press ctrl-x to leave the game. Then I'm told to press Enter and the game starts saving its state. But to my disappointment, instead of closing itself, the game brings me back to the character generation screen and tells me to choose a name for my character... I try again to press ctrl-x and Enter, but nothing happens at all! In last resort, I had to kill the process...
BTW, next time I restarted the game... I got told I didn't have any saved game available :(

Re: Cannot leave the game!!!

Posted: Thu May 13, 2010 11:16 pm
by darkgod
Weird, if this happens again could you send me the log ?
it's in stdout.txt

Re: Cannot leave the game!!!

Posted: Mon May 24, 2010 7:28 pm
by PowerWyrm
Ok I'm back from my holidays... Looking at the log, I can find 2 lua errors that could have caused the problem.

Code: Select all

Lua Error: /special/mainmenu/class/Game.lua:167: attempt to index field 'step' (a nil value)
	At [C]:-1 
	At /special/mainmenu/class/Game.lua:167 drawDialog
	At /engine/Dialog.lua:89 display
	At /engine/Game.lua:94 display
	At /special/mainmenu/class/Game.lua:55 
	At [C]:-1 forceRedraw
	At /engine/Savefile.lua:207 loadWorld
	At /special/mainmenu/dialogs/EnterName.lua:43 plain
	At /engine/KeyCommand.lua:69 receiveKey
	At /engine/KeyBind.lua:178

Code: Select all

Lua Error: /mod/class/Game.lua:185: attempt to index field 'level' (a nil value)
	At [C]:-1 
	At /mod/class/Game.lua:185 getSaveDescription
	At /engine/Savefile.lua:127 saveGame
	At /mod/dialogs/Quit.lua:36 ?
	At /engine/KeyBind.lua:171 
Lua Error: /mod/class/Game.lua:185: attempt to index field 'level' (a nil value)
	At [C]:-1 
	At /mod/class/Game.lua:185 getSaveDescription
	At /engine/Savefile.lua:127 saveGame
	At /mod/dialogs/Quit.lua:36 ?
	At /engine/KeyBind.lua:171
If you need the whole log file, I still have it...

Re: Cannot leave the game!!!

Posted: Fri Jan 28, 2011 1:41 am
by PowerWyrm
This problem happens again in b19. Press "Save and exit", you're redirected to the initial screen but the popup freezes half way before showing up and the only way to quit the game is by killing the process. Nothing in stdout (as the file is not refreshed at the time the problem appears).

Re: Cannot leave the game!!!

Posted: Fri Jan 28, 2011 7:03 pm
by darkgod
Uh, same log ?
It's quite weird, you jsut do ctrl+x and it does it, everytime ?