Server Help

General Questions - Arena Rollover?

craigg - Mon Feb 23, 2004 8:53 pm
Post subject: Arena Rollover?
When an arena fills up and rolls over into a sub-areana (Public 2), what exactly happens to the config file, map file, etc..? For example: Does it copy server.cfg to a temp config file with a new name (ex: server2.cfg)?
ExplodyThingy - Mon Feb 23, 2004 9:20 pm
Post subject:
Nope. Same file.
numpf - Mon Feb 23, 2004 10:27 pm
Post subject: Re: Arena Rollover?
craigg wrote:
When an arena fills up and rolls over into a sub-areana (Public 2), what exactly happens to the config file, map file, etc..? For example: Does it copy server.cfg to a temp config file with a new name (ex: server2.cfg)?
The server reads in the settings and stores them in memory. Maps are 1MB so it might only load them when a player requests it or for the checksum. Public arenas all use the same settings (and thus map) in server.cfg, so it doesn't create any files to create another public arena. For nonpublic subarenas, what the server does depends on the Arenamode setting in server.ini In some cases it writes out a new <arena>.cfg file from the pub settings stored in memory. I don't know why you'd want to know what happens internally though. See the comments in server.ini for the Arenamode setting, I think that's what you want.

-numpf
craigg - Mon Feb 23, 2004 11:57 pm
Post subject:
ExplodyThingy wrote:
Nope. Same file.


So if I make a setting change in (Public 0), let's say I change DoorMode, that is going to replicate to all (Public !=0) arenas that are already created, or will this only affect new (Public !=0) spawns?

If I change a setting in (Public !=0), will it still update server.cfg, or just modify the settings in memory for that arena?

Just curious.
Craig
SuSE - Tue Feb 24, 2004 12:23 am
Post subject:
when you make a settings change, you are changing a .cfg (or .set) file

if it's a pub arena, it'll be server.cfg

when you hit ESC, then C, it will tell you the name of the file

and public arena uses server.cfg
Dr Brain - Tue Feb 24, 2004 12:28 am
Post subject:
Both will change.
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group