Well, that answers that! That must be what he's doing. :-) I misunderstood the first time those were posted. I thought they were typed into the console, and it doesn't sound like the client has console access. My apologies.
Arnaud, I think you should switch away from FTP and have your clients upload their files through a PHP web form. That way, you could check the uploaded file for certain commands and reject a file if it contains any, or copy it to the appropriate server directory if it's good. Validating the file before it's even put in place seems like something you might want to do. - Dave ----- Original Message ----- From: Zuko <[email protected]> Date: Tuesday, August 4, 2009 6:25 pm Subject: Re: [hlds_linux] Changing Number of Slots fix To: Half-Life dedicated Linux server mailing list <[email protected]> > David: write this commands in console > > shutdownserver > maxplayers 24 > map de_dust2 > > > > 2009/8/5 David Parker <[email protected]> > > > 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 > > > > > > -- > Żuko > _______________________________________________ > 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

