autofocus / nethack-android

Automatically exported from code.google.com/p/nethack-android
0 stars 0 forks source link

Phone rang and was not answered - game was destroyed #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Was playing nethack version 1.2.1-alpha
2. Phone rang - I didn't answer it.  After it went to voicemail, nethack 
crashed.
3. Re-entered Nethack - could not resume game with same character.  Got 
"There is already a game in progress under your name. Destroy old game? 
[yn]" message.

What is the expected output? What do you see instead?
I should've been able to resume the game.

What version of the product are you using? On what operating system?
Nethack 1.2.1-alpha  G1-Android 1.6

Please provide any additional information below.

I noticed that this message appears in the "unixunix.c" code in the source 
code.  The unixunix.c code seems to be aimed at a server implementation.  
pcunix.c might be better for use on a single user environment.

At any rate, it should be possible to recover the character outside of 
nethack if the lock files could be deleted.

Original issue reported on code.google.com by happe...@gmail.com on 25 Feb 2010 at 10:55

GoogleCodeExporter commented 9 years ago
This is a duplicate of Issue 12. 

Great observation about unixunix vs. pcunix.

Original comment by davidkwood@gmail.com on 21 Jun 2010 at 4:11

GoogleCodeExporter commented 9 years ago
Yeah, I've recovered a game by transferring save files to pc, running 
nethack-recover, then transferring them back. But it's a lot of work, and not 
something an average user would be able to do. See Issue 37 as a request to put 
nethack-recover on the phone itself, and maybe even have it automatically run.

Original comment by dro...@gmail.com on 21 Jun 2010 at 8:41

GoogleCodeExporter commented 9 years ago
In version 1.2.4, there is another recovery option, in addition to the 
auto-recover that already happened after the application gets properly shut 
down by the OS. Now, instead of getting prompted if you should destroy the old 
game, you get prompted if you want to recover (like what the MSDOS version 
does). Hopefully this will take care of the problem. Please report back here if 
you're still having problems.

Original comment by farnst...@gmail.com on 2 Jul 2010 at 10:56