[DGD]Room resets?

E. Harte harte at xs4all.nl
Mon Jan 11 16:44:03 CET 1999


On Sun, 10 Jan 1999, Adam Levenstein wrote:

> Where are the room resets kept?
> 
> On most muds I've been on, rooms are automatically reset every 10-15
> minutes or so...Is there some config file to set this?

>From /dgd/include/config.h:

  # define RESET_TIME     30

Output from 'grep -n RESET_TIME dgd/lib/*.c':

  reset.c:12: reset_time = time() + RESET_TIME * 50 + random(RESET_TIME * 20);
  reset.c:30: reset_time = time() + RESET_TIME * 50 + random(RESET_TIME * 20);

In other words, with 'RESET_TIME' at 30 you get reset-times of roughly 30
minutes.

Hope that helps.

Erwin.
-- 
Erwin Harte  -  harte   @ xs4all.nl   (Home)  -  whois EH716
                nino    @ caradon.org (Play)
                e.harte @ emendo.com  (Work)


List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list