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

Add new SV_ConnectClient hook and new native to get IP address #218

Closed
RauliTop opened this issue Oct 1, 2021 · 2 comments
Closed

Add new SV_ConnectClient hook and new native to get IP address #218

RauliTop opened this issue Oct 1, 2021 · 2 comments

Comments

@RauliTop
Copy link
Contributor

RauliTop commented Oct 1, 2021

This plugin: https://dev-cs.ru/threads/17518/

Requires SV_ConnectClient to catch the idle bot, but the hook isn't at reapi. So, they need to use Orpheu instead searching for signatures.

Also, it uses Con_Printf to get IP address of connected client, but @francoromaniello has the idea to create a new native called rh_get_net_from.

Other use of SV_ConnectClient can be create a slot reservation plugin with full server 32/32 like detailed here (not tested for me): https://forums.alliedmods.net/showthread.php?t=309040

@Giferns
Copy link
Contributor

Giferns commented Oct 1, 2021

we need this, not SV_ConnectClient. Here we have player index and can use get_user_ip().

@RauliTop
Copy link
Contributor Author

Closed as merged

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

2 participants