[Include] Proxy Detector - UserFriendly, Stable. (Originaly by Gnikllort)
#12

Skimmed through this, one thing that caught my eye:
Quote:

new ip[16];
GetPlayerIp(playerid, ip, sizeof(ip));
if(strcmp(ip, "127.0.0.1", true) == 0) return 1;

Why check this in the HTTP response, when you're already getting their IP address within OnPlayerConnect? Also I'd suggest making some more things more dynamic, the delay kick for example. Something such as:

Код:
SetTimerEx(...PROXY_KICK_DELAY,...

#if !defined PROXY_KICK_DELAY
     #define PROXY_KICK_DELAY (1000)
#endif
You should also prefix the function, something such as "PROXY_DelayedKick" to avoid potential script conflicts.
Reply


Messages In This Thread
Proxy Detector - UserFriendly, Stable. (Originaly by Gnikllort) - by Xeon™ - 05.01.2018, 22:16
Re: Proxy Detector - UserFriendly, Stable. (Originaly by Gnikllort) - by RogueDrifter - 05.01.2018, 22:21
Re: Proxy Detector - UserFriendly, Stable. (Originaly by Gnikllort) - by Xeon™ - 05.01.2018, 22:24
Re: Proxy Detector - UserFriendly, Stable. (Originaly by Gnikllort) - by iLearner - 06.01.2018, 05:31
Re: Proxy Detector - UserFriendly, Stable. (Originaly by Gnikllort) - by gurmani11 - 06.01.2018, 06:03
Re: Proxy Detector - UserFriendly, Stable. (Originaly by Gnikllort) - by jlalt - 06.01.2018, 06:07
Re: Proxy Detector - UserFriendly, Stable. (Originaly by Gnikllort) - by RogerCosta - 06.01.2018, 13:33
Re: Proxy Detector - UserFriendly, Stable. (Originaly by Gnikllort) - by Xeon™ - 06.01.2018, 14:42
Re: Proxy Detector - UserFriendly, Stable. (Originaly by Gnikllort) - by Younes44 - 06.01.2018, 18:53
Re: Proxy Detector - UserFriendly, Stable. (Originaly by Gnikllort) - by RogueDrifter - 07.01.2018, 02:39
Re: Proxy Detector - UserFriendly, Stable. (Originaly by Gnikllort) - by solstice_ - 07.01.2018, 03:48
Re: Proxy Detector - UserFriendly, Stable. (Originaly by Gnikllort) - by Abagail - 07.01.2018, 03:58
Re: Proxy Detector - UserFriendly, Stable. (Originaly by Gnikllort) - by Xeon™ - 07.01.2018, 12:51
Re: Proxy Detector - UserFriendly, Stable. (Originaly by Gnikllort) - by Logic_ - 07.01.2018, 13:13
Re: Proxy Detector - UserFriendly, Stable. (Originaly by Gnikllort) - by Xeon™ - 07.01.2018, 13:20
Re: Proxy Detector - UserFriendly, Stable. (Originaly by Gnikllort) - by Logic_ - 07.01.2018, 13:43
Re: Proxy Detector - UserFriendly, Stable. (Originaly by Gnikllort) - by RogerCosta - 07.01.2018, 15:50
Re: Proxy Detector - UserFriendly, Stable. (Originaly by Gnikllort) - by Xeon™ - 07.01.2018, 17:19
Re: Proxy Detector - UserFriendly, Stable. (Originaly by Gnikllort) - by iLearner - 07.01.2018, 17:27
Re: Proxy Detector - UserFriendly, Stable. (Originaly by Gnikllort) - by Hunud - 07.01.2018, 17:32
Re: Proxy Detector - UserFriendly, Stable. (Originaly by Gnikllort) - by RogueDrifter - 07.01.2018, 17:48
Re: Proxy Detector - UserFriendly, Stable. (Originaly by Gnikllort) - by BulletRaja - 08.01.2018, 09:10
Re: Proxy Detector - UserFriendly, Stable. (Originaly by Gnikllort) - by HydraHumza - 10.01.2018, 16:52
Re: Proxy Detector - UserFriendly, Stable. (Originaly by Gnikllort) - by iLearner - 10.01.2018, 17:07

Forum Jump:


Users browsing this thread: 1 Guest(s)