SRCDS Steam group


Map turns dark when I execute a config file.
#1
[Image: be1fcc96ea60b75bab06ffd1023956d9.jpg][Image: ae9740a8494bab027eed58d5cbe07307.jpg]
The image on the left is the original map look before I execute a config file (exec server.cfg for example) and on the right is after.

It seems that this only occurs when the config file contains lines that change settings, config files that only restart a round do not turn the world dark. This also only seems to happen on a few maps, mainly surf_greatriver_fix (which is shown in the screenshots above.)

The world turns dark on a dedicated linux server running sourcemod, but also occurs on a standard listen server.

Below is an example of a config file that turns the world black. If anyone could help me out with why the world turns black and how to fix it, that would be great.
Code:
// MR15 config - created by Twelve-60

// WarMod

wm_match_config "mr15.cfg"
wm_max_rounds "15"
wm_overtime "1"
wm_overtime_max_rounds "3"
wm_overtime_start_money "10000"

mp_tkpunish "0"
mp_footsteps "1"
mp_fraglimit "0"
mp_maxrounds "0"
mp_freezetime "10"
mp_fadetoblack "0"
mp_buytime "0.25"
mp_startmoney "800"
mp_friendlyfire "1"
mp_dynamicpricing "0"
mp_autoteambalance "0"
mp_spawnprotectiontime "0"
mp_hostagepenalty "0"
mp_roundtime "1.75"
mp_forcerespawn "1"
mp_forcecamera "1"
mp_falldamage "1"
mp_flashlight "0"
mp_limitteams "0"
mp_chattime "10"
mp_timelimit "0"
mp_autokick "0"
mp_winlimit "0"
mp_playerid "1"
mp_c4timer "35"

sv_timeout "30"
sv_alltalk "0"
sv_pausable "0"
sv_cheats "0"
sv_consistency "1"
sv_voiceenable "1"
sv_pausable "0"
sv_footsteps "1"

sv_gravity "800"
sv_friction "4"
sv_accelerate "5"
sv_airaccelerate "10"
sv_stopspeed "75"
sv_stepsize "18"
sv_maxspeed "320"
phys_timescale "1"
phys_pushscale "1"

mp_allowspectators "1"
sv_specaccelerate "5"
sv_specnoclip "1"
sv_specspeed "3"
mp_weaponstay "0"
mp_decals "200"
decalfrequency "10"
breakable_multiplayer "1"

say Match Config Loaded
Reply
#2
I don't see anything weird in your config, does it happen with all configs you have? or just a few?
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#3
it seems to happen with all the configs that change a setting, e.g with

Code:
// Live on 3 config - created by Twelve-60
alias w5 "wait;wait;wait;wait;wait"
alias w50 "w5;w5;w5;w5;w5;w5;w5;w5;w5;w5"
alias w100 "w50;w50"
alias w200 "w50;w50;w50;w50"
alias w400 "w200;w200"
alias w500 "w100;w100;w100;w100;w100"

say Live on 3
w50
mp_restartgame 1
w400
say Live on 2
w50
mp_restartgame 1
w400
say Live on 1
w50
mp_restartgame 3
w500
w400
say The match is now Live
say Good Luck, Have Fun
It will be fine. - Hmm, I forgot to mention that when the world goes dark if you rejoin it is back to normal.

Cheers
Reply
#4
that happens to me on one of my servers aswell. Ppl know to rejoin(that normally fixes it)
~ trewq
Reply
#5
Same here as well.
Derek Denholm, CEO, XFactorServers, INC.
XFactorServers: Game Server Hosting Solutions
Follow Us http://www.Twitter.com/XFactorServers
Reply
#6
I found the problem - and the fix.

The problem is that most custom maps set mat_fullbright to 1. The problem here is that this is a cheat.

When you execute config files that contain sv_cheats 0 in them, it will turn the map dark as it has set mat_fullbright to 0. This is why when executing some config files (ones that didn't have sv_cheats 0 in them) it had no effect.

The fix for this is to remove "sv_cheats 0" from any config files that you may want to run during gameplay. It is probably also safe to remove it from server.cfg also as I would assume the default value would be 0.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)