On 18 Nov 96 at 11:07, Scott G. Barter wrote:
> I really hate to spam the list with what is probably a simple oversight by
> myself, but I'm at a loss here.
>
> While I recently added levels, everything is fine except for a minor
> problem with the imm levels. I defined the imm levels in structs.h and
> then in the do_who command in act.informative.c.
> Level 110 should be flagged as * Implementor * in the WHO list, however it
> shows as " Coder ". The level is still 110, just the tag is wrong.
>
Did you change the proper code in class.c???
-VOLAR-
Dan Johnson
> Here are the errors gcc gives:
>
> ---------------------------------------------
> gcc -c -g -O -Wall -fno-strict-prototypes act.informative.c
> act.informative.c: In function `do_who':
> act.informative.c:938: warning: excess elements in array initializer after `Wiz
> Levels'
> act.informative.c:940: warning: excess elements in array initializer after `Wiz
> Levels'
> ---------------------------------------------
>
> Here is the portion of the code which should be relevant here:
>
> ---------------------------------------------
> const char *WizLevels[LVL_IMPL - (LVL_IMMORT-1)] = {
> " Builder ",
> " Guild God ",
> " Immortal ",
> " Clan Leader ",
> " Diety ",
> " Lesser God ",
> " Greater God ",
> " Coder ",
> " Wizard ", <---- line 938
> "* Implementor *"
> }; <---- line 940
> --------------------------------------------
>
> I greatly appreciate any insight that can be given here.
>
>
>
>
> +-----------------------------------------------------------+
> | 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