Im using a plugin called CSSKin:
https://github.com/Dyshay/CS2Skin?ta...ov-file#config and I think I've installed everything correct, but when I try to run a command, the console says this:
Jul 3 11:10:26: [39;49m[37m11:10:26[39;49m[39;49m[30m [[39;49m[39;49m[37m[39;49m[37m[41mEROR[39;49m[39;49m[30m] (cssharp:[39;49m[39;49m[37mCore[39;49m[39;49m[30m) [39;49m[39;49m[37mError invoking callback[39;49m
Jul 3 11:10:26: [39;49m[37mSystem.Reflection.TargetInvocationExceptio n: Exception has been thrown by the target of an invocation.[39;49m
Jul 3 11:10:26: [39;49m[37m ---> System.InvalidOperationException: Cannot Open when State is Open.[39;49m
Jul 3 11:10:26: [39;49m[37m at MySqlConnector.MySqlConnection.OpenAsync(Null able`1 ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlConnection.cs:line 392[39;49m
Jul 3 11:10:26: [39;49m[37m at MySqlConnector.MySqlConnection.Open() in /_/src/MySqlConnector/MySqlConnection.cs:line 381[39;49m
Jul 3 11:10:26: [39;49m[37m at CSSKin.Core.Services.WeaponServerMysqlReposit ory.Get(String uuid) in C:\Users\dyl_c\RiderProjects\CSSKin\CSSKin\Co re\Services\WeaponServerMysqlRepository.cs:li ne 47[39;49m
Jul 3 11:10:26: [39;49m[37m at CSSKin.CSSkin.OnCssSkinCommand(CCSPlayerContr oller player, CommandInfo commandInfo) in C:\Users\dyl_c\RiderProjects\CSSKin\CSSKin\CS Skin.cs:line 147[39;49m
Jul 3 11:10:26: [39;49m[37m at CounterStrikeSharp.API.Core.Commands.CommandM anager.HandleCommandInternal(Int32 playerSlot, IntPtr commandInfo) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Commands/CommandManager.cs:line 159[39;49m
Jul 3 11:10:26: [39;49m[37m at InvokeStub_Action`2.Invoke(Object, Span`1)[39;49m
Jul 3 11:10:26: [39;49m[37m at System.Reflection.MethodBaseInvoker.InvokeWit hFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)[39;49m
Jul 3 11:10:26: [39;49m[37m --- End of inner exception stack trace ---[39;49m
Jul 3 11:10:26: [39;49m[37m at System.Reflection.MethodBaseInvoker.InvokeWit hFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)[39;49m
Jul 3 11:10:26: [39;49m[37m at System.Delegate.DynamicInvokeImpl(Object[] args)[39;49m
Jul 3 11:10:26: [39;49m[37m at CounterStrikeSharp.API.Core.FunctionReference .<CreateWrappedCallback>b__18_0(fxScriptConte xt* context) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/FunctionReference.cs:line 100[39;49m
Jul 3 11:10:45: [Tick 10533]['Mak' depth=11 (7246..7256) ping=18ms] CQ bloat: removed 6, max: 10, 1 ticks this frame
Also here is what the log says when I run the command:
2024-07-03 20:03:53.831 +00:00 [EROR] (cssharp:Core) Error invoking callback
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.InvalidOperationException: Cannot Open when State is Open.
at MySqlConnector.MySqlConnection.OpenAsync(Null able`1 ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlConnection.cs:line 392
at MySqlConnector.MySqlConnection.Open() in /_/src/MySqlConnector/MySqlConnection.cs:line 381
at CSSKin.Core.Services.WeaponServerMysqlReposit ory.Get(String uuid) in C:\Users\dyl_c\RiderProjects\CSSKin\CSSKin\Co re\Services\WeaponServerMysqlRepository.cs:li ne 47
at CSSKin.CSSkin.OnCssSkinCommand(CCSPlayerContr oller player, CommandInfo commandInfo) in C:\Users\dyl_c\RiderProjects\CSSKin\CSSKin\CS Skin.cs:line 147
at CounterStrikeSharp.API.Core.Commands.CommandM anager.HandleCommandInternal(Int32 playerSlot, IntPtr commandInfo) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Commands/CommandManager.cs:line 159
at InvokeStub_Action`2.Invoke(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWit hFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
--- End of inner exception stack trace ---
at System.Reflection.MethodBaseInvoker.InvokeWit hFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at CounterStrikeSharp.API.Core.FunctionReference .<CreateWrappedCallback>b__18_0(fxScriptConte xt* context) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/FunctionReference.cs:line 100