schwarper / cs2-tags

An advanced tag plugin
GNU General Public License v3.0
31 stars 3 forks source link

Error #13

Closed gha241 closed 2 months ago

gha241 commented 2 months ago

09:01:03 [EROR] (cssharp:Core) Error invoking callback System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException (0x80131130): Unable to get nested type properties. at Tags.Player.GetTag(CCSPlayerController player) at Tags.Tags.OnPlayerConnect(EventPlayerConnectFull event, GameEventInfo info) in C:\Users\mervt\OneDrive\Masaüstü\tags\cs2-tags\cs2-tags\src\cs2-tag.cs:line 62 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

schwarper commented 2 months ago

09:01:03 [EROR] (cssharp:Core) Error invoking callback System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException (0x80131130): Unable to get nested type properties. at Tags.Player.GetTag(CCSPlayerController player) at Tags.Tags.OnPlayerConnect(EventPlayerConnectFull event, GameEventInfo info) in C:\Users\mervt\OneDrive\Masaüstü\tags\cs2-tags\cs2-tags\src\cs2-tag.cs:line 62 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

Are you using lastest version?

gha241 commented 2 months ago

Yes

schwarper commented 2 months ago

@gha241 Can you show me your config?

SkyJust4Fun commented 2 months ago

Its weird, the same happens to me from 0.0.5 to the latest version in 1 server but works correctly in another running server using 0.0.5 maybe its conflicting with something?

The both server running v260 csharp

Tags plugins (This one and VIP_Tags)

But even with the error the plugin works.. atleast for me, the error appears when plugin is reloaded for me.

SkyJust4Fun commented 2 months ago

Also !toggletags are only toggling chat tag and not scoreboard one.

schwarper commented 2 months ago

@SkyJust4Fun Can you update the files and try again? If the error persists, please reopen the ticket.

SkyJust4Fun commented 2 months ago

Not atm sorry will try later