AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Ip (https://forums.alliedmods.net/showthread.php?t=129177)

Merc3y 06-09-2010 21:21

Ip
 
How do I get other ip ?

as in how do i find their ip address?

however, is it possbile to cause a person lag without crashing server?

wrecked_ 06-09-2010 21:24

Re: Ip
 
get_user_ip()

Bugsy 06-09-2010 21:38

Re: Ip
 
Quote:

Originally Posted by Merc3y (Post 1204585)
however, is it possbile to cause a person lag without crashing server?

No, this is malicious.

Merc3y 06-09-2010 21:51

Re: Ip
 
Quote:

Originally Posted by wrecked_ (Post 1204589)
get_user_ip()

just get_user_ip( id ) ?

Merc3y 06-09-2010 21:51

Re: Ip
 
Quote:

Originally Posted by Bugsy (Post 1204596)
No, this is malicious.

or just make the ping high without lag ?

help with this, how do i make random words when this is print?

PHP Code:

new name[ ][ ] =
{
    
"1d",
    
"2d",
    
"3d"
}

namerandom_num0sizeof name-) ]

but didn't work 


Bugsy 06-09-2010 22:05

Re: Ip
 
get_user_ip ( index, ip[] , len, [ without_port ] )

PHP Code:

new szIP22 ];

//With port
get_user_ipid szIP charsmaxszIP ) );

//Without port
get_user_ipid szIP charsmaxszIP ) , );

//Try:
namerandomsizeofname ) ) ] 


RedRobster 06-10-2010 00:55

Re: Ip
 
You are trying to make people lag in your own server? Isn't that kind of counterintuitive?

Merc3y 06-10-2010 00:56

Re: Ip
 
Quote:

Originally Posted by Bugsy (Post 1204614)
get_user_ip ( index, ip[] , len, [ without_port ] )

PHP Code:

new szIP22 ];
 
//With port
get_user_ipid szIP charsmaxip ) );
 
//Without port
get_user_ipid szIP charsmaxip ) , );
 
//Try:
namerandomsizeofname ) ) ] 


Error:

PHP Code:

undefined symbol "ip"
get_user_ipid szIP charsmaxip ) ) howeverizzit this? %or %d


symbol is never used 
"name"

client_print(id,print_chat"name[ random( sizeof( name ) ) ]" 


fysiks 06-10-2010 01:56

Re: Ip
 
Quote:

Originally Posted by Merc3y (Post 1204703)
Error:

PHP Code:

undefined symbol "ip"
get_user_ipid szIP charsmaxip ) ) howeverizzit this? %or %d


symbol is never used 
"name"

client_print(id,print_chat"name[ random( sizeof( name ) ) ]" 


Change "ip" to "szIP".

Merc3y 06-10-2010 03:15

Re: Ip
 
Quote:

Originally Posted by fysiks (Post 1204732)
Change "ip" to "szIP".

How about this ?

PHP Code:

symbol is never used "name"

new name[ ][ ] =
{
    
"1d",
    
"2d",
    
"3d"
}

client_print(id,print_chat"name[ random( sizeof( name ) ) ]" 



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

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