Re: [CODE] pk

From: Richard Glover (magik@thegrid.net)
Date: 02/12/99


Sorry, that's not what I said.

I said you might want to search through the code for appearances of
pk_allowed and change it to GET_LEVEL(ch) > 4.

I'd suggest you teach yourself some coding.  This is an extremely easy task
if you can understand the code.  It takes time to learn CircleMUD's code.
I've been working with it for a year and every once in a while I read
through a part of it to learn it.  I don't know it all yet.

Read some docs, read some books.  Everyone says this repeatedly and it's the
only way you are going to be able to do the things you want to the code.

I, and probably a majority of this list's inhabitants, will refuse to write
code for tasks like this.

In any case, good luck and happy coding.

Rick

-----Original Message-----
From: Chris Egner <BelZarath@aol.com>
To: CIRCLE@post.queensu.ca <CIRCLE@post.queensu.ca>
Date: Friday, February 12, 1999 7:12 PM
Subject:  [CODE] pk


>I tried putting in the pk switch where you said, as follows is the complete
>line:
>int pk_allowed = GET_LEVEL(ch) > 4;
>
>and when I went to compile I got the error:
>
>config.c:54: warning: implicit declaration of function `GET_LEVEL'
>config.c:54: `ch' undeclared here (not in a function)
>config.c:54: initializer element is not constant
>
>if anyone can tell me what is wrong, it'ld be a great help


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