Проблема с AES Bonus Flag

Статус
В этой теме нельзя размещать новые ответы.
Сообщения
27
Реакции
0
Ошибка
[ 71] unknown unknown unknown aes_bonus_flags bad load
( 71) Load fails: Plugin file open error (plugin "aes_bonus_flags.amxx")
ОС
Linux
Amx Mod X
1.9.0
Билд
ReHLDS
ReGamedll
ReGameDLL version: 5.21.0.576-dev
Версия Metamod
Metamod-r v1.3.0.131, API
Список метамодулей
[ 1] Reunion        RUN   -    reunion_mm_i386.so          v0.1.92d         ini  Start Never
[ 2] Rechecker RUN - rechecker_mm_i386.so v2.7 ini Chlvl ANY
[ 3] ReAuthCheck RUN - reauthcheck_mm_i386.so v0.1.6 ini Start Never
[ 4] Revoice RUN - revoice_mm_i386.so v0.1.0.34 ini Start Never
[ 5] ReSemiclip RUN - resemiclip_mm_i386.so v2.3.9 ini Chlvl ANY
[ 6] WHBlocker RUN - whblocker_mm_i386.so v1.5.692 ini Chlvl ANY
[ 7] ReSRDetector RUN - resrdetector_mm_i386.so v0.1.0 ini Chlvl ANY
[ 8] HitBox Fix RUN - hitbox_fix_mm_i386.so v1.1.2 ini Start ANY
[ 9] AMX Mod X RUN - amxmodx_mm_i386.so v1.9.0.5294 ini Start ANY
[10] GeoIP RUN - geoip_amxx_i386.so v1.9.0.5294 pl9 ANY ANY
[11] hackdetector RUN - hackdetector_amxx_i386.so v0.15.328.lite pl9 ANY ANY
[12] ReAPI RUN - reapi_amxx_i386.so v5.22.0.254-dev pl9 ANY Never
[13] ReAimDetector RUN - reaimdetector_amxx_i386.so v0.2.2 pl9 ANY Never

[14] MySQL RUN - mysql_amxx_i386.so v1.9.0.5294 pl9 ANY ANY
[15] FakeMeta RUN - fakemeta_amxx_i386.so v1.9.0.5294 pl9 ANY ANY
[16] CStrike RUN - cstrike_amxx_i386.so v1.9.0.5294 pl9 ANY ANY
[17] Ham Sandwich RUN - hamsandwich_amxx_i386.so v1.9.0.5294 pl9 ANY ANY
[18] Fun RUN - fun_amxx_i386.so v1.9.0.5294 pl9 ANY ANY
[19] Engine RUN - engine_amxx_i386.so v1.9.0.5294 pl9 ANY ANY
19 plugins, 19 running
Список плагинов
[  1] ReAimDetector API       0.2.2       ReHLDS Team       reaimdetector.a  running  
[ 2] admin_loader 0.3.7 kanagava admin_loader.am running
[ 3] WebHS 0.1 kanagava fb_web_online.a running
[ 4] FreshBans 1.4.8b kanagava fresh_bans_148- running
[ 5] fb_forwards 0.1.5 Kanagava & Realu fb_forwards.amx running
[ 6] Admin Commands 1.9.0.5294 AMXX Dev Team admincmd.amxx running
[ 7] Admin Help 1.8.2 AMXX Dev Team adminhelp.amxx running
[ 8] Slots Reservation 1.9.0.5294 AMXX Dev Team adminslots.amxx running
[ 9] AmxModMenu 1.2 Sn1kO{Dmitriy.T) menufront.amxx running
[ 10] Commands Menu 1.9.0.5294 AMXX Dev Team cmdmenu.amxx running
[ 11] Players Menu 1.9.0.5294 AMXX Dev Team plmenu.amxx running
[ 12] Maps Menu 1.4.1 neugomon mapsmenu.amxx running
[ 13] Plugin Menu 1.9.0.5294 AMXX Dev Team pluginmenu.amxx running
[ 14] Admin Chat 1.9.0.5294 AMXX Dev Team adminchat.amxx running

