Re: killing same mobs EXP gain limitation

From: Edward Glamkowski (EGlamkowski@MATHEMATICA-MPR.COM)
Date: 08/25/97


>On Mon, 25 Aug 1997, Andrey Fidrya wrote:
>
>>Has anyone implemented EXP limitations for killing same mobs over and
>>over again?
>
>>Anyone have any ideas about implementing that system?
>>If you just keep an array with mobs and number_of_kills per each mob,
>>playerbase will become ~10 kb larger per each player. :(
>
>Saving it as ASCII wouldn't be much better. Best bet would be to do the
>array of two ints. (vnum of mob and number of kills)

Don't save it to the player file - after each reboot (or
crash) let them again get full exp for a given mob until
they've killed it a few times.  Assuming you don't have a
crash bug for the players to exploit, this should not be
much of a problem.
        And since you are adding to the part of the player
struct that doesn't get saved, you don't have to pwipe
either.


     +------------------------------------------------------------+
     | 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