this doc was for an older version of circle.. just change line 1530 and 1531 to if (GET_PFILEPOS(d->character) < 0) GET_PFILEPOS(d->character) = create_entry(GET_NAME(d->character)); On Sat, 19 Oct 1996, Peter Hartman wrote: > 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)) == > CLASS_UNDEFINED) { > SEND_TO_Q("\r\nThat's not a class.\r\nClass: ", d); > return; > } > SEND_TO_Q(race_menu, d); > SEND_TO_Q("\r\nRace: ", d); > STATE(d) = CON_QRACE; > break; > > 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); > return; > } > > /* line 1530 right below me */ > if (d->pos < 0) > d->pos = create_entry(GET_NAME(d->character)); > init_char(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), > d->host); > mudlog(buf, NRM, LVL_IMMORT, TRUE); > break; > > 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 > hartman@kuntrynet.com!!! thanks for any ideas no matter how small!!! > > wart -- peter hartman <hartman@kuntrynet.com> > +-----------------------------------------------------------+ > | Ensure that you have read the CircleMUD Mailing List FAQ: | > | http://cspo.queensu.ca/~fletcher/Circle/list_faq.html | > +-----------------------------------------------------------+ > +-----------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://cspo.queensu.ca/~fletcher/Circle/list_faq.html | +-----------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/18/00 PST