[CODE] [HELP/REQUEST] 128 bit code

From: Scott Clifford (digital@TOGETHER.NET)
Date: 10/01/98


I have just inseted into circle30bpl11 the patch for color code and it
worked fine, then i patched in 128 bit code and I am getting all sorts of
errors.

Does anybody have any suggestions on how to fix these? I know it is just
how the 128 defines but i cannot get it to work.

Thanks in advance
Malcor

I type make and I get the following error < this is not all but they are
all the same error>

comm.c: In function `prompt_str':
comm.c:964: subscripted value is neither array nor pointer
comm.c:1025: subscripted value is neither array nor pointer

the corresponding lines are as follows

comm.c:964  color = (PRF_FLAGGED(ch, PRF_COLOR_1 || PRF_COLOR_2) ? 1 : 0);
comm.c:1025 sprintf(i, "%s &X(&r%d&X)&w", PERS(vict, ch),

and the defines are as follows

#define PRF_COLOR_1     13 /* Color (low bit)                   */
#define PRF_COLOR_2     14 /* Color (high bit)                  */
                    ^I have tried spaces and a tab here
#define PERS(ch, vict)   (CAN_SEE(vict, ch) ? GET_NAME(ch) : "someone")


     +------------------------------------------------------------+
     | 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/15/00 PST