Cool

  • Hero Member
  • Posts: 719
Re: GeoIP
« Reply #30, on May 31st, 2016, 10:37 AM »
Quote from aXXo on May 31st, 2016, 06:34 AM
Didn't work,
index geoip_country_name_by_addr not found. The Windows version works fine.
that problem can cause due to wrong paste where you put that change its place may be its works :P

Thijn

  • VC:MP Beta Tester
  • Posts: 1,688
Re: GeoIP
« Reply #31, on May 31st, 2016, 05:16 PM »
Quote from Hercules on May 31st, 2016, 10:37 AM
Quote from aXXo on May 31st, 2016, 06:34 AM
Didn't work,
index geoip_country_name_by_addr not found. The Windows version works fine.
that problem can cause due to wrong paste where you put that change its place may be its works :P
If it works on windows it aint a copy-paste error.

DizzasTeR

  • VC:MP Beta Tester
  • Infinite loops defy infinity by overflowing memory
  • Posts: 1,141
Re: GeoIP
« Reply #32, on May 31st, 2016, 06:39 PM »
It works on Linux x64 now.

aXXo

  • Full Member
  • Posts: 167
Re: GeoIP
« Reply #33, on June 1st, 2016, 07:43 AM »
Yes, it works. (I was being a noob)

Crys

  • Newbie
  • Posts: 13
Re: GeoIP
« Reply #34, on July 31st, 2016, 01:02 PM »Last edited
I've updated the plugin to work with the latest server (Plugin API 2.0). Only Linux builds for now.

Kirollos

  • Newbie
  • Posts: 21
Re: GeoIP
« Reply #35, on August 8th, 2016, 05:43 AM »
Quote from Crys on July 31st, 2016, 01:02 PM
I've updated the plugin to work with the latest server (Plugin API 2.0). Only Linux builds for now.
Hello, I've managed to compile them for Windows. Link (You might need vcredist 2015)

Dagger

  • Newbie
  • Posts: 8
Re: GeoIP
« Reply #36, on April 23rd, 2017, 09:18 AM »
Quote from Crys on July 31st, 2016, 01:02 PM
I've updated the plugin to work with the latest server (Plugin API 2.0). Only Linux builds for now.
Can you please make for windows?

KAKAN

  • Wiki Contributor
  • Posts: 3,343
Re: GeoIP
« Reply #37, on April 23rd, 2017, 09:28 AM »
Quote from Dagger on April 23rd, 2017, 09:18 AM
Quote from Crys on July 31st, 2016, 01:02 PM
I've updated the plugin to work with the latest server (Plugin API 2.0). Only Linux builds for now.
Can you please make for windows?
Quote from Kirollos on August 8th, 2016, 05:43 AM
Quote from Crys on July 31st, 2016, 01:02 PM
I've updated the plugin to work with the latest server (Plugin API 2.0). Only Linux builds for now.
Hello, I've managed to compile them for Windows. Link (You might need vcredist 2015)
???????
You can contact me using Discord, at Developers.CPP( check off-board to find the invite link )
Github: https://github.com/theKAKAN

Dagger

  • Newbie
  • Posts: 8
Re: GeoIP
« Reply #38, on May 4th, 2017, 05:25 PM »
Quote from KAKAN on April 23rd, 2017, 09:28 AM
Quote from Dagger on April 23rd, 2017, 09:18 AM
Quote from Crys on July 31st, 2016, 01:02 PM
I've updated the plugin to work with the latest server (Plugin API 2.0). Only Linux builds for now.
Can you please make for windows?
Quote from Kirollos on August 8th, 2016, 05:43 AM
Quote from Crys on July 31st, 2016, 01:02 PM
I've updated the plugin to work with the latest server (Plugin API 2.0). Only Linux builds for now.
Hello, I've managed to compile them for Windows. Link (You might need vcredist 2015)
???????
Its not working for me. I have loaded that plugin too.

Kirollos

  • Newbie
  • Posts: 21
Re: GeoIP
« Reply #39, on May 4th, 2017, 08:52 PM »
Quote from Dagger on May 4th, 2017, 05:25 PM
Quote from KAKAN on April 23rd, 2017, 09:28 AM
Quote from Dagger on April 23rd, 2017, 09:18 AM
Quote from Crys on July 31st, 2016, 01:02 PM
I've updated the plugin to work with the latest server (Plugin API 2.0). Only Linux builds for now.
Can you please make for windows?
Quote from Kirollos on August 8th, 2016, 05:43 AM
Quote from Crys on July 31st, 2016, 01:02 PM
I've updated the plugin to work with the latest server (Plugin API 2.0). Only Linux builds for now.
Hello, I've managed to compile them for Windows. Link (You might need vcredist 2015)
???????
Its not working for me. I have loaded that plugin too.
@Dagger
Make sure vcredist 2015 is installed (x86 if you are gonna run x86 server, x64 for otherwise)
https://www.microsoft.com/en-eg/download/details.aspx?id=48145

ysc3839

  • VC:MP Beta Tester
  • Posts: 621
Re: GeoIP
« Reply #40,  »
I tested Linux x64 with both v23(04rel004) and v29(04rel006) server. Always get "(null : 0x(nil))".
Maybe geoip library is too old?
Code:
Code: [Select]
function onConsoleInput(cmd, arg)
{
print(cmd + " " + arg);
if (cmd == "ip")
{
print(geoip_country_code_by_addr(arg));
print(geoip_country_code3_by_addr(arg));
print(geoip_country_name_by_addr(arg));
}
}

rww

  • VC:MP Beta Tester
  • LU-DM Team
  • Posts: 391
Re: GeoIP
« Reply #41,  »
Quote from ysc3839 on June 25th, 2018, 04:59 PM
I tested Linux x64 with both v23(04rel004) and v29(04rel006) server. Always get "(null : 0x(nil))".
Maybe geoip library is too old?
Code:
Code: [Select]
function onConsoleInput(cmd, arg)
{
print(cmd + " " + arg);
if (cmd == "ip")
{
print(geoip_country_code_by_addr(arg));
print(geoip_country_code3_by_addr(arg));
print(geoip_country_name_by_addr(arg));
}
}
Here also Linux x64


Join to LU-DM Team Discord: https://discord.gg/PFwem6J

ysc3839

  • VC:MP Beta Tester
  • Posts: 621
Re: GeoIP
« Reply #42,  »
@rww #41 Maybe it's because GeoIP.dat incompatible? Can you upload an old one?

Crys

  • Newbie
  • Posts: 13
Re: GeoIP
« Reply #43,  »Last edited
I've updated the plugin to work with the latest server. Only Linux builds for now.

UPDATE: Windows builds added.

=RK=MarineForce

  • Sr. Member
  • WAR IS HELL!
  • Posts: 472
Re: GeoIP
« Reply #44,  »
hey bro i can't install this properly. can u help me?


i have downloaded plugin geoip.dat in my server but didn't work don''t sending data into joining server when player join it will show message but not showing .

updated untested
Code: [Select]
    if (country == null) reutrn "unknow");
Try to UnderStand ME!