bryceco / nethack-cocoa

OS X tile port of NetHack-3.6 using the native Cocoa framework
11 stars 4 forks source link

Game always starts in explore mode #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Start game, go through character selection dialog
2. Type ^X

What is the expected output? What do you see instead?
The expected output is just starting stats.  In addition to that I also get
a popup showing current attributes, like number of turns until I can pray.
 Many other explore mode effects, of course, this is just a quick way to
demonstrate it.

What version of the product are you using? On what operating system?
0.3.2 on Mac OS 10.6.3

Please provide any additional information below.

Original issue reported on code.google.com by stuart.c...@gmail.com on 1 May 2010 at 9:22

GoogleCodeExporter commented 8 years ago
Further experimentation shows that the game is starting in Wizard mode rather 
than
Explore mode.  I'm digging through the source looking for the problem but my C 
is
rusty and I've never worked with Objective-C.

Original comment by stuart.c...@gmail.com on 1 May 2010 at 11:32

GoogleCodeExporter commented 8 years ago
Heh, I "fixed" it by loading it all up in Xcode and doing a "Release" build 
instead
of a "Debug" build.  I suspect that part of the Debug build was setting 
flags.debug
to 1, although I didn't find the mechanism for that.  Arguably, that's incorrect
behavior as flags.debug is wizard mode.

Original comment by stuart.c...@gmail.com on 2 May 2010 at 12:23

GoogleCodeExporter commented 8 years ago
I can reproduce this with release 0.3.2, it's already fixed on the head (r121 
of this writing). So if you svn update 
it should work as expected with a Debug build too.

Original comment by din...@gmail.com on 2 May 2010 at 5:36

GoogleCodeExporter commented 8 years ago
Issue 12 has been merged into this issue.

Original comment by din...@gmail.com on 11 May 2010 at 9:08

GoogleCodeExporter commented 8 years ago
fixed in fixed in 0.3.2.1

Original comment by din...@gmail.com on 11 May 2010 at 1:00