Skip to content

Implement SV_EmitPings() hook#212

Merged
wopox1337 merged 8 commits into
rehlds:masterfrom
francoromaniello:SV_EmitPings_hook
Oct 23, 2021
Merged

Implement SV_EmitPings() hook#212
wopox1337 merged 8 commits into
rehlds:masterfrom
francoromaniello:SV_EmitPings_hook

Conversation

@francoromaniello

Copy link
Copy Markdown
Contributor

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

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

wopox1337 commented Oct 20, 2021

Copy link
Copy Markdown
Member

@francoromaniello resolve conflicts please

@francoromaniello

Copy link
Copy Markdown
Contributor Author

Ready

@wopox1337 wopox1337 added the Type: 🚀 enhancement Improvement or addition of a new feature. label Oct 22, 2021
@wopox1337

wopox1337 commented Oct 22, 2021

Copy link
Copy Markdown
Member

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

@francoromaniello

francoromaniello commented Oct 23, 2021

Copy link
Copy Markdown
Contributor Author

you fixed with the virtual order fix ?

@wopox1337

Copy link
Copy Markdown
Member

@francoromaniello sure

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

Copy link
Copy Markdown

Hey,

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

Thanks.

@WaLkZa

WaLkZa commented Jan 11, 2022

Copy link
Copy Markdown

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

Labels

Type: 🚀 enhancement Improvement or addition of a new feature.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants