Raised This Month: $7 Target: $400
 1% 

Country On Name


Post New Thread Reply   
 
Thread Tools Display Modes
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 01-12-2019 , 10:12   Re: Country On Name
Reply With Quote #41

When using new AMX 1.9 with better UFT8 support this issue still exists. When somebody connects with non UTF-8 characters in name the server all but crashes.
__________________

Last edited by DJEarthQuake; 07-03-2019 at 16:33.
DJEarthQuake is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 03-14-2019 , 10:19   Re: Country On Name
Reply With Quote #42

Quote:
Originally Posted by Mordekay View Post
Any idea why it stopped working after I've updated my servers to 1.9? It shows [??] for all players
Dave inadvertently double compressed the MMDB.

Just expand it again or get a fresher copy from this month from MaxMind.
https://dev.maxmind.com/geoip/geoip2/geolite2/
__________________

Last edited by DJEarthQuake; 07-03-2019 at 11:53.
DJEarthQuake is offline
Indigozm
Junior Member
Join Date: Nov 2017
Old 03-22-2019 , 04:07   Re: Country On Name
Reply With Quote #43

Global error, as shown in the screenshot.
This is with bots, but when I bet on a working server where people from different countries play, everyone displayed questions
__________________

Last edited by Indigozm; 03-22-2019 at 04:09.
Indigozm is offline
Send a message via ICQ to Indigozm Send a message via Skype™ to Indigozm
Indigozm
Junior Member
Join Date: Nov 2017
Old 03-22-2019 , 04:08   Re: Country On Name
Reply With Quote #44

Global error, as shown in the screenshot.
This is with bots, but when I bet on a working server where people from different countries play, everyone displayed questions
__________________
Indigozm is offline
Send a message via ICQ to Indigozm Send a message via Skype™ to Indigozm
Relaxing
AlliedModders Donor
Join Date: Jun 2016
Location: White Plains
Old 03-22-2019 , 06:33   Re: Country On Name
Reply With Quote #45

BOT's IP is 127.0.0.1 known as localhost. So it will always throw a "??".
__________________
Relaxing is offline
Indigozm
Junior Member
Join Date: Nov 2017
Old 03-23-2019 , 12:46   Re: Country On Name
Reply With Quote #46

Rehlds does not display the country prefix.
amxmodx 1.9.0
On older versions, everything works well.
__________________
Indigozm is offline
Send a message via ICQ to Indigozm Send a message via Skype™ to Indigozm
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 03-25-2019 , 07:27   Re: Country On Name
Reply With Quote #47

Quote:
Originally Posted by Indigozm View Post
but when I bet on a working server where people from different countries play, everyone displayed questions
https://github.com/alliedmodders/amx...ment-453779234
__________________

Last edited by DJEarthQuake; 07-03-2019 at 11:56. Reason: clarity
DJEarthQuake is offline
sczw0w
New Member
Join Date: Jun 2019
Old 06-29-2019 , 00:23   Re: Country On Name
Reply With Quote #48

Can somebody changed it to show if a player is an admin by the flag in user.ini ?
Thanks if someone will help me
sczw0w is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 07-01-2019 , 14:04   Re: Country On Name
Reply With Quote #49

Code:
public client_putinserver( id ) {         if( is_user_admin( id) ) return;

Quote:
if( is_user_admin( id) ) return;
That provides admin anonymity and uniqueness. Longer tag and more symbols enters the realm of diminishing returns so that 1 line does the opposite.
__________________
DJEarthQuake is offline
Godofwar
AlliedModders Donor
Join Date: Dec 2015
Location: Germany
Old 07-03-2019 , 04:05   Re: Country On Name
Reply With Quote #50

Bullshit. Use SXGEO as Module + GEOIP Country Namens, activate geoip in modules.ini too. I am running this and all is fine.

https://www.amxx-bg.info/viewtopic.php?t=4113 = SXGEO

Geoip use the last ones from amxmodx versions.

And then u need Plugin Country on Namens like this what i am using in attachments

Look , works fine https://funkyimg.com/i/2VcPs.jpg

And for the UTF8 Updates for the Country IPS use: https://sypexgeo.net/ru/download/ for SXGEO and https://dev.maxmind.com/geoip/geoip2/geolite2/ for geoip
Attached Files
File Type: sma Get Plugin or Get Source (country_on_name_with_cvars.sma - 327 views - 2.4 KB)

Last edited by Godofwar; 07-03-2019 at 04:06.
Godofwar is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:36.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode