крашится сервер

Статус
В этой теме нельзя размещать новые ответы.
Сообщения
85
Реакции
-3
Ошибка
L 05/29/2020 - 18:47:41: Start of error session.
L 05/29/2020 - 18:47:41: Info (map "de_dust2_2x2") (file "addons/amxmodx/logs/error_20200529.log")
L 05/29/2020 - 18:47:41: Player 1 is not in game.
L 05/29/2020 - 18:47:41: [AMXX] Displaying debug trace (plugin "csdm_equip.amxx", version "2.1.3c")
L 05/29/2020 - 18:47:41: [AMXX] Run time error 10: native error (native "menu_display")
L 05/29/2020 - 18:47:41: [AMXX] [0] csdm_equip.sma::m_SecHandler (line 812)
ОС
Linux
Amx Mod X
AMX Mod X 1.9.0.5263 (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: Oct 27 2019 16:23:31
Built from: https://github.com/alliedmodders/amxmodx/commit/15a14a0
Build ID: 5263:15a14a0
Core mode: JIT+ASM32
Билд
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
ReHLDS version: 3.7.0.695-dev
Build date: 15:54:29 Apr 6 2020 (2186)
Build from: https://github.com/dreamstalker/rehlds/commit/7513e71
ReGamedll
ReGameDLL version: 5.16.0.460-dev
Build date: 10:11:49 May 2 2020
Build from: https://github.com/s1lentq/ReGameDLL_CS/commit/4f72525
Версия 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
Список метамодулей
Currently loaded plugins:
description stat pend file vers src load unload
[ 1] Reunion RUN - reunion.so v0.1.0.135 ini Start Never
[ 2] AMX Mod X RUN - amxmodx.so v1.9.0.5263 ini Start ANY
[ 3] Rechecker RUN - rechecker_mm_i386.so v2.5 ini ANY
[ 4] ReAuthCheck RUN - reauthcheck_mm_i386.so v0.1.6 ini Start Never
[ 5] VoiceTranscoder RUN - VoiceTranscoder.so v2017RC5 ini ANY
[ 6] WHBlocker RUN - whblocker_mm_i386.so v1.5.696 ini ANY
[ 7] ReSRDetector RUN - resrdetector_mm_i386.so v0.1.0 ini ANY
[ 8] ReSemiclip RUN - resemiclip_mm_i386.so v2.3.9 ini ANY
[ 9] CStrike RUN - cstrike_amxx_i386.so v1.8.2 pl2 ANY
[10] CSX RUN - csx_amxx_i386.so v1.8.2 pl2 ANY ANY
[11] ReAPI RUN - reapi_amxx_i386.so v5.12.0.192-dev pl2 ANY Never
[12] FakeMeta RUN - fakemeta_amxx_i386.so v1.9.0.5263 pl2 ANY ANY
[13] MySQL RUN - mysql_amxx_i386.so v1.9.0.5263 pl2 ANY ANY
[14] CSDM2 RUN - csdm_amxx_i386.so v2.1.3c-KWo pl2 ANY ANY
[15] Fun RUN - fun_amxx_i386.so v1.9.0.5263 pl2 ANY ANY
[16] Engine RUN - engine_amxx_i386.so v1.9.0.5263 pl2 ANY ANY
[17] Ham Sandwich RUN - hamsandwich_amxx_i386.so v1.9.0.5263 pl2 ANY ANY
17 plugins, 17 running
Список плагинов
Currently loaded plugins:
name version author file status
[ 1] Admin Loader v3.5 neygomon admin_loader.am running
[ 2] FreshBans v1.4.2b kanagava fresh_bans.amxx running
[ 3] CSDM Main v2.1.3c CSDM Team csdm_main.amxx running
[ 4] Automatic Unstuck v1.5 NL)Ramon(NL \ An autounstuck.amx running
[ 5] Damager Advanced v1.1.2 Radius (based on damager_advance running
[ 6] Yet Another Voteban v1.8 AndrewZ/voed yet_another_vot running
[ 7] Team Select v1.6.0 F@nt0M teamselect.amxx running
[ 8] Admin Commands v1.9.0.5263 AMXX Dev Team admincmd.amxx running
[ 9] Commands Menu v1.9.0.5263 AMXX Dev Team cmdmenu.amxx running
[ 10] Admin Chat v1.9.0.5263 AMXX Dev Team adminchat.amxx running
[ 11] Admin Votes v1.9.0.5263 AMXX Dev Team adminvote.amxx running
[ 12] Slots Reservation v1.9.0.5263 AMXX Dev Team adminslots.amxx running
[ 13] Maps Menu v1.9.0.5263 AMXX Dev Team mapsmenu.amxx running
[ 14] CS Misc. Stats v1.8.2 AMXX Dev Team miscstats.amxx running
[ 15] Players Menu v1.7 neugomon players_menu.am running
[ 16] CS Stats Logging v1.9.0.5263 AMXX Dev Team stats_logging.a running
[ 17] Stats Configuration v1.9.0.5263 AMXX Dev Team statscfg.amxx running
[ 18] Autoresponder/Advertis v0.5 MaximusBrood ad_manager.amxx running
[ 19] CSStatsX SQL v0.7.4+2 serfreeman1337 csstatsx_sql.am running
[ 20] AES: StatsX v0.5.9 [REA serfreeman1337/s aes_statsx_cstr running
[ 21] Auto recording demo v2.0 IzI | Bonaqua (R amx_autodemorec running
[ 22] amxmodmenu v2.0 null amxmodmenu.amxx running
[ 23] [CA] Gag v1.0.0-beta Sergey Shorokhov CA_Gag.amxx running
[ 24] [CA] Mute menu v1.0.0-beta Sergey Shorokhov CA_Mute.amxx running
[ 25] Chats Additions Core v1.0.0-beta Sergey Shorokhov ChatAdditions_C running
[ 26] Change Game Name v1.2 GoldSrc Team game_name.amxx running
[ 27] Kills Counter v0.3 serfreeman1337 kills_counter.a running
[ 28] Map Manager v2.5.61 Mistrick mapmanager.amxx running
[ 29] Advanced Kill Assists v1.2c Xelson next21_kill_ass running
[ 30] Parachute Lite [ReAPI] v11.0 Leo_[BH] parachute_lite. running
[ 31] resetscore(ReAPI) v1.0 Phantom resetscore.amxx running
[ 32] Vampire v1.0c Shalfey vampire.amxx running
[ 33] V.I.P Custom Weapons v1.0.0 Vaqtincha vip_custom.amxx running
[ 34] [ReAPI] Admin Models v0.0.2 Vaqtincha reapi_admin_mod running
[ 35] [ReAPI] No Team Flash v0.0.3 Vaqtincha no_team_flash.a running
[ 36] DM AutoBalance v0.4.0 Nordic Warrior AutoBalance.amx running
[ 37] Spect Bot v1.2 SKAJIbnEJIb & Bo SpectBot.amxx running
[ 38] Lite Translit v2.8 neygomon lite_translit.a running
[ 39] Advanced Experience Sy v0.5.9 [REA serfreeman1337/s aes_main.amxx running
[ 40] AES: CStrike Addon v0.5.9 [REA serfreeman1337/s aes_exp_cstrike running
[ 41] AES: Informer v0.5.9 [REA serfreeman1337/s aes_informer.am running
[ 42] AES: Admin Tools v0.5.9 [REA serfreeman1337/s aes_exp_editor. running
[ 43] AES: Bonus System v0.5.9 Vega serfreeman1337/s aes_bonus_syste running
[ 44] AES: Bonus CSTRIKE v0.5.9.1 [R serfreeman1337/s aes_bonus_cstri running
[ 45] CSDM Equip v2.1.3c CSDM Team csdm_equip.amxx debug
[ 46] CSDM Spawns v2.1.3c CSDM Team csdm_spawn_pres running
[ 47] CSDM Misc v2.1.3c CSDM Team csdm_misc.amxx running
[ 48] CSDM Stripper v2.1.3c KWo csdm_stripper.a running
[ 49] CSDM Protection v2.1.3c BAILOPAN csdm_protection running
[ 50] V.I.P Custom KNIFE v1.0.0 Vaqtincha custom_knife.am debug
[ 51] V.I.P Custom DEAGLE v1.0.0 Vaqtincha custom_deagle.a debug
[ 52] V.I.P Custom M4A1 v1.0.0 Vaqtincha custom_m4a1.amx debug
[ 53] V.I.P Custom AK-47 v1.0.0 Vaqtincha custom_ak47.amx debug
[ 54] V.I.P Custom AWP v1.0.0 Vaqtincha custom_awp.amxx debug
54 plugins, 54 running
Крашится сервер, но не часто с ошибкой выше, как исправить подскажите пожалуйста
 
В этой теме было размещено решение! Перейти к решению.

Вложения

Сообщения
85
Реакции
-3
Сообщения
3,050
Реакции
1,739
Помог
80 раз(а)
pavel1224, это тот же КСДМ, только оптимизирован по коду для РЕХЛДС. конфиги одни и теже и настройки
29 Май 2020
+
[ 9] CStrike RUN - cstrike_amxx_i386.so v1.8.2 pl2 ANY
[10] CSX RUN - csx_amxx_i386.so v1.8.2 pl2 ANY ANY

обновить до v1.9.0.5263
 

hajimura

Е777КХ05
Сообщения
290
Реакции
228
Помог
6 раз(а)
Крашится сервер, но не часто с ошибкой выше, как исправить подскажите пожалуйста
Код:
//Secondary Weapon Menu handler
public m_SecHandler(id, menu, item)
{
++  if(!is_user_connected(id)) return PLUGIN_HANDLED;

    // Get item info
    new cmd[6], iName[64]
    new access, callback
   
    menu_item_getinfo(menu, item, access, cmd,5, iName, 63, callback)
   
    new wep = str_to_num(cmd)
   
    new team = get_user_team(id)
    new weaptype = get_weaponid(g_Secondary[wep])

    if (((UsedWpsT[weaptype] < RestrictWps[weaptype]) && (team == _TEAM_T)
            || (UsedWpsCT[weaptype] < RestrictWps[weaptype]) && (team == _TEAM_CT))
      && !g_DisabledSec[wep])
    {
        copy(g_SecWeapons[id],17,g_Secondary[wep])
        equipUser(id, EQUIP_SEC)
    }
    else if (g_mSecStatus)
    {
        menu_display(id, g_SecMenuID, 0)
        return PLUGIN_HANDLED
    }

    // Show next menu here
   
    if (g_mPrimStatus)
    {
        menu_display(id, g_PrimMenuID, 0)
    }
    else if (g_mArmorStatus)
    {
        menu_display(id, g_ArmorMenuID, 0)
    }
    else if (g_mNadeStatus)
    {
        if (g_mAutoArmor)
        {
            equipUser(id, EQUIP_ARMOR)
        }
        menu_display(id, g_NadeMenuID, 0)
    }
    else
    {
        if (g_mAutoArmor)
        {
            equipUser(id, EQUIP_ARMOR)
        }
        if (g_mAutoNades)
        {
            equipUser(id, EQUIP_GREN)
        }
        equipUser(id, EQUIP_ITEMS)
    }
   
    return PLUGIN_HANDLED
}
 
Сообщения
85
Реакции
-3
pavel1224, это тот же КСДМ, только оптимизирован по коду для РЕХЛДС. конфиги одни и теже и настройки
29 Май 2020
+
[ 9] CStrike RUN - cstrike_amxx_i386.so v1.8.2 pl2 ANY
[10] CSX RUN - csx_amxx_i386.so v1.8.2 pl2 ANY ANY

обновить до v1.9.0.5263
Не заметил этот момент, спасибо, обновлю)
29 Май 2020
Код:
//Secondary Weapon Menu handler
public m_SecHandler(id, menu, item)
{
++  if(!is_user_connected(id)) return PLUGIN_HANDLED;

    // Get item info
    new cmd[6], iName[64]
    new access, callback
  
    menu_item_getinfo(menu, item, access, cmd,5, iName, 63, callback)
  
    new wep = str_to_num(cmd)
  
    new team = get_user_team(id)
    new weaptype = get_weaponid(g_Secondary[wep])

    if (((UsedWpsT[weaptype] < RestrictWps[weaptype]) && (team == _TEAM_T)
            || (UsedWpsCT[weaptype] < RestrictWps[weaptype]) && (team == _TEAM_CT))
      && !g_DisabledSec[wep])
    {
        copy(g_SecWeapons[id],17,g_Secondary[wep])
        equipUser(id, EQUIP_SEC)
    }
    else if (g_mSecStatus)
    {
        menu_display(id, g_SecMenuID, 0)
        return PLUGIN_HANDLED
    }

    // Show next menu here
  
    if (g_mPrimStatus)
    {
        menu_display(id, g_PrimMenuID, 0)
    }
    else if (g_mArmorStatus)
    {
        menu_display(id, g_ArmorMenuID, 0)
    }
    else if (g_mNadeStatus)
    {
        if (g_mAutoArmor)
        {
            equipUser(id, EQUIP_ARMOR)
        }
        menu_display(id, g_NadeMenuID, 0)
    }
    else
    {
        if (g_mAutoArmor)
        {
            equipUser(id, EQUIP_ARMOR)
        }
        if (g_mAutoNades)
        {
            equipUser(id, EQUIP_GREN)
        }
        equipUser(id, EQUIP_ITEMS)
    }
  
    return PLUGIN_HANDLED
}
Попробую, надеюсь поможет)
 
Сообщения
85
Реакции
-3
shadow, вроде как помогло, спасибо тебе большое! А то все советы заменить то заменить другое, когда можно что-то исправить и ничего в корне не менять, спасибо дружище!
 
Статус
В этой теме нельзя размещать новые ответы.

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

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