ABKAM2023 / CS2-LevelsRanks-Core

[C#] [Levels Ranks] Core
27 stars 3 forks source link

[EROR] (cssharp:Core) Error invoking callback (Retake Server) #1

Open freakexeuLow opened 8 months ago

freakexeuLow commented 8 months ago

Hey I get some kind of error message...the plugin works, but I still wanted to report it to you (thanks for moving to sharp <3 )

CSSharp Version: 193v Metamod: 2.0.0-dev+1282

L 03/11/2024 - 16:30:34: World triggered "Round_Start" 16:30:34 [INFO] (plugin:BombsiteAnnouncer) Bomb Planted on [B] [Instadefuse 1.4.2] OnBombPlanted 16:30:34 [EROR] (cssharp:Core) Error invoking callback System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Schema target points to null. (Parameter 'pointer') at CounterStrikeSharp.API.Core.CBasePlayerController.get_SteamID() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Schema/Classes/CBasePlayerController.g.cs:line 123 at LevelsRanksCore.LevelsRanksCore.OnBombPlanted(EventBombPlanted bombPlantedEvent, GameEventInfo info) in C:\Users\rusik\OneDrive\Рабочий стол[Levels Ranks] Core[Levels Ranks] Core.cs:line 622 at InvokeStub_GameEventHandler`1.Invoke(Object, Object, IntPtr) at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr args, BindingFlags invokeAttr) --- End of inner exception stack trace --- at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr args, BindingFlags invokeAttr) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Delegate.DynamicInvokeImpl(Object[] args) at CounterStrikeSharp.API.Core.FunctionReference.b__18_0(fxScriptContext context) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/FunctionReference.cs:line 120