bryceco / nethack-cocoa

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

Game does not honor character/class/alignment/gender selection in .nethackrc #6

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Set options in .nethackrc.  My .nethackrc contains:

OPTIONS=align:n,!autopickup,rest_on_space,name:Bigtoad-W,gender:male,lit_corrido
r,!travel,hilite_pet,!mail,showexp,showscore,time,!legacy,pickup_types:$,fruit:p
umpkin

2. Start game

What is the expected output? What do you see instead?
The expected result is that I should start as a neutral human male Wizard
named Bigtoad.  Instead, the game displays a player selection dialog with a
generic name and randomized alignment, class and gender.  All other options
in .nethackrc are honored, however.  No error messages about the .nethackrc
contents are displayed.

What version of the product are you using? On what operating system?
0.3.2 on Mac OS X 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:46

GoogleCodeExporter commented 8 years ago
Can't reproduce this 100%, role spec works for me in 0.3.2 and HEAD:

OPTIONS=role:wizard,race:human,gender:male

Name is of course hard-set to 'wizard' in 0.3.2 b/c of issue 5. In your OPTIONS 
line I don't see a role spec btw. If 
you use the above line neutral is preset, so this should work fine in your case.

Alignment seems to be ignored if there is a role spec. If there is no role spec 
it works. Left to investigate.

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

GoogleCodeExporter commented 8 years ago
I think this is fixed in r133, along with the other alignment/gender bugs.

Original comment by bryc...@gmail.com on 23 Feb 2012 at 5:57