elimelec / inethack

Automatically exported from code.google.com/p/inethack
GNU General Public License v2.0
0 stars 0 forks source link

Role and race change! #116

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
This is a weird one, and I don't have a simple way to reproduce it.

I was playing the app store 1.1 release as a chaotic elven wizard.  I ate a
floating eye corpse and got the message indicating I had acquired
telepathy.  I hit 'i' on the quick bar to check my inventory to see if I
had a blindfold, and after a pause got a recovery prompt.  I hit the home
button to quit, thinking that 'safer' than recovering in a possibly
memory-corrupted program.  Upon restarting I didn't get a recovery prompt,
the game just loaded a save file (so maybe inethack recovered and saved
when I hit home?).  Everything looked normal (I was still standing in the
same spot).  I continued playing for a few more turns and encountered a
monkey, which stole an unidentified scroll.  I tried to force bolt the
monkey... and failed to cast the spell correctly.  All of my spell failure
rates were drastically increased (67-100% from 0%).  After a period of
bafflement, I checked my character info and discovered that I had changed
into a chaotic human knight!  I assume that this somehow occurred at the
time of the recovery prompt appearing.

I still have this game on my phone, though I suppose it is unwinnable for
me now (I have no idea how to play a knight, i have lots of spells I can't
cast, almost no inventory, and the wrong stats).  So if there is anything I
can do to examine the current state let me know.

Also, any advice for my very confused chaotic knight?

Original issue reported on code.google.com by dscher...@gmail.com on 23 Sep 2009 at 12:01

GoogleCodeExporter commented 8 years ago
Ok, this *is* very weird. iPhone OS 3.0 or 3.1? Jailbroken?

As for advice I regularly read up on the nethack wiki, I've never played a 
knight in
my whole life.

Original comment by din...@gmail.com on 23 Sep 2009 at 10:27

GoogleCodeExporter commented 8 years ago
OS 3.0.1 (7A400).  Not jailbroken.

For what it's worth, this _may_ have happened to me once before.  At least, I
suddenly had a spell that was at 0% fail (when playing as a wizard).  But I 
don't
remember the circumstances as well, and I died before investigating (so I don't 
know
for sure that my class changed).

What is supposed to happen if you quit the game at a recovery prompt?  Does it 
"save"
anyway?  Does the app actually restart itself before displaying a recovery 
prompt, or
just do it in a potentially corrupted process?

Original comment by dscher...@gmail.com on 23 Sep 2009 at 6:31

GoogleCodeExporter commented 8 years ago
This is similar to a crash I reported during the beta.  I'll see if I can find 
the
report.  In my case, my role may have changed, but I know my inventory 
(specifically
an amulet) did

Original comment by Ranb...@gmail.com on 23 Sep 2009 at 7:29

GoogleCodeExporter commented 8 years ago
Ranbato, issue 88? Both issues seem to have telepathy in common.

NetHack is forced to save whenever to bail to the home screen, with some 
exception
like char gen.

I think the core of the problem is the semi crash without any panic. A UI crash 
would
crash to the home screen, a NetHack usually issues panic.

Original comment by din...@gmail.com on 24 Sep 2009 at 8:00

GoogleCodeExporter commented 8 years ago
That's it.

Original comment by Ranb...@gmail.com on 24 Sep 2009 at 8:11

GoogleCodeExporter commented 8 years ago
When I died, I learned that my previous game did indeed manifest a class change 
-
there is a caveman on my high score list!  I also learned that when a wizard 
becomes
a knight he doesn't gain the ability to #jump :-)  My character "tile" also 
stayed a
wizard.

I think that when a "Recover Y/N" prompt is on the screen, quitting should not
trigger a save.

Original comment by dscher...@gmail.com on 27 Sep 2009 at 7:24

GoogleCodeExporter commented 8 years ago
Game's now saved only while in progress (r273). But I don't think this will fix
anything, because I really don't get how the character selection can occur in 
the
middle of a game.

There's no loop around the main loop ...

Original comment by din...@gmail.com on 28 Sep 2009 at 8:52

GoogleCodeExporter commented 8 years ago
I just had this happen again.
Sat on throne in Ft. Ludios and it asked me if I wanted to recover my game.  In 
the
background, a genocide prompt came up ?!@#?!$!

My Valk is now a 14 level Samurai with the Orb of Fate, Excalibur, and 
Mjollnir! (now
Rodney won't steal my quest artifact?)

Anyway, I have a backup from yesterday so tomorrow I'll see if I can upload 
both.

Original comment by Ranb...@gmail.com on 1 Oct 2009 at 2:33

GoogleCodeExporter commented 8 years ago
So you sit down on the throne and it asks you to recover in the same game? Or 
did it
crash to the main screen when you sat down, then you restart and then it wants 
to
recover?

Original comment by din...@gmail.com on 1 Oct 2009 at 5:16

GoogleCodeExporter commented 8 years ago
I sat down, the recover came up, then behind the recover prompt came up the 
genocide prompt from the 
throne. I even tried clicking past the recover prompt to see if I could 
continue with the genocide. I finally 
relented and clicked recover. Everything seemed unchanged in my game except my 
class. Note there was 
a clear moment or two where the recover prompt was there with nothing behind it 
before I saw the geno 
prompt slide up 

Original comment by Ranb...@gmail.com on 1 Oct 2009 at 12:31

GoogleCodeExporter commented 8 years ago
I think I know now what is going wrong, though I wasn't able to reproduce this 
in the
sim. It *might* be caused by low memory conditions (and of course my very
uncooperative implementation ;D). If this is the cause I can fix it.

On which devices has this occurred?

Original comment by din...@gmail.com on 1 Oct 2009 at 2:49

GoogleCodeExporter commented 8 years ago
Mine is a 3.01 jailbroken touch.

Original comment by Ranb...@gmail.com on 1 Oct 2009 at 2:55

GoogleCodeExporter commented 8 years ago
Which generation or when did you purchase it?

Original comment by din...@gmail.com on 1 Oct 2009 at 4:01

GoogleCodeExporter commented 8 years ago
2G 16GB

Original comment by Ranb...@gmail.com on 1 Oct 2009 at 5:59

GoogleCodeExporter commented 8 years ago
I may have provided a fix for that some time ago with r284 but for some reason I
didn't comment here (though I thought I had). We'll see whether this really 
fixes it
since I couldn't reproduce it, so I will leave this issue open for now.

Original comment by din...@gmail.com on 26 Oct 2009 at 1:35