CS2Plugins / WeaponRestrict

The Unlicense
29 stars 3 forks source link

Error #17

Closed L3sh44 closed 2 weeks ago

L3sh44 commented 3 weeks ago

02:34:51 [INFO] (cssharp:PluginContext) Loading plugin WeaponRestrict 02:34:51 [EROR] (cssharp:PluginManager) Failed to load plugin from /home/container/game/csgo/addons/counterstrikesharp/plugins/WeaponRestrict/WeaponRestrict.dll CounterStrikeSharp.API.Core.NativeException: Invalid function pointer at CounterStrikeSharp.API.Core.ScriptContext.CheckErrors() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/ScriptContext.cs:line 187 at CounterStrikeSharp.API.Core.NativeAPI.HookFunction(IntPtr function, InputArgument hook, Boolean post) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/API.cs:line 1087 at WeaponRestrict.WeaponRestrictPlugin.Load(Boolean hotReload) in X:\Main.cs:line 114 at CounterStrikeSharp.API.Core.Plugin.PluginContext.Load(Boolean hotReload) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/PluginContext.cs:line 218 at CounterStrikeSharp.API.Core.Plugin.Host.PluginManager.LoadPlugin(String path) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/Host/PluginManager.cs:line 125 at CounterStrikeSharp.API.Core.Plugin.Host.PluginManager.Load() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/Host/PluginManager.cs:line 93

asdfxD commented 3 weeks ago

same error here

Whaliin commented 2 weeks ago

Should be fixed with the latest version