[FilterScript] [FS] GetIpCountry
#1

GeoIp Country filterscript. Joined message:


Example mysql verzion:
pawn Код:
public
    OnPlayerConnect(playerid)
{
    new
        string[144],
        IP[16];
    GetPlayerIp(playerid, IP, sizeof IP);
    GetPlayerName(playerid, string, 24);
    format(string, sizeof string, "*** %s has joined the server | Country: %s |", string, GetIpCountry_mysql(IP));
    SendClientMessageToAll(0xC00000FF, string);
    return 1;
}
Credits:
Time test SQLite verzion:
Код:
[19:13:35]   Loading filter script 'IpToCountry.db.amx'...
[19:13:35] °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
[19:13:35] 	IpToCountry_db by Phento
[19:13:35] °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
[19:13:35] Time test | random ip: 92.237.111.236 | COUNTRY: United Kingdom
[19:13:35] Time: 20ms
[19:13:35] Time test | random ip: 100.133.235.249 | COUNTRY: Unknown
[19:13:35] Time: 101ms
[19:13:35] Time test | random ip: 149.190.35.91 | COUNTRY: European Union
[19:13:35] Time: 30ms
[19:13:35] Time test | random ip: 42.13.26.61 | COUNTRY: Korea Republic of
[19:13:35] Time: 7ms
[19:13:35] Time test | random ip: 28.47.77.75 | COUNTRY: United States
[19:13:35] Time: 4ms
[19:13:35] Time test | random ip: 74.94.102.93 | COUNTRY: United States
[19:13:35] Time: 27ms
[19:13:35] Time test | random ip: 242.188.7.163 | COUNTRY: Reserved
[19:13:35] Time: 97ms
[19:13:35] Time test | random ip: 39.239.152.142 | COUNTRY: Unknown
[19:13:35] Time: 89ms
[19:13:35] Time test | random ip: 14.156.24.48 | COUNTRY: China
[19:13:35] Time: 4ms
[19:13:35] Time test | random ip: 115.20.122.117 | COUNTRY: Korea Republic of
[19:13:35] Time: 58ms
Download:


Mysql verzion:
http://www.solidfiles.com/d/a7ce/
SQLite verzion:
http://solidfiles.com/d/9069/
Reply


Messages In This Thread
[FS] IpToCountry (Update11.03.19 added SQLite verzion ) - by smeti - 03.03.2010, 21:50
Re: [FS] GetIpCountry - by Noredine - 03.03.2010, 21:53
Re: [FS] GetIpCountry - by MinZ|Spark - 04.03.2010, 01:14
Re: [FS] GetIpCountry - by Lejo - 04.03.2010, 05:05
Re: [FS] GetIpCountry - by Brian_Furios - 04.03.2010, 06:55
Re: [FS] GetIpCountry - by Fj0rtizFredde - 04.03.2010, 06:59
Re: [FS] GetIpCountry - by Calgon - 04.03.2010, 07:22
Re: [FS] GetIpCountry - by not - 04.03.2010, 19:12
Re: [FS] GetIpCountry - by Fj0rtizFredde - 04.03.2010, 19:46
Re: [FS] GetIpCountry - by speedruntrainer - 04.03.2010, 23:13
Re: [FS] GetIpCountry - by not - 05.03.2010, 13:58
Re: [FS] GetIpCountry - by smeti - 05.03.2010, 15:50
Re: [FS] GetIpCountry - by smeti - 15.10.2010, 17:37
Re: [FS] GetIpCountry - by Aleluja - 15.10.2010, 17:57
Re: [FS] GetIpCountry - by royal_king - 15.10.2010, 18:12
Respuesta: [FS] GetIpCountry - by MrDeath537 - 16.10.2010, 01:53
Re: [FS] GetIpCountry - by [L3th4l] - 16.10.2010, 01:56
Re: [FS] GetIpCountry - by X35B - 16.10.2010, 02:16
Re: [FS] GetIpCountry - by Davz*|*Criss - 12.03.2011, 15:21
Re: [FS] GetIpCountry - by smeti - 17.03.2011, 17:09
Re: [FS] GetIpCountry - by Anker_by - 17.03.2011, 17:31
Re: [FS] GetIpCountry - by smeti - 17.03.2011, 18:25
Re: [FS] GetIpCountry - by Anker_by - 17.03.2011, 18:53
Re: [FS] GetIpCountry - by Venice - 18.03.2011, 10:59
Re: [FS] GetIpCountry - by smeti - 18.03.2011, 14:48
Re: [FS] GetIpCountry - by Venice - 18.03.2011, 22:24
Re: [FS] GetIpCountry - by smeti - 18.03.2011, 22:47
Re: [FS] GetIpCountry - by Venice - 18.03.2011, 22:56
Re: [FS] GetIpCountry - by smeti - 19.03.2011, 18:37
Re: [FS] GetIpCountry - by Venice - 19.03.2011, 19:23
Re: [FS] GetIpCountry - by TheArcher - 03.08.2011, 21:01
Re: [FS] GetIpCountry - by Horrible - 03.08.2011, 23:51

Forum Jump:


Users browsing this thread: 1 Guest(s)