Server Config Exec'd 3 Times On Startup,

DepotDepot The ModFather Join Date: 2002-11-09 Member: 7956Members
<div class="IPBDescription">2 times at changelevel, why?</div> As evidenced in the attached screenshot my server config is executed 3 times upon starting my Win32 server. At changelevel it is executed twice.

If you chose not to believe the attached screenshot as evidence, know that I have "wb add" <i>once</i> in my server config to add 1 whichbot, and 3 bots are added upon startup and 2 at changelevel. In questioning clamatius on this he agreed the server config is being exec'd more than once.

Anyone have a clue why server configs are executed more than once?

Comments

  • billcatbillcat Join Date: 2002-11-02 Member: 4903Members, Constellation
    Well,

    Here's my me-too post. Only I'm running HLDS so that at least proves this isn't an issue just with the windows code.

    This exact same thing happens to me..
  • DepotDepot The ModFather Join Date: 2002-11-09 Member: 7956Members
    billcat, looks like we stumped em on this one, eh?
  • billcatbillcat Join Date: 2002-11-02 Member: 4903Members, Constellation
    Is there even anyone around anymore???
  • JHunzJHunz Join Date: 2002-11-15 Member: 8815Members, Constellation
    Looks like your adminmod config is executing twice for some reason, and that config file is executing the server.cfg.
  • VadakillVadakill The Almighty BSO Join Date: 2002-04-02 Member: 373Members, NS1 Playtester
    edited June 2004
    What does your start up command look like? Do you have an autoexec.cfg file for your server? If you do, what's in it? What is the contents of your server.cfg file? What is in your adminmod.cfg file?

    Post the contents of the files, Zip them up and post them as an attachment or e-mail them to me at vadakill@vadakill.com so we can look at them.
  • DepotDepot The ModFather Join Date: 2002-11-09 Member: 7956Members
    <!--QuoteBegin-Vadakill+Jun 2 2004, 04:07 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Vadakill @ Jun 2 2004, 04:07 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->What does your start up command look like?  Do you have an autoexec.cfg file for your server?  If you do, what's in it? What is the contents of your server.cfg file?  What is in your adminmod.cfg file? 

    Post the contents of the files, Zip them up and post them as an attachment or e-mail them to me at vadakill@vadakill.com so we can look at them.<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    Start up command: <!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->"C:\Program Files\ServerDoc\serverdoc.exe" C:\HLServer1\hlds +port 27014 -game nsp +map co_faceoff +maxplayers 12 +mapchangecfgfile "server.cfg" -console<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->

    autoexec.cfg: <!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->log on
    sv_allowdownload  0
    sv_allowupload 0
    fullserverinfo
    rcon_password blahbla<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->

    <b>Disabling AdminMod had no effect - 3 bots still load.</b>

    server.cfg:
    <!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->// Default server name. Change to "Bob's Server", etc.
    hostname "Depot's Nutz 3.0 B-4a NS"
    // Must specify sv_region, or it won't show up in Steam server browser
    // 0: US East coast
    // 1: US West coast
    // 2: South America
    // 3: Europe
    // 4: Asia
    // 5: Australia
    // 6: Middle East
    // 7: Africa
    sv_region 0
    wb add
    sv_password ""
    sv_alltalk 0
    // general gameplay
    mp_autoconcede 4
    mp_limitteams 1
    mp_combattime 15
    // below set so server won't appear timedout on hlsw, per LightningBlue
    max_queries_sec "-1"
    max_queries_sec_global "-1"
    max_queries_window "-1"
    // block abusive console scripts (wait, special, etc.)?
    mp_blockscripts 1
    // Set to -1 to disallow voting (looks in mapcycle.txt for entries)
    mp_mapvoteratio .6
    // Enable HLTV proxies to connect
    sv_proxies 1
    // maximum client movement speed (needed for commander mode)
    sv_maxspeed 4000
    sv_maxspectatorspeed 1000
    sv_allowdownloads 0
    sv_allowdownload 0
    mp_consistency 1
    // Commander voting
    mp_votedowntime 180
    mp_votecasttime 2
    mp_votepercentneeded .4
    mp_minvotesneeded 3
    // More obscure settings
    mp_countdowntime .2
    mp_latejointime 1.5
    mp_falldamage 1
    mp_killdelay 3
    mp_flashlight 1
    mp_footsteps 1
    log on
    mp_logdetail 0
    sv_maxrate 4000
    sv_voicecodec voice_speex
    sv_voicequality 2
    // disable autoaim and mad gibs
    sv_aim 0
    violence_hgibs 0
    violence_agibs 0
    // player bounding boxes (collisions, not clipping)
    sv_clienttrace 3.5
    sv_sendvelocity 1
    /////////////////////////////////////////
    // Server options (in listenserver UI) //
    /////////////////////////////////////////
    mp_tournamentmode 0
    mp_friendlyfire 0
    sv_cheats 0
    mp_drawdamage 0
    // Handicap one side (0-100)
    sv_team1damagepercent 100
    sv_team2damagepercent 100
    // 15 minute timelimit (never ends match in progress)
    mp_timelimit 15
    ///////////////////////////////
    // Dedicated server specific //
    ///////////////////////////////
    sv_lan 0
    // disable clients' ability to pause the server
    pausable 0
    // List server op WON or Steam ids here, delimited by semi-colons (eg, "STEAM_0:1:12345;STEAM_0:0:56736"), to display server op icon next to these players on this server.
    mp_serverops "STEAM_0:0:12345;STEAM_0:1:123456;STEAM_0:1:7654321"
    // Allows display of special authentication icons next to people's names (including developers, Constellation members, etc.)
    mp_uplink 1
    // Needed so this file is executed on map change, like pre-NS v2.1
    mapchangecfgfile server.cfg
    // Execute the Admin Mod configuration file
    exec addons/adminmod/config/adminmod.cfg

    exec banned.cfg<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
  • billcatbillcat Join Date: 2002-11-02 Member: 4903Members, Constellation
    ok, so there's the config, what's the solution here? I get this same thing and my config isn't that different from kwikloaders.

    start up command:
    /steam/hlds_run -game nsp

    more autoexec.cfg
    maxplayers 12
    map ns_tanith

    my server.cfg is so close to kwickloaders I won't bother posting it.

    pardon my posting linux stuff in here, but I think this isn't so much a linux vs. windows issue as it is a config/hlds/ns issue.
  • DepotDepot The ModFather Join Date: 2002-11-09 Member: 7956Members
    Billcat, think we stumped em on this one... woOt!
  • crazynetcrazynet Join Date: 2004-05-13 Member: 28647Members, Constellation
    I think that its something wiht the HLDS server.... It happens with CS servers also i beleave... i havent run that server in quite a while but when i did the same thing would happen. You can tell thats its a HLDS thing because of the multi log-file creation on the startups and changelevels
  • Lightning_BlueLightning_Blue Sunny Domination Join Date: 2002-12-11 Member: 10647Members, Constellation, Reinforced - Silver
    Looks like it's the <b>mapchangecfgfile</b> defined twice.

    Remove it from your startup and comment it out of your server.cfg, restart server, change maps and tell us what happens...
  • DepotDepot The ModFather Join Date: 2002-11-09 Member: 7956Members
    <!--QuoteBegin-Lightning Blue+Jun 18 2004, 12:30 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Lightning Blue @ Jun 18 2004, 12:30 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->Looks like it's the <b>mapchangecfgfile</b> defined twice.

    Remove it from your startup and comment it out of your server.cfg, restart server, change maps and tell us what happens...<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    Startup line and server.cfg modified as suggested, and server re-started.
    This time only 2 bots were added at startup (as opposed to 3) and 1 is added at changelevel.

    This appears to fix the problem. However, I read somewhere that this line had some significance. Does anyone know what it does (mapchangecfgfile)?
Sign In or Register to comment.