Re: (No) Security danger when using OLC

From: Soren P. Skou (serces@MUD.DK)
Date: 11/03/97


hi there..
>   case APPLY_LEVEL:
>     /* ??? GET_LEVEL(ch) += mod; */
>     break;
> It is not implemented.
No.. but it might, I for one think it would be nice, EXCEPT! (*evil
cackle*) That EXP is not changed. SO they would still have to earn a
lot of EXP to get to the next level. :)

The security could be overcome by doing something like this:
case APPLY_LEVEL:
 if (!(GET_LEVEL(ch) + mod) >= LVL_IMMORT)
  GET_LEVEL(ch) +=mod;
  // Do nothing at all
 break;

Something like that.. probably could be more nice if needed, but I'm
too tired right now..

/Serces


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