roflmuffin / CounterStrikeSharp

CounterStrikeSharp allows you to write server plugins in C# for Counter-Strike 2/Source2/CS2
https://docs.cssharp.dev
Other
714 stars 111 forks source link

CounterstrikeSharp not loaded #445

Closed luigieai closed 2 months ago

luigieai commented 2 months ago

Hello! In recents updates, my counterstrikesharp just stopped working, I've updated metamod, counterstrikesharp, but When I start server css doesn't show at "meta list" command. When I try to load manually I get this error:

meta load /addons/counterstrikesharp/bin/linuxsteamrt64/counterstrikesharp
Failed to load plugin /addons/counterstrikesharp/bin/linuxsteamrt64/counterstrikesharp (File type not supported). 

My meta version output:

meta version
 Metamod:Source Version Information
    Metamod:Source version 2.0.0-dev+1284
    Plugin interface version: 16:14
    SourceHook version: 5:5
    Loaded As: GameDLL (gameinfo.txt)
    Compiled on: Mar  6 2024 19:12:43
    Built from: https://github.com/alliedmodders/metamod-source/commit/9fbe7f3
    Build ID: 1284:9fbe7f3
    http://www.metamodsource.net/

I've downloaded CSS with runtime for linux, buld 228, And I can see the .so file normally at my folder as I've followed the docs instructions for installation: image

I can't find why this is happening as some days ago the server was sucessfully loading counterstrikesharp, if helps, my startup logs:

Loaded /data/serverfiles/game/bin/linuxsteamrt64/libengine2.so, got 0x55990a0987f0

