Hello!
    I had a similar problem awhile ago, maybe the solution I used will help.
This was back when I reworked the way resets well... work. :-)  I made OLC
and the mob resets dependent on the MOB type, sentinel, normal, stay_area,
etc...   For sentinel mobs, the min/max were Room min/max and had no effect
on how may were loaded into the area or world.  For Normal mobs, the min/max
were World min/max, and for stay_area the min/max were Area min/max.  (Word
and Area min/max would still have the problem you're describing - multiple
loads to a single room, but if they're wandering mobs, it isn't a problem.)
Because of this, I had to make some flags mutually exclusive (a sentinel &
stay_area mob doesn't make sense!) but this system worked very nicely.  This
system uses the original mob reset format in the data files, you only have
to add support for it in OLC and the reset handlers. (and don't forget about
the mutual exclusivity, it'll mess you up later!)
    On a side note, I had also added similar functionality for Obj resets -
inside items, on mobs, in rooms, etc.. :-)

    Hope this helps..  Any questions or comments are welcome!

Tony

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, December 21, 2002 7:32 AM
Subject: MOB Resets


> Hello again,
>
>      When you set the min and max values on a MOB reset, thats how many
MOBs can be in the area...so if you want 8 MOBs of that kind...constantly
8...you type in 8 different rooms 'reset 1 mob 400 8 8'.  Well, the MUD
usually, instead of putting 1 mob in each of the eight rooms, during auto
resets, puts two or three MOBs in one room, and then there are some that
don't get a reset MOB.  This is not too terrible if they are wandering MOBs,
but when you're making sentinel guards this is not a good thing.  I was
thinking of a way to fix this, and I determined that I could not make the
MIN/MAX values calculate on a room basis, because with wandering MOBs you'd
get too many...so I was thinking of adding another field maybe: max per
room.  Trouble is, I've only been coding for about 6 months, and I might be
able to do it, but I'd rather not try and go into the OLC code without an
idea of how I'm going to do it...especially because I need some way to
convert the old resets to the new reset form.  If anyone has any ideas on
how I might do this (or how I might solve it in a different manner), I'd
greatly appreciate to hear from you.
>
> Thanks in advance,
> Selquest of Drug Wars
> dwmud.ods.org
> http://fly.to/dwmud
> Dãj)z ²Ô2º¢¸¶Úÿ ®?®,&YùSYYù²Ø~

Reply via email to