woops thats supposed to read mmaxplayers works in hlds no idea about srcds

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of dexion
Sent: Sunday, July 17, 2005 9:57 AM
To: hlds@list.valvesoftware.com
Subject: RE: [hlds] maxplayers in server.cfg for hlds


thats not a bad idea unless they overwrite the server.cfg with their own
(which they nearly often do, but I could work something up like that.)

That maxplayer in the server.cfg world or hlds, not sure about srcds.
dex


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of ironchef
Sent: Sunday, July 17, 2005 5:22 AM
To: hlds@list.valvesoftware.com
Subject: RE: [hlds] maxplayers in server.cfg for hlds


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



_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds



_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds

Reply via email to