-
-
Notifications
You must be signed in to change notification settings - Fork 427
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
Optional natives coming from an extension stop working when the extension is reloaded #2169
Comments
It's unfortunate that you deleted the template, as this has (binding) seen significant work since 1.5, 1.6, 1.7, 1.8, and I think 1.10. What version of sourcemod are you running? |
I'm using bleeding edge sourcemod and this has been a problem for as long as I can remember. |
I wrote some untested pseudocode. The logic is to go through all the plugins, find any unbound optional natives, and rebind them. Do you know if this will work?
|
If you have optional natives coming from an extension, they stop working when you reload the extension.
If they come from a plugin instead, if you reload the plugin that provides the natives, they continue to work.
I've spent some time trying to see if it's an easy solution but it appears to be quite complex because "fake natives" which I assume are plugin natives, seem to have an entirely different implementation.
The text was updated successfully, but these errors were encountered: