Skip to content

[Bug]: #263

@JustCallMeZack

Description

@JustCallMeZack

Server is up to date

  • My server is up-to-date and I'm using the latest version of this mod from this github.

I've followed the instructions

  • I've followed the instructions

Game Server Login Token

  • I'm using a valid Game Server Login Token or running on LAN

Operating System

Other (please specify), Windows 10

Which mod are you playing

Deathmatch

Are you trying to host online or on LAN?

LAN off a machine on my local network, Online off a machine on my local network

Metamod:Source Version

Metamod:Source version 2.0.0-dev+1373

Metamod:Source Plugins loaded

[Client] [01] ServerListPlayersFix (1.0.5) by Poggu [Client] [02] CounterStrikeSharp (v1.0.346 @ cebec41) by Roflmuffin

CounterStrikeSharp Version

Current API Version: v34

CounterStrikeSharp Plugins loaded

[Client] List of all plugins currently loaded by CounterStrikeSharp: 11 plugins loaded. [Client] [#1:LOADED]: "Patches - Bot AI" (1.0.0) by K4ryuu [Client] Prevents bots from visiting enemy spawn at round start [Client] [#2:LOADED]: "GameModeManager" (1.0.62) by Striker-Nick [Client] A simple plugin to help administrators manage custom game modes, settings, and map rotations. [Client] [#3:LOADED]: "CS2 Announcement Broadcaster" (0.5.0) by Lengran [Client] A plugin that helps server admins to broadcast announcements to users. https://github.com/lengran/CS2AnnouncementBroadcaster [Client] [#4:LOADED]: "WASDMenuAPI" (1.0.6) by Interesting [Client] [#5:LOADED]: "FixRandomSpawn" (1.1.4) by xstage [Client] [#6:LOADED]: "CS2_ExecAfter" (1.0.0) by Kus (https://github.com/kus) [Client] Executes a command after server event or a delay. exec_after for help [Client] [#7:LOADED]: "Custom Votes" (1.1.3) by imi-tat0r [Client] Allows you to create custom votes for your server. [Client] [#8:LOADED]: "[Custom] Map Configurator" (V. 1.0.2 [Beta]) by Manifest @road To Glory [Client] Allow server owners to easily create unique configuration files on a per map basis. [Client] [#9:LOADED]: "CS2Rcon" (1.2.0) by LordFetznschaedl [Client] Allows for server commands to be executed from the client using !rcon [Client] [#10:UNLOADED]: "InventorySimulator" (1.37.0) by Ian Lucas [Client] Inventory Simulator (inventory.cstrike.app) [Client] Termination Reason: Invalid function pointer [Client] [#11:LOADED]: "SimpleAdmin" (0.1.2)

What is the bug

When switching to any gamemodes the server will crash. The server starts fine, and can be connected to/played, but using !modes and selecting any of the modes it will immediately crash with the logs in the field below. I think also when it switches sides it also crashes but that might have been unrelated as it only just happened for the first time while writing this report.

Game console output

Server log output

2025-11-13 05:55:31.916 | SV:  64 player server started
2025-11-13 05:55:31.916 | CSource2Server::GameServerSteamAPIActivated()
2025-11-13 05:55:31.916 | GC Connection established for server version 2000676, instance idx 1
2025-11-13 05:55:31.916 | [STARTUP] {9.094} activated session on GC
2025-11-13 05:55:31.916 | Using spawn points configuration 0x7FEE9FE2
2025-11-13 05:55:31.916 | Sending S2C_CHALLENGE [0 auth 3] to 172.18.0.1:39918
2025-11-13 05:55:31.916 | Receiving C2S_CONNECT [protocol 14124 0 auth 3] from 172.18.0.1:39918
2025-11-13 05:55:31.916 | CNetworkGameServerBase::ConnectClient( name='Zack', remote='172.18.0.1:39918' )
2025-11-13 05:55:31.916 | Creating NetChan for user 0 'Zack' @ 172.18.0.1:39918
2025-11-13 05:55:31.916 | CServerSideClientBase::Connect( name='Zack', userid=0, fake=0, connectiontypeflags=4, chan->addr=172.18.0.1:39918 )
2025-11-13 05:55:31.916 | Sending S2C_CONNECTION to 172.18.0.1:39918 [addons:'']
2025-11-13 05:55:31.916 | Client #0 "Zack" connected @ 172.18.0.1:39918
2025-11-13 05:55:31.916 | ClientPutInServer create new player controller [Zack]
2025-11-13 05:55:31.916 | Client 0 'Zack' setting rate to 786432
2025-11-13 05:55:31.916 | [Zack] cl_interp_ratio='0', LerpTime=0
2025-11-13 05:55:31.916 | SV:  "Zack<0><[U:1:271153364]><>" STEAM USERID validated
2025-11-13 05:55:31.916 | SV:  Sending full update to client Zack (reason:  initial update)
2025-11-13 05:55:31.916 | [Tick 1488]['Zack' depth=5 (10..14) ping=0ms] CQ bloat: removed 6, max: 4, 1 ticks this frame
2025-11-13 05:55:31.916 | "Zack<0><[U:1:271153364]><Unassigned>" ChangeTeam() CTMDBG , team 0, req team 2 willSwitch 0, 24.81 
2025-11-13 05:55:31.916 | ClientPutInServer create new player controller [Longwa]
2025-11-13 05:55:31.916 | [Longwa] cl_interp_ratio='', LerpTime=0
2025-11-13 05:55:31.916 | "Longwa<1><BOT><Unassigned>" ChangeTeam() CTMDBG , team 0, req team 3 willSwitch 0, 24.81 
2025-11-13 05:55:31.916 | ClientPutInServer create new player controller [Hogarth]
2025-11-13 05:55:31.916 | [Hogarth] cl_interp_ratio='', LerpTime=0
2025-11-13 05:55:31.916 | "Hogarth<2><BOT><Unassigned>" ChangeTeam() CTMDBG , team 0, req team 3 willSwitch 0, 24.81 
2025-11-13 05:55:31.916 | ClientPutInServer create new player controller [Kong]
2025-11-13 05:55:31.916 | [Kong] cl_interp_ratio='', LerpTime=0
2025-11-13 05:55:31.916 | "Kong<3><BOT><Unassigned>" ChangeTeam() CTMDBG , team 0, req team 2 willSwitch 0, 24.81 
2025-11-13 05:55:31.916 | ClientPutInServer create new player controller [Heave]
2025-11-13 05:55:31.916 | [Heave] cl_interp_ratio='', LerpTime=0
2025-11-13 05:55:31.916 | "Heave<4><BOT><Unassigned>" ChangeTeam() CTMDBG , team 0, req team 2 willSwitch 0, 24.81 
2025-11-13 05:55:31.916 | ClientPutInServer create new player controller [Reaper]
2025-11-13 05:55:31.916 | [Reaper] cl_interp_ratio='', LerpTime=0
2025-11-13 05:55:31.916 | "Reaper<5><BOT><Unassigned>" ChangeTeam() CTMDBG , team 0, req team 3 willSwitch 0, 24.81 
2025-11-13 05:55:31.916 | ClientPutInServer create new player controller [Marlin]
2025-11-13 05:55:31.916 | [Marlin] cl_interp_ratio='', LerpTime=0
2025-11-13 05:55:31.916 | "Marlin<6><BOT><Unassigned>" ChangeTeam() CTMDBG , team 0, req team 2 willSwitch 0, 24.81 
2025-11-13 05:55:31.916 | ClientPutInServer create new player controller [Shaur]
2025-11-13 05:55:31.916 | [Shaur] cl_interp_ratio='', LerpTime=0
2025-11-13 05:55:31.916 | "Shaur<7><BOT><Unassigned>" ChangeTeam() CTMDBG , team 0, req team 3 willSwitch 0, 24.81 
2025-11-13 05:55:31.916 | ClientPutInServer create new player controller [Orlo]
2025-11-13 05:55:31.916 | [Orlo] cl_interp_ratio='', LerpTime=0
2025-11-13 05:55:31.916 | "Orlo<8><BOT><Unassigned>" ChangeTeam() CTMDBG , team 0, req team 3 willSwitch 0, 24.81 
2025-11-13 05:55:31.916 | ClientPutInServer create new player controller [Hood]
2025-11-13 05:55:31.916 | [Hood] cl_interp_ratio='', LerpTime=0
2025-11-13 05:55:31.916 | "Hood<9><BOT><Unassigned>" ChangeTeam() CTMDBG , team 0, req team 2 willSwitch 0, 24.81 
2025-11-13 05:55:31.916 | "Zack<0><[U:1:271153364]><TERRORIST>" OnPreResetRound => CTMDBG, team 2  will switch 0 24.81 
2025-11-13 05:55:31.916 | "Longwa<1><BOT><CT>" OnPreResetRound => CTMDBG, team 3  will switch 0 24.81 
2025-11-13 05:55:31.916 | "Hogarth<2><BOT><CT>" OnPreResetRound => CTMDBG, team 3  will switch 0 24.81 
2025-11-13 05:55:31.916 | "Kong<3><BOT><TERRORIST>" OnPreResetRound => CTMDBG, team 2  will switch 0 24.81 
2025-11-13 05:55:31.916 | "Heave<4><BOT><TERRORIST>" OnPreResetRound => CTMDBG, team 2  will switch 0 24.81 
2025-11-13 05:55:31.916 | "Reaper<5><BOT><CT>" OnPreResetRound => CTMDBG, team 3  will switch 0 24.81 
2025-11-13 05:55:31.916 | "Marlin<6><BOT><TERRORIST>" OnPreResetRound => CTMDBG, team 2  will switch 0 24.81 
2025-11-13 05:57:05.843 | [S_API FAIL] Tried to access Steam interface SteamUtils010 before SteamAPI_Init succeeded.
2025-11-13 05:58:46.852 | Process terminated. A callback was made on a garbage collected delegate of type 'CounterStrikeSharp.API!CounterStrikeSharp.API.Core.FunctionReference+CallbackDelegate::Invoke'.
2025-11-13 05:58:52.835 | /home/cs2-modded-server/install_docker.sh: line 217:    58 Aborted                 sudo -u $user ./game/bin/linuxsteamrt64/cs2 -dedicated -console -usercon -autoupdate -tickrate "$TICKRATE" "$IP_ARGS" -port "$PORT" +map "${MAP-de_dust2}" +sv_visiblemaxplayers "$MAXPLAYERS" -authkey "$API_KEY" +sv_setsteamaccount "$STEAM_ACCOUNT" +game_type "${GAME_TYPE-0}" +game_mode "${GAME_MODE-0}" +mapgroup "${MAP_GROUP-mg_active}" +sv_lan "$LAN" +sv_password "$SERVER_PASSWORD" +rcon_password "$RCON_PASSWORD" +exec "$EXEC"
2025-11-13 05:58:52.870 | "Shaur<7><BOT><CT>"

Steps to reproduce

Running server as a built docker image from repo clone,
server launches with api and access token env set.
Server starts in casual, and fills with bots.

  1. Join server
  2. change mode as admin
  3. server crashes

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions