Ulysses Stuff > Releases

ULX GeoIP -- Look up geographical information on a user based on their IP

(1/6) > >>

Bytewave:
Hello, everyone!

I'd recently made a geo-IP location tool for ULX, and thought I'd release it for public use.

So, without further adieu, I present ULX GeoIP.

This tool allows you to query a GeoIP database (the script uses this one) to get semi-detailed geographical location on a user.

The applications? Lag testing, debugging, et cetera.

BIG SCARY NOTE: Please provide some kind of easily visible disclaimer to your server's MOTD or similar to prevent potential legal issues. I take no responsibility for misuse of this addon.

This script is provided free of charge, under the note that- if used maliciously, it could result in legal action against you. Again, I take no responsibility for the misuse of this script.

Some information this script provides (results may vary depending on ISP and country, also not 100% accurate):

* Country
* State/Region
* City
* Postal code
* Latitude
* Longitude
* Area code
Commands:
ulx geoip <player>/!geoip <player> - Print the GeoIP data of a user to your console.

This script works for both client and server. Default access is for superadmins only.

Links:

* Source
* Downloads
* Facepunch Thread
I will reiterate once more: I do not take any responsibility whatsoever for the misuse of this addon. Any and all misuse is the fault of the end-user.

Megiddo:
This is pretty sweet!

Bytewave:

--- Quote from: Megiddo on October 25, 2014, 04:52:08 PM ---This is pretty sweet!

--- End quote ---
Happy to hear that!
I'd used FreeGeoIP for quite a while, and- because they have a REST API- thought "Hey, why not build a Lua script so I don't have to tab out every time I want to get someone's location (for lag purposes)?"
So I did, and here we are.

JamminR:
Without me going and looking, do they have a limited TOS?
Meaning, only so many look ups per day/timeframe?
I've seen server IPs banned from some tools like this due to TOS abuse.

Either way, nice idea.
If there is a TOS limit, perhaps add the limit to the script.
Would hate to hit it, but, at least it would tell us instead of an odd error/complaint here asking 'it breaks randomly'

EDIT - WOW.
1) It doesn't just list the lat/long of where my ISP is located, but, it lists the actual location of where the cable plant office/ splits for of my IP (I've rarely seen this accuracy in geo services)
2) Quote from the site "Limits - API usage is limited to 10,000 queries per hour."

Though it might be good to include that in the script anyway, 10000 is likely never to be hit, even if one were to set up the command for all player joins.

Decicus:

--- Quote from: JamminR on October 25, 2014, 07:17:59 PM ---Without me going and looking, do they have a limited TOS?
Meaning, only so many look ups per day/timeframe?
I've seen server IPs banned from some tools like this due to TOS abuse.

Either way, nice idea.
If there is a TOS limit, perhaps add the limit to the script.
Would hate to hit it, but, at least it would tell us instead of an odd error/complaint here asking 'it breaks randomly'

--- End quote ---
Their website says it's 10,000 queries per hour, so it's highly unlikely anyone is going to hit that.

Navigation

[0] Message Index

[#] Next page

Go to full version