Detect "range ips" with GetPlayerIP.
#5

Quote:
Originally Posted by leong124
Посмотреть сообщение
A single strcmp will not work IMO.
Don't think of using the "length" parameter in strcmp, or getting the first few digits of the IP, because the length of IPs are different.
If you try to get first 5 characters of the IP then it may get something like "11.12","111.2",
while their actual IP is "11.123.200.1","111.213.65.30",etc..
Not bad, thank you for explaining.
Reply


Messages In This Thread
Detect "range ips" with GetPlayerIP. - by Biesmen - 24.05.2011, 14:20
Re: Detect "range ips" with GetPlayerIP. - by gamer931215 - 24.05.2011, 14:27
Re: Detect "range ips" with GetPlayerIP. - by Biesmen - 24.05.2011, 14:31
Re: Detect "range ips" with GetPlayerIP. - by leong124 - 24.05.2011, 14:47
Re: Detect "range ips" with GetPlayerIP. - by Biesmen - 24.05.2011, 14:52

Forum Jump:


Users browsing this thread: 4 Guest(s)