HELP!
I am trying to add the New improved Assassins code that I had come
across writen presumably by Ryan A. J. Biggs doppsoft@junctionnet.com a
no longer fuctioning e-mail address. Here is a quick look at my problem.
-- while compiling --
make[1]: Entering directory '/usr/circle30bpl11/src'
gcc -c -g -0 -Wall -fno-strict-prototypes interpreter.c
interpreter.c: In function 'nanny':
interpreter.c:1634: 'as' undeclared (first use this function)
interpreter.c:1634: (Each undeclared identifer is reported only once
interpreter.c:1634: for each function it appears in.)
make[1]: *** [interpreter.o] Error 1
make[1]: Leaving directory '/usr/circle30bpl11/src'
make: *** [default] Error 2
--from code in interpreter.c -- snip--
if (PLR_FLAGGED(d->character, PLR_FROZEN))
load_room = r_frozen_start_room;
/* begin Assassin Code - Doppleganger Software */
if (IS_AFFECTED(d->character, AFF_MARK)) {
as = read_mobile(AS_RNUM(d->character), REAL); < line
1634
char_to_room(as, AS_ROOM(d->character));
SET_BIT(MOB_FLAGS(as), MOB_ASSASSIN);
SET_BIT(MOB_FLAGS(as), MOB_HUNTER);
remember(as, d->character);
HUNTING(as) = d->character;
ASSASSIN(d->character) = as;
}
/* end Assassin Code */
char_to_room(d->character, load_room);
act("$n has entered the game.", TRUE, d->character, 0, 0,
TO_ROOM);
--snip--
now I'm assuming that the 'as' is a correct variable and that it needs
to be defined somewhere but I have no idea where or how. Any help would
be greatly appreciated. Thank you.
--
David J Kasprzyk
mailto:djk@nb.net
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/08/00 PST