Server Area Respawn Times

Forum name speaks for itself.

Moderator: Board moderators

Post Reply
geneandjims
Luser
Posts: 10
Joined: Fri Jul 04, 2003 6:53 am

Server Area Respawn Times

Post by geneandjims »

I have been hosting my own server for play between me and my little brother but I want to know how do you change the area respawn time from 7200 tics(Thats 2 Hours) to 600 tics(Thats 10 min) any help would be appreciated.

Thanks,
-Gene
User avatar
hoxu
Senior member
Posts: 330
Joined: Tue Apr 29, 2003 6:10 am

Post by hoxu »

If you want to change the maximum time all maps live before being reset you would edit include/config.h and change

Code: Select all

#define MAP_MAXRESET    7200
to something appropriate and recompile.

For a single map you can change the reset time simply by opening it in a text editor (that can understand unix text file format - try wordpad/vi) and changing reset_timeout. If there is no such value you can add it between "arch map" and first "end" clause.

I don't recommend doing either, though. Having a longer reset time encourages players to go exploring. You could take a look at the Crossfire map spoiler instead. :)

/* Debian GNU/Linux - rebooting is for adding hardware. */
geneandjims
Luser
Posts: 10
Joined: Fri Jul 04, 2003 6:53 am

Post by geneandjims »

Where would this include folder be located becuase if it's in the crossfire server folder I don't have it. If this is the case could you either post a link to download it (HA HA) or if you are really nice you could email it to me.

My email is GENEANDJIMS@aol.com

Cheers,
-Gene
Lauwenmark
Junior member
Posts: 111
Joined: Thu May 15, 2003 9:27 am
Location: Sélentine, I. Pref. Occ.

Post by Lauwenmark »

It is in the Crossfire Server source package. Maybe you downloaded a binary (ready-to-run) version that didn't require recompiling ?
Au Nom de Son Auguste Majesté,

Lauwenmark Kadensanni Hento Akkendrittae
Général en Chef de l'Armée de l'Ouest.
geneandjims
Luser
Posts: 10
Joined: Fri Jul 04, 2003 6:53 am

Post by geneandjims »

Yea thats probably it I'll go back and download the source then modify it.

Thanks guys,
-Gene
Post Reply