[CODE] bug in room, mob, specials code

From: Brian Beffa (MortalCity@aol.com)
Date: 06/30/00


I have been trying to install a Midgaard like zone that I downloaded from an
FTP site.  It was made for ExileMUD.  The town is called Sundhaven.

This is the information I have managed to make about the bug:

 I am using oasisOLC-CicleMUDbpl17 patchlevel 17.  This is what happened when
I typed make.  And because the line numbers are probably different on your
mud, I will include line numbers for the lines with errors.

make ../bin/circle
make[1]: Entering directory `/home/brian/muck/oasis20-bpl17/src'
gcc -g -O2 -Wall    -c -o spec_assign.o spec_assign.c
gcc -g -O2 -Wall    -c -o spec_procs.o spec_procs.c
spec_procs.c: In function `stu':
spec_procs.c:1070: warning: implicit declaration of function `do_flee'
spec_procs.c: In function `blinder':
spec_procs.c:1156: too many arguments to function `call_magic'
make[1]: *** [spec_procs.o] Error 1
make[1]: Leaving directory `/home/brian/muck/oasis20-bpl17/src'
make: *** [all] Error 2
brian@mudprovider:~/muck/oasis20-bpl17/src$

* = line number

This is one section with an error:

1062*    case 11:
1063*     do_say(ch, "Edgar! Buddy! Let's group and hack some ogres to tiny
1064*quivering bits!", 0, 0);
1065*      break;
1066*    case 12:
1067*      act("$n tells you, 'Skylar has bad taste in women!'", FALSE, ch, 0,
1068*0,TO_ROOM);
1069*      act("$n screams in terror!", FALSE, ch, 0, 0,TO_ROOM);
1070*      do_flee(ch, 0, 0, 0);
1071*     break;

Second Error:

1148*FIGHTING(ch), TO_NOTVICT);
1149*    act("$n's frayed cloak blows as he aims a bony finger at you.", 1,
ch,
1150*0, FIGHTING(ch), TO_VICT);
1151*    act("A flash of pale fire explodes in $N's face!", 1, ch, 0,
1152*FIGHTING(ch), TO_NOTVICT);
1153*    act("A flash of pale fire explodes in your face!", 1, ch, 0,
1154*FIGHTING(ch), TO_VICT);
1155*    call_magic(ch, FIGHTING(ch), 0, SPELL_BLINDNESS, GET_LEVEL(ch),
1156*CAST_SPELL,NULL);
1157*    return TRUE;
1158*  }
1159*  return FALSE;

So if you have time could you please tell me what to fix?


     +------------------------------------------------------------+
     | 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 : 04/10/01 PDT