[cod] COD2 / Blocking sv_maxclients ?
Apiserv SupTek
suptek at apiserv.com
Thu May 4 06:55:41 EDT 2006
Thx all for your answers.
I'm going to create a thread in order to check the cvar of the server every
minutes, and if cvar is not good, stop it.
Thx :)
Cob
On Wed, 3 May 2006 15:09:23 -0400, Stephane wrote
> If your using a "start script/stop/monitoring" you could include a check...
> We use a script that check if the servers are online each minute and
> in some games we make a check for tickrate or such settings if the
> tickrate has been modified stop server. I nyour case maxclient dvar :)
>
> Just my 2 cent :)
>
> -----Original Message-----
> From: Chris Hearn [mailto:chris at hostworx.co.uk]
> Sent: Wednesday, May 03, 2006 2:03 PM
> To: cod at icculus.org
> Subject: RE: [cod] COD2 / Blocking sv_maxclients ?
>
> A different approach to Jeff's solution would be:
>
> Exec contract.cfg on the command line when launching the server
> (make the file read only). Exec the customers config on the first
> line and then place any dvar settings you want to override after this.
>
> I have not tested this, but I can't see any reason it would not work.
>
> Kind regards
> Chris
>
> -----Original Message-----
> From: drlove at notorious9.net [mailto:drlove at notorious9.net]
> Sent: 03 May 2006 16:46
> To: cod at icculus.org
> Subject: RE: [cod] COD2 / Blocking sv_maxclients ?
>
> > Yes I try to add +set sv_maxclients 12 or just +sv_maxclients 12 on the
> > command line, but if sv_maxclients 32, for exemple, is present in the
> > server.cfg file, the server will be a 32 slots one.
>
> You could have the server exec a 'contract.cfg' or similar included
> by the server.cfg. This config would have vars which are manditory
> per the customer's contract, and would over-write any identical vars
> in the server config file. Although possible to remove the include,
> simply describe in commented lines that altering or removing the
> contract config is not allowed. I've done this with sof2 servers.
>
> Jeff Love
> Burgh Gaming
--
Support Technique
Apiserv - www.apiserv.com / Location de serveurs sur internet
More information about the Cod
mailing list