area resets

Posted by Viruz on Mon 11 Feb 2002 03:17 AM — 3 posts, 16,303 views.

#0
is there an option to allow an area to reset at specific intervals much like smaug?


for example I want a zone to reset every 3 minutes and another to reset in 5.

if no, what is the reset time and how is it changed?
USA #1
Hey,

There may very well be something of that sort but nothing that I know of.

Area resetting is run by ticks and happens roughly every 3 minutes if no one is in the area; less often (15 minutes) if some one is. Also note that objects lying on the ground will not be regenerated if anyone is in the area when it resets.

I hope that helped you out a bit :)

-- Astin
Amended on Mon 11 Feb 2002 05:34 PM by Astin
Australia Forum Administrator #2
Looking at the source in db.cpp, there is code to reset every 15 ticks, unless you have set the flag "newbie_area_resets" in aedit. In this case the area resets every 1 or 2 ticks.

You could always change that to either use a different figure, or add extra flags for different intervals (newbie, medium, hard for instance).