Error sxgeo_connect_info

Сообщения
290
Реакции
28
Помог
2 раз(а)
Ошибка
L 03/06/2021 - 18:40:26: [SxGeo] SxGeo: isn't available
L 03/06/2021 - 18:40:26: [AMXX] Displaying debug trace (plugin "sxgeo_connect_info.amxx", version "1.0")
L 03/06/2021 - 18:40:26: [AMXX] Run time error 10: native error (native "sxgeo_country")
L 03/06/2021 - 18:40:26: [AMXX] [0] sxgeo_connect_info.sma::client_putinserver (line 37)
ОС
Linux
Amx Mod X
1.9.0.5271
Билд
version
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
ReHLDS version: 3.7.0.693-dev
Build date: 18:20:58 Jan 28 2020 (2117)
Build from: https://github.com/dreamstalker/rehlds/commit/c4cecf5
ReGamedll
game version
ReGameDLL version: 5.20.0.492-dev
Build date: 15:26:35 Jan 4 2021
Build from: https://github.com/s1lentq/ReGameDLL_CS/commit/aae507c
Версия Metamod
meta version
Metamod-r v1.3.0.128, API (5:13)
Metamod-r build: 17:47:54 Aug 24 2018
Metamod-r from: https://github.com/theAsmodai/metamod-r/commit/0cf2f70
Dropped Indian street curry from server
Список метамодулей
meta list
Currently loaded plugins:
description stat pend file vers src load unload
[ 1] Reunion RUN - reunion_mm_i386.so v0.1.92d ini Start Never
[ 2] ReAuthCheck RUN - reauthcheck_mm_i386.so v0.1.6 ini Start Never
[ 3] Rechecker RUN - rechecker_mm_i386.so v2.5 ini Chlvl ANY
[ 4] AMX Mod X RUN - amxmodx_mm_i386.so v1.9.0.5271 ini Start ANY
[ 5] ReSemiclip RUN - resemiclip_mm_i386.so v2.3.9 ini Chlvl ANY
[ 6] WHBlocker RUN - whblocker_mm_i386.so v1.5.696 ini Chlvl ANY
[ 7] ReSRDetector RUN - resrdetector_mm_i386.so v0.1.0 ini Chlvl ANY
[ 8] hackdetector RUN - hackdetector_amxx_i386.so v0.15.328.lite pl4 ANY ANY
[ 9] Hide Cvars RUN - hidecvars_amxx_i386.so v1.0 pl4 ANY ANY
[10] AuthEmu RUN - authemu_amxx_i386.so v5.2.12.425-dev pl4 ANY Never
[11] FakeMeta RUN - fakemeta_amxx_i386.so v1.9.0.5271 pl4 ANY ANY
[12] Engine RUN - engine_amxx_i386.so v1.9.0.5271 pl4 ANY ANY
[13] MySQL RUN - mysql_amxx_i386.so v1.9.0.5271 pl4 ANY ANY
[14] ReAPI RUN - reapi_amxx_i386.so v5.19.0.211-dev pl4 ANY Never
[15] CStrike RUN - cstrike_amxx_i386.so v1.9.0.5271 pl4 ANY ANY
[16] CSX RUN - csx_amxx_i386.so v1.9.0.5263 pl4 ANY ANY
[17] Ham Sandwich RUN - hamsandwich_amxx_i386.so v1.9.0.5271 pl4 ANY ANY
[18] ReAimDetector RUN - reaimdetector_amxx_i386.so v0.2.2 pl4 ANY Never
[19] GeoIP RUN - geoip_amxx_i386.so v1.9.0.5271 pl4 ANY ANY
[20] Fun RUN - fun_amxx_i386.so v1.9.0.5271 pl4 ANY ANY
[21] SteamTools RUN - steamtools_amxx_i386.so v1.2.0 pl4 ANY ANY
[22] SxGeo RUN - sxgeo_amxx_i386.so v2.3 pl4 ANY Never
22 plugins, 22 running
Список плагинов
amxx plugins
Currently loaded plugins:
name version author file status
[ 1] FreshBans 1.4.3b kanagava fresh_bans_143_ running
[ 2] WebHS 0.1 kanagava fb_web_online.a running
[ 3] fb_forwards 0.1.4 Kanagava & Realu fb_forwards.amx running
[ 4] Auto Join on Connect 0.1 VEN auto_join_on_co running
[ 5] [190] Cvar On Map 20.06.06 SKAJIbnEJIb cvar_on_map.amx running
[ 6] Gag System 1.1 TheRedShoko @ AM gag_system.amxx running
[ 7] [SQL] Chat Manager 1.1.1-13 Mistrick chatmask.amxx running
[ 8] Chat Manager: Addon 0.0.4-70 Mistrick chatmanager_add running
[ 9] [ReAPI] Anti overflow 1.0 Some Author antioverflow.am running
[ 10] [190] Damager RBS 20.06.06 SKAJIbnEJIb damager_rbs.amx running
[ 11] Advanced Mute 2.1 OciXCrom crx_advmute.amx running
[ 12] Advanced Experience Sy 0.5.9 [REA serfreeman1337/s aes_main.amxx running
[ 13] AES: CStrike Addon 0.5.9 [REA serfreeman1337/s aes_exp_cstrike running
[ 14] AES: Informer 0.5.9 [REA serfreeman1337/s aes_informer.am running
[ 15] AES: Admin Tools 0.5.9 [REA serfreeman1337/s aes_exp_editor. running
[ 16] AES: Bonus System 0.5.9 Vega serfreeman1337/s aes_bonus_syste running
[ 17] AES: Bonus CSTRIKE 0.5.9.1 [R serfreeman1337/s aes_bonus_cstri running
[ 18] AES Bonus: Flags 0.2 Sonyx aes_bonus_flags running
[ 19] AES: StatsX 0.5+1 serfreeman1337 aes_statsx_cstr running
[ 20] CSStatsX SQL 0.7.4+2 serfreeman1337 csstatsx_sql.am running
[ 21] Admin Loader 3.5 neygomon admin_loader.am running
[ 22] ReAimDetector API 0.2.2 ReHLDS Team reaimdetector.a running
[ 23] Lista admini (amx_who) cs.leaguec Kobra whobun.amxx running
[ 24] unknown unknown unknown flash.amxx running
[ 25] Team Transfer 2.1 UnFoRgIvEn transfer_chat.a running
[ 26] MOTD Commands 1.3 OciXCrom crx_motdcommand running
[ 27] Admin Commands 1.9.0.5271 AMXX Dev Team admincmd.amxx running
[ 28] Commands Menu 1.9.0.5271 AMXX Dev Team cmdmenu.amxx running
[ 29] Menus Front-End 1.9.0.5271 AMXX Dev Team menufront.amxx running
[ 30] SHOW IP + LAST IP 2.0 Alka + x amx_showip_last running
[ 31] Players Menu 1.7 neugomon players_menu.am running
[ 32] Pause Plugins 1.9.0.5271 AMXX Dev Team pausecfg.amxx running
[ 33] Admin Help 1.9.0.5271 AMXX Dev Team adminhelp.amxx running
[ 34] Plugin Menu 1.9.0.5271 AMXX Dev Team pluginmenu.amxx running
[ 35] OciXCrom's Admin Chat 4.0 OciXCrom crx_adminchat.a running
[ 36] Private Message: Core 1.5 Denzer private_message running
[ 37] Private Message: Loggi 1.3 Denzer private_message running
[ 38] Items Restrict 1.1 s1lent items_restrict. running
[ 39] Server Menu 1.5.0 F@nt0M server_menu.amx running
[ 40] Advanced Spam Nick Cha 0.2 Fullserver advanced_spam_n running
[ 41] Multi-Lingual System 1.9.0.5271 AMXX Dev Team multilingual.am running
[ 42] Whatsapp_Group_Request 3.2 CrAzY MaN whatsapp_group_ running
[ 43] SERVER TASKS 2.0 HATTRICK (HTTRCK server_tasks.am running
[ 44] Stats Configuration 1.9.0.5271 AMXX Dev Team statscfg.amxx running
[ 45] unknown unknown unknown fake.amxx running
[ 46] CS AFK Manager 1.0.6 (amx Freeman afk_manager_1-8 running
[ 47] Ping Faker 1.5a MeRcyLeZZ pingfaker_count running
[ 48] Ultimele Harti 1.0 M@$t3r_@dy harti.amxx running
[ 49] CFG Slash 1.0 aNNakin cfg_slash.amxx running
[ 50] Fall Damage HP Restore 0.0.1 Vaqtincha FallDamageHpRes running
[ 51] WeaponState Remember 0.0.4 Vaqtincha weaponstate_rem running
[ 52] Admin Commands Log 1.2 w0w admin_commands_ running
[ 53] ResetScore 1.0 Leo_[BH] resetscore_reap running
[ 54] Reklama 09.07.2019 mx?! reklama.amxx running
[ 55] [190] Warmup RBS 20.08.08 SKAJIbnEJIb warmup_rbs.amxx running
[ 56] [190] Ultimate Flags 20.06.06 SKAJIbnEJIb ultimate_flags. running
[ 57] Slap/Slay Team 1.0 Kobra slaylslapteam.a running
[ 58] Invisible Spectator 1.0 ReHLDS Team invisible_spect running
[ 59] Check Vip 2.0 Leo_[BH] check.amxx running
[ 60] Map Manager: Core 3.0.7 Mistrick map_manager_cor running
[ 61] Map Manager: Scheduler 0.1.5 Mistrick map_manager_sch running
[ 62] Map Manager: Nominatio 0.1.2 Mistrick map_manager_nom running
[ 63] Map Manager: BlockList 0.0.3 Mistrick map_manager_blo running
[ 64] Map Manager: Online so 0.0.2 Mistrick map_manager_onl running
[ 65] Map Manager: Effects 0.0.9 Mistrick map_manager_eff running
[ 66] Map Manager: Informer 0.0.5 Mistrick map_manager_inf running
[ 67] Map Manager: Advanced 0.0.5 Mistrick map_manager_adv running
[ 68] Map Manager: Online ch 1.0.0 Sergey Shorokhov map_manager_onl running
[ 69] FocusOnVotemap 1.2.1 Boec[SpecOPs] focus_on_votema running
[ 70] Voiceserver Connect 1.1.015 Nextra voiceserver_con running
[ 71] Hide 1.1 xPaw hidexpaw.amxx running
[ 72] M_AntiRusher 2.83 Miczu xPaw_Antirusher running
[ 73] Say Me And HP 1.0 Javekson say_me_hp.amxx running
[ 74] [ReAPI] Info Killer 1.1.0 Jumper Info_Killer.amx running
[ 75] Save score & money 1.2.4 Minni Mouse Save_Score_and_ running
[ 76] Hostname Timeleft 1.0 xPaw HostnameTimelef running
[ 77] [ReAPI] Block 'Fire in 0.0.1 sergrib simpleblockfith running
[ 78] Admins Only 1.0 Andy staffonly.amxx running
[ 79] Team Grenade Trail 1.2 Numb team_grenade_tr running
[ 80] Write MS 0.1 ill log_ms.amxx running
[ 81] Advanced Kill Assists 1.3c Xelson next21_kill_ass running
[ 82] Top Awards 0.2cx Safety1st top_awards2.amx running
[ 83] [ReApi] Killer ScreenF 0.0.4 Vaqtincha reapi_killer_sc running
[ 84] [190] Snipers RBS 20.06.06 SKAJIbnEJIb snipers_rbs.amx running
[ 85] Online Logger 1.0.3 mx?! online_logger.a running
[ 86] Real Game Time 1.0 mx?! real_game_time. running
[ 87] DemoRecoder 1.1 neygomon amx_demorec.amx running
[ 88] Statsx Add-on 1.0.6 Radius statsx_addon.am running
[ 89] AuthEmu API 1.0 Dev-MS Team authemu.amxx running
[ 90] [SxGeo] Connect Info 1.0 s1lent sxgeo_connect_i debug
[ 91] CT Bomb Cracker 0.0.4 Vaqtincha re_ct_bomb_crac running
[ 92] Bet 2.2 Filip Vilicic bet.amxx running
[ 93] Style C4 Timer 3.0 OciXCrom crx_c4timer.amx running
[ 94] [190] Stimulation RBS 20.06.06 SKAJIbnEJIb stimulation_rbs running
[ 95] Slay Losers 1.1.6 [email protected] slay_losers.amx running
[ 96] Quick and No Scope Det 1.2 EFFx QuickNoScopeD.a running
[ 97] V.I.P Custom Weapons 1.0.0 Vaqtincha vip_custom.amxx running
[ 98] Steam Bonus 1.1 ill+F@nToM steam_bonus_a2. running
[ 99] GSClient: Bonus Menu 1.0 Hypa_[KZ] gsclient_bonus_ running
99 plugins, 99 running
Автор плагина
s1lent
Версия плагина
1.0
Исходный код
#include <amxmodx>
#include <sxgeo>

#if (AMXX_VERSION_NUM < 183) || defined NO_NATIVE_COLORCHAT
#include <colorchat>
#else
#define DontChange print_team_default
#define client_disconnect client_disconnected
#endif

#pragma semicolon 1

new const PREFIX[] = "^4[SxGeo]";
new const CONNECT_SOUND[] = "buttons/blip1.wav";

new g_pcvar_amx_language;

public plugin_init()
{
register_plugin("[SxGeo] Connect Info", "1.0", "s1lent");
register_dictionary("sxgeo_connect_info.txt");

g_pcvar_amx_language = get_cvar_pointer("amx_language");
}

public client_putinserver(id)
{
new szLanguage[3];
get_pcvar_string(g_pcvar_amx_language, szLanguage, charsmax(szLanguage));

new szName[32], szIP[16];
get_user_name(id, szName, charsmax(szName));
get_user_ip(id, szIP, charsmax(szIP), /*strip port*/ 0);

new szCountry[64], szRegion[64], szCity[64];

new bool:bCountryFound = sxgeo_country(szIP, szCountry, charsmax(szCountry), /*use lang server*/ szLanguage);
new bool:bRegionFound = sxgeo_region (szIP, szRegion, charsmax(szRegion), /*use lang server*/ szLanguage);
new bool:bCityFound = sxgeo_city (szIP, szCity, charsmax(szCity), /*use lang server*/ szLanguage);

if (bCountryFound && bCityFound && bRegionFound)
{
client_print_color(0, DontChange, "%s %L %L^3 %s ^4(%s, %s)", PREFIX, LANG_SERVER, "CINFO_JOINED", szName, LANG_SERVER, "CINFO_FROM", szCity, szRegion, szCountry);
}
else if (bCountryFound && bRegionFound)
{
client_print_color(0, DontChange, "%s %L %L^3 %s ^4(%s)", PREFIX, LANG_SERVER, "CINFO_JOINED", szName, LANG_SERVER, "CINFO_FROM", szRegion, szCountry);
}
else if (bCountryFound)
{
client_print_color(0, DontChange, "%s %L %L^4 %s", PREFIX, LANG_SERVER, "CINFO_JOINED", szName, LANG_SERVER, "CINFO_FROM", szCountry);
}
else
{
// we don't know where you are :(
client_print_color(0, DontChange, "%s %L^4 ...", PREFIX, LANG_SERVER, "CINFO_JOINED", szName);
}

client_cmd(0, "spk %s", CONNECT_SOUND);
}
.
 
В этой теме было размещено решение! Перейти к решению.
Сообщения
3,582
Реакции
1,570
Помог
137 раз(а)
Check the file at cstrike/addons/amxmodx/data/SxGeoCity.dat and make full restart on server
 

Пользователи, просматривающие эту тему

Сейчас на форуме нет ни одного пользователя.
Сверху Снизу