Help - Search - Members - Calendar
Full Version: Server Config Exec'd 3 Times On Startup,
Unknown Worlds Forums > Natural Selection > Natural Selection Discussion > General Server Discussion > Win32 Server Support
Depot
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" once 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?
billcat
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..
Depot
billcat, looks like we stumped em on this one, eh?
billcat
Is there even anyone around anymore???

JHunz
Looks like your adminmod config is executing twice for some reason, and that config file is executing the server.cfg.
Vadakill
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.
Depot
QUOTE (Vadakill @ Jun 2 2004, 04:07 AM)
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.

Start up command:
QUOTE
"C:\Program Files\ServerDoc\serverdoc.exe" C:\HLServer1\hlds +port 27014 -game nsp +map co_faceoff +maxplayers 12 +mapchangecfgfile "server.cfg" -console


autoexec.cfg:
QUOTE
log on
sv_allowdownload  0
sv_allowupload 0
fullserverinfo
rcon_password blahbla


Disabling AdminMod had no effect - 3 bots still load.

server.cfg:
QUOTE
// 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
billcat
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.

Depot
Billcat, think we stumped em on this one... woOt!
crazynet
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_Blue
Looks like it's the mapchangecfgfile defined twice.

Remove it from your startup and comment it out of your server.cfg, restart server, change maps and tell us what happens...
Depot
QUOTE (Lightning Blue @ Jun 18 2004, 12:30 PM)
Looks like it's the mapchangecfgfile defined twice.

Remove it from your startup and comment it out of your server.cfg, restart server, change maps and tell us what happens...

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)?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.