Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ Dawn of Time ➜ Administration ➜ area resets

area resets

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Viruz   (19 posts)  Bio
Date Mon 11 Feb 2002 03:17 AM (UTC)
Message
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?
Top

Posted by Astin   USA  (34 posts)  Bio
Date Reply #1 on Mon 11 Feb 2002 05:31 PM (UTC)

Amended on Mon 11 Feb 2002 05:34 PM (UTC) by Astin

Message
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

ICQ: 161947723
YIM: Astinof
AIM: Aerostatal
EMAIL: Astin@endlessdreams.org
Top

Posted by Nick Gammon   Australia  (23,165 posts)  Bio   Forum Administrator
Date Reply #2 on Mon 11 Feb 2002 11:04 PM (UTC)
Message
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).


- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


14,560 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.