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 ZombieSharp.dll due to invalid function pointer #645

Closed
Slush1998 opened this issue Oct 27, 2024 · 5 comments
Closed

Failed to load ZombieSharp.dll due to invalid function pointer #645

Slush1998 opened this issue Oct 27, 2024 · 5 comments
Labels
untriaged New issue has not been triaged

Comments

@Slush1998
Copy link

Hello, i have spent hours trying to fix this problem, but now im about to give up, so this is my last attempt. Can someone pls help me understand why it dosent load. Thanks

09:12:20 [EROR] (cssharp:PluginManager) Failed to load plugin from /home/container/game/csgo/addons/counterstrikesharp/plugins/ZombieSharp/ZombieSharp.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 CounterStrikeSharp.API.Modules.Memory.DynamicFunctions.BaseMemoryFunction.Hook(Func`2 handler, HookMode mode) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Modules/Memory/DynamicFunctions/BaseMemoryFunction.cs:line 62
at ZombieSharp.ZombieSharp.VirtualFunctionsInitialize() in E:\Github\ZombieSharp\ZombieSharp\VirtualFunctions.cs:line 38
at ZombieSharp.ZombieSharp.Load(Boolean HotReload) in E:\Github\ZombieSharp\ZombieSharp\ZombieSharp.cs:line 49
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

@github-actions github-actions bot added the untriaged New issue has not been triaged label Oct 27, 2024
@KillStr3aK
Copy link
Contributor

Hey, one of the signatures might be wrong? maybe give us a hint about whats going on inside ZombieSharp\VirtualFunctions.cs

@Slush1998
Copy link
Author

Hey thanks for replying, im not very good at this, but i cant find the ZombieSharp\VirtualFunctions.cs but should it be in this folder?
/game/csgo/addons/counterstrikesharp/plugins/ZombieSharp

Udklip

@KillStr3aK
Copy link
Contributor

That file is in the given plugin source code, seems like this issue is more related to the plugin itself rather than the CS# core
I believe one of the plugin dependencies has changed in the game and its not up to date with the latest one. maybe search for update or tell the developers that its outdated

@B3none
Copy link
Collaborator

B3none commented Nov 14, 2024

@B3none
Copy link
Collaborator

B3none commented Nov 14, 2024

As this is not an error with CounterStrikeSharp itself I'm going to close this issue. I'd recommend contacting the plugin's creator or posting an issue on their repo.

@B3none B3none closed this as completed Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
untriaged New issue has not been triaged
Projects
None yet
Development

No branches or pull requests

3 participants