Hi i wanna ask how run file default.cfg
There is some cvars from Punkbuster, if i will set in server.cfg exec for that file, it will be work ?

Default.cfg
Started by Mardok, Oct 31 2010 01:36 PM
2 replies to this topic
#1
OFFLINE
Posted 31 October 2010 - 01:36 PM

#2
OFFLINE
Posted 31 October 2010 - 01:53 PM

The default.cfg will run after all map starts if the g_mapConfigs is set the value of that directory. If you are using the default installation, then it is already running it by default because the g_mapConfigs was set in it. You can also create a separate cfg file for each map by using mapname.cfg files.
http://mygamingtalk....ml#g_mapConfigs
Execing from server.cfg will run it only once. To run it for each map, you will need to set the g_mapConfigs cvar.
http://mygamingtalk....ml#g_mapConfigs
Execing from server.cfg will run it only once. To run it for each map, you will need to set the g_mapConfigs cvar.
#3
OFFLINE
Posted 31 October 2010 - 02:46 PM

There is some cvars from Punkbuster, if i will set in server.cfg exec for that file, it will be work ?
You should add it in pbsv.cfg and upload it in PB folder. Only add pb_sv_enable in server.cfg and rest in pbsv.cfg
PB auto executed 2 files:
pbsv.cfg - PB related settings
pbsvser.cfg - Cheat scans i.e. cvar + md5 scans.
Never put PB scans in server.cfg.
To rephrase everything for you:
1. server.cfg in /etmain/ = Server related settings
2. default.cfg (oasis.cfg, goldrush.cfg, etc) in /silent/mapconfigs/ = Server + map specific settings + sv_cvar related.
3. pbsv.cfg and pbsvuser.cfg in /pb/ folder = All PB related settings.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users