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

Streamer in conflict with sampGDK #7

Closed
TheHoda opened this issue Jun 29, 2014 · 1 comment
Closed

Streamer in conflict with sampGDK #7

TheHoda opened this issue Jun 29, 2014 · 1 comment

Comments

@TheHoda
Copy link

TheHoda commented Jun 29, 2014

After 10 days of working with sampGDK I couldn't find any way to hook all callbacks(sa-mp natives and also plugin callbacks).
Then I decided to look into streamer code and I found that breaking after following line is in conflict with generic hooking amx_FindPublic and amx_Exec

     if (p->second->amx != interface)

I have commented all breaks after this line and now sampGDK can interop normally.
Either you should choose a different way for what you are achieving with that break or should forget about breaking. Otherwise this plugin won't be usable alongside sampGDK.
Hint : sampGDK uses a fake amx instance which this might be related with this problem.

@TheHoda
Copy link
Author

TheHoda commented Jun 30, 2014

Awww I had to call streamer hooks!!!

@TheHoda TheHoda closed this as completed Jun 30, 2014
@saya1337 saya1337 mentioned this issue Sep 15, 2015
@samp-pinch samp-pinch mentioned this issue Oct 11, 2017
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

1 participant