Originally Posted by ozrich
For at least one person in my server, it shows they're from UK but is actually in Australia. They're not using a VPN. Any help would be appreciated!
MaxMind, who are very kind to provide a free "Lite" database has recently discontinued the format with the typical "GeoIP.dat" file, so as per January 2, 2019 you will no longer see any updates in the GeoIP database there, read more here
An issue (GeoIP Legacy Discontinuation
), as well as a pull request (Add support for Maxmind GeoIP2 database files
) already exist, which will hopefully make SourceMod support the newer GeoIP2 format in the future.
The incorrect entries are more likely to be due to an old and non-up-to-date GeoIP.dat file, and not necessarily related to plugin itself nor the IsLanIP function or any other functions in the plugin.
I am afraid you will have to wait until those things are merged, and then once it's done, update your SourceMod.
And exactly as you mentioned with your example, you should also notice that there are no guarantee for accurate results with GeoIP:
According to MaxMind's own tests
, their GeoIP2 accuracy for Australia 15%, and for United Kingdom 58% accuracy in regards to mapping an IP address to an exact city. You will never find anything that is 100% accurate.