NockyCZ / CS2-Deathmatch

Custom Deathmatch CS2 plugin (Includes custom spawnpoints, multicfg, gun selection, spawn protection, etc).
https://buymeacoffee.com/sourcefactory
73 stars 12 forks source link

Error invoking callback #24

Closed iclassdon closed 8 months ago

iclassdon commented 9 months ago

18:35:38 [EROR] (cssharp:Core) Error invoking callback System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Deathmatch.DeathmatchCore.ParseVector(String pos) in C:\Users\Mates-PC\Desktop\WASD\Deathmatch\Functions\Spawns.cs:line 405 at Deathmatch.DeathmatchCore.PerformRespawn(CCSPlayerController player, Int32 team, Boolean IsBot) in C:\Users\Mates-PC\Desktop\WASD\Deathmatch\Functions\Spawns.cs:line 41 at Deathmatch.DeathmatchCore.<>cDisplayClass53_0.b__0() in C:\Users\Mates-PC\Desktop\WASD\Deathmatch\Events.cs:line 104 at InvokeStub_Action.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.<>cDisplayClass7_0.<.ctor>b0(fxScriptContext* context) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/FunctionReference.cs:line 105 L 03/01/2024 - 18:35:40: "Sas<6>" [-1223 654 0] killed "Bank<4>" [-1432 1113 1] with "ump45" 18:35:42 [EROR] (cssharp:Core) Error invoking callback System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Deathmatch.DeathmatchCore.ParseVector(String pos) in C:\Users\Mates-PC\Desktop\WASD\Deathmatch\Functions\Spawns.cs:line 405 at Deathmatch.DeathmatchCore.PerformRespawn(CCSPlayerController player, Int32 team, Boolean IsBot) in C:\Users\Mates-PC\Desktop\WASD\Deathmatch\Functions\Spawns.cs:line 41 at Deathmatch.DeathmatchCore.<>cDisplayClass53_0.b0() in C:\Users\Mates-PC\Desktop\WASD\Deathmatch\Events.cs:line 104 at InvokeStub_Action.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.<>c__DisplayClass7_0.<.ctor>b0(fxScriptContext* context) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/FunctionReference.cs:line 105

NockyCZ commented 9 months ago

Can you send me your config ?

NockyCZ commented 8 months ago

Fixed - https://github.com/NockyCZ/CS2-Deathmatch/releases/tag/v1.0.9