More Immortal Level Positions and Renaming Them Problems

From: Abraham Dizon (soldier2003@hotmail.com)
Date: 01/12/02


Okay I found another problem too. I want to change the Immortal Levels on
Circlemud and even add in some more. Here they are: (From Structs.h I
thought I'tried something while I wait for a response for my other one.)

#define LVL_OWNER         107
#define LVL_CODER         106
#define LVL_ADMINISTRATOR 105
#define LVL_PR_SECURITY   104
#define LVL_TERRAFORMER   103
#define LVL_TRAINEE       102
#define LVL_IMMORTAL      101

Okay now pieces of the code I have problems with in autowiz.c

Line 115:    flags = asciiflag_conv(bits);
Line 116:    if (   (level >= MIN_LEVEL) &&
Line 117:       !(IS_SET(flags, PLR_FROZEN)) &&
Line 118:       !(IS_SET(flags, PLR_NOWIZLIST)) ) {
-------------------------------------------------------
Line 210:      if (strlen(buf) > LINE_LEN) {
Line 211:       if (curr_level->params->level <= COL_LEVEL)
Line 212:         fprintf(out, IMM_LMARG);
-------------------------------------------------------
Now the Compiler errors:
gcc -g -O2 -Wall -DCIRCLE_UTIL  -I.. -o ../../bin/autowiz autowiz.c
autowiz.c: In function `read_file':
autowiz.c:116: `LVL_IMMORT' undeclared (first use in this function)
autowiz.c:116: (Each undeclared identifier is reported only once
autowiz.c:116: for each function it appears in.)
autowiz.c: In function `write_wizlist':
autowiz.c:211: `LVL_IMMORT' undeclared (first use in this function)
make[2]: *** [../../bin/autowiz] Error 1
make[2]: Leaving directory `/home/Maria Bonita/bundle18b/src/util'
make[1]: *** [utils] Error 2
make[1]: Leaving directory `/home/Maria Bonita/bundle18b/src'
make: *** [all] Error 2
--------------------------------------------------------

Okay I check lines 116 and 211. I didn't find anything saying LVL_IMMORT in
either of them. The lines are above if you didn't see them. Their parts from
the autowiz.c as they are on my C reader thing hehe. What do I do now? Any
help or reply is welcomed. Thanks.

P.S I'm trying to figure out whats the problem right now still. If I find it
I'll send the e-mail in stating I found the problem.

-Hero

In Space No One Can Hear Me Scream



_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT