Ошибка при запуске сервера

Сообщения
2
Реакции
0
Ошибка
Host_Error: PF_precache_generic_I: Bad string
ОС
Linux
Amx Mod X
1.9.0
Билд
3.14.0.837-dev
ReGamedll
5.26.0.668-dev
Версия Metamod
v1.3.0.149
Список метамодулей
[ 1] AMX Mod X        RUN   -    amxmodx_mm_i386.so        v1.9.0.5294      ini  Start ANY  
[ 2] SafeNameAndChat RUN - SafeNameAndChat.so v1.2 Beta 3 ini ANY ANY
[ 3] Reunion RUN - reunion_mm_i386.so v0.2.0.13 ini Start Never
[ 4] ReAuthCheck RUN - reauthcheck_mm_i386.so v0.1.6 ini Start Never
[ 5] ReSemiclip RUN - resemiclip_mm_i386.so v2.4.3 ini Chlvl ANY
[ 6] Revoice RUN - revoice_mm_i386.so v0.1.0.34 ini Start Never
[ 7] Rechecker RUN - rechecker_mm_i386.so v2.7 ini Chlvl ANY
[ 8] YaPB RUN - yapb.so v4.4.957 ini Chlvl ANY
[ 9] Engine RUN - engine_amxx_i386.so v1.9.0.5294 pl1 ANY ANY
[10] FakeMeta RUN - fakemeta_amxx_i386.so v1.9.0.5294 pl1 ANY ANY
[11] Ham Sandwich RUN - hamsandwich_amxx_i386.so v1.9.0.5294 pl1 ANY ANY
[12] MySQL RUN - mysql_amxx_i386.so v1.9.0.5294 pl1 ANY ANY
[13] CSX RUN - csx_amxx_i386.so v1.9.0.5294 pl1 ANY ANY
[14] ReAPI RUN - reapi_amxx_i386.so v5.24.0.300-dev pl1 ANY Never
Список плагинов
[  1] [190] Ultimate Weapons  22.11.15    SKAJIbnEJIb       ultimate_weapon  running  
[ 2] [190] Snipers RBS 20.06.06 SKAJIbnEJIb snipers_rbs.amx running
[ 3] [190] Ultimate Informe 21.03.23 SKAJIbnEJIb ultimate_inform running
[ 4] Restrict Weapons 17.09.14 SKAJIbnEJIb & AM restmenu_rbs.am running
[ 5] [190] BuyMenu RBS 21.03.23 SKAJIbnEJIb buymenu_rbs.amx running
[ 6] [190] PTB RBS 20.06.06 SKAJIbnEJIb ptb_rbs.amxx running
[ 7] [190] VIP RBS 20.07.20 SKAJIbnEJIb vip_rbs.amxx running
[ 8] [190] CsStats MySQL 22.11.15 SKAJIbnEJIb csstats_mysql.a running
[ 9] Stats Configuration 20.06.06 SKAJIbnEJIb & AM statscfg_rbs.am running
[ 10] [190] StatsX RBS 21.03.23 SKAJIbnEJIb & AM statsx_rbs.amxx running
[ 11] [190] Skill ELO 22.11.15 SKAJIbnEJIb skill_elo.amxx running
[ 12] [190] Army Ranks Ultim 20.06.06 SKAJIbnEJIb army_ranks_ulti running
[ 13] [190] Chat RBS 20.06.06 SKAJIbnEJIb chat_rbs.amxx running
[ 14] Admin Base 1.9.0.5294 AMXX Dev Team admin.amxx running
[ 15] Admin Commands 1.9.0.5294 AMXX Dev Team admincmd.amxx running
[ 16] Admin Help 1.9.0.5294 AMXX Dev Team adminhelp.amxx running
[ 17] Slots Reservation 1.9.0.5294 AMXX Dev Team adminslots.amxx running
[ 18] Multi-Lingual System 1.9.0.5294 AMXX Dev Team multilingual.am running
[ 19] Menus Front-End 1.9.0.5294 AMXX Dev Team menufront.amxx running
[ 20] Commands Menu 1.9.0.5294 AMXX Dev Team cmdmenu.amxx running
[ 21] Players Menu 1.9.0.5294 AMXX Dev Team plmenu.amxx running
[ 22] Plugin Menu 1.9.0.5294 AMXX Dev Team pluginmenu.amxx running
[ 23] Admin Chat 1.9.0.5294 AMXX Dev Team adminchat.amxx running
[ 24] Anti Flood 1.9.0.5294 AMXX Dev Team antiflood.amxx running
[ 25] Scrolling Message 1.9.0.5294 AMXX Dev Team scrollmsg.amxx running
[ 26] Info. Messages 1.9.0.5294 AMXX Dev Team imessage.amxx running
[ 27] Admin Votes 1.9.0.5294 AMXX Dev Team adminvote.amxx running
[ 28] [ReAPI] Hint blocker 0.1.0 F@tn0M hint_blocker.am running
[ 29] UTDM Frag Informer 1.0A tanako sai utdm_spawn_info running
[ 30] UTDM Player Skin Syste 0.1 Alpha tanako sai utdm_skin_syste debug
[ 31] Map Manager: Core 3.2.1 Mistrick map_manager_cor running
[ 32] Map Manager: Scheduler 0.2.1 Mistrick map_manager_sch running
[ 33] Map Manager: Rtv 0.1.5 Mistrick map_manager_rtv running
[ 34] Map Manager: Nominatio 0.3.5 Mistrick map_manager_nom running
[ 35] Map Manager: Online so 0.0.4 Mistrick map_manager_onl running
[ 36] Map Manager: Effects 0.1.3 Mistrick map_manager_eff running
[ 37] Map Manager: Informer 0.0.5 Mistrick map_manager_inf running
Автор плагина
tanako sai
Версия плагина
0.1
Исходный код
#include <amxmodx>

