HLDS : server.cfg override on cs 1.6 command line
Hello all,

I've got a problem when i launch a dedicated cs 1.6 server on linux debian.
My command line was ./hlds_run -game cstrike +ip xx.xx.xx.xx +maxplayers 12 +map de_inferno +port 27015
It work fine, but when i added "map de_dust2" or "maxplayers 32" in server.cfg, arguments in command line are ignored and server start with 32 slots on de_dust2...
I've read lot of thread and it may normally not happens.
I've tested with DoD 1.3, args in command line are not overriden by server.cfg and it's work perfectly. Anybody got dedicated server with cs 1.6 can test ?
I've got lot of problems with all last update of cs 1.6, i think it's come from that, but i don't know if only me got this problem.
Thanks in advance and sorry for my english
< >
Showing 1-5 of 5 comments
Jejeleponey Mar 4, 2013 @ 3:25am 
Up with french version // Mise à jour en francais

Bonsoir à tous,

J'ai remarqué un petit problème lors d'un lancement d'un serveur dédié sous linux avec counter-strike. J'explique le problème : Je lance mon serveur via la commande ./hlds_run -game cstrike +ip xx.xx.xx.xx +maxplayers 12 +map de_inferno +port 27015
Normalement, les arguments passé dans la ligne de commande son prioritaire sur le server.cfg, cependant lorsque je modifie server.cfg en y ajoutant les lignes "map de_dust2" ou mieux ce qui me gêne vraiment "maxplayers 32", le serveur démarre sur la map de_dust2 avec 32 slots...

J'ai testé sous DoD 1.3, ce problème n'existe pas, ce qui est passé en ligne de commande est prioritaire sur le server.cfg.

Quelqu'un aurait rencontré un problème similaire et/ou aurait trouvé une solution ?

J'ai l'impression que ca merde pas mal depuis les dernières mises à jour, je n'ai pas pu me procurer une ancienne version du serveur cs pour vérifier si cela vient de là.


Cordialement,

//
No one can test with a server hosted by a GSP ?
Personne pour tester avec un serveur hébergé chez un hébergeur de jeux ?
hλnnah Mar 4, 2013 @ 5:17am 
This might help you.
Jejeleponey Mar 4, 2013 @ 10:05am 
Hello ;-)

Sorry but your link can't help me, i don't have problem to install a game, i search to know if only my server ignore all arguments in command line when i'm launch it or if it's happen to all other server
sun of the beach Mar 27, 2013 @ 2:01am 
bonjour... could you try with -maxplayers instead of +maxplayers and see if it A. launches?, B. works?

Jejeleponey Mar 29, 2013 @ 12:33pm 
Hello ;)
I've made lot of new test and i've found what happen.
If in server.cfg you set 'map de_xxx' value before other values, all specified values are overriden by server.cfg
For example:
I launch my server with +map de_inferno +maxplayers 10 in command line. (or -maxplayers, it's same)
-> I set 'maxplayers 16' and 'map de_dust' in this order in server.cfg : Server start with 10 players on de_dust (only +map is override, this normally may not happen)
-> I set 'map de_dust' and 'maxplayers 16' in this order : Server start with 16 players on de_dust (map and maxplayers are overriden, may not happen too....)
I've test with many mod (dod, tfc, dmc and of course cs), it's work on all, it's come from hlds. I've tested too with many variables (maxplayers, maxvisibleplayers, etc...), all variable set after 'map' on server.cfg are override.
I've open a ticket on github developper 3 weeks ago
Thx for your answer
< >
Showing 1-5 of 5 comments
Per page: 1530 50

Date Posted: Mar 3, 2013 @ 1:43pm
Posts: 5