My Server Re-names After Every Map Change

RellixRellix Join Date: 2003-02-15 Member: 13572Members, Constellation, Reinforced - Shadow
<div class="IPBDescription">Any Ideas</div> Every Time my server changes map, the max players change to 24 and the name re-serts to default.
Anyone know how to stp this?

Comments

  • HtNickoliHtNickoli Join Date: 2002-11-24 Member: 9786Members
    edited February 2003
    Well, As far as I know, Its impossible for hlds to change its maxplayers WITHOUT restarting the server. But that aside. The server.cfg gets exec everytime a map changes. So check your settings in that config. If it has a hostname cvar set in it. It will change the hostname to whatever is set in the server.cfg.

    FYI: Since server.cfg gets exec everytime a map change occurs. Its a wise idea to remove the "log on" etc cvars from server.cfg. As It will just force current log to close, and reopen another one everytime it hits the "log on" cvar. Resulting in a lot of empty log files.

    Its best to use autoexec.cfg for all your perm settings (rcon_password, log on, logaddress, port, maxplayers, rates, etc etc) and just use the server.cfg for settings you don't want changed. Like hostname, gravity etc. Things that an admin might change to make one map more fun, but you don't want changed on all your maps.

    FYI2: Autoexec.cfg = gets exec once at server start. Can hold all settings you would normaly put in the start line. Like port, maxplayers, etc. Just remove the - before each startline switch for placement in autoexec.cfg. (IE: "-port xxxxx" on startline, is "port xxxxx" in autoexec.cfg

    For example. heres my autoexec.cfg

    <!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
    port 27015
    maxplayers 17
    rcon_password "xxxxxxxxxxxxxx"
    log on
    fullserverinfo
    mp_logmessages 1
    mp_logdetail 3
    sv_maxrate 10000
    sv_allowupload 1
    sv_allowdownload 1
    sv_type 1
    sv_contact "http://www.Hostilism.com"
    hpk_maxsize 1.5
    exec banned.cfg
    exec listip.cfg
    exec server.cfg
    map ns_eclipse
    <!--c2--></td></tr></table><span class='postcolor'><!--ec2-->

    The only start line switches I use when launching the ns server is;

    -game ns -heapsize 592111 -zone 20480 -norestart -debug

    And thoose switches are actually proformed by halfd. (a linux server control app)

    Just to be complete, here's what my server.cfg looks like. (less admin_mod etc settings)

    <!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
    sv_aim 0
    violence_hgibs 0
    violence_agibs 0
    sv_clienttrace 3.5
    pausable 0
    hostname "[Ht]'s Condomless Brothel's NS v1.04"
    sv_maxspeed 1500
    sv_cheats 0
    sv_lan 0
    sv_proxies 0

    mp_consistency 0
    mp_countdowntime .2
    mp_latejointime 1
    mp_assert 0
    mp_tournamentmode 0
    mp_networkmeterrate 100000
    mp_falldamage 1
    mp_serverscripts 0
    mp_teamresourcehandicap 1
    mp_spawninvulnerabletime 0
    mp_autoconcede 4

    mp_timelimit 45

    // Commander voting
    mp_votedowntime 180
    mp_votecasttime 2
    mp_votepercentneeded .4
    mp_minvotesneeded 3


    mp_networkdebug 0
    mp_flashlight 1
    mp_footsteps 1

    mp_serverops ""
    mp_authicons 1
    <!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
  • RellixRellix Join Date: 2003-02-15 Member: 13572Members, Constellation, Reinforced - Shadow
    Thanks that helped a lot!
  • Grimm_SpectorGrimm_Spector Join Date: 2002-11-01 Member: 3309Members, Constellation
    that's funny, my server, and one of the TFC ones I had before it, will let me change publicslots through hlsw effectively opening up slots for players...but I know it's not supposed to <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo-->
Sign In or Register to comment.