AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   New Plugin Submissions (https://forums.alliedmods.net/forumdisplay.php?f=26)
-   -   Chat Manager [Admin Prefix & Color Chat] (https://forums.alliedmods.net/showthread.php?t=297952)

Mordekay 01-04-2019 17:42

Re: Chat Manager [Admin Prefix & Color Chat]
 
We have been 3 today on our server to test it. None of us had the country-tag in front. All of us had the "?". I've already replaced the GeoLite2-Country.mmdb with the latest available version, still no effect.

Alber9091 01-04-2019 21:13

Re: Chat Manager [Admin Prefix & Color Chat]
 
Quote:

Originally Posted by Mordekay (Post 2632860)
We have been 3 today on our server to test it. None of us had the country-tag in front. All of us had the "?". I've already replaced the GeoLite2-Country.mmdb with the latest available version, still no effect.

Try to call anyone from another Region !!! Except yours?

OciXCrom 01-05-2019 08:40

Re: Chat Manager [Admin Prefix & Color Chat]
 
Try the /country command from this plugin and see if it works:

PHP Code:

#include <amxmodx>
#include <geoip>

#if !defined geoip_country_ex
    #define geoip_country_ex geoip_country
#endif

public plugin_init()
{
    
register_plugin("GeoIP Test""1.0""OciXCrom")
    
register_clcmd("say /country""Cmd_Country")
}

public 
Cmd_Country(id)
{
    new 
szCountry[45], szIP[32]
    
get_user_ip(idszIPcharsmax(szIP))
    
geoip_country_ex(szIPszCountrycharsmax(szCountry))
    
client_print(idprint_chat"Your country is %s."szCountry)
    return 
PLUGIN_HANDLED


If it doesn't work as well, the problem is in GeoIP. Tell me which AMXX version you're using.

Mordekay 01-05-2019 10:57

Re: Chat Manager [Admin Prefix & Color Chat]
 
It doesn't show my country.

Code:

rcon amxx modules
Currently loaded modules:
      name                    version    author              status   
 [ 1] Fun                    1.9.0.5235  AMX Mod X Dev Team  running   
 [ 2] CStrike                1.9.0.5235  AMX Mod X Dev Team  running   
 [ 3] CSX                    1.9.0.5235  AMX Mod X Dev Team  running   
 [ 4] MySQL                  1.9.0.5235  AMX Mod X Dev Team  running   
 [ 5] FakeMeta                1.9.0.5235  AMX Mod X Dev Team  running   
 [ 6] Ham Sandwich            1.9.0.5235  AMX Mod X Dev Team  running   
 [ 7] nVault                  1.9.0.5235  AMX Mod X Dev Team  running   
 [ 8] GeoIP                  1.9.0.5235  AMX Mod X Dev Team  running   
8 modules, 8 correct

] rcon amxx version
AMX Mod X 1.9.0.5235 (http://www.amxmodx.org)
Authors:
        David "BAILOPAN" Anderson, Pavol "PM OnoTo" Marko
        Felix "SniperBeamer" Geyer, Jonny "Got His Gun" Bergstrom
        Lukasz "SidLuke" Wlasinski, Christian "Basic-Master" Hammacher
        Borja "faluco" Ferrer, Scott "DS" Ehlert
Compiled: Dec 18 2018 01:20:00
Built from: https://github.com/alliedmodders/amxmodx/commit/6c53524
Build ID: 5235:6c53524
Core mode: JIT+ASM32

 rcon amxx list
Currently loaded plugins:
      name                    version    author            file            status 
 [  1] AMXBans Core            6.13        YamiKaitou        amxbans_core.am  running 
 [  2] AMXBans Main            6.13        YamiKaitou        amxbans_main.am  running 
 [  3] Admin Commands          1.9.0.5235  AMXX Dev Team    admincmd.amxx    running 
 [  4] Admin Help              1.9.0.5235  AMXX Dev Team    adminhelp.amxx  running 
 [  5] Slots Reservation      1.9.0.5235  AMXX Dev Team    adminslots.amxx  running 
 [  6] Multi-Lingual System    1.9.0.5235  AMXX Dev Team    multilingual.am  running 
 [  7] Menus Front-End        1.9.0.5235  AMXX Dev Team    menufront.amxx  running 
 [  8] Commands Menu          1.9.0.5235  AMXX Dev Team    cmdmenu.amxx    running 
 [  9] Players Menu            1.9.0.5235  AMXX Dev Team    plmenu.amxx      running 
 [ 10] Maps Menu              1.9.0.5235  AMXX Dev Team    mapsmenu.amxx    running 
 [ 11] Plugin Menu            1.9.0.5235  AMXX Dev Team    pluginmenu.amxx  running 
 [ 12] Admin Chat              1.9.0.5235  AMXX Dev Team    adminchat.amxx  running 
 [ 13] Anti Flood              1.9.0.5235  AMXX Dev Team    antiflood.amxx  running 
 [ 14] Scrolling Message      1.9.0.5235  AMXX Dev Team    scrollmsg.amxx  running 

 [ 15] Info. Messages          1.9.0.5235  AMXX Dev Team    imessage.amxx    running 
 [ 16] Admin Votes            1.9.0.5235  AMXX Dev Team    adminvote.amxx  running 
 [ 17] TimeLeft                1.9.0.5235  AMXX Dev Team    timeleft.amxx    running 
 [ 18] Pause Plugins          1.9.0.5235  AMXX Dev Team    pausecfg.amxx    running 
 [ 19] Stats Configuration    1.9.0.5235  AMXX Dev Team    statscfg.amxx    running 
 [ 20] Restrict Weapons        1.9.0.5235  AMXX Dev Team    restmenu.amxx    running 
 [ 21] StatsX                  1.9.0.5235  AMXX Dev Team    statsx.amxx      running 

 [ 22] CS Misc. Stats          1.9.0.5235  AMXX Dev Team    miscstats.amxx  running 
 [ 23] CS Stats Logging        1.9.0.5235  AMXX Dev Team    stats_logging.a  running 
 [ 24] Weapon Physics          2.1        Nomexous          weaponphys.amxx  running 
 [ 25] Drop All Weapons On De  0.4.0      ConnorMcLeod      death_weapons_d  running 
 [ 26] Back Weapons            1.87        hoboman313/cheap  backweapons.amx  running 
 [ 27] Anti Silent-run        1.2        Numb              antisilentrun.a  running 
 [ 28] Reloaded Weapons On Ne  2.1.0      ConnorMcLeod      autoreload_on_n  running 
 [ 29] Galileo                1.1.290    Brad Jones        galileo.amxx    running 

 [ 30] Lame Connection Punish  1.2        MeRcyLeZZ        lame_connection  running 
 [ 31] Reconnect Features      0.2.4 BETA  ConnorMcLeod      reconnect_featu  running 
 [ 32] Files Check            1.0        ConnorMcLeod      filescheck.amxx  running 
 [ 33] Killer's view          0.1.0      ConnorMcLeod      first_person_vi  running 
 [ 34] Grenade/C4 Fixes & Hud  1.2        Numb              grenade_c4_fixe  running 
 [ 35] HLstatsX CE Ingame Plu  1.6.19 (HL  psychonic        hlstatsx_comman  running 
 [ 36] GeoIP Test              1.0        OciXCrom          test.amxx        running 
 [ 37] AMXBans Flagged        6.13        YamiKaitou        amxbans_freeze.  running 
 [ 38] AMXBans Flagged        6.13        YamiKaitou        amxbans_flagged  running 
 [ 39] ATAC                    3.0.1      ATAC Team        atac.amxx        running 
 [ 40] Slap                    1.1        ATAC Team        atac_slap.amxx  running 
 [ 41] Slap2One                1.1        ATAC Team        atac_slap2one.a  running 
 [ 42] Slay                    1.1        ATAC Team        atac_slay.amxx  running 
 [ 43] Spawn Slay              1.0        ATAC Team        atac_spawnslay.  running 
 [ 44] Jail                    1.1        ATAC Team        atac_jail.amxx  running
 [ 45] Chicken                1.0        ATAC Team        atac_chicken.am  stopped 
 [ 46] Bury                    1.0        ATAC Team        atac_bury.amxx  running 
 [ 47] Glow                    1.0        ATAC Team        atac_glow.amxx  running 
 [ 48] Timebomb                1.1        ATAC Team        atac_bomb.amxx  running 
 [ 49] Blind                  1.0        ATAC Team        atac_blind.amxx  running 
 [ 50] Rocket                  1.0        ATAC Team        atac_rocket.amx  running 
 [ 51] Drop                    1.0        ATAC Team        atac_drop.amxx  running 
 [ 52] Fire                    1.0        ATAC Team        atac_fire.amxx  running 
 [ 53] Drug                    1.0        ATAC Team        atac_drug.amxx  running 
 [ 54] Bad Aim                1.1        ATAC Team        atac_badaim.amx  running 
 [ 55] Hud Messages            1.1        ATAC Team        atac_hudmsg.amx  running 
 [ 56] Team Attack            1.0        ATAC Team        atac_ta.amxx    running 
 [ 57] ATAC Commands          1.1        ATAC Team        atac_cmds.amxx  running 
 [ 58] ATAC AMXBans            1.1        ATAC Team        atac_amxbans.am  running 
58 plugins, 57 running


OciXCrom 01-05-2019 15:55

Re: Chat Manager [Admin Prefix & Color Chat]
 
Can you tell me your IP address so I can test with it on different AMXX versions?

Mordekay 01-05-2019 16:10

Re: Chat Manager [Admin Prefix & Color Chat]
 
I don't have a static address, so yes, i'll give you a few of my last ones, just in case.
141.0.12.132
141.0.13.214
84.58.106.189
92.72.253.189
178.1.206.70
92.209.108.100
141.0.12.131
141.0.12.137
141.0.12.139
203.213.79.98

OciXCrom 01-06-2019 09:04

Re: Chat Manager [Admin Prefix & Color Chat]
 
Okay, this is a problem. Just tested on both 1.8.2 and latest 1.9 dev-build. It didn't work on 1.9, but it worked on 1.8.2. Will report this to the AMXX team right away.

Mordekay 01-06-2019 09:12

Re: Chat Manager [Admin Prefix & Color Chat]
 
Thanks!
With this IP it worked: 88.76.10.47
WTF. It is hard to believe that i have to retry my connection 'til i have an IP that works.

segru 01-07-2019 14:15

Re: Chat Manager [Admin Prefix & Color Chat]
 
Amazing contributions you've made Oxi!

OciXCrom 01-07-2019 14:53

Re: Chat Manager [Admin Prefix & Color Chat]
 
@Mordekay - after some discussion, it turned out that the GeoIP files in the latest 1.9 were outdaded or corrupted. To fix the problem, simply download this file and put GeoLite2-Country.mmdb in the data folder. Also, if you want to show cities in chat, you'll need to download this file as well. I assume this will be fixed soon and a new 1.9 dev-build will be released with the files already included.

@segru - thanks!


All times are GMT -4. The time now is 10:01.

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