CODE: Races

From: Peter Hartman (
Date: 10/19/96

Following the races.doc I run into this problem when compiling

interpreter.c: function nanny
interpreter.c:1530: structure has no member named 'pos'
interpreter.c:1531: structure has no member named 'pos'

   case CON_QCLASS:
    if ((GET_CLASS(d->character) = parse_class(*arg)) ==
      SEND_TO_Q("\r\nThat's not a class.\r\nClass: ", d);
    SEND_TO_Q(race_menu, d);         
    SEND_TO_Q("\r\nRace: ", d);      
    STATE(d) = CON_QRACE;            

  case CON_QRACE:                                                        
    if ((GET_RACE(d->character) = parse_race(*arg)) == CLASS_UNDEFINED)
      SEND_TO_Q("\r\nThat's not a race.\r\nRace: ", d);                  
/* line 1530 right below me */  
  if (d->pos < 0)                                                      
      d->pos = create_entry(GET_NAME(d->character));                     
    save_char(d->character, NOWHERE);                                    
    SEND_TO_Q(motd, d);                                                  
    SEND_TO_Q("\r\n\n*** PRESS RETURN: ", d);                            
    STATE(d) = CON_RMOTD;                                                
    sprintf(buf, "%s [%s] new player.", GET_NAME(d->character),
    mudlog(buf, NRM, LVL_IMMORT, TRUE);                                  

I've been pulling my hair out over this one so any help would be greatly
appreciated!  And also as I am slightly busy and cant read all teh
circle mud mailing list maybe if you do know cc: it to!!! thanks for any ideas no matter how small!!!

wart -- peter hartman <>
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   |

This archive was generated by hypermail 2b30 : 12/18/00 PST