Console initialized.
Steam AppId(730), BreakpadId(2347771)
InitSteamLogin_Internal: Initializing breakpad.
Using breakpad crash handler
Steam Universe is invalid, possibly asking before Steam was successfully initialized.
ResetBreakpadAppId: Universe is 0 (k_EUniverseInvalid)
ResetBreakpadAppId: Setting dedicated server app id: 2347773
Setting breakpad minidump AppID = 2347773
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Loaded libSDL3.so.0, got 0x55990a197d50
Loaded /data/serverfiles/game/bin/linuxsteamrt64/libtier0.so, got 0x55990a07a0f0
Visibility enabled.
Loaded /data/serverfiles/game/bin/linuxsteamrt64/libfilesystem_stdio.so, got 0x55990a198210
Unknown read error 21
USRLOCAL path not found!
Loaded /data/serverfiles/game/bin/linuxsteamrt64/liblocalize.so, got 0x55990a1aa740
Loaded /data/serverfiles/game/bin/linuxsteamrt64/librendersystemempty.so, got 0x55990a1bc840
Loaded /data/serverfiles/game/bin/linuxsteamrt64/libresourcesystem.so, got 0x55990a1ced70
Loaded /data/serverfiles/game/bin/linuxsteamrt64/libschemasystem.so, got 0x55990a1e1290
Trying to set dxlevel (111) which is higher than the card can support (110)!
Loaded /data/serverfiles/game/bin/linuxsteamrt64/libmaterialsystem2.so, got 0x55990a1faec0
---------------
Path ID:             File Path:
ADDONS               "/data/serverfiles/game/csgo_addons/"
CONTENT              "/data/serverfiles/content/csgo/addons/metamod/"
CONTENT              "/data/serverfiles/content/csgo/"
CONTENT              "/data/serverfiles/content/csgo_imported/"
CONTENT              "/data/serverfiles/content/csgo_core/"
CONTENT              "/data/serverfiles/content/core/"
CONTENTADDONS        "/data/serverfiles/content/csgo_addons/"
CONTENTROOT          "/data/serverfiles/content/"
DEFAULT_WRITE_PATH   "/data/serverfiles/game/csgo/addons/metamod/"
EXECUTABLE_PATH      "/data/serverfiles/game/bin/linuxsteamrt64/"
GAME                 "/data/serverfiles/game/csgo/pak01.vpk" (vpk) /data/serverfiles/game/csgo/pak01.vpk
GAME                 "/data/serverfiles/game/csgo_imported/pak01.vpk" (vpk) /data/serverfiles/game/csgo_imported/pak01.vpk
GAME                 "/data/serverfiles/game/csgo_core/pak01.vpk" (vpk) /data/serverfiles/game/csgo_core/pak01.vpk
GAME                 "/data/serverfiles/game/core/pak01.vpk" (vpk) /data/serverfiles/game/core/pak01.vpk
GAME                 "/data/serverfiles/game/csgo/addons/metamod/"
GAME                 "/data/serverfiles/game/csgo/"
GAME                 "/data/serverfiles/game/csgo_imported/"
GAME                 "/data/serverfiles/game/csgo_core/"
GAME                 "/data/serverfiles/game/core/"
GAMEBIN              "/data/serverfiles/game/csgo/addons/metamod/bin/linuxsteamrt64/"
GAMEBIN              "/data/serverfiles/game/csgo/addons/metamod/bin/"
GAMEBIN              "/data/serverfiles/game/csgo/bin/linuxsteamrt64/"
GAMEBIN              "/data/serverfiles/game/csgo/bin/"
GAMEBIN              "/data/serverfiles/game/csgo_imported/bin/linuxsteamrt64/"
GAMEBIN              "/data/serverfiles/game/csgo_imported/bin/"
GAMEBIN              "/data/serverfiles/game/csgo_core/bin/linuxsteamrt64/"
GAMEBIN              "/data/serverfiles/game/csgo_core/bin/"
GAMEBIN              "/data/serverfiles/game/core/bin/linuxsteamrt64/"
GAMEBIN              "/data/serverfiles/game/core/bin/"
GAMEROOT             "/data/serverfiles/game/"
MOD                  "/data/serverfiles/game/csgo/pak01.vpk" (vpk) /data/serverfiles/game/csgo/pak01.vpk
MOD                  "/data/serverfiles/game/csgo_imported/pak01.vpk" (vpk) /data/serverfiles/game/csgo_imported/pak01.vpk
MOD                  "/data/serverfiles/game/csgo_core/pak01.vpk" (vpk) /data/serverfiles/game/csgo_core/pak01.vpk
MOD                  "/data/serverfiles/game/csgo/"
MOD                  "/data/serverfiles/game/csgo_imported/"
MOD                  "/data/serverfiles/game/csgo_core/"
PLATFORM             "/data/serverfiles/game/core/pak01.vpk" (vpk) /data/serverfiles/game/core/pak01.vpk
PLATFORM             "/data/serverfiles/game/core/"
SHADER_SOURCE        "/data/serverfiles/src/shaders/csgo/addons/metamod/"
SHADER_SOURCE        "/data/serverfiles/src/shaders/csgo/"
SHADER_SOURCE        "/data/serverfiles/src/shaders/csgo_imported/"
SHADER_SOURCE        "/data/serverfiles/src/shaders/csgo_core/"
SHADER_SOURCE        "/data/serverfiles/src/shaders/core/"
SHADER_SOURCE_MOD    "/data/serverfiles/src/shaders/csgo/addons/metamod/"
SHADER_SOURCE_ROOT   "/data/serverfiles/src/shaders/"
command line arguments:
-dedicated -ip 0.0.0.0 -port 27015 -maxplayers 16 -authkey +exec cs2server.cfg
Loaded /data/serverfiles/game/bin/linuxsteamrt64/libmeshsystem.so, got 0x55990a20d800
Loaded /data/serverfiles/game/bin/linuxsteamrt64/libworldrenderer.so, got 0x55990a21fd20
Loaded /data/serverfiles/game/bin/linuxsteamrt64/libpulse_system.so, got 0x55990a232240
Loaded /data/serverfiles/game/bin/linuxsteamrt64/libvscript.so, got 0x55990a2463f0
Loaded /data/serverfiles/game/bin/linuxsteamrt64/libnetworksystem.so, got 0x55990a2584f0
Loaded /data/serverfiles/game/bin/linuxsteamrt64/libanimationsystem.so, got 0x55990a26cb10
Loaded /data/serverfiles/game/bin/linuxsteamrt64/libvphysics2.so, got 0x55990a2829f0
Loaded /data/serverfiles/game/bin/linuxsteamrt64/libsoundsystem.so, got 0x55990a295b70
Loaded /data/serverfiles/game/bin/linuxsteamrt64/libscenesystem.so, got 0x55990a2abe70
Loaded /data/serverfiles/game/bin/linuxsteamrt64/libv8system.so, got 0x55990a2c1510
Network System Initialized
MOD desires lightbiner GPU but is unsupported by HW (SupportsCompute=0 CubeMapArrays=0)
Loaded /data/serverfiles/game/bin/linuxsteamrt64/libserver_valve.so, got (nil)
 failed to dlopen /data/serverfiles/game/bin/linuxsteamrt64/libserver_valve.so error=/data/serverfiles/game/bin/linuxsteamrt64/libserver_valve.so: cannot open shared object file: No such file or directory
 failed to dlopen "/data/serverfiles/game/bin/linuxsteamrt64/libserver_valve.so" error=/data/serverfiles/game/bin/linuxsteamrt64/libserver_valve.so: cannot open shared object file: No such file or directory
Loaded libserver_valve.so, got (nil)
 failed to dlopen libserver_valve.so error=libserver_valve.so: cannot open shared object file: No such file or directory
 failed to dlopen "libserver_valve.so" error=libserver_valve.so: cannot open shared object file: No such file or directory
Loaded /data/serverfiles/game/csgo/addons/metamod/bin/linuxsteamrt64/libserver.so, got 0x55990a2db330
Physics Console Communications is not initialized
Loaded /data/serverfiles/game/bin/linuxsteamrt64/libengine2.so, got 0x55990a0987f0
Loaded /data/serverfiles/game/csgo/bin/linuxsteamrt64/libhost.so, got 0x55990a30cc50
Loaded /data/serverfiles/game/bin/linuxsteamrt64/libscenefilecache.so, got 0x55990a31fdd0
Loaded /data/serverfiles/game/bin/linuxsteamrt64/libparticles.so, got 0x55990a3322f0
Loaded /data/serverfiles/game/csgo/bin/linuxsteamrt64/libmatchmaking.so, got 0x55990a345050
No .vcds loaded or no scenes/scenes.vrman
GameTypes: missing mapgroupsSP entry for game type/mode (custom/custom).
GameTypes: missing mapgroupsSP entry for game type/mode (cooperative/cooperative).
GameTypes: missing mapgroupsSP entry for game type/mode (cooperative/coopmission).
Event System loaded 93 events from file: vpk:/data/serverfiles/game/core/pak01.vpk:resource/core.gameevents.
Event System loaded 51 events from file: vpk:/data/serverfiles/game/csgo/pak01.vpk:resource/game.gameevents.
Event System loaded 152 events from file: vpk:/data/serverfiles/game/csgo/pak01.vpk:./resource/mod.gameevents.
CEntitySystem::BuildEntityNetworking (parallel build of server) took 56.908 msecs for 211 out of 289 classes
[STARTUP] {1.929} server module init ok
CHostStateMgr::QueueNewRequest( Idle (console), 1 )
Source2Init OK
HostStateRequest::Start(HSR_IDLE):  loop(console) id(1) addons() desc(Idle (console))
SwitchToLoop console requested:  id [1] addons []
Host activate: Idle (console)
execing cs2server.cfg
Loading map "de_anubis"
CHostStateMgr::QueueNewRequest( Loading (de_anubis), 2 )
Usage: host_workshop_collection <fileid>
Usage: host_workshop_map <fileid>
HostStateRequest::Start(HSR_GAME):  loop(levelload) id(2) addons() desc(Loading (de_anubis))
SwitchToLoop levelload requested:  id [2] addons []
SV:  Level loading started for 'de_anubis'
CL:  CLoopModeLevelLoad::MaybeSwitchToGameLoop switching to "game" loopmode with addons ()
SwitchToLoop game requested:  id [2] addons []
SteamGameServer_Init()
dlopen failed trying to load:
steamclient.so
with error:
steamclient.so: cannot open shared object file: No such file or directory
[S_API] SteamAPI_Init(): Loaded '/data/.steam/sdk64/steamclient.so' OK.  (First tried local 'steamclient.so')
CAppInfoCacheReadFromDiskThread took 7 milliseconds to initialize
Setting breakpad minidump AppID = 730
SteamInternal_SetMinidumpSteamID:  Caching Steam ID:  76561197960265728 [API loaded yes]
SteamInternal_SetMinidumpSteamID:  Setting Steam ID:  76561197960265728
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
SteamInternal_SetMinidumpSteamID:  Caching Steam ID:  76561197960265728 [API loaded yes]
SteamInternal_SetMinidumpSteamID:  Setting Steam ID:  76561197960265728
[S_API FAIL] Tried to access Steam interface SteamUtils010 before SteamAPI_Init succeeded.
Steam Universe valid after having been requested when invalid.  Universe is now 1
ResetBreakpadAppId: Universe is 1 (k_EUniversePublic)
ResetBreakpadAppId: Setting dedicated server app id: 2347773
Setting breakpad minidump AppID = 2347773
SteamGameServer_Init() OK, logging on to Steam
****************************************************
*                                                  *
*  No Steam account token was specified.           *
*  Logging into anonymous game server account.     *
*  Connections will be restricted to LAN only.     *
*                                                  *
*  To create a game server account go to           *
*  http://steamcommunity.com/dev/managegameservers *
*                                                  *
****************************************************
CNetworkSystem::InitGameServer: SteamGameServerNetworking() OK
Initialized low level socket/threading support.
Set SteamNetworkingSockets P2P_STUN_ServerList to '' as per SteamNetworkingSocketsSerialized
CNetworkGameServerBase::SetServerState (ss_dead -> ss_waitingforgamesessionmanifest)
SV:  maxplayers set to 16
Server is hibernating
ResetGameConVarsToDefaults
Created poll group for socket 'server'
SDR RelayNetworkStatus:  avail=Attempting  config=Attempting  anyrelay=Not Attempted   (Attempt #1 to fetch config (only-if-cached) from https://api.steampowered.com/ISteamApps/GetSDRConfig/v1?appid=730)
AuthStatus (invalid):  Waiting  (Waiting for Steam login)
Network socket 'server' opened on port 27015
Initializing CSGO VScript Game System
SV:  Executing server defaults
SV:  Executing dedicated server config file
[STARTUP] {2.638} created game rules
GameTypes: could not find matching game mode value of "" in any game type.
SV:  CGameRulesGameSystem::GameInit installed game rules
LoadResponseSystem scripts/talker/response_rules.vrr - Start
CResponseSystem:  scripts/talker/response_rules.vrr (7681 rules, 811 criteria, and 7681 responses)
LoadResponseSystem scripts/talker/response_rules.vrr - Finish
Entry player was not found in surfaceproperties_footsteps.txt
exec: couldn't exec '{*}cfg/skill1.cfg', unable to read file
execing server_default.cfg
execing server.cfg
execing gamemode_casual.cfg
exec: couldn't exec '{*}cfg/gamemode_casual_server.cfg', unable to read file
Unknown command 'sv_gameinstructor_enable'!
[S_API FAIL] Tried to access Steam interface SteamUser023 before SteamAPI_Init succeeded.
[S_API FAIL] Tried to access Steam interface SteamUtils010 before SteamAPI_Init succeeded.
Model !embedded_sequence_data!characters/models/shared/animsets/animset_t.vmdl: unable to find bone reference "ball_l"
Model !embedded_sequence_data!characters/models/shared/animsets/animset_ct.vmdl: unable to find bone reference "ball_l"
Model !embedded_sequence_data!characters/models/shared/animsets/animset_uiplayer.vmdl: unable to find bone reference "ball_l"
Model models/props/crates/csgo_drop_crate_community_27.vmdl: sequence/animation name collision found "tools_preview"
Model models/props/crates/csgo_drop_crate_community_26.vmdl: sequence/animation name collision found "tools_preview"
Model models/props/crates/csgo_drop_crate_community_30.vmdl: sequence/animation name collision found "tools_preview"
Model models/props/crates/csgo_drop_crate_horizon.vmdl: sequence/animation name collision found "tools_preview"
Model models/props/crates/csgo_drop_crate_clutch.vmdl: sequence/animation name collision found "tools_preview"
Model models/props/crates/csgo_drop_crate_spectrum2.vmdl: sequence/animation name collision found "tools_preview"
Model models/props/crates/csgo_drop_crate_community_25.vmdl: sequence/animation name collision found "tools_preview"
Model models/props/crates/csgo_drop_crate_hydra.vmdl: sequence/animation name collision found "tools_preview"
Model models/props/crates/csgo_drop_crate_spectrum.vmdl: sequence/animation name collision found "tools_preview"
Model models/props/crates/csgo_drop_crate_glove.vmdl: sequence/animation name collision found "tools_preview"
Model models/props/crates/csgo_drop_crate_gamma2.vmdl: sequence/animation name collision found "tools_preview"
Model models/props/crates/csgo_drop_crate_gamma.vmdl: sequence/animation name collision found "tools_preview"
Model models/props/crates/csgo_drop_crate_chroma3.vmdl: sequence/animation name collision found "tools_preview"
Model models/props/crates/csgo_drop_crate_community_24.vmdl: sequence/animation name collision found "tools_preview"
Model models/props/crates/csgo_drop_crate_community_23.vmdl: sequence/animation name collision found "tools_preview"
Model models/props/crates/csgo_drop_crate_wildfire.vmdl: sequence/animation name collision found "tools_preview"
Model models/props/crates/csgo_drop_crate_revolver.vmdl: sequence/animation name collision found "tools_preview"
Model models/props/crates/csgo_drop_crate_shadow.vmdl: sequence/animation name collision found "tools_preview"
Model models/props/crates/csgo_drop_crate_bloodhound.vmdl: sequence/animation name collision found "tools_preview"
Model models/props/crates/csgo_drop_crate_community_22.vmdl: sequence/animation name collision found "tools_preview"
Model models/props/crates/csgo_drop_crate_community_32.vmdl: sequence/animation name collision found "tools_preview"
Model models/props/crates/csgo_drop_crate_chroma2.vmdl: sequence/animation name collision found "tools_preview"
Model models/props/crates/csgo_drop_crate_chroma.vmdl: sequence/animation name collision found "tools_preview"
Model models/props/crates/csgo_drop_crate_vanguard.vmdl: sequence/animation name collision found "tools_preview"
Model models/props/crates/csgo_drop_crate_breakout.vmdl: sequence/animation name collision found "tools_preview"
Model models/props/crates/csgo_drop_crate_dangerzone.vmdl: sequence/animation name collision found "tools_preview"
Model models/props/crates/csgo_drop_crate_huntsman.vmdl: sequence/animation name collision found "tools_preview"
Model models/props/crates/csgo_drop_crate_phoenix.vmdl: sequence/animation name collision found "tools_preview"
Model models/props/crates/csgo_drop_crate_armsdeal3.vmdl: sequence/animation name collision found "tools_preview"
Model models/props/crates/csgo_drop_crate_winteroffensive.vmdl: sequence/animation name collision found "tools_preview"
Model models/props/crates/csgo_drop_crate_bravo.vmdl: sequence/animation name collision found "tools_preview"
Model models/props/crates/csgo_drop_crate_armsdeal2.vmdl: sequence/animation name collision found "tools_preview"
Model models/props/crates/csgo_drop_crate_armsdeal1.vmdl: sequence/animation name collision found "tools_preview"
Model models/props/crates/csgo_drop_crate_community_31.vmdl: sequence/animation name collision found "tools_preview"
Model models/props/crates/csgo_drop_crate_community_29.vmdl: sequence/animation name collision found "tools_preview"
Model models/props/crates/csgo_drop_crate_community_28.vmdl: sequence/animation name collision found "tools_preview"
Model !embedded_sequence_data!characters/models/shared/animsets/animset_ct.vmdl: unable to find bone reference "ball_l"
Model !embedded_sequence_data!characters/models/shared/animsets/animset_uiplayer.vmdl: unable to find bone reference "ball_l"
SV:  Spawn Server: de_anubis
CNetworkGameServerBase::SetServerState (ss_waitingforgamesessionmanifest -> ss_loading)
SV:  Connection to Steam servers successful.
SV:  ServerSteamID=[A:1:2463897628:29346] (90198035121575964).
[STARTUP] {5.096} logged on to Steam
Got SDR network config.  Loaded revision 1715114241 OK
SDR RelayNetworkStatus:  avail=Not Attempted  config=OK  anyrelay=Not Attempted   (No need for SDR client network access)
Waited 2.9ms for SteamNetworkingSockets lock [Internal_SDR_LISTEN_PORT]
Gameserver logged on to Steam, assigned identity steamid:90198035121575964
AuthStatus (steamid:90198035121575964):  Attempting  (Requesting cert)
Set SteamNetworkingSockets P2P_STUN_ServerList to '155.133.255.164:3478' as per SteamNetworkingSocketsSerialized
SV:  VAC secure mode is activated.
CWorldRendererMgr::ServiceWorldRequests long frame: 137.080071ms
AuthStatus (steamid:90198035121575964):  OK  (OK)
Certificate expires in 48h00m at 1715312000 (current time 1715139200), will renew in 46h00m
GC Connection established for server version 2000315, instance idx 1
[STARTUP] {5.679} activated session on GC
Failed loading resource "maps/prefabs/misc/terrorist_team_intro_variant2/world_visibility.vvis_c" (ERROR_FILEOPEN: File not found)
CNetworkGameServerBase::SetServerState (ss_loading -> ss_active)
SV:  IGameSystem::LoopActivateAllSystems {
HO:  IGameSystem::LoopActivateAllSystems {
HO:  } IGameSystem::LoopActivateAllSystems done
SV:  } IGameSystem::LoopActivateAllSystems done
Created physics for de_anubis
CNavGenParams - Nav mesh requests project default generation parameters but actual parameters
  used during construction differ from defaults. Please re-export the map.
CNavGenParams - Nav mesh requests project default generation parameters but actual parameters
  used during construction differ from defaults. Please re-export the map.
CNavGenParams - Nav mesh requests project default generation parameters but actual parameters
  used during construction differ from defaults. Please re-export the map.
CNavGenParams - Nav mesh requests project default generation parameters but actual parameters
  used during construction differ from defaults. Please re-export the map.
CNavGenParams - Nav mesh requests project default generation parameters but actual parameters
  used during construction differ from defaults. Please re-export the map.
CNavGenParams - Nav mesh requests project default generation parameters but actual parameters
  used during construction differ from defaults. Please re-export the map.
CNavGenParams - Nav mesh requests project default generation parameters but actual parameters
  used during construction differ from defaults. Please re-export the map.
SV:  16 player server started
CSource2Server::GameServerSteamAPIActivated()
Host activate: Loading (de_anubis)

Any thoughts to get of root cause of the problem?

roflmuffin commented 2 months ago

Hi, the minimum required version of Metamod after the latest CS2 update is v1290

luigieai commented 2 months ago

Thanks!