Did you try putting it in the autoexec.cfg? -- Cc2iscooL Head Admin/Owner http://www.cc2iscool.com
On Tue, Aug 4, 2009 at 5:19 PM, David Parker <[email protected]> wrote: > I don't know why the autoupdate option would have anything to do with the > value of maxplayers. I'm pretty sure it's separate. > > I tried reproducing this behavior on our server and I was not able to do > it. I have "+maxplayers 24" in the startup command line. I added > "maxplayers 16" to the server.cfg file and restarted the server, but it > still had 24 player slots. I tried "exec server.cfg" in the console but > maxplayers still remained 24. I even tried all of this again using > "-maxplayers" instead of "+maxplayers" in the startup options, but still > nothing. Any maxplayers value I put in the server.cfg file has no effect as > long as maxplayers is specified on the command line when the server is > started. My server also has the autoupdate option set. > > What I *was* able to do was crank up the number of max visible players. I > set "+maxplayers 16" on the startup line and put "sv_maxvisibleplayers 24" > in the server.cfg file. After the server started, both "maxplayers" and > "status" in the console say 16, but an A2S_INFO query says there are 24 > player slots. Those extra 8 slots can't really be used, but they show up in > the query. Could this be what he is doing? > > > ----- Original Message ----- > From: Arnaud DUMAS de RAULY <[email protected]> > Date: Tuesday, August 4, 2009 5:16 pm > Subject: Re: [hlds_linux] Changing Number of Slots fix > To: Half-Life dedicated Linux server mailing list < > [email protected]> > > > Thanks all for your suggestions, but when a customer restarts > > the > > server from his panel, the command line executes automatically > > the > > right slot count. Which is why I don't understand how he does it > > and > > makes me wonder if it has something to do with the autoupdate > > commande > > line. > > > > Le 4 août 09 à 21:15, Marcel a écrit : > > > > > Write a small cron script that checks the slots and restarts > > the > > > server > > > with if the slotcount is wrong. And when you're doing this, > > you can > > > also > > > check if your customer has set a password (if it's a private > > server).> > > > I think the customer will complain if his server restarts > > every 5 > > > mins ;) > > > > > > > > > Marcel > > > > > > _______________________________________________ > > > To unsubscribe, edit your list preferences, or view the > > list > > > archives, please visit: > > > http://list.valvesoftware.com/mailman/listinfo/hlds_linux > > > > > > _______________________________________________ > > To unsubscribe, edit your list preferences, or view the list > > archives, please visit: > > http://list.valvesoftware.com/mailman/listinfo/hlds_linux > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlds_linux > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux

