Geoip choice?
#1

Hello

Im interested by the script who check the country of players.

There are https://sampforum.blast.hk/showthread.php?tid=32509 old and use a plugin and .dat

and https://sampforum.blast.hk/showthread.php?tid=296171&page=2 can to use mysql ( I want it ) but the author say "I highly recommend you dont use mysql!" I need to +- 80.000 lines mysql for it and this command
Код:
format(string, sizeof(string), "SELECT cn FROM ip_country WHERE ip_to >= INET_ATON(\"%s\") ORDER BY ip_to ASC LIMIT 1", ip);
I don't want a script who to connect on a website for to check the country.

What's the better? fast? less memory/cpu usage? for more 150 players.

Regards.
Reply
#2

I would preffer Mysql since u could dump and always reopen data.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)