0

Closed

Change to character generation

description

There is a kinda bug in the character generation. Every time you call (for example) GenderMenu, if you press an invalid key it calls another copy of GenderMenu. Then when you get to the end of ClassMenu it falls back through each method and has some unexpected behavious.
 
To duplicate: press "a" to chooose gender (nothing happens). Then chooose "m" and male is selected. Choose "a" for human and then "a" for Warrior. At this point the name setting part should appear, but it does not.
 
I've fixed it in the source but not sure where to put it (MainMenu.vb and Gneration.vb are changed). Basically I changed them all to Functions and put While loops in if an invalid key is pressed.
 
I'll try and attach the files to this work item...

file attachments

Closed Dec 27, 2006 at 10:55 PM by chrisgwilliams
character generation has been rewritten.

comments

samjudson wrote Nov 2, 2006 at 3:21 PM

Generation.vb

wrote Nov 2, 2006 at 3:21 PM

samjudson wrote Nov 2, 2006 at 3:21 PM

MainMenu.vb

wrote Dec 27, 2006 at 10:55 PM

wrote Feb 13, 2013 at 3:43 AM

wrote May 15, 2013 at 11:03 PM