On Mon, 20 May 1996 zero@baker.cnw.com wrote: > Ive added some code to my nanny function and I cant figure out why there > is a problem. Originally i added this, basically a copy of the stock > CON_QCLASS and parse_race is also a copy of parse_class with changes > returns and letters. the following code works fine: [snip] > etc untill the character says yes. I tried to add the below code using > the below race_help_menu but as soon as the character tries to choose a > race the entire mud freezes up. > > case CON_QRACE: > load_result = parse_race(*arg); > if (load_result == RACE_UNDEFINED) { [snip] > } else > SEND_TO_Q("\r\nAre you sure you want to choose this race? (yes/no) > [yes] ", d); > gets(ans); There you are. The player is not sitting at the console, but on a socket. You have to make another CON_ state that reads the players input as a result of the race question. Check out the rest of the code, like the menu. Gekke Eekhoorn of BUG.
This archive was generated by hypermail 2b30 : 12/18/00 PST