KitsuneLab-Development / K4-System

K4-Systems is a plugin that enhances the server with features such as a playtime tracker, statistical records, and player ranks. Additionally, it includes VIP functions and admin commands for added functionality.
GNU General Public License v3.0
104 stars 35 forks source link

[CRASH] Plugin will not load #177

Closed Albo3 closed 4 months ago

Albo3 commented 4 months ago

Cant get k4 to load for about a week Tried reinstalls as well as trying to set it up on a fresh server

CSS was also not loading so I have done updates to get it working but now k4 is not loading

Logs: css_plugins load K4-System Could not load plugin "game\csgo\addons\counterstrikesharp\plugins/K4-System/K4-System.dll" 13:38:27 [EROR] (cssharp:Core) Could not load plugin "game\csgo\addons\counterstrikesharp\plugins/K4-System/K4-System.dll" System.InvalidOperationException: Dependency resolution failed for component game\csgo\addons\counterstrikesharp\plugins/K4-System/K4-System.dll with error code -2147450734. Detailed error: Failed to locate managed application [game\csgo\addons\counterstrikesharp\plugins/K4-System/K4-System.dll] at System.Runtime.Loader.AssemblyDependencyResolver..ctor(String componentAssemblyPath) at McMaster.NETCore.Plugins.Loader.ManagedLoadContext..ctor(String mainAssemblyPath, IReadOnlyDictionary2 managedAssemblies, IReadOnlyDictionary2 nativeLibraries, IReadOnlyCollection1 privateAssemblies, IReadOnlyCollection1 defaultAssemblies, IReadOnlyCollection1 additionalProbingPaths, IReadOnlyCollection1 resourceProbingPaths, AssemblyLoadContext defaultLoadContext, Boolean preferDefaultLoadContext, Boolean lazyLoadReferences, Boolean isCollectible, Boolean loadInMemory, Boolean shadowCopyNativeLibraries) at McMaster.NETCore.Plugins.Loader.AssemblyLoadContextBuilder.Build() at McMaster.NETCore.Plugins.PluginLoader..ctor(PluginConfig config) at McMaster.NETCore.Plugins.PluginLoader.CreateFromAssemblyFile(String assemblyFile, Action1 configure) at McMaster.NETCore.Plugins.PluginLoader.CreateFromAssemblyFile(String assemblyFile, Type[] sharedTypes, Action1 configure) at CounterStrikeSharp.API.Core.Plugin.PluginContext..ctor(IServiceProvider applicationServiceProvider, ICommandManager commandManager, IScriptHostConfiguration hostConfiguration, String path, Int32 id) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/PluginContext.cs:line 69 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 122 at CounterStrikeSharp.API.Core.Application.OnCSSPluginCommand(CCSPlayerController caller, CommandInfo info) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Application.cs:line 177

K4ryuu commented 4 months ago

“Detailed error: Failed to locate managed application “

Your CSS install fucked up most probably, so I recommend a PROPER install following the guide if CSS and K4-System. No problem reported like that.