daffyyyy / CS2-SimpleAdmin

Manage your Counter-Strike 2 server by simple commands :)
https://cs2-simpleadmin.daffyy.love
GNU General Public License v3.0
104 stars 36 forks source link

Console spam error #134

Closed LukaLiuzzi closed 1 month ago

LukaLiuzzi commented 3 months ago

Since installing the plugin, my server console spams this error constantly. (Mode is Retake)

[EROR] (cssharp:Core) Error invoking callback System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.MissingMethodException: Method not found: 'Int32 ByRef CounterStrikeSharp.API.Core.CCSPlayerPawnBase.get_ArmorValue()'. at CS2_SimpleAdmin.CS2_SimpleAdmin.OnPlayerHurt(EventPlayerHurt event, GameEventInfo info) at InvokeStub_GameEventHandler1.Invoke(Object, Span1) at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) --- End of inner exception stack trace --- at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(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 100

daffyyyy commented 2 months ago

Still?

exababy commented 1 month ago

yes still