Source2ZE / CS2Fixes

A Metamod plugin with fixes and features aimed but not limited to zombie escape
GNU General Public License v3.0
247 stars 122 forks source link

Server crashes when working with cskz_metamod #220

Closed liuyongly closed 6 months ago

liuyongly commented 6 months ago

When I install cs2fixes and cs2kz_metamod at the same time, after the server starts, players will crash when joining the server. I tried ubantu and window server, both have the same result.

1/64 on map kz_igneous InitSteamLogin_Internal: Initializing breakpad. Steam Universe is invalid, possibly asking before Steam was successfully initialized. ResetBreakpadAppId: Universe is 0 (k_EUniverseInvalid) ResetBreakpadAppId: Setting dedicated server app id: 2347773 Visibility enabled. USRLOCAL path not found! Trying to set dxlevel (111) which is higher than the card can support (110)!

Path ID: File Path: ADDONS "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\game\csgo_addons\" CONTENT "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\content\csgo\addons\metamod\" CONTENT "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\content\csgo\" CONTENT "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\content\csgo_imported\" CONTENT "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\content\csgo_core\" CONTENT "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\content\core\" CONTENTADDONS "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\content\csgo_addons\" CONTENTROOT "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\content\" DEFAULT_WRITE_PATH "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\game\csgo\addons\metamod\" EXECUTABLE_PATH "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\game\bin\win64\" EXECUTABLE_PATH "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\game\bin\" GAME "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\game\csgo\pak01.vpk" (vpk) E:\test_cs\steamapps\common\Counter-Strike Global Offensive\game\csgo\pak01.vpk GAME "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\game\csgo_imported\pak01.vpk" (vpk) E:\test_cs\steamapps\common\Counter-Strike Global Offensive\game\csgo_imported\pak01.vpk GAME "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\game\csgo_core\pak01.vpk" (vpk) E:\test_cs\steamapps\common\Counter-Strike Global Offensive\game\csgo_core\pak01.vpk GAME "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\game\core\pak01.vpk" (vpk) E:\test_cs\steamapps\common\Counter-Strike Global Offensive\game\core\pak01.vpk GAME "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\game\csgo\shaders_pc.vpk" (vpk) E:\test_cs\steamapps\common\Counter-Strike Global Offensive\game\csgo\shaders_pc.vpk GAME "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\game\csgo_core\shaders_pc.vpk" (vpk) E:\test_cs\steamapps\common\Counter-Strike Global Offensive\game\csgo_core\shaders_pc.vpk GAME "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\game\core\shaders_pc.vpk" (vpk) E:\test_cs\steamapps\common\Counter-Strike Global Offensive\game\core\shaders_pc.vpk GAME "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\game\csgo\addons\metamod\" GAME "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\game\csgo\" GAME "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\game\csgo_imported\" GAME "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\game\csgo_core\" GAME "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\game\core\" GAMEBIN "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\game\csgo\addons\metamod\bin\win64\" GAMEBIN "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\game\csgo\addons\metamod\bin\" GAMEBIN "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\game\csgo\bin\win64\" GAMEBIN "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\game\csgo\bin\" GAMEBIN "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\game\csgo_imported\bin\win64\" GAMEBIN "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\game\csgo_imported\bin\" GAMEBIN "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\game\csgo_core\bin\win64\" GAMEBIN "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\game\csgo_core\bin\" GAMEBIN "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\game\core\bin\win64\" GAMEBIN "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\game\core\bin\" GAMEROOT "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\game\" MOD "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\game\csgo\pak01.vpk" (vpk) E:\test_cs\steamapps\common\Counter-Strike Global Offensive\game\csgo\pak01.vpk MOD "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\game\csgo_imported\pak01.vpk" (vpk) E:\test_cs\steamapps\common\Counter-Strike Global Offensive\game\csgo_imported\pak01.vpk MOD "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\game\csgo_core\pak01.vpk" (vpk) E:\test_cs\steamapps\common\Counter-Strike Global Offensive\game\csgo_core\pak01.vpk MOD "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\game\csgo\" MOD "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\game\csgo_imported\" MOD "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\game\csgo_core\" PLATFORM "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\game\core\pak01.vpk" (vpk) E:\test_cs\steamapps\common\Counter-Strike Global Offensive\game\core\pak01.vpk PLATFORM "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\game\core\" SHADER_SOURCE "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\src\shaders\csgo\addons\metamod\" SHADER_SOURCE "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\src\shaders\csgo\" SHADER_SOURCE "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\src\shaders\csgo_imported\" SHADER_SOURCE "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\src\shaders\csgo_core\" SHADER_SOURCE "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\src\shaders\core\" SHADER_SOURCE_MOD "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\src\shaders\csgo\addons\metamod\" SHADER_SOURCE_ROOT "E:\test_cs\steamapps\common\Counter-Strike Global Offensive\src\shaders\" command line arguments: -dedicated maxplayers 4 +game_type 0 +game_mode 1 +map de_dust2 +host_workshop_map 3102712799 -tickrate 128 Network System Initialized MOD desires lightbiner GPU but is unsupported by HW (SupportsCompute=0 CubeMapArrays=0) Physics Console Communications is not initialized 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). [CS2Fixes] Starting plugin. All hooks started! [CS2Fixes] Loading addons/cs2fixes/gamedata/cs2fixes.games.txt for game: csgo [CS2Fixes] Section .text base: 0x00007FFC30611000 | size: 4112896 [CS2Fixes] Section .rdata base: 0x00007FFC309FE000 | size: 1180160 [CS2Fixes] Section .data base: 0x00007FFC30B1F000 | size: 136192 [CS2Fixes] Section .pdata base: 0x00007FFC30BE6000 | size: 204288 [CS2Fixes] Section _RDATA base: 0x00007FFC30C18000 | size: 148992 [CS2Fixes] Section .reloc base: 0x00007FFC30C3D000 | size: 36864 [CS2Fixes] Initialized module engine2 base: 0x00007FFC30610000 | size: 6512640 [CS2Fixes] Section .text base: 0x00007FFC30C51000 | size: 2836480 [CS2Fixes] Section .rdata base: 0x00007FFC30F06000 | size: 643584 [CS2Fixes] Section .data base: 0x00007FFC30FA4000 | size: 69120 [CS2Fixes] Section .pdata base: 0x00007FFC311E3000 | size: 121344 [CS2Fixes] Section _RDATA base: 0x00007FFC31201000 | size: 79360 [CS2Fixes] Section .rsrc base: 0x00007FFC31215000 | size: 16384 [CS2Fixes] Section .reloc base: 0x00007FFC31219000 | size: 12800 [CS2Fixes] Initialized module tier0 base: 0x00007FFC30C50000 | size: 6082560 [CS2Fixes] Section .text base: 0x00007FFC0EF61000 | size: 14254592 [CS2Fixes] Section .rdata base: 0x00007FFC0FCFA000 | size: 4755968 [CS2Fixes] Section .data base: 0x00007FFC10184000 | size: 1742848 [CS2Fixes] Section .pdata base: 0x00007FFC10500000 | size: 830976 [CS2Fixes] Section _RDATA base: 0x00007FFC105CB000 | size: 9216 [CS2Fixes] Section .reloc base: 0x00007FFC105CE000 | size: 484864 [CS2Fixes] Initialized module server base: 0x00007FFC0EF60000 | size: 24006656 [CS2Fixes] Section .text base: 0x00007FFC7FB71000 | size: 238080 [CS2Fixes] Section .rdata base: 0x00007FFC7FBAC000 | size: 104448 [CS2Fixes] Section .data base: 0x00007FFC7FBC6000 | size: 9216 [CS2Fixes] Section .pdata base: 0x00007FFC7FBD3000 | size: 15360 [CS2Fixes] Section _RDATA base: 0x00007FFC7FBD7000 | size: 512 [CS2Fixes] Section .rsrc base: 0x00007FFC7FBD8000 | size: 1024 [CS2Fixes] Section .reloc base: 0x00007FFC7FBD9000 | size: 4608 [CS2Fixes] Initialized module schemasystem base: 0x00007FFC7FB70000 | size: 438272 [CS2Fixes] Section .text base: 0x00007FFC2FCD1000 | size: 953856 [CS2Fixes] Section .rdata base: 0x00007FFC2FDBA000 | size: 247808 [CS2Fixes] Section .data base: 0x00007FFC2FDF7000 | size: 7168 [CS2Fixes] Section .pdata base: 0x00007FFC2FDFB000 | size: 38400 [CS2Fixes] Section _RDATA base: 0x00007FFC2FE05000 | size: 512 [CS2Fixes] Section .reloc base: 0x00007FFC2FE06000 | size: 5120 [CS2Fixes] Initialized module vscript base: 0x00007FFC2FCD0000 | size: 1277952 [CS2Fixes] Section .text base: 0x00007FFC1ECD1000 | size: 1877504 [CS2Fixes] Section .rdata base: 0x00007FFC1EE9C000 | size: 411136 [CS2Fixes] Section .data base: 0x00007FFC1EF01000 | size: 213504 [CS2Fixes] Section .pdata base: 0x00007FFC1EF3F000 | size: 88064 [CS2Fixes] Section _RDATA base: 0x00007FFC1EF55000 | size: 512 [CS2Fixes] Section .reloc base: 0x00007FFC1EF56000 | size: 15360 [CS2Fixes] Initialized module networksystem base: 0x00007FFC1ECD0000 | size: 2662400 [CS2Fixes] Found NetworkStateChanged at 0x00007FFC0FAC5240 [CS2Fixes] Found StateChanged at 0x00007FFC0F052710 [CS2Fixes] Found UTIL_ClientPrintAll at 0x00007FFC0F8BAFC0 [CS2Fixes] Found ClientPrint at 0x00007FFC0F6B8790 [CS2Fixes] Found SetGroundEntity at 0x00007FFC0F8040C0 [CS2Fixes] Found CCSPlayerController_SwitchTeam at 0x00007FFC0F58F710 [CS2Fixes] Found CBasePlayerController_SetPawn at 0x00007FFC0F5DB9D0 [CS2Fixes] Found CBaseModelEntity_SetModel at 0x00007FFC0F5DB400 [CS2Fixes] Found UTIL_Remove at 0x00007FFC0F66EB60 [CS2Fixes] Found CEntitySystem_AddEntityIOEvent at 0x00007FFC0FAA6A70 [CS2Fixes] Found CEntityInstance_AcceptInput at 0x00007FFC0FABE110 [CS2Fixes] Found CGameEntitySystem_FindEntityByClassName at 0x00007FFC0F6406A0 [CS2Fixes] Found CGameEntitySystem_FindEntityByName at 0x00007FFC0F640E60 [CS2Fixes] Found CGameRules_TerminateRound at 0x00007FFC0F4BDFD0 [CS2Fixes] Found CreateEntityByName at 0x00007FFC0F6352F0 [CS2Fixes] Found DispatchSpawn at 0x00007FFC0F6BABC0 [CS2Fixes] Found CEntityIdentity_SetEntityName at 0x00007FFC0FAC6870 [CS2Fixes] Found CBaseEntity_EmitSoundParams at 0x00007FFC0F701140 [CS2Fixes] Found CBaseEntity_SetParent at 0x00007FFC0F1A3BE0 [CS2Fixes] Found DispatchParticleEffect at 0x00007FFC0F7BBBC0 [CS2Fixes] Found CBaseEntity_EmitSoundFilter at 0x00007FFC0F8573F0 [CS2Fixes] Found CBaseEntity_SetMoveType at 0x00007FFC0F1A32D0 [CS2Fixes] Found CTakeDamageInfo at 0x00007FFC0F888630 [CS2Fixes] Patched ServerMovementUnlock at 00007FFC0F594ABC [CS2Fixes] Patched FixWaterFloorJump at 00007FFC0F570C53 [CS2Fixes] Patched CategorizeUnderwater at 00007FFC0F56FC9D [CS2Fixes] Patched WaterLevelGravity at 00007FFC0F572C89 [CS2Fixes] Patched CPhysBox_Use at 00007FFC0F80D6AE [CS2Fixes] Patched BotNavIgnore at 00007FFC0F0D453F [CS2Fixes] Detoured UTIL_SayTextFilter at 0x00007FFC0F8BC970 [CS2Fixes] Detoured UTIL_SayText2Filter at 0x00007FFC0F8BC5D0 [CS2Fixes] Detoured IsHearingClient at 0x00007FFC306BDA40 [CS2Fixes] Detoured TriggerPush_Touch at 0x00007FFC0F8BA2B0 [CS2Fixes] Detoured CGameRules_Constructor at 0x00007FFC0F76A2F0 [CS2Fixes] Detoured CBaseEntity_TakeDamageOld at 0x00007FFC0F1A4B00 [CS2Fixes] Detoured CCSPlayer_WeaponServices_CanUse at 0x00007FFC0F59CD00 [CS2Fixes] Detoured CEntityIdentity_AcceptInput at 0x00007FFC0FAC5910 [CS2Fixes] Detoured CNavMesh_GetNearestNavArea at 0x00007FFC0FBB0760 [CS2Fixes] Detoured FixLagCompEntityRelationship at 0x00007FFC0F2641A0 [CS2Fixes] Detoured CNetworkStringTable_AddString at 0x00007FFC307048D0 [CS2Fixes] Detoured ProcessMovement at 0x00007FFC0F589070 [CS2Fixes] Detoured ProcessUsercmds at 0x00007FFC0F5D3170 [CS2Fixes] All hooks started! [CS2Fixes] Removed hidden flags from 1399 convars [CS2Fixes] Removed hidden flags from 342 commands Failed to load addons/cs2fixes/configs/admins.cfg Failed to load addons/cs2fixes/data/infractions.txt Failed to load addons/cs2fixes/configs/discordbots.cfg Failed to load addons/cs2fixes/configs/maplist.cfg Failed to find address for ProcessUsercmds Could not find address for function for ProcessUsercmds Could not create detour for ProcessUsercmds Failed to find address for ProcessMovement Could not find address for function for ProcessMovement Could not create detour for ProcessMovement Event System loaded 93 events from file: vpk:E:/test_cs/steamapps/common/Counter-Strike Global Offensive/game/core/pak01.vpk:resource/core.gameevents. Event System loaded 51 events from file: vpk:E:/test_cs/steamapps/common/Counter-Strike Global Offensive/game/csgo/pak01.vpk:resource/game.gameevents. Event System loaded 152 events from file: vpk:E:/test_cs/steamapps/common/Counter-Strike Global Offensive/game/csgo/pak01.vpk:./resource/mod.gameevents. CEntitySystem::BuildEntityNetworking (parallel build of server) took 22.822 msecs for 211 out of 289 classes [STARTUP] {2.517} server module init ok [CS2Fixes] AllPluginsLoaded 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) Loading map "de_dust2" CHostStateMgr::QueueNewRequest( Loading (de_dust2), 2 ) execing cs2fixes/cs2fixes [CS2Fixes] Undoing patch ServerMovementUnlock at 00007FFC0F594ABC [CS2Fixes] Setting preferences URL to HostStateRequest::Start(HSR_GAME): loop(levelload) id(2) addons() desc(Loading (de_dust2)) SwitchToLoop levelload requested: id [2] addons [] SV: Level loading started for 'de_dust2' CL: CLoopModeLevelLoad::MaybeSwitchToGameLoop switching to "game" loopmode with addons () SwitchToLoop game requested: id [2] addons [] SteamGameServer_Init() 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 SteamGameServer_Init() OK, logging on to Steam


xLeviNx commented 6 months ago

Can you provide a crash dump file using acceleratorcs2?

https://github.com/Source2ZE/AcceleratorCS2

xen-000 commented 6 months ago

CS2Fixes and CS2KZ share some function detours so there's a collision between both. You can only run either of the plugins.