Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google Log In with Steam Sign In
  • Create Account
Photo

Default.cfg


  • Please log in to reply
2 replies to this topic

#1
OFFLINE   Mardok

Mardok

    Member

  • Members
  • PipPip
  • 22 posts
1
A step in the right direction
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 ?

#2
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
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.

#3
OFFLINE   hellreturn

hellreturn

    Management

  • Management
  • PipPipPipPip
  • 2693 posts
158
On the road to fame

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