[GH-ISSUE #229] [csgoserver] Sourcemod/metamod not working with script #191

Closed
opened 2026-02-27 02:00:02 +03:00 by kerem · 4 comments
Owner

Originally created by @MathijsHofkens on GitHub (Dec 6, 2014).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/229

Hi

I'm using this script several days now and I noticed that I can't use sourcemod/metamod when using your script. When I run cs go server manually, the plugins work...

Thanks to take a look at it!

Originally created by @MathijsHofkens on GitHub (Dec 6, 2014). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/229 Hi I'm using this script several days now and I noticed that I can't use sourcemod/metamod when using your script. When I run cs go server manually, the plugins work... Thanks to take a look at it!
kerem 2026-02-27 02:00:02 +03:00
  • closed this issue
  • added the
    type: bug
    label
Author
Owner

@dgibbs64 commented on GitHub (Dec 6, 2014):

Do you get any errors when using ./csgoserver debug? Could you post the output of this.

<!-- gh-comment-id:65910130 --> @dgibbs64 commented on GitHub (Dec 6, 2014): Do you get any errors when using ./csgoserver debug? Could you post the output of this.
Author
Owner

@MathijsHofkens commented on GitHub (Dec 7, 2014):

Hi, the output:

Counter Strike: Global Offensive Debug
============================

Distro: Debian 7.7
Arch: x86_64
Kernel: 3.2.0-4-amd64
Hostname: csgo

Start parameters:
./srcds_run -game csgo -usercon -strictportbind -ip 192.168.2.104 -port 27015 +clientport 27005 +tv_port 27020 -tickrate 128 +map de_dust2 +servercfgfile esl5on5.cfg -maxplayers_override 10 +mapgroup random_classic +game_mode 1 +game_type 0 +host_workshop_collection  +workshop_start_map  -authkey  -debug

Use for identifying server issues only!
Press CTRL+c to drop out of debug mode
WARNING! If csgo-server is already running it will be stopped

Continue? [y/N]Y
[ FAIL ] Stopping csgo-server: CSGO: Tizzo is already stopped
[  OK  ] Starting debug mode csgo-server: CSGO: Tizzo
./srcds_run: 32: ./srcds_run: pushd: not found
./srcds_run: 35: ./srcds_run: popd: not found
Enabling debug mode
Server will auto-restart if there is a crash.
LD_LIBRARY_PATH=/home/csgoserver/serverfiles/bin:/home/csgoserver/serverfiles:/home/csgoserver/serverfiles/bin:
#Using breakpad minidump system
Using breakpad crash handler
#
#Console initialized.
#Loading VPK file hashes for pure server operation.
#Game.dll loaded for "Counter-Strike: Global Offensive"
#CGameEventManager::AddListener: event 'server_pre_shutdown' unknown.
#CGameEventManager::AddListener: event 'game_newmap' unknown.
#CGameEventManager::AddListener: event 'finale_start' unknown.
#CGameEventManager::AddListener: event 'round_start' unknown.
#CGameEventManager::AddListener: event 'round_end' unknown.
#CGameEventManager::AddListener: event 'difficulty_changed' unknown.
#CGameEventManager::AddListener: event 'player_connect' unknown.
#CGameEventManager::AddListener: event 'player_disconnect' unknown.
#GameTypes: missing mapgroupsSP entry for game type/mode (custom/custom).
Failed to load gamerulescvars.txt, game rules cvars might not be reported to management tools.
Server is hibernating
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.dll.
No web api auth key specified - workshop downloads will be disabled.
maxplayers set to 64
Setting mapgroup to 'random_classic'
Usage: host_workshop_collection <fileid>
Usage: workshop_start_map <fileid>
---- Host_NewGame ----
#######################################
Map de_dust2 missing stringtable dictionary, don't ship this way!!!
Run with -stringtables on the command line or convar
stringtable_alwaysrebuilddictionaries enabled to build the string table
#######################################
Host_NewGame on map de_dust2
GameTypes: missing mapgroupsSP entry for game type/mode (custom/custom).
ConVarRef room_type doesn't point to an existing ConVar
bot_autodifficulty_threshold_high - 5.0
bot_autodifficulty_threshold_low - -2.0
bot_chatter - normal
bot_defer_to_human_goals - 0
bot_defer_to_human_items - 1
bot_difficulty - 1
bot_quota - 10
bot_quota_mode - normal
bot_allow_grenades - 1
bot_allow_pistols - 1
bot_allow_sub_machine_guns - 1
bot_allow_shotguns - 1
bot_allow_rifles - 1
bot_allow_snipers - 1
bot_allow_machine_guns - 1
mp_playercashawards - 1
cash_player_bomb_defused - 300
cash_player_bomb_planted - 300
cash_player_damage_hostage - -30
cash_player_interact_with_hostage - 150
cash_player_killed_enemy_default - 300
cash_player_killed_enemy_factor - 1
cash_player_killed_hostage - -1000
cash_player_killed_teammate - -300
cash_player_rescued_hostage - 1000
cash_player_respawn_amount - 0
cash_player_get_killed - 0
mp_teamcashawards - 1
cash_team_elimination_bomb_map - 3250
cash_team_elimination_hostage_map_t - 1000
cash_team_elimination_hostage_map_ct - 2000
cash_team_hostage_alive - 0
cash_team_hostage_interaction - 500
cash_team_loser_bonus - 1400
cash_team_loser_bonus_consecutive_rounds - 500
cash_team_planted_bomb_but_defused - 800
cash_team_rescued_hostage - 0
cash_team_terrorist_win_bomb - 3500
cash_team_win_by_defusing_bomb - 3250
cash_team_win_by_hostage_rescue - 3500
cash_team_win_by_time_running_out_bomb - 3250
cash_team_win_by_time_running_out_hostage - 3250
mp_afterroundmoney - 0
mp_buytime - 90
mp_buy_anywhere - 0
mp_buy_during_immunity - 0
mp_startmoney - 800
mp_maxmoney - 16000
mp_death_drop_defuser - 1
mp_death_drop_grenade - 2
mp_death_drop_gun - 1
mp_deathcam_skippable - 1
mp_defuser_allocation - 0
mp_give_player_c4 - 1
mp_free_armor - 0
mp_molotovusedelay - 15.0
mp_weapons_allow_zeus - 1
mp_weapons_allow_map_placed - 0
mp_weapons_glow_on_ground - 0
mp_ct_default_melee - weapon_knife
mp_ct_default_secondary - weapon_hkp2000
mp_ct_default_primary -
mp_ct_default_grenades -
mp_t_default_melee - weapon_knife
mp_t_default_secondary - weapon_glock
mp_t_default_primary -
mp_t_default_grenades -
mp_buy_allow_grenades - 1
mp_freezetime - 6
mp_force_pick_time - 15
mp_halftime - 0
mp_match_can_clinch - 1
mp_maxrounds - 0
mp_roundtime - 5
mp_roundtime_defuse - 0
mp_roundtime_hostage - 0
mp_timelimit - 5
mp_warmuptime - 30
mp_warmup_pausetimer - 0
mp_halftime_pausetimer - 0
mp_default_team_winner_no_objective - -1
mp_hostagepenalty - 10
mp_solid_teammates - 1
sv_allow_votes - 1
sv_alltalk - 0
sv_deadtalk - 0
sv_ignoregrenaderadio - 0
mp_teammates_are_enemies - 0
mp_damage_scale_ct_body - 1.0
mp_damage_scale_ct_head - 1.0
mp_damage_scale_t_body - 1.0
mp_damage_scale_t_head - 1.0
mp_friendlyfire - 0
ff_damage_reduction_bullets - 0.1
ff_damage_reduction_grenade - 0.25
ff_damage_reduction_grenade_self - 1
ff_damage_reduction_other - 0.25
mp_limitteams - 2
spec_freeze_panel_extended_time - 0.0
spec_freeze_time - 5.0
mp_forcecamera - 1
mp_respawn_immunitytime - 4.0
mp_respawn_on_death_t - 0
mp_respawn_on_death_ct - 0
mp_display_kill_assists - 1
mp_use_respawn_waves - 0
mp_respawnwavetime_ct - 10.0
mp_respawnwavetime_t - 10.0
mp_randomspawn - 0
mp_randomspawn_los - 1
mp_radar_showall - 0
mp_force_assign_teams - 0
sv_gravity - 800
sv_accelerate - 5.5
sv_stopspeed - 80
sv_airaccelerate - 12
sv_wateraccelerate - 10
sv_waterfriction - 1
sv_friction - 5.2
sv_bounce - 0
sv_maxvelocity - 3500
sv_maxspeed - 320
mp_ggprogressive_round_restart_delay - 15.0
mp_ggtr_bomb_defuse_bonus - 1.0
mp_ggtr_bomb_detonation_bonus - 1.0
mp_ggtr_bomb_pts_for_flash - 4
mp_ggtr_bomb_pts_for_he - 3
mp_ggtr_bomb_pts_for_molotov - 5
mp_ggtr_bomb_pts_for_upgrade - 2.0
mp_ggtr_bomb_respawn_delay - 0.0
mp_ggtr_end_round_kill_bonus - 1
mp_ggtr_halftime_delay - 0.0
mp_ggtr_last_weapon_kill_ends_half - 0
sv_arms_race_vote_to_restart_disallowed_after - 0
Executing dedicated server config file
--------------------------------------------------------
sv_pure value unchanged (current value is 1).
--------------------------------------------------------
Console: "> ESL CS:GO 3on3/5on5 Ladder Config loaded - 07.10.2014<"
exec: couldn't exec gamemode_competitive_server.cfg
PrecacheScriptSound 'atv_impact_medium' failed, no such sound script entry
Commentary: Could not find commentary data file 'maps/de_dust2_commentary.txt'.
Initializing Steam libraries for secure Internet server
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
Setting breakpad minidump AppID = 730
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Logging into anonymous gameserver account.
Connection to Steam servers successful.
Assigned anonymous gameserver Steam ID [A:1:428760072(4944)].
VAC secure mode is activated.
GC Connection established for server version 150, instance idx 1
<!-- gh-comment-id:65941572 --> @MathijsHofkens commented on GitHub (Dec 7, 2014): Hi, the output: ``` Counter Strike: Global Offensive Debug ============================ Distro: Debian 7.7 Arch: x86_64 Kernel: 3.2.0-4-amd64 Hostname: csgo Start parameters: ./srcds_run -game csgo -usercon -strictportbind -ip 192.168.2.104 -port 27015 +clientport 27005 +tv_port 27020 -tickrate 128 +map de_dust2 +servercfgfile esl5on5.cfg -maxplayers_override 10 +mapgroup random_classic +game_mode 1 +game_type 0 +host_workshop_collection +workshop_start_map -authkey -debug Use for identifying server issues only! Press CTRL+c to drop out of debug mode WARNING! If csgo-server is already running it will be stopped Continue? [y/N]Y [ FAIL ] Stopping csgo-server: CSGO: Tizzo is already stopped [ OK ] Starting debug mode csgo-server: CSGO: Tizzo ./srcds_run: 32: ./srcds_run: pushd: not found ./srcds_run: 35: ./srcds_run: popd: not found Enabling debug mode Server will auto-restart if there is a crash. LD_LIBRARY_PATH=/home/csgoserver/serverfiles/bin:/home/csgoserver/serverfiles:/home/csgoserver/serverfiles/bin: #Using breakpad minidump system Using breakpad crash handler # #Console initialized. #Loading VPK file hashes for pure server operation. #Game.dll loaded for "Counter-Strike: Global Offensive" #CGameEventManager::AddListener: event 'server_pre_shutdown' unknown. #CGameEventManager::AddListener: event 'game_newmap' unknown. #CGameEventManager::AddListener: event 'finale_start' unknown. #CGameEventManager::AddListener: event 'round_start' unknown. #CGameEventManager::AddListener: event 'round_end' unknown. #CGameEventManager::AddListener: event 'difficulty_changed' unknown. #CGameEventManager::AddListener: event 'player_connect' unknown. #CGameEventManager::AddListener: event 'player_disconnect' unknown. #GameTypes: missing mapgroupsSP entry for game type/mode (custom/custom). Failed to load gamerulescvars.txt, game rules cvars might not be reported to management tools. Server is hibernating [S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed. [S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.dll. No web api auth key specified - workshop downloads will be disabled. maxplayers set to 64 Setting mapgroup to 'random_classic' Usage: host_workshop_collection <fileid> Usage: workshop_start_map <fileid> ---- Host_NewGame ---- ####################################### Map de_dust2 missing stringtable dictionary, don't ship this way!!! Run with -stringtables on the command line or convar stringtable_alwaysrebuilddictionaries enabled to build the string table ####################################### Host_NewGame on map de_dust2 GameTypes: missing mapgroupsSP entry for game type/mode (custom/custom). ConVarRef room_type doesn't point to an existing ConVar bot_autodifficulty_threshold_high - 5.0 bot_autodifficulty_threshold_low - -2.0 bot_chatter - normal bot_defer_to_human_goals - 0 bot_defer_to_human_items - 1 bot_difficulty - 1 bot_quota - 10 bot_quota_mode - normal bot_allow_grenades - 1 bot_allow_pistols - 1 bot_allow_sub_machine_guns - 1 bot_allow_shotguns - 1 bot_allow_rifles - 1 bot_allow_snipers - 1 bot_allow_machine_guns - 1 mp_playercashawards - 1 cash_player_bomb_defused - 300 cash_player_bomb_planted - 300 cash_player_damage_hostage - -30 cash_player_interact_with_hostage - 150 cash_player_killed_enemy_default - 300 cash_player_killed_enemy_factor - 1 cash_player_killed_hostage - -1000 cash_player_killed_teammate - -300 cash_player_rescued_hostage - 1000 cash_player_respawn_amount - 0 cash_player_get_killed - 0 mp_teamcashawards - 1 cash_team_elimination_bomb_map - 3250 cash_team_elimination_hostage_map_t - 1000 cash_team_elimination_hostage_map_ct - 2000 cash_team_hostage_alive - 0 cash_team_hostage_interaction - 500 cash_team_loser_bonus - 1400 cash_team_loser_bonus_consecutive_rounds - 500 cash_team_planted_bomb_but_defused - 800 cash_team_rescued_hostage - 0 cash_team_terrorist_win_bomb - 3500 cash_team_win_by_defusing_bomb - 3250 cash_team_win_by_hostage_rescue - 3500 cash_team_win_by_time_running_out_bomb - 3250 cash_team_win_by_time_running_out_hostage - 3250 mp_afterroundmoney - 0 mp_buytime - 90 mp_buy_anywhere - 0 mp_buy_during_immunity - 0 mp_startmoney - 800 mp_maxmoney - 16000 mp_death_drop_defuser - 1 mp_death_drop_grenade - 2 mp_death_drop_gun - 1 mp_deathcam_skippable - 1 mp_defuser_allocation - 0 mp_give_player_c4 - 1 mp_free_armor - 0 mp_molotovusedelay - 15.0 mp_weapons_allow_zeus - 1 mp_weapons_allow_map_placed - 0 mp_weapons_glow_on_ground - 0 mp_ct_default_melee - weapon_knife mp_ct_default_secondary - weapon_hkp2000 mp_ct_default_primary - mp_ct_default_grenades - mp_t_default_melee - weapon_knife mp_t_default_secondary - weapon_glock mp_t_default_primary - mp_t_default_grenades - mp_buy_allow_grenades - 1 mp_freezetime - 6 mp_force_pick_time - 15 mp_halftime - 0 mp_match_can_clinch - 1 mp_maxrounds - 0 mp_roundtime - 5 mp_roundtime_defuse - 0 mp_roundtime_hostage - 0 mp_timelimit - 5 mp_warmuptime - 30 mp_warmup_pausetimer - 0 mp_halftime_pausetimer - 0 mp_default_team_winner_no_objective - -1 mp_hostagepenalty - 10 mp_solid_teammates - 1 sv_allow_votes - 1 sv_alltalk - 0 sv_deadtalk - 0 sv_ignoregrenaderadio - 0 mp_teammates_are_enemies - 0 mp_damage_scale_ct_body - 1.0 mp_damage_scale_ct_head - 1.0 mp_damage_scale_t_body - 1.0 mp_damage_scale_t_head - 1.0 mp_friendlyfire - 0 ff_damage_reduction_bullets - 0.1 ff_damage_reduction_grenade - 0.25 ff_damage_reduction_grenade_self - 1 ff_damage_reduction_other - 0.25 mp_limitteams - 2 spec_freeze_panel_extended_time - 0.0 spec_freeze_time - 5.0 mp_forcecamera - 1 mp_respawn_immunitytime - 4.0 mp_respawn_on_death_t - 0 mp_respawn_on_death_ct - 0 mp_display_kill_assists - 1 mp_use_respawn_waves - 0 mp_respawnwavetime_ct - 10.0 mp_respawnwavetime_t - 10.0 mp_randomspawn - 0 mp_randomspawn_los - 1 mp_radar_showall - 0 mp_force_assign_teams - 0 sv_gravity - 800 sv_accelerate - 5.5 sv_stopspeed - 80 sv_airaccelerate - 12 sv_wateraccelerate - 10 sv_waterfriction - 1 sv_friction - 5.2 sv_bounce - 0 sv_maxvelocity - 3500 sv_maxspeed - 320 mp_ggprogressive_round_restart_delay - 15.0 mp_ggtr_bomb_defuse_bonus - 1.0 mp_ggtr_bomb_detonation_bonus - 1.0 mp_ggtr_bomb_pts_for_flash - 4 mp_ggtr_bomb_pts_for_he - 3 mp_ggtr_bomb_pts_for_molotov - 5 mp_ggtr_bomb_pts_for_upgrade - 2.0 mp_ggtr_bomb_respawn_delay - 0.0 mp_ggtr_end_round_kill_bonus - 1 mp_ggtr_halftime_delay - 0.0 mp_ggtr_last_weapon_kill_ends_half - 0 sv_arms_race_vote_to_restart_disallowed_after - 0 Executing dedicated server config file -------------------------------------------------------- sv_pure value unchanged (current value is 1). -------------------------------------------------------- Console: "> ESL CS:GO 3on3/5on5 Ladder Config loaded - 07.10.2014<" exec: couldn't exec gamemode_competitive_server.cfg PrecacheScriptSound 'atv_impact_medium' failed, no such sound script entry Commentary: Could not find commentary data file 'maps/de_dust2_commentary.txt'. Initializing Steam libraries for secure Internet server [S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed. Setting breakpad minidump AppID = 730 Forcing breakpad minidump interfaces to load Looking up breakpad interfaces from steamclient Calling BreakpadMiniDumpSystemInit Looking up breakpad interfaces from steamclient Calling BreakpadMiniDumpSystemInit Logging into anonymous gameserver account. Connection to Steam servers successful. Assigned anonymous gameserver Steam ID [A:1:428760072(4944)]. VAC secure mode is activated. GC Connection established for server version 150, instance idx 1 ```
Author
Owner

@dgibbs64 commented on GitHub (Dec 7, 2014):

The only error I can spot is this.

Console: "> ESL CS:GO 3on3/5on5 Ladder Config loaded - 07.10.2014<"
exec: couldn't exec gamemode_competitive_server.cfg

When you run the server manually what are the parameters? Are there any special parameters for sourcemod etc?

Your server runs this with the script.

./srcds_run -game csgo -usercon -strictportbind -ip 192.168.2.104 -port 27015 +clientport 27005 +tv_port 27020 -tickrate 128 +map de_dust2 +servercfgfile esl5on5.cfg -maxplayers_override 10 +mapgroup random_classic +game_mode 1 +game_type 0 +host_workshop_collection  +workshop_start_map  -authkey  -debug

My only guess is that the parameters are different.

<!-- gh-comment-id:65959736 --> @dgibbs64 commented on GitHub (Dec 7, 2014): The only error I can spot is this. ``` Console: "> ESL CS:GO 3on3/5on5 Ladder Config loaded - 07.10.2014<" exec: couldn't exec gamemode_competitive_server.cfg ``` When you run the server manually what are the parameters? Are there any special parameters for sourcemod etc? Your server runs this with the script. ``` ./srcds_run -game csgo -usercon -strictportbind -ip 192.168.2.104 -port 27015 +clientport 27005 +tv_port 27020 -tickrate 128 +map de_dust2 +servercfgfile esl5on5.cfg -maxplayers_override 10 +mapgroup random_classic +game_mode 1 +game_type 0 +host_workshop_collection +workshop_start_map -authkey -debug ``` My only guess is that the parameters are different.
Author
Owner

@lock[bot] commented on GitHub (Jul 19, 2018):

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

<!-- gh-comment-id:406441661 --> @lock[bot] commented on GitHub (Jul 19, 2018): This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sign in to join this conversation.
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LinuxGSM#191
No description provided.