Newbi Questions

KP2KP2 Join Date: 2003-04-08 Member: 15333Members
I was wondering how I lower the maxplayer and how do I enable admin access?

Comments

  • cracker_jackmaccracker_jackmac Join Date: 2002-11-04 Member: 6891Members, Constellation, Reinforced - Shadow
    depends, were are you declaring your max players?

    in autoexec.cfg or in the CL?
  • VadakillVadakill The Almighty BSO Join Date: 2002-04-02 Member: 373Members, NS1 Playtester
    edited April 2003
    Admin rcon access? or AdminMod access? Try the newbie HLDS/NS server guide pinned at the top of this forum.
  • MOMBorisMOMBoris Join Date: 2003-03-22 Member: 14777Members
    <!--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.

    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...)
  • cracker_jackmaccracker_jackmac Join Date: 2002-11-04 Member: 6891Members, Constellation, Reinforced - Shadow
    actually boris, its

    +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-->
  • MOMBorisMOMBoris Join Date: 2003-03-22 Member: 14777Members
    <!--QuoteBegin--cracker jackmac+Apr 9 2003, 10:03 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (cracker jackmac @ Apr 9 2003, 10:03 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->actually boris, its

    +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....
  • cracker_jackmaccracker_jackmac Join Date: 2002-11-04 Member: 6891Members, Constellation, Reinforced - Shadow
    really? i thought it was +maxplayers only....


    my bad
  • Eternal_BlissEternal_Bliss Join Date: 2002-11-07 Member: 7633Members, NS1 Playtester, Contributor
    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-->)
  • MOMBorisMOMBoris Join Date: 2003-03-22 Member: 14777Members
    <!--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-->
  • MOMBorisMOMBoris Join Date: 2003-03-22 Member: 14777Members
    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-->
  • Eternal_BlissEternal_Bliss Join Date: 2002-11-07 Member: 7633Members, NS1 Playtester, Contributor
    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.
  • NarfwakNarfwak Join Date: 2002-11-02 Member: 5258Members, Super Administrators, Forum Admins, NS1 Playtester, Playtest Lead, Forum Moderators, Constellation, NS2 Playtester, Squad Five Blue, Reinforced - Supporter, Reinforced - Silver, Reinforced - Gold, Reinforced - Diamond, Reinforced - Shadow, Subnautica PT Lead, NS2 Community Developer
    edited April 2003
    <!--QuoteBegin--[MOM]Boris+Apr 9 2003, 06:27 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> ([MOM]Boris @ Apr 9 2003, 06:27 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin--cracker jackmac+Apr 9 2003, 10:03 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (cracker jackmac @ Apr 9 2003, 10:03 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->actually boris, its

    +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.
  • MOMBorisMOMBoris Join Date: 2003-03-22 Member: 14777Members
    edited April 2003
    <!--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-->
  • Eternal_BlissEternal_Bliss Join Date: 2002-11-07 Member: 7633Members, NS1 Playtester, Contributor
    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.
Sign In or Register to comment.