Source2ZE / AcceleratorCS2

Crash handler for CS2
GNU General Public License v3.0
27 stars 1 forks source link

Failed to load plugin #1

Closed ShiNxz closed 7 months ago

ShiNxz commented 7 months ago

20:38:22 [EROR] (cssharp:PluginManager) Failed to load plugin from /home/container/game/csgo/addons/counterstrikesharp/plugins/AcceleratorCS2/AcceleratorCS2.dll System.BadImageFormatException: Bad IL format. at System.Runtime.Loader.AssemblyLoadContext.InternalLoad(ReadOnlySpan1 arrAssembly, ReadOnlySpan1 arrSymbols) at System.Runtime.Loader.AssemblyLoadContext.LoadFromStream(Stream assembly, Stream assemblySymbols) at McMaster.NETCore.Plugins.Loader.ManagedLoadContext.LoadAssemblyFromFilePath(String path) at McMaster.NETCore.Plugins.PluginLoader.LoadDefaultAssembly() at CounterStrikeSharp.API.Core.Plugin.PluginContext.Load(Boolean hotReload) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/PluginContext.cs:line 126 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

Vauff commented 7 months ago

This is not a CS# plugin, it's a Metamod plugin, you installed it in the wrong location. Extract the package contents to game/csgo.