Ошибка в map_chooser

Сообщения
6
Реакции
0
Предупреждения
1
Ошибка
L 01/11/2022 - 15:33:21: [AMXX] Displaying debug trace (plugin "hooligan_map_chooser.amxx", version "1.1.1")
L 01/11/2022 - 15:33:21: [AMXX] Run time error 4: index out of bounds
L 01/11/2022 - 15:33:21: [AMXX] [0] hooligan_map_chooser.sma::ShowCacheMenu (line 777)
L 01/11/2022 - 15:33:22: [AMXX] Displaying debug trace (plugin "hooligan_map_chooser.amxx", version "1.1.1")
L 01/11/2022 - 15:33:22: [AMXX] Run time error 4: index out of bounds
L 01/11/2022 - 15:33:22: [AMXX] [0] hooligan_map_chooser.sma::ShowCacheMenu (line 777)
L 01/11/2022 - 15:33:23: [AMXX] Displaying debug trace (plugin "hooligan_map_chooser.amxx", version "1.1.1")
L 01/11/2022 - 15:33:23: [AMXX] Run time error 4: index out of bounds
L 01/11/2022 - 15:33:23: [AMXX] [0] hooligan_map_chooser.sma::ShowCacheMenu (line 777)
L 01/11/2022 - 15:33:24: [AMXX] Displaying debug trace (plugin "hooligan_map_chooser.amxx", version "1.1.1")
L 01/11/2022 - 15:33:24: [AMXX] Run time error 4: index out of bounds
L 01/11/2022 - 15:33:24: [AMXX] [0] hooligan_map_chooser.sma::ShowCacheMenu (line 777)
L 01/11/2022 - 15:33:25: [AMXX] Displaying debug trace (plugin "hooligan_map_chooser.amxx", version "1.1.1")
L 01/11/2022 - 15:33:25: [AMXX] Run time error 4: index out of bounds
L 01/11/2022 - 15:33:25: [AMXX] [0] hooligan_map_chooser.sma::ShowCacheMenu (line 777)
L 01/11/2022 - 15:33:26: [AMXX] Displaying debug trace (plugin "hooligan_map_chooser.amxx", version "1.1.1")
L 01/11/2022 - 15:33:26: [AMXX] Run time error 4: index out of bounds
L 01/11/2022 - 15:33:26: [AMXX] [0] hooligan_map_chooser.sma::ShowCacheMenu (line 777)
L 01/11/2022 - 15:33:27: [AMXX] Displaying debug trace (plugin "hooligan_map_chooser.amxx", version "1.1.1")
L 01/11/2022 - 15:33:27: [AMXX] Run time error 4: index out of bounds
L 01/11/2022 - 15:33:27: [AMXX] [0] hooligan_map_chooser.sma::ShowCacheMenu (line 777)
L 01/11/2022 - 15:33:28: [AMXX] Displaying debug trace (plugin "hooligan_map_chooser.amxx", version "1.1.1")
L 01/11/2022 - 15:33:28: [AMXX] Run time error 4: index out of bounds
L 01/11/2022 - 15:33:28: [AMXX] [0] hooligan_map_chooser.sma::ShowCacheMenu (line 777)
L 01/11/2022 - 15:33:29: [AMXX] Displaying debug trace (plugin "hooligan_map_chooser.amxx", version "1.1.1")
L 01/11/2022 - 15:33:29: [AMXX] Run time error 4: index out of bounds
L 01/11/2022 - 15:33:29: [AMXX] [0] hooligan_map_chooser.sma::ShowCacheMenu (line 777)
ОС
Linux
Amx Mod X
AMX Mod X 1.9.0.5294 (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 3 2021 15:54:56
Built from: https://github.com/alliedmodders/amxmodx/commit/363871a
Build ID: 5294:363871a
Core mode: JIT+ASM32
Билд
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
ReHLDS version: 3.11.0.767-dev
Build date: 03:13:55 Oct 25 2021 (2753)
Build from: https://github.com/dreamstalker/rehlds/commit/471158b
ReGamedll
ReGameDLL version: 5.21.0.540-dev
Build date: 17:33:16 Oct 25 2021
Build from: https://github.com/s1lentq/ReGameDLL_CS/commit/b9cccc6
Версия Metamod
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
Список метамодулей
description      stat pend  file                      vers             src  load  unload
[ 1] Reunion RUN - reunion.so v0.1.92d ini Start Never
[ 2] VoiceTranscoder RUN - VoiceTranscoder.so v2017RC5 ini ANY ANY
[ 3] AMX Mod X RUN - amxmodx.so v1.9.0.5294 ini Start ANY
[ 4] ReAuthCheck RUN - reauthcheck.so v0.1.6 ini Start Never
[ 5] Rechecker RUN - rechecker.so v2.7 ini Chlvl ANY
[ 6] ReSemiclip RUN - resemiclip.so v2.3.9 ini Chlvl ANY
[ 7] ReSRDetector RUN - resrdetector.so v0.1.0 ini Chlvl ANY
[ 8] SafeNameAndChat RUN - SafeNameAndChat.so v1.1 ini ANY ANY
[ 9] WHBlocker RUN - whblocker.so v1.5.697 ini Chlvl ANY
[10] YaPB RUN - yapb.so v4.2.598 ini Chlvl ANY
[11] CStrike RUN - cstrike_amxx_i386.so v1.9.0.5294 pl3 ANY ANY
[12] CSX RUN - csx_amxx_i386.so v1.9.0.5294 pl3 ANY ANY
[13] MySQL RUN - mysql_amxx_i386.so v1.9.0.5294 pl3 ANY ANY
[14] SQLite RUN - sqlite_amxx_i386.so v1.9.0.5294 pl3 ANY ANY
[15] ReAPI RUN - reapi_amxx_i386.so v5.21.0.248-dev pl3 ANY Never
[16] FakeMeta RUN - fakemeta_amxx_i386.so v1.9.0.5294 pl3 ANY ANY
[17] Ham Sandwich RUN - hamsandwich_amxx_i386.so v1.9.0.5294 pl3 ANY ANY
[18] Fun RUN - fun_amxx_i386.so v1.9.0.5294 pl3 ANY ANY
[19] Engine RUN - engine_amxx_i386.so v1.9.0.5294 pl3 ANY ANY
19 plugins, 19 running
Список плагинов
[  1] GameCMS_GagManager      2.2.7 ReAp  zhorzh78          gamecms_gagmana  running
[ 2] GameCMS_API 5.5.3 zhorzh78 gamecms_api.amx running
[ 3] CSStatsX SQL 0.7.4+2 serfreeman1337 aes_csstatsx_sq running
[ 4] WebHS 0.1 kanagava fb_web_online.a running
[ 5] FreshBans 1.4.5b kanagava fresh_bans.amxx running
[ 6] Admin Commands 1.9.0.5294 AMXX Dev Team admincmd.amxx running
[ 7] Slots Reservation 1.9.0.5294 AMXX Dev Team adminslots.amxx running
[ 8] Menus Front-End 1.9.0.5294 AMXX Dev Team menufront.amxx running
[ 9] Commands Menu 1.9.0.5294 AMXX Dev Team cmdmenu.amxx running
[ 10] Players Menu 1.9.0.5271 AMXX Dev Team plmenu.amxx running
[ 11] Maps Menu 1.0 O.Hooligan mapsmenu.amxx running
[ 12] Plugin Menu 1.9.0.5294 AMXX Dev Team pluginmenu.amxx running
[ 13] Admin Chat 1.9.0.5294 AMXX Dev Team adminchat.amxx running
[ 14] Scrolling Message 1.9.0.5294 AMXX Dev Team scrollmsg.amxx running
[ 15] Info. Messages 1.9.0.5294 AMXX Dev Team imessage.amxx running
[ 16] Admin Votes 1.9.0.5294 AMXX Dev Team adminvote.amxx running
[ 17] TimeLeft 1.9.0.5294 AMXX Dev Team timeleft.amxx running
[ 18] Pause Plugins 1.9.0.5294 AMXX Dev Team pausecfg.amxx running
[ 19] Stats Configuration 1.9.0.5294 AMXX Dev Team statscfg.amxx running
[ 20] AES: StatsX 0.5.9 [REA serfreeman1337/s aes_statsx.amxx running
[ 21] StatsX 1.9.0.5294 AMXX Dev Team statsx.amxx running
[ 22] GameCMS_VipTest 3.8.1 zhorzh78 gamecms_viptest running
[ 23] GameCMS BonusSystem 1.1 +- DUKKHAZ0R gamecms_bonus.a running
[ 24] [GameCMS] Real Money R 1.0 InKay gamecms_bets.am running
[ 25] Hooligan VoteBan 1.4 O.Hooligan hooligan_voteba running
[ 26] Kill Assist 1.17 O.Hooligan hooligan_kill_a running
[ 27] Hooligan Vampire 1.2 O.Hooligan hooligan_vampir running
[ 28] Ping Control 1.31 O.Hooligan hooligan_ping.a running
[ 29] Lite Translit 2.8 neygomon hooligan_transl running
[ 30] Knife Duel 1.2 O.Hooligan hooligan_duel.a running
[ 31] Nice Voice 2.0 R sector hooligan_voice. running
[ 32] Advanced MapChooser 1.1.1 O.Hooligan hooligan_map_ch running
[ 33] VIP 1.5 O.Hooligan hooligan_vipmen running
[ 34] Menu 1.0 O.Hooligan hooligan_menu.a running
[ 35] Menu 1.0 O.Hooligan hooligan_cabine running
[ 36] Menu 1.0 O.Hooligan hooligan_menupr running
[ 37] AmxModMenu 1.2 O.Hooligan hooligan_adminm running
[ 38] Knife Manager 0.3 O.Hooligan hooligan_knife_ running
[ 39] unknown unknown unknown hooligan_teamba bad load
[ 40] Warn Menu 0.1 O.Hooligan hooligan_warn_m running
[ 41] GreetingMenu 1.0 O.Hooligan hooligan_ng.amx running
[ 42] Random Weapons WarmUP 2.4.1 O.Hooligan hooligan_razmin running
[ 43] Damager 0.0.5 steelzzz hooligan_damage running
[ 44] Free ammo 1.4 O.Hooligan hooligan_ammo.a running
[ 45] coin 1.0 O.Hooligan hooligan_coin.a running
[ 46] Flags 1.1 O.Hooligan hooligan_flags. running
[ 47] CMS_GM_Sorry_Addon 1.0 sorry.amxx running
[ 48] Reset Score 0.2 Silenttt / CepeH rs.amxx running
[ 49] Parachute 1.0 maeStro parachute.amxx running
[ 50] lite screen fade 1.0 AcE lite_screen_fad running
[ 51] kill_knife_money 1.0 IntelCom knife_kill_mone running
[ 52] [ReAPI] Healthnade 0.0.2 [email protected] reapi_healthnad running
[ 53] Killa HP 1.6 jas0n killa_hp.amxx running
[ 54] User Connect 0.1.1 Jumper connect_priv.am running
[ 55] Ultimate KillStreak Ad 0.7 SAMURAI ut_killstreak_a running
[ 56] [190] AC Spectator ESP 20.06.06 SKAJIbnEJIb & Ko ac_esp.amxx running
[ 57] Autoresponder/Advertis 0.5 MaximusBrood reklama_in_chat running
[ 58] Block Name Spam 0.1 s1lent block_name_spam running
[ 59] XMAS Skybox 1.0 SeMax xmas_sky.amxx running
[ 60] [ReAPI] AWPoff 1.4.3 PAffAEJIkA :3 awp_off.amxx running
[ 61] [ReAPI] No Team Flash 0.0.2 Vaqtincha no_team_flash.a running
[ 62] Afk Control 0.5.1 neygomon afk_control.amx running
[ 63] AES: StatsX Info Rank 0.1 serfreeman1337 aes_statsx_info running
[ 64] AES: Status Info 0.1 serfreeman1337 aes_status_info running
[ 65] DemoRecoder 1.1 neygomon demka.amxx running
[ 66] SITE 1.0 O.Hooligan site.amxx running
[ 67] Block grande info 1.0 O.Hooligan BlockGrenadeInf running
[ 68] Top Round Damage 1.0.4 ReAP Dager* *.* -G- top_damage.amxx running
[ 69] [ReAPI] Custom Models 1.6.1 neugomon custom_models.a running
[ 70] Santa Hat + Snow 1.3 xPaw SantaHat.amxx running
[ 71] CSS Bomb 0.0.1 Vaqtincha c4_ng.amxx running
[ 72] NY Kill Sprite 1.0 O.Hooligan ng_sprite.amxx running
[ 73] Advanced Experience Sy 0.5.9 [REA serfreeman1337/s aes_main.amxx running
[ 74] AES: CStrike Addon 0.5.9 [REA serfreeman1337/s aes_exp_cstrike running
[ 75] AES: Informer 0.5 Vega serfreeman1337 aes_informer.am running
[ 76] AES: Admin Tools 0.5.9 [REA serfreeman1337/s aes_exp_editor. running
[ 77] AES: Bonus System 0.5.9 Vega serfreeman1337/s aes_bonus_syste running
[ 78] AES: Bonus CSTRIKE 0.5.9.1 [R serfreeman1337/s aes_bonus_cstri running
78 plugins, 77 running
L 01/11/2022 - 04:13:49: "Кирилл<4><BOT><TERRORIST>" triggered "Planted_The_Bomb"
Автор плагина
serfreeman1337
Версия плагина
0.5 Vega
Исходный код
public ShowCacheMenu(id)
{
if(id == 100)
{
g_iTimeOst--;
if(!g_iTimeOst)
{
show_menu(0, 0, "^n", 1);
GoToCheckVotes();
}
else
{
new len = formatex(
g_szPercentMenu, charsmax(g_szPercentMenu),
"\d[\rMap to Choose\d] \yВы уже проголосовали^n\wДо конца голосования осталось \r%d \wсек!^n^n",
g_iTimeOst
);

for(new i; i < g_iVoteItems; ++i)
{
len += formatex(
g_szPercentMenu[len], charsmax(g_szPercentMenu) - len,
"\r%d. \w%s \d[\y%d%%\d]^n",
i+1, g_szMenuMapName[i], g_iVotes ? floatround(g_iSelectedItem[i] * 100.0 / g_iVotes) : 0
);
}

if(!GetBit(g_bitData[status], blockExt))
{
len += formatex(
g_szPercentMenu[len], charsmax(g_szPercentMenu) - len,
"^n\r%d. \w%s \d[\rПродлить\d][\y%d%%\d]",
g_iVoteItems+1, g_szCurrentMap, g_iVotes ? floatround(g_iSelectedItem[g_iVoteItems] * 100.0 / g_iVotes) : 0
);
}
#define KEY (1 << 10)
#if AMXX_VERSION_NUM < 183
static MaxClients; if(!MaxClients) MaxClients = get_maxplayers();
#endif
for(new id = 1; id <= MaxClients; id++)
{
if(!g_bIsVoted[id])
continue;
if(!is_user_connected(id))
{
g_bIsVoted[id] = false;
continue;
}

show_menu(id, KEY, g_szPercentMenu, -1, "ShowPercentMenu");
}
}
}
else show_menu(id, KEY, g_szPercentMenu, -1, "ShowPercentMenu");
}
#endif
Помогите исправить
 

Вложения

Сообщения
504
Реакции
933
Помог
14 раз(а)
Код:
-new g_iNominate[MAX_PLAYERS];
+new g_iNominate[MAX_PLAYERS+1]; // line 159
Код:
-new bool:g_bIsVoted[MAX_PLAYERS];
+new bool:g_bIsVoted[MAX_PLAYERS+1]; // line 164
 

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

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