Posts: 933
Threads: 62
Joined: May 2011
Reputation:
0
I don't understand you...
Posts: 372
Threads: 63
Joined: Aug 2010
Reputation:
0
No. Almost 100% of people would have a "valid" IP address.
Posts: 1,988
Threads: 17
Joined: Apr 2011
Reputation:
0
Where you get the player's IP?
Posts: 95
Threads: 17
Joined: Apr 2010
Reputation:
0
Some players hide their IP adress and it returns, when using GetPlayerIp as "Unknown" or "None". So I am just wondering if the fix above would help. Because I have experienced it before and today, today some DDoSer DDoSed my server, heavily and I wanted to know if the above script would possibly fix it.
Posts: 164
Threads: 26
Joined: Aug 2010
Reputation:
0
No, it dont fix the ddos, it's a attack of services, you can't fix it with a simple kick. (Its not SAMP/GTA side)
Posts: 95
Threads: 17
Joined: Apr 2010
Reputation:
0
I meant if it would get rid of the player from login in with an invalid Ip Adress.
Posts: 1,239
Threads: 16
Joined: Mar 2011
Reputation:
0
There is no such thing as invalid IP Adress. Every IP is valid
Posts: 1,417
Threads: 6
Joined: May 2008
Reputation:
0
You're basically comparing strings, use strcmp for that. That's the technical side, but practically that check is useless.
Posts: 95
Threads: 17
Joined: Apr 2010
Reputation:
0
Why is it useless, people use an ip hider to manage some sort of way to not to display their ip adress. In that case when we check their ip it results in "None" or "Unknown", just believe it, it happends. I made a mistake in the script but still you got the idea of it, and why shouldn't it be succesful?