You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What could be the problem? There is this method in the gamedata file itself. So in half of all plugins
2024-10-05 10:45:05.269 +03:00 [EROR] (cssharp:Core) Error invoking callback
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.TypeInitializationException: The type initializer for 'CounterStrikeSharp.API.Modules.Memory.VirtualFunctions' threw an exception.
---> System.ArgumentException: Method ClientPrint not found in gamedata.json
at CounterStrikeSharp.API.Core.GameData.GetSignature(String key) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/GameData.cs:line 94
at CounterStrikeSharp.API.Modules.Memory.VirtualFunctions..cctor() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Modules/Memory/VirtualFunctions.cs:line 13
--- End of inner exception stack trace ---
at CounterStrikeSharp.API.Core.CCSPlayerController.PrintToCenter(String message) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Model/CCSPlayerController.cs:line 59
at TabTimeleft.TabTimeleft.b__15_0() in /home/iks/RiderProjects/TabTimeleft/TabTimeleft/TabTimeleft.cs:line 58
at InvokeStub_OnTick.Invoke(Object, Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
--- End of inner exception stack trace ---
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
at CounterStrikeSharp.API.Core.BasePlugin.<>c__DisplayClass51_01.<RegisterListener>b__2(ScriptContext context) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/BasePlugin.cs:line 298 at InvokeStub_Action1.Invoke(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
--- End of inner exception stack trace ---
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(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)
The text was updated successfully, but these errors were encountered:
What could be the problem? There is this method in the gamedata file itself. So in half of all plugins
2024-10-05 10:45:05.269 +03:00 [EROR] (cssharp:Core) Error invoking callback
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.TypeInitializationException: The type initializer for 'CounterStrikeSharp.API.Modules.Memory.VirtualFunctions' threw an exception.
---> System.ArgumentException: Method ClientPrint not found in gamedata.json
at CounterStrikeSharp.API.Core.GameData.GetSignature(String key) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/GameData.cs:line 94
at CounterStrikeSharp.API.Modules.Memory.VirtualFunctions..cctor() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Modules/Memory/VirtualFunctions.cs:line 13
--- End of inner exception stack trace ---
at CounterStrikeSharp.API.Core.CCSPlayerController.PrintToCenter(String message) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Model/CCSPlayerController.cs:line 59
at TabTimeleft.TabTimeleft.b__15_0() in /home/iks/RiderProjects/TabTimeleft/TabTimeleft/TabTimeleft.cs:line 58
at InvokeStub_OnTick.Invoke(Object, Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
--- End of inner exception stack trace ---
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
at CounterStrikeSharp.API.Core.BasePlugin.<>c__DisplayClass51_0
1.<RegisterListener>b__2(ScriptContext context) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/BasePlugin.cs:line 298 at InvokeStub_Action
1.Invoke(Object, Span`1)at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
--- End of inner exception stack trace ---
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(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)
The text was updated successfully, but these errors were encountered: