Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

My loaded matches seems to bug out #263

Open
fredde254 opened this issue Jan 7, 2025 · 3 comments
Open

My loaded matches seems to bug out #263

fredde254 opened this issue Jan 7, 2025 · 3 comments

Comments

@fredde254
Copy link

fredde254 commented Jan 7, 2025

Hi, my console goes wild when i try to load a match and join it. Even if i get the configuration right with my steamid etc, it still doesnt work properly. I dont get kicked from the server even if my steamid isnt in the match file and im able to join a team, which it should do auto if my steamid was linked to any team. Im using the latest MatchZy and the latest cssourcesharp versions. Heres a log.

"Using spawn points configuration 0x43E1ECA5
L 01/07/2025 - 21:27:23: Starting Freeze period
L 01/07/2025 - 21:27:23: JSON_BEGIN{
L 01/07/2025 - 21:27:23: "name": "round_stats",
L 01/07/2025 - 21:27:23: "round_number" : "1",
L 01/07/2025 - 21:27:23: "score_t" : "0",
L 01/07/2025 - 21:27:23: "score_ct" : "0",
L 01/07/2025 - 21:27:23: "map" : "de_mirage",
L 01/07/2025 - 21:27:23: "server" : "MatchZy: Astralis vs NaVi #27",
L 01/07/2025 - 21:27:23: "fields" : " accountid, team, money, kills, deaths,assists, dmg, hsp, kdr, adr, mvp, ef, ud, 3k, 4k, 5k,clutchk, firstk,pistolk,sniperk, blindk, bombk,firedmg,uniquek, dinks,chickenk"
L 01/07/2025 - 21:27:23: "players" : {
L 01/07/2025 - 21:27:23: "player_0" : " 17910499, 0, 16000, 0, 0, 0, 0, 0.00, 0.00, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0"
L 01/07/2025 - 21:27:23: }}JSON_END
L 01/07/2025 - 21:27:23: World triggered "Match_Start" on "de_mirage"
L 01/07/2025 - 21:27:23: Team playing "CT": Astralis
L 01/07/2025 - 21:27:23: Team playing "TERRORIST": NaVi
L 01/07/2025 - 21:27:23: MatchStatus: Team playing "CT": Astralis
L 01/07/2025 - 21:27:23: MatchStatus: Team playing "TERRORIST": NaVi
L 01/07/2025 - 21:27:23: MatchStatus: Score: 0:0 on map "de_mirage" RoundsPlayed: -1
Unknown command 'sv_disable_show_team_select_menu'!
Unknown command 'mp_force_assign_teams'!
CRecipientFilter::AddAllPlayers - no recipients for this message, but 1 player in process of connecting was not included.
CRecipientFilter::AddAllPlayers - no recipients for this message, but 1 player in process of connecting was not included.
CRecipientFilter::AddAllPlayers - no recipients for this message, but 1 player in process of connecting was not included.
SV: "USER<0><[U:1:11111111]><>" STEAM USERID validated
L 01/07/2025 - 21:27:24: "USER<0><[U:1:11111111]><>" STEAM USERID validated
L 01/07/2025 - 21:27:25: World triggered "Warmup_Start"
Client 0 'USER' signon state SIGNONSTATE_SPAWN -> SIGNONSTATE_FULL
�[39;49m�[37m21:27:26�[39;49m�[39;49m�[90m [�[39;49m�[39;49m�[97m�[39;49m�[97m�[101mEROR�[39;49m�[39;49m�[90m] (cssharp:�[39;49m�[39;49m�[37mCore�[39;49m�[39;49m�[90m) �[39;49m�[39;49m�[97mError invoking callback�[39;49m
�[39;49m�[97mSystem.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.�[39;49m
�[39;49m�[97m ---> CounterStrikeSharp.API.Core.NativeException: Entity system yet is not initialized�[39;49m
�[39;49m�[37m at CounterStrikeSharp.API.Core.ScriptContext.CheckErrors() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/ScriptContext.cs:line 187�[39;49m
�[39;49m�[37m at CounterStrikeSharp.API.Core.NativeAPI.GetConcreteEntityListPointer() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/API.cs:line 655�[39;49m
�[39;49m�[37m at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode)�[39;49m �[39;49m�[97m--- End of stack trace from previous location ---�[39;49m �[39;49m�[37m at System.LazyHelper.ThrowException()�[39;49m �[39;49m�[37m at System.Lazy1.CreateValue()�[39;49m
�[39;49m�[37m at System.Lazy1.get_Value()�[39;49m �[39;49m�[37m at CounterStrikeSharp.API.Modules.Entities.EntitySystem.get_IdentityChunks() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Modules/Entities/EntitySystem.cs:line 19�[39;49m �[39;49m�[37m at CounterStrikeSharp.API.Modules.Entities.EntitySystem.GetEntityByHandle[T](CHandle1 handle) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Modules/Entities/EntitySystem.cs:line 32�[39;49m
�[39;49m�[37m at CounterStrikeSharp.API.NativeEntity.get_Handle() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/NativeEntity.cs:line 9�[39;49m
�[39;49m�[37m at CounterStrikeSharp.API.Core.CEntityInstance.get_IsValid() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Model/CEntityInstance.cs:line 26�[39;49m
�[39;49m�[37m at MatchZy.MatchZy.IsPlayerValid(CCSPlayerController player) in /home/runner/work/MatchZy/MatchZy/Utility.cs:line 1822�[39;49m
�[39;49m�[37m at MatchZy.MatchZy.OnPlayerSpawn(EventPlayerSpawn event, GameEventInfo info) in /home/runner/work/MatchZy/MatchZy/PracticeMode.cs:line 1072�[39;49m
�[39;49m�[37m at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)�[39;49m
�[39;49m�[37m at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span1 copyOfArgs, BindingFlags invokeAttr)�[39;49m �[39;49m�[37m --- End of inner exception stack trace ---�[39;49m �[39;49m�[37m at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span1 copyOfArgs, BindingFlags invokeAttr)�[39;49m
�[39;49m�[37m at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)�[39;49m
�[39;49m�[37m at System.Delegate.DynamicInvokeImpl(Object[] args)�[39;49m
�[39;49m�[37m at CounterStrikeSharp.API.Core.FunctionReference.b__18_0(fxScriptContext* context) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/FunctionReference.cs:line 100�[39;49m
�[39;49m�[37m21:27:26�[39;49m�[39;49m�[90m [�[39;49m�[39;49m�[97m�[39;49m�[97m�[101mEROR�[39;49m�[39;49m�[90m] (cssharp:�[39;49m�[39;49m�[37mCore�[39;49m�[39;49m�[90m) �[39;49m�[39;49m�[97mError invoking callback�[39;49m
�[39;49m�[97mSystem.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.�[39;49m
�[39;49m�[97m ---> CounterStrikeSharp.API.Core.NativeException: Entity system yet is not initialized�[39;49m
�[39;49m�[37m at CounterStrikeSharp.API.Core.ScriptContext.CheckErrors() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/ScriptContext.cs:line 187�[39;49m
�[39;49m�[37m at CounterStrikeSharp.API.Core.NativeAPI.GetConcreteEntityListPointer() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/API.cs:line 655�[39;49m
�[39;49m�[37m at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode)�[39;49m �[39;49m�[97m--- End of stack trace from previous location ---�[39;49m �[39;49m�[37m at System.LazyHelper.ThrowException()�[39;49m �[39;49m�[37m at System.Lazy1.CreateValue()�[39;49m
�[39;49m�[37m at System.Lazy1.get_Value()�[39;49m �[39;49m�[37m at CounterStrikeSharp.API.Modules.Entities.EntitySystem.get_IdentityChunks() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Modules/Entities/EntitySystem.cs:line 19�[39;49m �[39;49m�[37m at CounterStrikeSharp.API.Modules.Entities.EntitySystem.GetEntityByHandle[T](CHandle1 handle) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Modules/Entities/EntitySystem.cs:line 32�[39;49m
�[39;49m�[37m at CounterStrikeSharp.API.NativeEntity.get_Handle() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/NativeEntity.cs:line 9�[39;49m
�[39;49m�[37m at CounterStrikeSharp.API.Core.CEntityInstance.get_IsValid() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Model/CEntityInstance.cs:line 26�[39;49m
�[39;49m�[37m at MatchZy.MatchZy.IsPlayerValid(CCSPlayerController player) in /home/runner/work/MatchZy/MatchZy/Utility.cs:line 1822�[39;49m
�[39;49m�[37m at MatchZy.MatchZy.OnPlayerSpawn(EventPlayerSpawn event, GameEventInfo info) in /home/runner/work/MatchZy/MatchZy/PracticeMode.cs:line 1072�[39;49m
�[39;49m�[37m at InvokeStub_GameEventHandler1.Invoke(Object, Span1)�[39;49m
�[39;49m�[37m at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)�[39;49m
�[39;49m�[37m --- End of inner exception stack trace ---�[39;49m
�[39;49m�[37m at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)�[39;49m
�[39;49m�[37m at System.Delegate.DynamicInvokeImpl(Object[] args)�[39;49m
�[39;49m�[37m at CounterStrikeSharp.API.Core.FunctionReference.b__18_0(fxScriptContext* context) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/FunctionReference.cs:line 100�[39;49m
L 01/07/2025 - 21:27:26: "USER<0><[U:1:11111111]><>" entered the game
4.484375 Long frame (WarmupPeriod): 47.19ms elapsed, 46.98ms sim time, 1 ticks, 287..287.
SV: Sending full update to client USER (reason: initial update)
USER @ 192.168.1.1:4898: NetChan Setting Timeout to 20.00 seconds
[MatchZy] [EventPlayerConnectFull FATAL] An error occurred: Entity system yet is not initialized
15.343750 Long frame (WarmupPeriod): 89.39ms elapsed, 89.17ms sim time, 1 ticks, 982..982.
�[39;49m�[37m21:27:39�[39;49m�[39;49m�[90m [�[39;49m�[39;49m�[97m�[39;49m�[97m�[101mEROR�[39;49m�[39;49m�[90m] (cssharp:�[39;49m�[39;49m�[37mCore�[39;49m�[39;49m�[90m) �[39;49m�[39;49m�[97mError invoking callback�[39;49m
�[39;49m�[97mSystem.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.�[39;49m
�[39;49m�[97m ---> CounterStrikeSharp.API.Core.NativeException: Entity system yet is not initialized�[39;49m
�[39;49m�[37m at CounterStrikeSharp.API.Core.ScriptContext.CheckErrors() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/ScriptContext.cs:line 187�[39;49m
�[39;49m�[37m at CounterStrikeSharp.API.Core.NativeAPI.GetConcreteEntityListPointer() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/API.cs:line 655�[39;49m
�[39;49m�[37m at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode)�[39;49m �[39;49m�[97m--- End of stack trace from previous location ---�[39;49m �[39;49m�[37m at System.LazyHelper.ThrowException()�[39;49m �[39;49m�[37m at System.Lazy1.CreateValue()�[39;49m
�[39;49m�[37m at System.Lazy1.get_Value()�[39;49m �[39;49m�[37m at CounterStrikeSharp.API.Modules.Entities.EntitySystem.get_IdentityChunks() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Modules/Entities/EntitySystem.cs:line 19�[39;49m �[39;49m�[37m at CounterStrikeSharp.API.Modules.Entities.EntitySystem.GetEntityByHandle[T](CHandle1 handle) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Modules/Entities/EntitySystem.cs:line 32�[39;49m
�[39;49m�[37m at CounterStrikeSharp.API.NativeEntity.get_Handle() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/NativeEntity.cs:line 9�[39;49m
�[39;49m�[37m at CounterStrikeSharp.API.Core.CEntityInstance.get_IsValid() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Model/CEntityInstance.cs:line 26�[39;49m
�[39;49m�[37m at MatchZy.MatchZy.b__227_3(CCSPlayerController player, CommandInfo info) in /home/runner/work/MatchZy/MatchZy/MatchZy.cs:line 251�[39;49m
�[39;49m�[37m at CounterStrikeSharp.API.Core.BasePlugin.<>c__DisplayClass48_0.b__0(Int32 i, IntPtr ptr) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/BasePlugin.cs:line 218�[39;49m
�[39;49m�[37m at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)�[39;49m
�[39;49m�[37m at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span1 copyOfArgs, BindingFlags invokeAttr)�[39;49m �[39;49m�[37m --- End of inner exception stack trace ---�[39;49m �[39;49m�[37m at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span1 copyOfArgs, BindingFlags invokeAttr)�[39;49m
�[39;49m�[37m at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)�[39;49m
�[39;49m�[37m at System.Delegate.DynamicInvokeImpl(Object[] args)�[39;49m
�[39;49m�[37m at CounterStrikeSharp.API.Core.FunctionReference.b__18_0(fxScriptContext* context) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/FunctionReference.cs:line 100�[39;49m
"USER<0><[U:1:11111111]>" ChangeTeam() CTMDBG , team 0, req team 3 willSwitch 0, 18.27
�[39;49m�[37m21:27:39�[39;49m�[39;49m�[90m [�[39;49m�[39;49m�[97m�[39;49m�[97m�[101mEROR�[39;49m�[39;49m�[90m] (cssharp:�[39;49m�[39;49m�[37mCore�[39;49m�[39;49m�[90m) �[39;49m�[39;49m�[97mError invoking callback�[39;49m
�[39;49m�[97mSystem.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.�[39;49m
�[39;49m�[97m ---> CounterStrikeSharp.API.Core.NativeException: Entity system yet is not initialized�[39;49m
�[39;49m�[37m at CounterStrikeSharp.API.Core.ScriptContext.CheckErrors() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/ScriptContext.cs:line 187�[39;49m
�[39;49m�[37m at CounterStrikeSharp.API.Core.NativeAPI.GetConcreteEntityListPointer() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/API.cs:line 655�[39;49m
�[39;49m�[37m at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode)�[39;49m �[39;49m�[97m--- End of stack trace from previous location ---�[39;49m �[39;49m�[37m at System.LazyHelper.ThrowException()�[39;49m �[39;49m�[37m at System.Lazy1.CreateValue()�[39;49m
�[39;49m�[37m at System.Lazy1.get_Value()�[39;49m �[39;49m�[37m at CounterStrikeSharp.API.Modules.Entities.EntitySystem.get_IdentityChunks() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Modules/Entities/EntitySystem.cs:line 19�[39;49m �[39;49m�[37m at CounterStrikeSharp.API.Modules.Entities.EntitySystem.GetEntityByHandle[T](CHandle1 handle) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Modules/Entities/EntitySystem.cs:line 32�[39;49m
�[39;49m�[37m at CounterStrikeSharp.API.NativeEntity.get_Handle() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/NativeEntity.cs:line 9�[39;49m
�[39;49m�[37m at CounterStrikeSharp.API.Core.CEntityInstance.get_IsValid() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Model/CEntityInstance.cs:line 26�[39;49m
�[39;49m�[37m at MatchZy.MatchZy.IsPlayerValid(CCSPlayerController player) in /home/runner/work/MatchZy/MatchZy/Utility.cs:line 1822�[39;49m
�[39;49m�[37m at MatchZy.MatchZy.b__227_1(EventPlayerTeam event, GameEventInfo info) in /home/runner/work/MatchZy/MatchZy/MatchZy.cs:line 220�[39;49m
�[39;49m�[37m at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)�[39;49m
�[39;49m�[37m at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span1 copyOfArgs, BindingFlags invokeAttr)�[39;49m �[39;49m�[37m --- End of inner exception stack trace ---�[39;49m �[39;49m�[37m at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span1 copyOfArgs, BindingFlags invokeAttr)�[39;49m
�[39;49m�[37m at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)�[39;49m
�[39;49m�[37m at System.Delegate.DynamicInvokeImpl(Object[] args)�[39;49m
�[39;49m�[37m at CounterStrikeSharp.API.Core.FunctionReference.b__18_0(fxScriptContext* context) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/FunctionReference.cs:line 100�[39;49m
L 01/07/2025 - 21:27:39: "USER<0><[U:1:11111111]>" switched from team to
�[39;49m�[37m21:27:39�[39;49m�[39;49m�[90m [�[39;49m�[39;49m�[97m�[39;49m�[97m�[101mEROR�[39;49m�[39;49m�[90m] (cssharp:�[39;49m�[39;49m�[37mCore�[39;49m�[39;49m�[90m) �[39;49m�[39;49m�[97mError invoking callback�[39;49m
�[39;49m�[97mSystem.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.�[39;49m
�[39;49m�[97m ---> CounterStrikeSharp.API.Core.NativeException: Entity system yet is not initialized�[39;49m
�[39;49m�[37m at CounterStrikeSharp.API.Core.ScriptContext.CheckErrors() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/ScriptContext.cs:line 187�[39;49m
�[39;49m�[37m at CounterStrikeSharp.API.Core.NativeAPI.GetConcreteEntityListPointer() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/API.cs:line 655�[39;49m
�[39;49m�[37m at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode)�[39;49m �[39;49m�[97m--- End of stack trace from previous location ---�[39;49m �[39;49m�[37m at System.LazyHelper.ThrowException()�[39;49m �[39;49m�[37m at System.Lazy1.CreateValue()�[39;49m
�[39;49m�[37m at System.Lazy1.get_Value()�[39;49m �[39;49m�[37m at CounterStrikeSharp.API.Modules.Entities.EntitySystem.get_IdentityChunks() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Modules/Entities/EntitySystem.cs:line 19�[39;49m �[39;49m�[37m at CounterStrikeSharp.API.Modules.Entities.EntitySystem.GetEntityByHandle[T](CHandle1 handle) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Modules/Entities/EntitySystem.cs:line 32�[39;49m
�[39;49m�[37m at CounterStrikeSharp.API.NativeEntity.get_Handle() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/NativeEntity.cs:line 9�[39;49m
�[39;49m�[37m at CounterStrikeSharp.API.Core.CEntityInstance.get_IsValid() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Model/CEntityInstance.cs:line 26�[39;49m
�[39;49m�[37m at MatchZy.MatchZy.IsPlayerValid(CCSPlayerController player) in /home/runner/work/MatchZy/MatchZy/Utility.cs:line 1822�[39;49m
�[39;49m�[37m at MatchZy.MatchZy.b__227_2(EventPlayerTeam event, GameEventInfo info) in /home/runner/work/MatchZy/MatchZy/MatchZy.cs:line 235�[39;49m
�[39;49m�[37m at InvokeStub_GameEventHandler1.Invoke(Object, Span1)�[39;49m
�[39;49m�[37m at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)�[39;49m
�[39;49m�[37m --- End of inner exception stack trace ---�[39;49m
�[39;49m�[37m at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)�[39;49m
�[39;49m�[37m at System.Delegate.DynamicInvokeImpl(Object[] args)�[39;49m
�[39;49m�[37m at CounterStrikeSharp.API.Core.FunctionReference.b__18_0(fxScriptContext* context) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/FunctionReference.cs:line 100�[39;49m
L 01/07/2025 - 21:27:39: World triggered "Game_Commencing"
L 01/07/2025 - 21:27:39: Team playing "CT": Astralis
L 01/07/2025 - 21:27:39: Team playing "TERRORIST": NaVi
�[39;49m�[37m21:27:39�[39;49m�[39;49m�[90m [�[39;49m�[39;49m�[97m�[39;49m�[97m�[101mEROR�[39;49m�[39;49m�[90m] (cssharp:�[39;49m�[39;49m�[37mCore�[39;49m�[39;49m�[90m) �[39;49m�[39;49m�[97mError invoking callback�[39;49m
�[39;49m�[97mSystem.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.�[39;49m
�[39;49m�[97m ---> CounterStrikeSharp.API.Core.NativeException: Entity system yet is not initialized�[39;49m
�[39;49m�[37m at CounterStrikeSharp.API.Core.ScriptContext.CheckErrors() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/ScriptContext.cs:line 187�[39;49m
�[39;49m�[37m at CounterStrikeSharp.API.Core.NativeAPI.GetConcreteEntityListPointer() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/API.cs:line 655�[39;49m
�[39;49m�[37m at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode)�[39;49m �[39;49m�[97m--- End of stack trace from previous location ---�[39;49m �[39;49m�[37m at System.LazyHelper.ThrowException()�[39;49m �[39;49m�[37m at System.Lazy1.CreateValue()�[39;49m
�[39;49m�[37m at System.Lazy1.get_Value()�[39;49m �[39;49m�[37m at CounterStrikeSharp.API.Modules.Entities.EntitySystem.get_IdentityChunks() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Modules/Entities/EntitySystem.cs:line 19�[39;49m �[39;49m�[37m at CounterStrikeSharp.API.Modules.Entities.EntitySystem.GetEntityByHandle[T](CHandle1 handle) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Modules/Entities/EntitySystem.cs:line 32�[39;49m
�[39;49m�[37m at CounterStrikeSharp.API.NativeEntity.get_Handle() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/NativeEntity.cs:line 9�[39;49m
�[39;49m�[37m at CounterStrikeSharp.API.Core.CEntityInstance.get_IsValid() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Model/CEntityInstance.cs:line 26�[39;49m
�[39;49m�[37m at MatchZy.MatchZy.IsPlayerValid(CCSPlayerController player) in /home/runner/work/MatchZy/MatchZy/Utility.cs:line 1822�[39;49m
�[39;49m�[37m at MatchZy.MatchZy.OnPlayerSpawn(EventPlayerSpawn event, GameEventInfo info) in /home/runner/work/MatchZy/MatchZy/PracticeMode.cs:line 1072�[39;49m
�[39;49m�[37m at InvokeStub_GameEventHandler1.Invoke(Object, Span1)�[39;49m
�[39;49m�[37m at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)�[39;49m
�[39;49m�[37m --- End of inner exception stack trace ---�[39;49m
�[39;49m�[37m at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)�[39;49m
�[39;49m�[37m at System.Delegate.DynamicInvokeImpl(Object[] args)�[39;49m
�[39;49m�[37m at CounterStrikeSharp.API.Core.FunctionReference.b__18_0(fxScriptContext* context) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/FunctionReference.cs:line 100�[39;49m
"USER<0><[U:1:11111111]>" OnPreResetRound => CTMDBG, team 3 will switch 0 18.27
Using spawn points configuration 0x43E1ECA5
L 01/07/2025 - 21:27:39: Starting Freeze period
L 01/07/2025 - 21:27:39: JSON_BEGIN{
L 01/07/2025 - 21:27:39: "name": "round_stats",
L 01/07/2025 - 21:27:39: "round_number" : "1",
L 01/07/2025 - 21:27:39: "score_t" : "0",
L 01/07/2025 - 21:27:39: "score_ct" : "0",
L 01/07/2025 - 21:27:39: "map" : "de_mirage",
L 01/07/2025 - 21:27:39: "server" : "MatchZy: Astralis vs NaVi #27",
L 01/07/2025 - 21:27:39: "fields" : " accountid, team, money, kills, deaths,assists, dmg, hsp, kdr, adr, mvp, ef, ud, 3k, 4k, 5k,clutchk, firstk,pistolk,sniperk, blindk, bombk,firedmg,uniquek, dinks,chickenk"
L 01/07/2025 - 21:27:39: "players" : {
L 01/07/2025 - 21:27:39: "player_0" : " 17910499, 3, 16000, 0, 0, 0, 0, 0.00, 0.00, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0"
L 01/07/2025 - 21:27:39: }}JSON_END
�[39;49m�[37m21:27:39�[39;49m�[39;49m�[90m [�[39;49m�[39;49m�[97m�[39;49m�[97m�[101mEROR�[39;49m�[39;49m�[90m] (cssharp:�[39;49m�[39;49m�[37mCore�[39;49m�[39;49m�[90m) �[39;49m�[39;49m�[97mError invoking callback�[39;49m
�[39;49m�[97mSystem.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.�[39;49m
�[39;49m�[97m ---> CounterStrikeSharp.API.Core.NativeException: Entity system yet is not initialized�[39;49m
�[39;49m�[37m at CounterStrikeSharp.API.Core.ScriptContext.CheckErrors() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/ScriptContext.cs:line 187�[39;49m
�[39;49m�[37m at CounterStrikeSharp.API.Core.NativeAPI.GetConcreteEntityListPointer() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/API.cs:line 655�[39;49m
�[39;49m�[37m at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode)�[39;49m �[39;49m�[97m--- End of stack trace from previous location ---�[39;49m �[39;49m�[37m at System.LazyHelper.ThrowException()�[39;49m �[39;49m�[37m at System.Lazy1.CreateValue()�[39;49m
�[39;49m�[37m at System.Lazy1.get_Value()�[39;49m �[39;49m�[37m at CounterStrikeSharp.API.Modules.Entities.EntitySystem.get_IdentityChunks() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Modules/Entities/EntitySystem.cs:line 19�[39;49m �[39;49m�[37m at CounterStrikeSharp.API.Modules.Entities.EntitySystem.GetEntityByHandle[T](CHandle1 handle) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Modules/Entities/EntitySystem.cs:line 32�[39;49m
�[39;49m�[37m at CounterStrikeSharp.API.NativeEntity.get_Handle() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/NativeEntity.cs:line 9�[39;49m
�[39;49m�[37m at CounterStrikeSharp.API.Core.CEntityInstance.get_IsValid() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Model/CEntityInstance.cs:line 26�[39;49m
�[39;49m�[37m at MatchZy.MatchZy.IsPlayerValid(CCSPlayerController player) in /home/runner/work/MatchZy/MatchZy/Utility.cs:line 1822�[39;49m
�[39;49m�[37m at MatchZy.MatchZy.OnPlayerSpawn(EventPlayerSpawn event, GameEventInfo info) in /home/runner/work/MatchZy/MatchZy/PracticeMode.cs:line 1072�[39;49m
�[39;49m�[37m at InvokeStub_GameEventHandler1.Invoke(Object, Span1)�[39;49m
�[39;49m�[37m at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)�[39;49m
�[39;49m�[37m --- End of inner exception stack trace ---�[39;49m
�[39;49m�[37m at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)�[39;49m
�[39;49m�[37m at System.Delegate.DynamicInvokeImpl(Object[] args)�[39;49m
�[39;49m�[37m at CounterStrikeSharp.API.Core.FunctionReference.b__18_0(fxScriptContext* context) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/FunctionReference.cs:line 100�[39;49m
L 01/07/2025 - 21:27:39: World triggered "Match_Start" on "de_mirage"
L 01/07/2025 - 21:27:39: Team playing "CT": Astralis
L 01/07/2025 - 21:27:39: Team playing "TERRORIST": NaVi
L 01/07/2025 - 21:27:39: MatchStatus: Team playing "CT": Astralis
L 01/07/2025 - 21:27:39: MatchStatus: Team playing "TERRORIST": NaVi
L 01/07/2025 - 21:27:39: MatchStatus: Score: 0:0 on map "de_mirage" RoundsPlayed: -1
18.265625 Long frame (WarmupPeriod): 63.54ms elapsed, 63.35ms sim time, 1 ticks, 1169..1169.
L 01/07/2025 - 21:27:41: World triggered "Warmup_Start"
[MatchZy] [UpdatePlayersMap FATAL] An error occurred: Entity system yet is not initialized
�[39;49m�[37m21:27:46�[39;49m�[39;49m�[90m [�[39;49m�[39;49m�[97m�[39;49m�[97m�[101mEROR�[39;49m�[39;49m�[90m] (cssharp:�[39;49m�[39;49m�[37mCore�[39;49m�[39;49m�[90m) �[39;49m�[39;49m�[97mError invoking callback�[39;49m
�[39;49m�[97mSystem.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.�[39;49m
�[39;49m�[97m ---> System.Collections.Generic.KeyNotFoundException: The given key '0' was not present in the dictionary.�[39;49m
�[39;49m�[37m at MatchZy.MatchZy.b__227_9(EventPlayerChat event, GameEventInfo info) in /home/runner/work/MatchZy/MatchZy/MatchZy.cs:line 383�[39;49m
�[39;49m�[37m at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)�[39;49m
�[39;49m�[37m at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span1 copyOfArgs, BindingFlags invokeAttr)�[39;49m �[39;49m�[37m --- End of inner exception stack trace ---�[39;49m �[39;49m�[37m at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span1 copyOfArgs, BindingFlags invokeAttr)�[39;49m
�[39;49m�[37m at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)�[39;49m
�[39;49m�[37m at System.Delegate.DynamicInvokeImpl(Object[] args)�[39;49m
�[39;49m�[37m at CounterStrikeSharp.API.Core.FunctionReference.b__18_0(fxScriptContext* context) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/FunctionReference.cs:line 100�[39;49m
[All Chat][USER (17910499)]: .ready
L 01/07/2025 - 21:27:46: "USER<0><[U:1:11111111]>" say ".ready"
[#735481051 UDP steamid:[email protected]:4898 'USER'] closed by peer (1002): NETWORK_DISCONNECT_DISCONNECT_BY_USER
Steam Net connection #735481051 UDP steamid:[email protected]:4898 'USER' closed by peer, reason 1002: NETWORK_DISCONNECT_DISCONNECT_BY_USER
NETWORK_DISCONNECT_DISCONNECT_BY_USER
CloseSteamNetConnection handle #735481051 (userdata 0)
Disassociating NetChan USER @ 192.168.1.1:4898 (192.168.1.1:4898) from Steam Net Connection handle #735481051 (userdata 0)
Removing Steam Net Connection for 192.168.1.1:4898, handle #735481051
SV: Disconnect client 'USER' from server(2): NETWORK_DISCONNECT_DISCONNECT_BY_USER
L 01/07/2025 - 21:27:50: "USER<0><[U:1:11111111]>" disconnected (reason "NETWORK_DISCONNECT_DISCONNECT_BY_USER")
[MatchZy] [EventPlayerDisconnect FATAL] An error occurred: Entity system yet is not initialized
L 01/07/2025 - 21:27:50: "USER<0><[U:1:11111111]>" [-1708 -1783 -267] committed suicide with "world"
�[39;49m�[37m21:27:50�[39;49m�[39;49m�[90m [�[39;49m�[39;49m�[97m�[39;49m�[97m�[101mEROR�[39;49m�[39;49m�[90m] (cssharp:�[39;49m�[39;49m�[37mCore�[39;49m�[39;49m�[90m) �[39;49m�[39;49m�[97mError invoking callback�[39;49m
�[39;49m�[97mSystem.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.�[39;49m
�[39;49m�[97m ---> CounterStrikeSharp.API.Core.NativeException: Entity system yet is not initialized�[39;49m
�[39;49m�[37m at CounterStrikeSharp.API.Core.ScriptContext.CheckErrors() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/ScriptContext.cs:line 187�[39;49m
�[39;49m�[37m at CounterStrikeSharp.API.Core.NativeAPI.GetConcreteEntityListPointer() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/API.cs:line 655�[39;49m
�[39;49m�[37m at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode)�[39;49m �[39;49m�[97m--- End of stack trace from previous location ---�[39;49m �[39;49m�[37m at System.LazyHelper.ThrowException()�[39;49m �[39;49m�[37m at System.Lazy1.CreateValue()�[39;49m
�[39;49m�[37m at System.Lazy`1.get_Value()�[39;49m
�[39;49m�[37m at CounterStrikeSharp.API.Modules.Entities.EntitySystem.get_IdentityChunks() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Modules/Entities/EntitySystem.cs:lin"

@mrc4tt
Copy link

mrc4tt commented Jan 11, 2025

Which CounterStrikeSharp version? It's not enough to say "latest".

@fredde254
Copy link
Author

Which CounterStrikeSharp version? It's not enough to say "latest".

Im on CounterStrikeSharp version v298 now with the same errors. Ive tried earlier versions aswell, was on v296 when i first wrote the post.

@mrc4tt
Copy link

mrc4tt commented Jan 12, 2025

It appears that some code needs to be changed before the coach will be functional.

I have made adjustments for my servers, but I have not yet tested them or received feedback from my clients to confirm if they are working as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants