Re: [CODE] [NEWBIE] Set Race Prob

From: Torgny Bjers (
Date: 08/09/00

-----Original Message-----
From: Brian Beffa <>
Date: tisdag, 8 augusti 2000 20:11
Subject: [CIRCLE] [CODE] [NEWBIE] Set Race Prob

>Sorry about sending this message to CIRCLE@QUEENSU.CA, well here is the
>original message:
>I put in races and I put in set for it, there are no errors, but I could
>'set name race zzz' and it would tell me 'Okay.'  If I try to do this: 'set
>name race orc' and it still says ok, but it doesnt really set it
>  case **:  /* set race */
>    if ((i = parse_race(*val_arg)) == RACE_UNDEFINED) {
>      send_to_char("That is not a valid race.\r\n", ch);
>      return 0;
>    }
>    GET_RACE(vict) = i;
>     break;
>Any help would be appreciated
>brian (

I am not sure, but this might help you a little...

First off, only use the letter (a single letter, like when you chose race
when you login) corresponding to the race, found in int parse_race(char arg)
in class.c. Make sure that your case has the correct number, double-check
act.wizard.c for this (compare the case statements with the values found in
set_fields[], count every single one of them), since I had a similar problem
turn up on mine, the numbers got mixed up, so when I set race, I actually
set something else.. :)

/Torgny Bjers

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  |

This archive was generated by hypermail 2b30 : 04/11/01 PDT