AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [Orpheu/Rage] Trying to get client IP after connect packet was sent (https://forums.alliedmods.net/showthread.php?t=237636)

Neeeeeeeeeel.- 03-27-2014 17:30

[Orpheu/Rage] Trying to get client IP after connect packet was sent
 
Is it possible to get client IP at this point? Using Orpheu or Rage.

PHP Code:

#include <amxmodx> 
#include <orpheu> 
 
public plugin_precache(){ 
    
OrpheuRegisterHook(OrpheuGetFunction("SV_ConnectClient"),"OnSV_ConnectClient"

 
public 
OrpheuHookReturn:OnSV_ConnectClient(){ 
    static 
info[512]; 
    
info[0] = '^0' ;
    
read_argv(4infocharsmax(info)); 
    
console_print("%s"info); 
    return 
OrpheuIgnored ;



Kiske 03-27-2014 19:03

Re: [Orpheu/Rage] Trying to get client IP after connect packet was sent
 
https://forums.alliedmods.net/showthread.php?t=188834
Nop ?

Neeeeeeeeeel.- 03-27-2014 20:05

Re: [Orpheu/Rage] Trying to get client IP after connect packet was sent
 
Quote:

Originally Posted by Kiske (Post 2116681)

When I made that thread, rage wasn't developed yet

wickedd 03-27-2014 20:18

Re: [Orpheu/Rage] Trying to get client IP after connect packet was sent
 
Quote:

Originally Posted by Neeeeeeeeeel.- (Post 2116692)
When I made that thread, rage wasn't developed yet

Yes it was.

Neeeeeeeeeel.- 03-27-2014 21:18

Re: [Orpheu/Rage] Trying to get client IP after connect packet was sent
 
Quote:

Originally Posted by wickedd (Post 2116698)
Yes it was.

You are right :fox:

Btw, is it possible with rage?


All times are GMT -4. The time now is 05:56.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.