04-23-2021, 07:56 AM
Introduction
I'm setting up a Fistful of Frags server with the gun game mod. When I launch the server and check the server logs, I can see that it tries to load into my configured starting map, fails, then tries to load other maps and fails up until it finally lands on the default map, "fof_fistful". After that, it is not possible to change to any other map, as it repeats the same try/fail sequence until landing back on the very same "fof_fistful" map every time.
Through several hours of trial and error, I've narrowed the issue down to the "mp_teamplay 0" server.cfg option. When I set "mp_teamplay 1", teams are enabled, and everything works as expected. When I set "mp_teamplay 0", however, we're back to broken map loading. I would prefer to have teams disabled, as that is the free-for-all game mode I want. It may be worth noting, my server.cfg file is nearly identical to my friend's, who is on a managed windows server without issues. Whereas I am on an unmanaged linux server, and it isn't working. Below is the requisite information for this post, and some extra information.
BASIC INFO
Server OS: Debian 9 Stretch x64
Processor: Intel® Xeon® CPU E5-2690 v2 @ 3.00GHz, 1 core (not hyperthreaded).
Ram: 1024 MB
Game(s): Fistful of Frags
Start Up Command: screen -mdS FoFserver ./srcds_run -steam -game fof -ip [my server's public IP] +map fof_depot -debuglog /home/l4d2/fof_debug.txt -consolelog /home/l4d2/fof_console.txt
Admin Mods: MetaMod 1.11.0, SourceMod 1.10.0
CONFIG ISSUES
server.cfg:
I'd also like to mention, this same set of problems occurs on a vanilla FoF server installation, with the only change being changing the value of "mp_teamplay" to 0 in the server.cfg. I wiped my server and re-downloaded the core server with srcds and updated the server.cfg as part of my troubleshooting. I have attached a couple of log files that show what it looks like when I start the server with mp_teamplay = 0 (teams are disabled), and what it looks like when mp_teamplay = 1 (teams are enabled). The part that stands out to me most in the broken log is this:
It got me thinking that maybe it has to do with the mapcycle.txt, but all the appropriate maps work fine when teams are enabled. I double checked the Fistful of Frags wiki to confirm which maps are available to each game mode. As best I can tell, "fof_sv_currentmode 1" corresponds to Shootout or Team Shootout, depending on whether teams are disabled or enabled (again via mp_teamplay). Reading the wiki page for each of those game modes, it appears that each has the same exact pool of available maps to choose from.
Conclusion
Ultimately, I'm worried this is a server bug specifically for linux that's out of my control, but I'd love if there's something I'm doing wrong that I can fix. I wasn't really sure whether to post this in SRCDS General or SRCDS Linux, and I landed on general since I don't know for sure that it's linux and not my particular configuration. Let me know if it needs to be moved. The available documentation for Fistful of Frags servers is pretty limited, so I'm at my wits' end. Thank you so much for any help!
I'm setting up a Fistful of Frags server with the gun game mod. When I launch the server and check the server logs, I can see that it tries to load into my configured starting map, fails, then tries to load other maps and fails up until it finally lands on the default map, "fof_fistful". After that, it is not possible to change to any other map, as it repeats the same try/fail sequence until landing back on the very same "fof_fistful" map every time.
Through several hours of trial and error, I've narrowed the issue down to the "mp_teamplay 0" server.cfg option. When I set "mp_teamplay 1", teams are enabled, and everything works as expected. When I set "mp_teamplay 0", however, we're back to broken map loading. I would prefer to have teams disabled, as that is the free-for-all game mode I want. It may be worth noting, my server.cfg file is nearly identical to my friend's, who is on a managed windows server without issues. Whereas I am on an unmanaged linux server, and it isn't working. Below is the requisite information for this post, and some extra information.
BASIC INFO
Server OS: Debian 9 Stretch x64
Processor: Intel® Xeon® CPU E5-2690 v2 @ 3.00GHz, 1 core (not hyperthreaded).
Ram: 1024 MB
Game(s): Fistful of Frags
Start Up Command: screen -mdS FoFserver ./srcds_run -steam -game fof -ip [my server's public IP] +map fof_depot -debuglog /home/l4d2/fof_debug.txt -consolelog /home/l4d2/fof_console.txt
Admin Mods: MetaMod 1.11.0, SourceMod 1.10.0
CONFIG ISSUES
server.cfg:
Code:
// server name
hostname "[Dallas] Shooty Shooty Pow Pew Pew"
// rcon passsword
rcon_password "[my_rcon_password]"
// Server password
sv_password "[my_server_password]"
// voice support
sv_voiceenable 1
sv_alltalk 1
// prevents some exploits
sv_allow_wait_command 0
// operation
sv_lan 0
sv_region 255
// GAME MODES
fof_sv_currentmode 1 // 1 Shootout, 2 Teamplay/Objectives, 3 Break Bad, 4 Elimination, 5 Versus, 6 course
fof_gungame_enabled 1
mp_teamplay 0 // teams enabled <--- the problem config value
fof_sv_maxteams 0 // amount of teams 2-3-4
mp_timelimit 30
fof_sv_rankedserver 0
fof_sv_scrambleteams 0
fof_sv_scrambleteams_maxkillratio 0.75 // Teams get scrambled when total team kills exceed this ratio 0.75 = 75% of kills come from same team
fof_sv_dynamite_shot 1 // allows a lit dynamite stick to explode when being shot
// PLAYERS
mp_forcecamera 0 // 0 free roaming - 1 allow team only - 2 allow none
// BOTS
fof_sv_bot_slotpct 0
mapcyclefile "mapcycle.txt"
// SERVER
sv_Maxrate 50000
sv_Minrate 50000
sv_Maxupdaterate 100
sv_Minupdaterate 33
sv_Maxcmdrate 100
sv_Mincmdrate 33
sv_client_max_interp_ratio 5
sv_client_min_interp_ratio 1
sv_client_predict 1
sv_client_interpolate 1
// server logging
log on
sv_logbans 1
sv_logecho 1
sv_logfile 1
sv_log_onefile 0
// execute ban files
exec banned_user.cfg
exec banned_ip.cfg
writeip
writeid
I'd also like to mention, this same set of problems occurs on a vanilla FoF server installation, with the only change being changing the value of "mp_teamplay" to 0 in the server.cfg. I wiped my server and re-downloaded the core server with srcds and updated the server.cfg as part of my troubleshooting. I have attached a couple of log files that show what it looks like when I start the server with mp_teamplay = 0 (teams are disabled), and what it looks like when mp_teamplay = 1 (teams are enabled). The part that stands out to me most in the broken log is this:
Code:
L 04/22/2021 - 15:29:52: Started map "fof_winterlong" (CRC "dc4042426a00fec5ab7cd0f67e11b5d1")
L 04/22/2021 - 15:29:52: -------- Mapchange to fof_winterlong --------
L 04/22/2021 - 15:29:52: Error log file session closed.
Can't changelevel, not running server
It got me thinking that maybe it has to do with the mapcycle.txt, but all the appropriate maps work fine when teams are enabled. I double checked the Fistful of Frags wiki to confirm which maps are available to each game mode. As best I can tell, "fof_sv_currentmode 1" corresponds to Shootout or Team Shootout, depending on whether teams are disabled or enabled (again via mp_teamplay). Reading the wiki page for each of those game modes, it appears that each has the same exact pool of available maps to choose from.
Conclusion
Ultimately, I'm worried this is a server bug specifically for linux that's out of my control, but I'd love if there's something I'm doing wrong that I can fix. I wasn't really sure whether to post this in SRCDS General or SRCDS Linux, and I landed on general since I don't know for sure that it's linux and not my particular configuration. Let me know if it needs to be moved. The available documentation for Fistful of Frags servers is pretty limited, so I'm at my wits' end. Thank you so much for any help!