dexion wrote: > I guess i wasnt clear enough. When launching a hlds server in the > command > line one must specify a maxplayers -maxplayers 10 for instance. It is > possible to put maxplayers 32 in the server.cfg and have the server > launch > with 32 players instead of 10. I would like a way to invalidate the > command > in the server.cfg and have only the command line one be used. > dex
Odd, I was always under the impression that this variable was limited to startup only. I wonder if this changed with Source. I suppose you could also make a config file for each of your clients, and use the mapchangecfgfile cvar (does this work on Source?) to make your own, that'll: 1) exec the client's server.cfg; 2) exec YOUR server, overwriting any cvars you want restricted, like maxplayers. So for instance, for client 1, his startup becomes: +mapchangecfgfile client1.cfg And in client1.cfg, we have: exec Client1-editable.cfg // the file the client can edit maxplayers 16 // the value YOU want for maxplayers That should overwrite any changes they make. -- ironchef http://www.dexworld.org/ _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds