Ok. I'm having a problem with races that I have not experienced before.
I'm sure that its something really simple but I'm just not getting it. When
I boot up the mud and log on, as soon as I type the letter for the race it
goes back to the title screen and asking me what name I want. The log shows
this error:
SYSERR: no valid target to act()!
which leads me to this code:
if (ch && ch->in_room != NOWHERE)
to = world[ch->in_room].people;
else if (obj && obj->in_room != NOWHERE)
to = world[obj->in_room].people;
else {
log("SYSERR: no valid target to act()!");
return;
}
I checked out the CON_QRACE code and that looks like this:
END_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)) == RACE_UNDEFINED) {
SEND_TO_Q("\r\nThat's not a race.\r\nRace: ", d);
return;
}
I don't see any problem with it. Can anybody point me in the right
direction to look for this problem?
Tina
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST