<!--QuoteBegin--cracker jackmac+Apr 8 2003, 08:53 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (cracker jackmac @ Apr 8 2003, 08:53 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->depends, were are you declaring your max players?
in autoexec.cfg or in the CL?<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd--> if it's in your CL(HLDS.exe command line) then you would place "-maxplayers #" there.
and as for admin access...check out <a href='http://www.adminmod.org/' target='_blank'>AdminMod</a> or <a href='http://amxmod.net/amx.php' target='_blank'>AmxMod</a>. Get one or the other, depending on what you like. I think adminmod is more popular and more stable(don't start killing me with amx is better, just saw that somewhere...)
but it can also be in the autoexec.cfg<!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->maxplayers 32<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
+maxplayers<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd--> There has been debate in previous posts over this. I don't know if there is a diffirence. I use -, you use +, they both work. I use + for map, because someone said to, but I think - works. Too bad noone actually knows....
i think + means exec or something, so you need +map so it runs a map, and - is for cvars i think ;/ (why i posted this? <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo-->)
<!--QuoteBegin--Eternal Bliss+Apr 9 2003, 04:48 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Eternal Bliss @ Apr 9 2003, 04:48 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->i think + means exec or something, so you need +map so it runs a map, and - is for cvars i think ;/ (why i posted this? <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo-->)<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd--> I did a quick test using + across all vars in the CL: "hlds.exe +game ns +map ns_eclipse +maxplayers 12 +port 27016" -This caused HLDS to have errors on load, and quits. The only thing that has to have a (-) in it is "-game ns", the rest can be +/- except the map...(must be +map <mapname>) So I think for the most part Bliss is right in saying + for running on startup, - for cvars(although + seems to work for all as long as "game" has a - infront.)
Just so everyone can be happy...although it is still unknown
P.S. if you don't have + infront of map, the server will just load, no map(so this would be the same as without a map set on startup), and you have to type "map <mapname>" in console to set the map. (the server appears to be running at this point...weird, oh well!) <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo-->
Hopefully in all the side talk between other members, the original poster "KP2" received his answer...I'm assuming he did, because he has not posted more questions...good luck with the server!
- Matt <!--emo&::skulk::--><img src='http://www.unknownworlds.com/forums/html/emoticons/skulk.gif' border='0' style='vertical-align:middle' alt='skulk.gif'><!--endemo-->
One important thing has not been said here. You cannot change maxplayers while server is running, you MUST shut it down then change maxplayers and only then you may start it... it will not change if server is running.
+maxplayers<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd--> There has been debate in previous posts over this. I don't know if there is a diffirence. I use -, you use +, they both work. I use + for map, because someone said to, but I think - works. Too bad noone actually knows.... <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd--> - is for command line command ONLY. + executes any HL console command as a command line command.
Example: .../half-life/hl.exe -console -game ns This shows the use of command line commands to start HL with the console enabled and with NS enabled
Example: .../half-life/hl.exe -console -game ns +bind f1 "say 1 pwn j00" Same as above, but it also uses the + to execute the bind console command.
Example: .../half-life/hl.exe -console -game ns +exec adminpass.cfg Same as first, but executes the HL script file "adminpass.cfg" by use of the exec console command.
<!--QuoteBegin--Eternal Bliss+Apr 10 2003, 07:03 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Eternal Bliss @ Apr 10 2003, 07:03 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> One important thing has not been said here. You cannot change maxplayers while server is running, you MUST shut it down then change maxplayers and only then you may start it... it will not change if server is running. <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd--> I never knew this before...you can shutdown the server by typing "shutdownserver" then it shows no map and you can change the maxplayers cvar. You then have to select a map again to start it up. ie. "map <mapname>" The things you learn when the idea is sparked... <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
Yeah, what you said is another way of shutting it down(after all it is down), i just like killing it fully(die) and change in the autoexec.cfg, easier and faster.
Comments
in autoexec.cfg or in the CL?
in autoexec.cfg or in the CL?<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
if it's in your CL(HLDS.exe command line) then you would place "-maxplayers #" there.
Example:
hlds.exe -game ns +map ns_eclipse -maxplayers 12 -port 27016
and as for admin access...check out <a href='http://www.adminmod.org/' target='_blank'>AdminMod</a> or <a href='http://amxmod.net/amx.php' target='_blank'>AmxMod</a>. Get one or the other, depending on what you like. I think adminmod is more popular and more stable(don't start killing me with amx is better, just saw that somewhere...)
+maxplayers
but it can also be in the autoexec.cfg<!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->maxplayers 32<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
+maxplayers<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
There has been debate in previous posts over this. I don't know if there is a diffirence. I use -, you use +, they both work. I use + for map, because someone said to, but I think - works. Too bad noone actually knows....
my bad
i think ;/
(why i posted this? <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo-->)
i think ;/
(why i posted this? <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo-->)<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
I did a quick test using + across all vars in the CL:
"hlds.exe +game ns +map ns_eclipse +maxplayers 12 +port 27016"
-This caused HLDS to have errors on load, and quits.
The only thing that has to have a (-) in it is "-game ns", the rest can be +/- except the map...(must be +map <mapname>)
So I think for the most part Bliss is right in saying + for running on startup, - for cvars(although + seems to work for all as long as "game" has a - infront.)
Just so everyone can be happy...although it is still unknown
P.S. if you don't have + infront of map, the server will just load, no map(so this would be the same as without a map set on startup), and you have to type "map <mapname>" in console to set the map. (the server appears to be running at this point...weird, oh well!) <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo-->
- Matt <!--emo&::skulk::--><img src='http://www.unknownworlds.com/forums/html/emoticons/skulk.gif' border='0' style='vertical-align:middle' alt='skulk.gif'><!--endemo-->
You cannot change maxplayers while server is running, you MUST shut it down then change maxplayers and only then you may start it... it will not change if server is running.
+maxplayers<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
There has been debate in previous posts over this. I don't know if there is a diffirence. I use -, you use +, they both work. I use + for map, because someone said to, but I think - works. Too bad noone actually knows.... <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
- is for command line command ONLY. + executes any HL console command as a command line command.
Example: .../half-life/hl.exe -console -game ns
This shows the use of command line commands to start HL with the console enabled and with NS enabled
Example: .../half-life/hl.exe -console -game ns +bind f1 "say 1 pwn j00"
Same as above, but it also uses the + to execute the bind console command.
Example: .../half-life/hl.exe -console -game ns +exec adminpass.cfg
Same as first, but executes the HL script file "adminpass.cfg" by use of the exec console command.
You cannot change maxplayers while server is running, you MUST shut it down then change maxplayers and only then you may start it... it will not change if server is running. <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
I never knew this before...you can shutdown the server by typing "shutdownserver" then it shows no map and you can change the maxplayers cvar. You then have to select a map again to start it up. ie. "map <mapname>"
The things you learn when the idea is sparked... <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->