Гл мод джайл

Сообщения
2
Реакции
0
Ошибка
Displaying debug trace (plugin "jbe_core_mode.amxx", version "1.0")
Run time error 4: index out of bounds jbe_core_mode.sma::LogEvent_RoundStart (line 1613)
Start of error session.

Вот строка про которую пишет
if(jbe_get_day_week() == 1) g_Free_Count[i] = 0;
ОС
Linux
Amx Mod X
1.9.0
Билд
ReHLDS version: 3.7.0.692-dev
ReGamedll
ReGameDLL version: 5.12.0.425-dev
Версия Metamod
v1.3.0.128
Список метамодулей
description   stat pend  file                       vers            src  load  unload
[ 1] Reunion RUN - reunion_mm_i386.so v0.1.0.92 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.5263 ini Start ANY
[ 5] ReSemiclip RUN - resemiclip_mm_i386.so v2.3.9 ini Chlvl ANY
[ 6] hackdetector RUN - hackdetector_amxx_i386.so v0.15.328.lite pl4 ANY ANY
[ 7] FakeMeta RUN - fakemeta_amxx_i386.so v1.9.0.5263 pl4 ANY ANY
[ 8] MySQL RUN - mysql_amxx_i386.so v1.9.0.5263 pl4 ANY ANY
[ 9] SQLite RUN - sqlite_amxx_i386.so v1.9.0.5263 pl4 ANY ANY
[10] CStrike RUN - cstrike_amxx_i386.so v1.9.0.5263 pl4 ANY ANY
[11] Ham Sandwich RUN - hamsandwich_amxx_i386.so v1.9.0.5263 pl4 ANY ANY
[12] Fun RUN - fun_amxx_i386.so v1.9.0.5263 pl4 ANY ANY
[13] Engine RUN - engine_amxx_i386.so v1.9.0.5263 pl4 ANY ANY
13 plugins, 13 running
Список плагинов
name                    version     author            file             status
[ 1] FreshBans 1.4.0b kanagava fresh_bans.amxx running
[ 2] HackDetector 0.15.lite Lev @ AGHL.RU De hackdetector.am running
[ 3] Admin Commands 1.9.0.5247 AMXX Dev Team admincmd.amxx running
[ 4] Admin Votes 1.9.0.5247 AMXX Dev Team adminvote.amxx running
[ 5] Admin Chat 1.9.0.5247 AMXX Dev Team adminchat.amxx running
[ 6] Commands Menu 1.9.0.5247 AMXX Dev Team cmdmenu.amxx running
[ 7] Players Menu 1.8.2 AMXX Dev Team plmenu.amxx running
[ 8] Menus Front-End 1.9.0.5247 AMXX Dev Team menufront.amxx running
[ 9] Maps Menu 1.4.1 neugomon mapsmenu.amxx running
[ 10] Map Manager 2.5.61 Mistrick mapmanager.amxx running
[ 11] JBQ {GANDS} 1.1.2 KOL jbq_gangs.amxx debug
[ 12] SAVE MONEY no license 1.0 Added by thezolo jbe_money_save. debug
[ 13] Admin Base 1.9.0.5247 AMXX Dev Team admin.amxx running
[ 14] Chat Manager 1.1.1-11 Mistrick chatmanager.amx running
[ 15] Chat Manager: Addon 0.0.4-70 Mistrick chatmanager_add running
[ 16] Cs_Hook 1.0 Sulky new_hook.amxx running
[ 17] New Jetpack 0.0.2 Bad_Bud,ZmOutSta zp_item_jetpack debug
[ 18] AK-47 Long 1.0 Madness jbe_aklong.amxx debug
[ 19] [CSO] Weapon: SG552 Ly 2.0 Base: Batcon; Re jbe_buffsg552.a debug
[ 20] [ZP] Extra: Infinitys 1.0 Crock / =) (Popr jbe_weapon_infi debug
[ 21] [ZP] Extra: M134 EX 1.0 LARS-DAY[BR]EAKE jbe_weapon_m134 debug
[ 22] Bomb Grenade 3.0 mdnss grenade_bombo4k running
[ 23] [JBE] Core 1.0 lalkasosat jbe_core_mode.a debug
[ 24] [JBE] 1.3fix Emerald ejbe_emotion.am debug
[ 25] Advanced Fog 0.7 Sh!nE* jbe_event_fog.a running
[ 26] [JBG] Kill Effect 1.5 LeGioN jbe_kill_effect running
[ 27] [JBE] Elite Admin 1.0 SteFFaN jbe_elite_admin debug
[ 28] JB delta Menu 1.0 Pozetiv4ik jb_delta_menu.a debug
[ 29] JB Super Menu 1.0 MADNESS jb_super_admin. debug
[ 30] JB plushki Menu 1.0 MADNESS smotr_menu.amxx debug
[ 31] JBE Mega Jump 0.0.2 OverGame jbe_ss_mega.amx running
[ 32] Jbe AKS74U 1.0 mdnss jbe_weapon_aks7 running
[ 33] [ZP] Extra: Anaconda 1.0 lalkasas jbe_weapon_anac running
[ 34] JBE Long Jump 1.0 mdnss jbe_long_jump.a running
[ 35] [JBM] Grab + Menu 5.2 Edit By NiKiTa jbe_grab.amxx running
[ 36] [JBE_DM] Shtyrm 1.0 Freedo.m jbe_dm_shtyrm.a debug
[ 37] [JBE_DM] Birth Day 1.1 Freedo.m jbe_dm_birthday debug
[ 38] [JBE_DM] Sparta 1.1 Freedo.m jbe_dm_sparta.a debug
[ 39] [JBE] GALAXY 1.0 arttty7 jbe_dm_galaxy.a debug
[ 40] [JBE] Oaio Menu 2.0 ALIK jbe_OaioMenu.am running
[ 41] Autoresponder/Advertis 0.5 MaximusBrood ad_manager.amxx running
[ 42] global [JBE] Glob Edited jbe_globalmenu. debug
[ 43] [JBE] Vampire Menu 1.3 vampire jbe_vampire_men debug
[ 44] Parachute 1.3 KRoT@L/JTP10181 amx_parachute.a running
[ 45] iHOOK 1.0 arttty7 iHOOK.amxx running
[ 46] SF Warn Menu 0.1.4f serfreeman1337 sf_admin_warns. running
46 plugins, 46 running
Сервер падает с этой ошибкой
 
Сообщения
2,143
Реакции
1,225
Помог
44 раз(а)
Вау. Круто. А код можно посмотреть или телепатически нужно узнавать?
 
Сообщения
2
Реакции
0
При добавлении кода используйте вставки "код" и "спойлер"
Minni, всё в этом паблике


Код:
public LogEvent_RoundStart()

{

    /* голодные игры -> */

        hg_time = 31;

        hg_health = 100;

        myaf = 0;

    /* <- голодные игры */

  

    if(task_exists(TASK_LAST_DIE)) remove_task(TASK_LAST_DIE);

    now_Hunger = false; // сейчас не голодные игры

    Resetblock();

    BanSpeak = false;

    autores = 5;

    set_task(1.4, "jbe_start_autorespawn");

    if(g_bRestartGame) return;

    for(new i = 1; i <= g_iMaxPlayers; i++)

    {

        ClearBit(g_iBitUnlimitedAmmo, i);

        g_iHooks = 0;

        if(jbe_get_day_week() == 1) g_Free_Count = 0;

        

        if(jbe_get_day_week() == 1 && IsSetBit(g_iBitUserMonday, i))

        {

            ClearBit(g_iBitUserMonday, i);

            jbe_add_user_free(i);

        }

    }

    for(new i = 1; i <= g_iMaxPlayers; i++)

    {

             z_straj_bomb--;

             z_straj_dengi--;

             z_straj_skin--;

             z_straj_gigi--;

             z_straj_hp--;

            

             devil_skin--;

             devil_riot--;

             devil_long--;

             devil_chicken--;

             devil_damage--;

             devil_dollar--;

             devil_fly = 4;

             with_trail = 0;

             devil_remove_trail(i);

             remove_task(INDEX_POSITION_TASK + i);

             WeaponChoosed = false;

            

             x_presid_ammo -= 1;

             x_presid_shoker -= 1;

             x_presid_shield -= 1;



             x_presid_bomb -= 1;

             x_presid_latch -= 1;

             x_presid_pack -= 1;

    }

    if(jbe_get_day_week() <= 5 || !g_iDayModeListSize || g_iAlivePlayersNum[1] < 2 || !g_iAlivePlayersNum[2])

    {

        PrimerOff = true;

        if(g_iAlivePlayersNum[1] <= 5) {

            formatex(AskIntoInformer, charsmax(AskIntoInformer), "Пример: откл");

        } else{

            formatex(AskIntoInformer, charsmax(AskIntoInformer), "Пример: ...");

            set_task(10.0, "NewAsk", TASK_NewAsk);

        }

        

        if(!g_iChiefStatus)

        {

            g_iChiefChoiceTime = 40 + 1;

            set_task(1.0, "jbe_chief_choice_timer", TASK_CHIEF_CHOICE_TIME, _, _, "a", g_iChiefChoiceTime);

        }

        for(new i = 1; i <= g_iMaxPlayers; i++)

        {

            GiftReceived = false;

            if(g_iUserTeam == 1)

            {

                if(IsSetBit(g_iBitUserFreeNextRound, i))

                {

                    jbe_add_user_free(i);

                    ClearBit(g_iBitUserFreeNextRound, i);

                }

                if(IsSetBit(g_iBitUserVoiceNextRound, i))

                {

                    SetBit(g_iBitUserVoice, i);

                    ClearBit(g_iBitUserVoiceNextRound, i);

                }

            }

            if((get_user_flags(i) & ADMIN_LEVEL_H) || IsSetBit(g_iBitUserVip, i))

            {

                g_iVipHealth = g_iAllCvars[VIP_HEALTH_NUM];

                g_iVipMoney++;

                g_iVipKnife++;

                g_iVipVoice++;

                g_iVipSpeedGrav++;

                g_iVipRespawn = g_iAllCvars[VIP_RESPAWN_NUM];

            }

            if(IsSetBit(g_iBitUserSuperAdmin, i))

            {

                g_iAdminRespawn = g_iAllCvars[ADMIN_RESPAWN_NUM];

                g_iAdminHealth = g_iAllCvars[ADMIN_HEALTH_NUM];

                g_iAdminMoney++;

                g_iAdminGod++;

                g_iAdminFootSteps++;

            }

            if(g_iDayWeek < 6 && g_iUserTeam == 1 && IsSetBit(g_iBitUserStraj, i))

            {

                set_pev(i, pev_gravity, 0.4);

                SetBit(g_iBitDoubleJump, i);

                set_pev(i, pev_health, 150.0);

                set_pev(i, pev_armorvalue, 150.0);

                SetBit(g_iBitUltraHands, i); 

            }

            if(g_iDayWeek < 6 && g_iUserTeam == 2 && IsSetBit(g_iBitUserStraj, i))

            {

                set_pev(i, pev_health, 200.0);

                set_pev(i, pev_armorvalue, 200.0);

            }

            g_iFrostGranade++;

        }

        ssoglush = 1;

        ssvozrodct = 1;

        sshighjump = 5;

        if(ssnevidim > 0) ssnevidim--;

        ssdamage = 1;

        ssrun = 1;

        sshealth = 1;

        ssbhop = 1;

        ssmaskir = 1;

    }

    else jbe_vote_day_mode_start();

}
 
Последнее редактирование модератором:
Сообщения
1,536
Реакции
2,324
Помог
39 раз(а)
Voody, нормально вставьте код через бб-код "код"
 
Сообщения
198
Реакции
16
Помог
1 раз(а)
Minni, наверное попытка решить проблему самостоятельно :crazy:

автор, покажи объявление g_Free_Count
 

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

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