K4ryuu/CS2_PlaytimeTracker

Error with new version

MinnDe opened this issue · 4 comments

MinnDe commented

The plugin stopped working after the update.

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__DisplayClass3_0.<.ctor>b__0(fxScriptContext* context) in /__w/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/FunctionReference.cs:line 81
SteamNetworkingSockets lock held for 5.7ms.  (Performance warning.)  ServiceThread
This is usually a symptom of a general performance problem such as thread starvation.
"MinnDe<0><[U:1:756741]><TERRORIST>" OnPreResetRound => CTMDBG, team 2  will switch 0 117.39
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.Collections.Generic.KeyNotFoundException: The given key '0' was not present in the dictionary.
at K4ryuuPlaytimePlugin.PlaytimePlugin.OnClientSpawn(EventPlayerSpawn event, GameEventInfo info) in /Users/sples/Documents/GitHub/CS2_PlaytimeTracker/src/K4ryuuPlaytimeTracker.cs:line 95
at InvokeStub_GameEventHandler`1.Invoke(Object, Object, IntPtr*)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
K4ryuu commented

Update your CSSharp to latest version.... As you see in changes at the release it was updated to the today's last build.

MinnDe commented

CSSharp is the latest version...

K4ryuu commented

I am going to check on it then shortly, and I will keep you updated.
Thanks for the feedback!

K4ryuu commented

Greetings,
The problem has been solved within the 17987b6 commit. Please update the plugin from the releases to the last version.

Thank you for your patience!

Best Regards,
K4ryuu