Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to load plugin #1

Open
Ganji89420 opened this issue Dec 3, 2023 · 5 comments
Open

failed to load plugin #1

Ganji89420 opened this issue Dec 3, 2023 · 5 comments

Comments

@Ganji89420
Copy link

20:05:22 [EROR] (cssharp:PluginManager) Failed to load plugin from D:\cs2\game\csgo\addons\counterstrikesharp\plugins\AdminList\AdminList.dll

@Quake1011
Copy link
Owner

Only my plugin throwing that?

@Ganji89420
Copy link
Author

yes it was only ur plugin

@Quake1011
Copy link
Owner

yes it was only ur plugin

there is more errors from this?

@Quake1011
Copy link
Owner

20:16:11 [INFO] (cssharp:PluginContext) Loading plugin AdminList 20:16:11 [EROR] (cssharp:PluginManager) Failed to load plugin from /AMP/counter-strike2/730/game/csgo/addons/counterstrikesharp/plugins/AdminList/AdminList.dll System.UnauthorizedAccessException: Access to the path '/AMP/counter-strike2/730/game/csgo/addons/counterstrikesharp/plugins/AdminList/Config.json' is denied. ---> System.IO.IOException: Permission denied --- End of inner exception stack trace --- at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError) at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode, Func4 createOpenException) at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Func4 createOpenException) at System.IO.File.OpenHandle(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize) at System.IO.File.WriteToFile(String path, FileMode mode, String contents, Encoding encoding) at AdminList.AdminList.Load(Boolean hotReload) in E:\SteamLibrary\steamapps\common\Counter-Strike Global Offensive\game\csgo\addons\counterstrikesharp\plugins\AdminList\AdminList.cs:line 25 at CounterStrikeSharp.API.Core.Plugin.PluginContext.Load(Boolean hotReload) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/PluginContext.cs:line 201 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 52 at CounterStrikeSharp.API.Core.Plugin.Host.PluginManager.Load() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/Host/PluginManager.cs:line 34

Wrote that can't create config because haven't access to folder

@Ganji89420
Copy link
Author

Ganji89420 commented Dec 14, 2023

i got it to load, but it always says no admin online
20231214153056_1
Capture
20231214153216_1

css_admins_list is showing i have access

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants