Open juandrep opened 7 months ago
Can I take a screenshot in more detail, as well as the plugin config?
I forgot to say, try to see in the config if you made a mistake with the variables, you can see the list of variables to use in Readme.md Also look at the cssharp version, if the version is lower than 142, it will not work because the IPAddress property appeared somewhere from the 140th version
If none of these points is an error, then try to compile the plugin yourself for your version of cssharp I also ask you to pay attention - the assembled ready-made version on github is marked Windows, which means it only works on Windows OS
Compiled for new versions (Windows) watch in releases!
I'm getting this error:
[39;49m[37m11:50:01[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 [39;49m[37mSystem.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.[39;49m [39;49m[37m ---> System.InvalidOperationException: Entity is not valid[39;49m [39;49m[37m at CounterStrikeSharp.API.Guard.IsValidEntity(CEntityInstance ent) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Guard.cs:line 8[39;49m [39;49m[37m at CounterStrikeSharp.API.Core.CCSPlayerController.PrintToChat(String message) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Model/CCSPlayerController.cs:line 51[39;49m [39;49m[37m at Main.Main.<>cDisplayClass12_0.b__0() in D:\cs2server\steamapps\common\Counter-Strike Global Offensive\game\csgo\addons\counterstrikesharp\source\Welcome\Main.cs:line 82[39;49m
[39;49m[37m at InvokeStub_Action.Invoke(Object, Object, IntPtr*)[39;49m
[39;49m[37m at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)[39;49m
[39;49m[37m --- End of inner exception stack trace ---[39;49m
[39;49m[37m at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)[39;49m
[39;49m[37m at System.Delegate.DynamicInvokeImpl(Object[] args)[39;49m
[39;49m[37m at CounterStrikeSharp.API.Core.FunctionReference.b 18_0(fxScriptContext* context) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/FunctionReference.cs:line 100[39;49m