Author Topic: ULX GeoIP -- Look up geographical information on a user based on their IP  (Read 24721 times)

0 Members and 2 Guests are viewing this topic.

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: ULX GeoIP -- Look up geographical information on a user based on their IP
« Reply #15 on: November 09, 2014, 12:33:46 PM »
Update v1.0.1.0

Added net messages instead of SendLua, and changed GeoIP database. It's an easy swap back if you choose.
https://github.com/BytewaveMLP/ULXGeoIP/releases/tag/v1.0.1.0
bw81@ulysses-forums ~ % whoami
Homepage

Offline JabbaTheWut

  • Newbie
  • *
  • Posts: 35
  • Karma: -3
  • The Noob.
Re: ULX GeoIP -- Look up geographical information on a user based on their IP
« Reply #16 on: January 13, 2015, 07:25:31 PM »
How do I install it? I put the lua folder in the ulx lua folder but it did nothing. What I am i doing wrong??
I might be one of the stupidest people you will ever meet.

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: ULX GeoIP -- Look up geographical information on a user based on their IP
« Reply #17 on: January 13, 2015, 07:29:25 PM »
How do I install it? I put the lua folder in the ulx lua folder but it did nothing. What I am i doing wrong??
Just extract the zip, drop the ULXGeoIP-master folder in your /addons/ folder and reboot your server.

NOTE: If your server runs on Linux, make sure to rename the folder to something in all lowercase.
« Last Edit: January 13, 2015, 07:31:11 PM by Bytewave »
bw81@ulysses-forums ~ % whoami
Homepage

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ULX GeoIP -- Look up geographical information on a user based on their IP
« Reply #18 on: January 13, 2015, 08:15:55 PM »
And never put stuff in the ulx\lua folder unless specifically told to by a ulx module developer.
(And then come tell us the bad developer telling you to, because, they should be using better practice)
/addons is virtualised for a reason.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline JabbaTheWut

  • Newbie
  • *
  • Posts: 35
  • Karma: -3
  • The Noob.
Re: ULX GeoIP -- Look up geographical information on a user based on their IP
« Reply #19 on: January 28, 2015, 05:25:25 PM »
I cant target anyone when I try to I get an error: Command "ulx geoip", argument #1: you cannot target this person
I might be one of the stupidest people you will ever meet.

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: ULX GeoIP -- Look up geographical information on a user based on their IP
« Reply #20 on: January 28, 2015, 07:41:33 PM »
I cant target anyone when I try to I get an error: Command "ulx geoip", argument #1: you cannot target this person

Sure your can_target is set correctly? As far as I know, this runs fine in my environment.
EDIT: Try re-cloning now. I changed a bit of the code that may have been causing issues.
« Last Edit: January 28, 2015, 07:47:38 PM by Bytewave »
bw81@ulysses-forums ~ % whoami
Homepage

Offline idontcare

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: ULX GeoIP -- Look up geographical information on a user based on their IP
« Reply #21 on: November 18, 2015, 06:06:46 AM »
The public API will permanently shut down on November 15th, 2015. More information can be found here.

To continue using Telize after this date, please spin up your own instance or subscribe to a paid plan.

http://www.telize.com/

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: ULX GeoIP -- Look up geographical information on a user based on their IP
« Reply #22 on: November 18, 2015, 08:44:53 AM »
The public API will permanently shut down on November 15th, 2015. More information can be found here.

To continue using Telize after this date, please spin up your own instance or subscribe to a paid plan.

http://www.telize.com/
Fortunately the GeoIP database is easy to change; it just parses the JSON object to a Lua array and prints it out. I can go ahead and revert it to FreeGeoIP. Thank you for the heads up!
« Last Edit: November 18, 2015, 10:53:33 AM by Bytewave »
bw81@ulysses-forums ~ % whoami
Homepage

Offline BobTheDuck

  • Newbie
  • *
  • Posts: 5
  • Karma: -2
Re: ULX GeoIP -- Look up geographical information on a user based on their IP
« Reply #23 on: February 18, 2016, 04:40:06 PM »
Fixed?

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
bw81@ulysses-forums ~ % whoami
Homepage

Offline BobTheDuck

  • Newbie
  • *
  • Posts: 5
  • Karma: -2
Re: ULX GeoIP -- Look up geographical information on a user based on their IP
« Reply #25 on: February 19, 2016, 08:26:23 AM »
I get an error when using it.

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: ULX GeoIP -- Look up geographical information on a user based on their IP
« Reply #26 on: February 19, 2016, 02:46:45 PM »
I get an error when using it.
Please post your error here. I can't do much more unless I have the error text in front of me.
Last I checked, the addon was working fine.
bw81@ulysses-forums ~ % whoami
Homepage

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
freegeoip.net no longer exists/connects for me.
telize.com no longer allows free lookups.

"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
freegeoip.net no longer exists/connects for me.
telize.com no longer allows free lookups.


FreeGeoIP's been kinda flaky last I checked. I think there's another API out there I could swap over to.
bw81@ulysses-forums ~ % whoami
Homepage