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

Implement SV_EmitPings() hook #212

Merged
merged 8 commits into from
Oct 23, 2021

Conversation

francoromaniello
Copy link
Contributor

Implement SV_EmitPings hook for dreamstalker/rehlds#858, dreamstalker/rehlds#857

@wopox1337 wopox1337 changed the title Implement SV_EmitPings hook Implement SV_EmitPings() hook Oct 20, 2021
@wopox1337
Copy link
Collaborator

wopox1337 commented Oct 20, 2021

@francoromaniello resolve conflicts please

@francoromaniello
Copy link
Contributor Author

Ready

@wopox1337
Copy link
Collaborator

wopox1337 commented Oct 22, 2021

@francoromaniello At the moment, when using a hook, the server crashes. Could you please fix that?

@francoromaniello
Copy link
Contributor Author

francoromaniello commented Oct 23, 2021

you fixed with the virtual order fix ?

@wopox1337
Copy link
Collaborator

@francoromaniello sure

@wopox1337 wopox1337 merged commit a16dfd0 into s1lentq:master Oct 23, 2021
@francoromaniello francoromaniello deleted the SV_EmitPings_hook branch October 23, 2021 12:56
@Biceeeeepss
Copy link

Hey,

There is any plugin now that can make use of this?

Thanks.

@WaLkZa
Copy link

WaLkZa commented Jan 11, 2022

Hey,

There is any plugin now that can make use of this?

Thanks.

Example with Orpheu
https://forums.alliedmods.net/showpost.php?p=1850998&postcount=8

The same with ReAPI

#include <amxmodx>
#include <reapi>

public plugin_init()
{
	RegisterHookChain( RH_SV_EmitPings, "OnSV_EmitPings" );
}

public OnSV_EmitPings()
{
	return HC_SUPERCEDE;
}

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

Successfully merging this pull request may close these issues.

None yet

4 participants