Specify configs and paths

Make a suggestion for future revisions of GunGame.

Specify configs and paths

Postby Freewheelin » Thu Dec 11, 2008 3:42 am

I often need to run up to 6 CSS servers at a time out of one directory on up to about 10 host machines.

I would like to be able to install GG on all of these hosts, but changing the config for one server will change them all.

With mods like mani, you can specify both the path, and the config files to use on a per server basis -
+mani_path

I use mani in a method where the I put the server port in as part of the mani path (in the command line), and also as part of the mani config files.
+mani_path mani27500

mani_server28550.cfg

Basically I want to be able to run some servers without GG on, and some with it on, but with different settings for each, all on the same host. Currently I don't see a way to do this.

+gg_path gg27500
Within that folder I could have the different configs for each server.
Freewheelin

Recruit
Recruit
 
Posts: 2
Joined: Wed Dec 10, 2008 8:21 am

Postby RideGuy » Thu Dec 11, 2008 6:58 pm

Does each server have it's own autoexec.cfg? You could make 5 copies of the gungame5 configs and name the folder by port. Then in your autoexec you could load gungame, then load that ports gungame config.

Example of your autoexec per port:
es_load gungame
exec gungame27015/gg_en_config
exec gungame27015/gg_default_addons
exec gungame27015/gg_map_vote
exec gungame27015/gg_server


GunGame5 watches for changes in the config vars. And will turn everything on accordingly.


Hope that helps,
RideGuy
RideGuy

Site Admin
Site Admin
User avatar
 
Posts: 201
Joined: Sat Sep 06, 2008 11:30 am

Postby Freewheelin » Fri Dec 12, 2008 12:29 am

They use a shared autoexec.cfg so I'm loading gg at the end of each of the normal servers' configs.

I'll have a go at doing it this way.

Thanks for the info, that should be enough to do what I need to be able to do.

It'll give me the opportunity to allow for server booking with GG aswell.
Freewheelin

Recruit
Recruit
 
Posts: 2
Joined: Wed Dec 10, 2008 8:21 am



Return to Suggestions

Who is online

Users browsing this forum: No registered users and 6 guests