#define PLUGIN_NAME "UTDM Player Skin System"
#define PLUGIN_VERSION "0.1 Alpha"
#define PLUGIN_AUTHOR "tanako sai"

// ?????????? ??????
//============================================================================
new const PlayerSkins[][] = {
// "<???????? ? ????> <?????? ??? ?????? ??????> <???? ? ??????> <??????? ? ??????? ??????????? ??????>"
"?????? vector models/player/vector/vector.mdl ct"
}
//============================================================================

enum _:playerSkinInfo{
MODEL_MENU_NAME[32],
MODEL_INDEX[16],
MODEL_PATH[64],
MODEL_TEAM[2]
}

new g_PlayerSkinsArray[sizeof(PlayerSkins)][playerSkinInfo];

public plugin_init()
{
register_plugin(PLUGIN_NAME, PLUGIN_VERSION, PLUGIN_AUTHOR);

// debug
register_clcmd("test", "models_test");

// ????????????? ???????
LoadSkins();
}

public plugin_precache()
{
//for(new i; i < sizeof PlayerSkins; i++)
//precache_model(g_PlayerSkinsArray[i][MODEL_PATH]);
}

public models_test(iPlayer)
{
console_print(iPlayer, "????????: %s | ??????: %s", g_PlayerSkinsArray[0][MODEL_MENU_NAME], g_PlayerSkinsArray[0][MODEL_INDEX]);
console_print(iPlayer, "????: %s | ???????: %s", g_PlayerSkinsArray[0][MODEL_PATH], g_PlayerSkinsArray[0][MODEL_TEAM]);
}

public LoadSkins()
{
for(new i; i < sizeof PlayerSkins; i++){
parse(PlayerSkins[i], g_PlayerSkinsArray[i][MODEL_MENU_NAME], charsmax(g_PlayerSkinsArray[][MODEL_MENU_NAME]),
g_PlayerSkinsArray[i][MODEL_INDEX], charsmax(g_PlayerSkinsArray[][MODEL_INDEX]),
g_PlayerSkinsArray[i][MODEL_PATH], charsmax(g_PlayerSkinsArray[][MODEL_PATH]),
g_PlayerSkinsArray[i][MODEL_TEAM], charsmax(g_PlayerSkinsArray[][MODEL_TEAM]));
}
}
Компилируется без ошибок , но при запуске сервер падает с данной ошибкой.
 
Сообщения
264
Реакции
132
Помог
13 раз(а)
dj_peach, падает потому что строчки в plugin_precache() закомментированы.
 

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

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