[ 15] Admin Votes 1.9.0.5294 AMXX Dev Team adminvote.amxx running
[ 16] Pause Plugins 1.9.0.5294 AMXX Dev Team pausecfg.amxx running
[ 17] Stats Configuration 1.9.0.5294 AMXX Dev Team statscfg.amxx running
[ 18] Restrict Weapons 1.9.0.5294 AMXX Dev Team restmenu.amxx running
[ 19] CSStatsX SQL 0.7.4+2 serfreeman1337 csstatsx_sql.am running
[ 20] CSXSQL: Onlinetime Awa 0.2 serfreeman1337 csstatsx_playti running
[ 21] [ReAMX] Ultimate Gag 17.12.22BE SKAJIbnEJIb ultimate_gag.am running
[ 22] [ReAPI][ReAMX] Ultimat 17.08.28 SKAJIbnEJIb ultimate_gag_re running
[ 23] [190] Parachute RBS 22.11.15 SKAJIbnEJIb & KR parachute_rbs.a running
[ 24] [190] DemoRecorder RBS 20.06.06 SKAJIbnEJIb demorecorder_rb running
[ 25] [190] Snipers RBS 20.06.06 SKAJIbnEJIb snipers_rbs.amx running
[ 26] [190] No Team Flash 20.06.06 SKAJIbnEJIb NoTeamFlash.amx running
[ 27] [190] AfkKicker RBS 22.11.15 SKAJIbnEJIb afkkicker_rbs.a running
[ 28] Lite Translit 2.8 neygomon lite_translit.a running
[ 29] VIP System 2.2.0 Emma Jule vip.amxx running

[ 30] Map Manager 2.5.61 Mistrick mapmanager.amxx running
[ 31] Map Manager: Sub Plugi 0.1 Mistrick mapmanager_subp running
[ 32] [190] AC Spectator ESP 20.06.06 SKAJIbnEJIb & Ko ac_esp.amxx running
[ 33] Reset_Score 1.0 9 rpamm!? Resetscore.amxx running
[ 34] Vote Ban 2 0.99 Safety1st/Alka voteban.amxx running
[ 35] Injector X 1.0 Deadly|Darkness dd_injectorX.am running
[ 36] Autoresponder/Advertis 0.5 MaximusBrood ad_manager.amxx running
[ 37] [ReAPI] Custom Models 1.6.1 neugomon custom_models.a running
[ 38] GameName 1.0 Lonkura GameName.amxx running
[ 39] Steam Bonus 1.0 Will_be steam_bonus.amx running
[ 40] Mode 2x2 1.9 s1lent mode.amxx running
[ 41] SF Bets 0.1.5 serfreeman1337 sf_bets.amxx running
[ 42] Advanced Kill Assists 1.3c Xelson next21_kill_ass running
[ 43] Knife WarnUP 1.0 ill knife_warm-up.a running
[ 44] Damager Advanced 1.1.2 Radius (based on damager_advance running

[ 45] Auto Team Balance Adva 1.5.1 Radius auto_team_balan running
[ 46] Spect Bot 1.2 SKAJIbnEJIb & Bo SpectBot.amxx running
[ 47] Revive/Mined Die Playe 2.3.9 Emma Jule revive_teammate running
[ 48] Ultimate Sounds 1.7 Dizzy / Bmann_42 f_ultimate_soun running
[ 49] C4 Timer 0.1 Lightman bombtimer.amxx running
[ 50] Top Round Damage 1.0.4 ReAP Dager* *.* -G- top_round_damag running
[ 51] Server Menu 1.0 mx?! server_menu.amx running
[ 52] Screen_Fade 0.0.5 Vaqtincha screen_fade.amx running
[ 53] Frags Counter 1.0 CHEL74 frags_counter.a running
[ 54] recoil_manager 1.0.0 fl0wer recoil_manager. running
[ 55] aes_exp_on_win 1.0 w0w aes_exp_on_win. running
[ 56] [ReAPI] Info Killer 1.1.0 Jumper Info_Killer.amx running
[ 57] DHUD Advert. 2.0 DUKKHAZ0R dhud_advert.amx running
[ 58] Say me and Say hp 1.4 neygomon sayme.amxx running
[ 59] DHud Win Status 1.0.2 BiZaJe DhudWinStatus.a running

[ 60] [ReAPI] Ghost after de 0.0.2 steelzzz ghost.amxx running
[ 61] [ReAPI] Block 'Fire in 0.0.1 sergrib reapi_block_FIT running
[ 62] Connect Info 1.0 Hypa_[KZ] connect_info.am running
[ 63] Advanced Experience Sy 0.5.9 [REA serfreeman1337/s aes_main.amxx running
[ 64] AES: CStrike Addon 0.5.9 [REA serfreeman1337/s aes_exp_cstrike running
[ 65] AES: Informer 0.5.9 [REA serfreeman1337/s aes_informer.am running
[ 66] AES: Admin Tools 0.5.9 [REA serfreeman1337/s aes_exp_editor. running
[ 67] AES: Bonus System 0.5.9 Vega serfreeman1337/s aes_bonus_syste running
[ 68] AES: Bonus CSTRIKE 0.5.9.1 [R serfreeman1337/s aes_bonus_cstri running
[ 69] AES: StatsX 0.5.9 [REA serfreeman1337/s aes_statsx_cstr running
[ 70] AES: Status Info 0.1 serfreeman1337 aes_status_info running
[ 71] unknown unknown unknown aes_bonus_flags bad load
Автор плагина
Sonyx
Версия плагина
0.2
Исходный код
#include <amxmodx>
#include <sqlx>
#if AMXX_VERSION_NUM < 183
#include <colorchat>
#endif

forward amxbans_sql_initialized(Handle:sqlTuple, const dbPrefix[]);
forward fbans_sql_connected(Handle:sqlTuple);
forward lite_bans_sql_init(Handle:sqlTuple);

enum (+=1) {
NONE = 0,
AMX,
FB,
LB
}

enum _:qState { AddOne, AddTwo }

new g_System = NONE;
new Handle:g_DBTuple;
new g_TableAdmins[100], g_TableSAdmins[100], g_TableSInfo[100], g_ServerIp[25];
new g_szQuery[1024], g_Data[2];

public plugin_init()
{
#define PNAME "AES Bonus: Flags"
#define PVERSION "0.2"
#define PAUTHOR "Sonyx"
register_plugin(PNAME, PVERSION, PAUTHOR);
}

public amxbans_sql_initialized(Handle:sqlTuple, const dbPrefix[])
{
if (g_System != NONE) {
return PLUGIN_CONTINUE;
}

g_DBTuple = sqlTuple;
g_System = AMX;

formatex(g_TableAdmins, charsmax(g_TableAdmins), "%s_amxadmins", dbPrefix);
formatex(g_TableSInfo, charsmax(g_TableSInfo), "%s_serverinfo", dbPrefix);
formatex(g_TableSAdmins, charsmax(g_TableSAdmins), "%s_admins_servers", dbPrefix);

get_cvar_string("amxbans_server_address", g_ServerIp, charsmax(g_ServerIp));
if (!g_ServerIp[0]) {
get_user_ip(0, g_ServerIp, charsmax(g_ServerIp), 0);
}

return PLUGIN_CONTINUE;
}

public lite_bans_sql_init(Handle:sqlTuple)
{
new dbPrefix[64];

if (g_System != NONE) {
return PLUGIN_CONTINUE;
}

g_DBTuple = sqlTuple;
g_System = LB;

get_cvar_string("lb_sql_pref", dbPrefix, charsmax(dbPrefix));

formatex(g_TableAdmins, charsmax(g_TableAdmins), "%s_amxadmins", dbPrefix);
formatex(g_TableSInfo, charsmax(g_TableSInfo), "%s_serverinfo", dbPrefix);
formatex(g_TableSAdmins, charsmax(g_TableSAdmins), "%s_admins_servers", dbPrefix);

get_cvar_string("lb_server_ip", g_ServerIp, charsmax(g_ServerIp));
if (!g_ServerIp[0]) {
get_user_ip(0, g_ServerIp, charsmax(g_ServerIp), 0);
}

return PLUGIN_CONTINUE;
}

public fbans_sql_connected(Handle:sqlTuple)
{
new i_Ip[16], i_Port[8];
if (g_System != NONE) {
return PLUGIN_CONTINUE;
}

g_DBTuple = sqlTuple;
g_System = FB;
if (!get_cvar_string("amx_amxadmins_table", g_TableAdmins, charsmax(g_TableAdmins)))
g_TableAdmins = "amx_amxadmins";
if (!get_cvar_string("amx_admins_table", g_TableSAdmins, charsmax(g_TableSAdmins)))
g_TableSAdmins = "amx_admins_servers";
get_cvar_string("fb_servers_table", g_TableSInfo, charsmax(g_TableSInfo));
get_cvar_string("fb_server_ip", i_Ip, charsmax(i_Ip));
get_cvar_string("fb_server_port", i_Port, charsmax(i_Port));

formatex(g_ServerIp, charsmax(g_ServerIp), "%s:%s", i_Ip, i_Port);

return PLUGIN_CONTINUE;
}

public SQL_Handler(failstate, Handle:query, err[], errcode, dt[], datasize)
{
switch(failstate)
{
case TQUERY_CONNECT_FAILED, TQUERY_QUERY_FAILED:
{
log_amx("[SQL ERROR #%d][Query State %d] %s", errcode, dt[0], err);
SQL_FreeHandle(query);
return;
}
}

switch(dt[0])
{
case AddOne:
{
g_Data[0] = AddTwo;
new szAuth[25], iID = SQL_GetInsertId(query);
get_user_authid(dt[1], szAuth, charsmax(szAuth));
formatex(g_szQuery, charsmax(g_szQuery), "INSERT INTO %s (admin_id, server_id, custom_flags, use_static_bantime) VALUES ('%d', (SELECT id FROM %s WHERE address = '%s'), '', 'no')", g_TableSAdmins, iID, g_TableSInfo, g_ServerIp);
SQL_ThreadQuery(g_DBTuple, "SQL_Handler", g_szQuery, g_Data, sizeof(g_Data));
}
case AddTwo:
{
SQL_FreeHandle(query);
server_cmd("amx_reloadadmins");
}
}
}

public pointBonus_GiveFlags(id, flags[], days)
{
if(!flags[0] || !days)
return 0;
if (g_System == NONE)
{
client_print_color(id, id, "^4[AES] ^3Отсутствует подключение к Базе!");
return 0;
}
if (get_user_flags(id) & read_flags(flags))
{
client_print_color(id, id, "^4[AES] ^3У вас уже есть данная привилегия!");
return 0;
}
new szAuth[25], szName[32], szPlayerEnd;

get_user_authid(id, szAuth, charsmax(szAuth));
get_user_name(id, szName, charsmax(szName));
szPlayerEnd = get_systime() + days * 86400;

g_Data[0] = AddOne;
g_Data[1] = id;

formatex(g_szQuery, charsmax(g_szQuery), "INSERT INTO %s (username, access, flags, steamid, nickname, ashow, created, expired, days) VALUES ('%s', '%s', 'ce', '%s', '%s', '0', UNIX_TIMESTAMP(NOW()), '%d', '%d')", g_TableAdmins, szAuth, flags, szAuth, szName, szPlayerEnd, days);
SQL_ThreadQuery(g_DBTuple, "SQL_Handler", g_szQuery, g_Data, sizeof(g_Data));

return 1;
}
Не запускается плагин - ошибка: [ 71] unknown unknown unknown aes_bonus_flags bad load
 
В этой теме было размещено решение! Перейти к решению.
Сообщения
365
Реакции
9
Помог
5 раз(а)
Обратите внимание, если вы хотите заключить сделку с этим пользователем, он заблокирован
Vmfrussian91, плагин не загрузил на сервер или прописал не правильно
 
Сообщения
27
Реакции
0
@RedFoxxx,Вообщем не знаю, что было. Сократил название и он заработал. Хотя до этого все файлы лежали.
 
Сообщения
365
Реакции
9
Помог
5 раз(а)
Обратите внимание, если вы хотите заключить сделку с этим пользователем, он заблокирован
@Vmfrussian91,тут еще роли играет приоритет плагинов, правильная расстановка:

csstatsx_sql.amxx
aes_statsx_cstrike.amxx

вот так должно идти, так на будущее тебе
 
Статус
В этой теме нельзя размещать новые ответы.

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

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