Maxplayers?

Insane_Homeless_ManInsane_Homeless_Man Join Date: 2002-12-24 Member: 11460Members
<div class="IPBDescription">question</div> I am a noob server op, so bear with me. =)

How do I adjust the number of people allowed on the server at one time? I dont see anything that looks to be a variable for changing the server max players in the various configs in the NS folder.

Thanx

Comments

  • EpochEpoch Join Date: 2002-10-10 Member: 1474Members
    In your command-line, add +maxplayers x where x is the number of players you want to be able to connect to your server at one time.
  • pharmacistpharmacist Join Date: 2002-11-13 Member: 8444Members
    in the hlds shortcut for ns... use +maxplayers 20 or whatever amount you want.

    example of what I use is in my command line : \
    G:\HLServer\hlds.exe -game cstrike +autoexec.cfg -port 27015

    create an autoexec.cfg and place it in the NS directory.

    another example:

    maxplayers 20
    map cs_assault
    ip 66.89.168.99
    port 27015
    log on
    noipx
    decalfrequency 5
    sv_minrate 4000
    sv_maxrate 16000
    sv_voiceenable 1

    If you need more help... send me an email to pharmacist@clanrtc.com and I will be happy to give you some pointers.
  • cracker_jackmaccracker_jackmac Join Date: 2002-11-04 Member: 6891Members, Constellation, Reinforced - Shadow
    <!--QuoteBegin--pharmacist+Jan 17 2003, 06:55 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (pharmacist @ Jan 17 2003, 06:55 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->in the hlds shortcut for ns... use +maxplayers 20 or whatever amount you want.

    example of what I use is in my command line : \
    G:\HLServer\hlds.exe -game cstrike +autoexec.cfg -port 27015

    create an autoexec.cfg and place it in the NS directory.

    another example:

    maxplayers 20
    map cs_assault
    ip 66.89.168.99
    port 27015
    log on
    noipx
    decalfrequency 5
    sv_minrate 4000
    sv_maxrate 16000
    sv_voiceenable 1

    If you need more help... send me an email to pharmacist@clanrtc.com and I will be happy to give you some pointers.<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    i hate to correct you....but.....

    <!--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-->sv_minrate 4000
    sv_maxrate 16000
    sv_voiceenable 1<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->

    need to be in your server.cfg otherwise they will reset on the map change <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' valign='absmiddle' alt='wink.gif'><!--endemo--> or not...just make sur eyou don't have those vars in your server.cfg file if you use them in your autoexec.cfg...but i suggest putting them in your server.cfg file as it is processed each map change.


    and don't suggest sv_maxrate variables if you don't know his connect speed either....you'll get flamed if it lagged out his sever <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' valign='absmiddle' alt='wink.gif'><!--endemo-->
  • Insane_Homeless_ManInsane_Homeless_Man Join Date: 2002-12-24 Member: 11460Members
    Thanks folks, it worked. =)
  • [WHO]Them[WHO]Them You can call me Dave Join Date: 2002-12-11 Member: 10593Members, Constellation
    <!--QuoteBegin--pharmacist+Jan 17 2003, 06:55 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (pharmacist @ Jan 17 2003, 06:55 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->G:\HLServer\hlds.exe -game cstrike +autoexec.cfg -port 27015<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    just fyi....

    +autoexec.cfg
    is completely useless

    for 2 reasons:
    1. the server executes autoexec.cfg no matter what, so if the file even exists it will get exec'ed
    2. I'm pretty sure that unless you changed that to +exec autoexec.cfg that it would in fact do nothing at all


    not that it's big or anything, just thought I'd mention it
Sign In or Register to comment.