GeoIP

Started by Crys, Sep 14, 2015, 08:22 AM

Previous topic - Next topic

Cool

Quote from: aXXo on May 31, 2016, 05:34 AMDidn'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

Quote from: Hercules on May 31, 2016, 09:37 AM
Quote from: aXXo on May 31, 2016, 05:34 AMDidn'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

It works on Linux x64 now.

aXXo

Yes, it works. (I was being a noob)

Crys

#34
I've updated the plugin to work with the latest server (Plugin API 2.0). Only Linux builds for now.

Kirollos

Quote from: Crys on Jul 31, 2016, 12:02 PMI'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

Quote from: Crys on Jul 31, 2016, 12:02 PMI'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

Quote from: Dagger on Apr 23, 2017, 08:18 AM
Quote from: Crys on Jul 31, 2016, 12:02 PMI'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 Aug 08, 2016, 04:43 AM
Quote from: Crys on Jul 31, 2016, 12:02 PMI'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)
???????
oh no

Dagger

Quote from: KAKAN on Apr 23, 2017, 08:28 AM
Quote from: Dagger on Apr 23, 2017, 08:18 AM
Quote from: Crys on Jul 31, 2016, 12:02 PMI'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 Aug 08, 2016, 04:43 AM
Quote from: Crys on Jul 31, 2016, 12:02 PMI'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

Quote from: Dagger on May 04, 2017, 04:25 PM
Quote from: KAKAN on Apr 23, 2017, 08:28 AM
Quote from: Dagger on Apr 23, 2017, 08:18 AM
Quote from: Crys on Jul 31, 2016, 12:02 PMI'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 Aug 08, 2016, 04:43 AM
Quote from: Crys on Jul 31, 2016, 12:02 PMI'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

I tested Linux x64 with both v23(04rel004) and v29(04rel006) server. Always get "(null : 0x(nil))".
Maybe geoip library is too old?
Code:
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

Quote from: ysc3839 on Jun 25, 2018, 03:59 PMI tested Linux x64 with both v23(04rel004) and v29(04rel006) server. Always get "(null : 0x(nil))".
Maybe geoip library is too old?
Code:
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 Irrelevant Club Discord: https://discord.gg/MsPPZ5uV4X

ysc3839

@rww #41 Maybe it's because GeoIP.dat incompatible? Can you upload an old one?

Crys

#43
I've updated the plugin to work with the latest server. Only Linux builds for now.

UPDATE: Windows builds added.

=RK=MarineForce

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
    if (country == null) reutrn "unknow");