FATAL ERROR (shutting down) (Models Replacement 0.0.2)

Статус
В этой теме нельзя размещать новые ответы.
Сообщения
134
Реакции
40
Помог
2 раз(а)
Ошибка
L 02/16/2022 - 20:00:00: FATAL ERROR (shutting down): SV_ModelIndex: SV_ModelIndex: model models/custom/v_frostgrenade not precached
FATAL ERROR (shutting down): SV_ModelIndex: SV_ModelIndex: model models/custom/v_frostgrenade not precached
./hlds_run: line 272: 25294 Segmentation fault (core dumped) $HL_CMD
ОС
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: 16:15:06 Oct 28 2021 (2756)
Build from: https://github.com/dreamstalker/rehlds/commit/471158b
ReGamedll
ReGameDLL version: 5.21.0.546-dev
Build date: 15:32:48 Dec 28 2021
Build from: https://github.com/s1lentq/ReGameDLL_CS/commit/09a6c61
Версия 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_mm_i386.so v0.1.0.137 ini Start Never
[ 2] Rechecker RUN - rechecker_mm_i386.so v2.7 ini Chlvl ANY
[ 3] Revoice RUN - revoice_mm_i386.so v0.1.0.34 ini Start Never
[ 4] ReSemiclip RUN - resemiclip_mm_i386.so v2.3.9 ini Chlvl ANY
[ 5] AMX Mod X RUN - amxmodx_mm_i386.so v1.9.0.5294 ini Start ANY
[ 6] WHBlocker RUN - whblocker_mm_i386.so v1.5.697 ini Chlvl ANY
[ 7] ReAimDetector RUN - reaimdetector_amxx_i386.so v0.2.2 pl5 ANY Never
[ 8] FakeMeta RUN - fakemeta_amxx_i386.so v1.9.0.5294 pl5 ANY ANY
[ 9] ReAPI RUN - reapi_amxx_i386.so v5.21.0.248-dev pl5 ANY Never
[10] Ham Sandwich RUN - hamsandwich_amxx_i386.so v1.9.0.5294 pl5 ANY ANY
10 plugins, 10 running
Список плагинов
Currently loaded plugins:
name version author file status
[ 1] Models Replacement 0.0.2 ConnorMcLeod | V models_replacem running
[ 2] AMXBans: Screens 1.9.0 MA: 1.6.14 Larte Team amxbans_ssban.a running
2 plugins, 2 running
Автор плагина
Vaqtincha
Версия плагина
0.0.2 (26 Ноя 2021)
Исходный код
// #define SET_MODELINDEX


#define MAX_MODEL_LEN 64
#define MAX_PATH_LEN 128
#define MAX_PLAYERS 32
#define MAX_BUFFER_LEN MAX_MODEL_LEN + MAX_MODEL_LEN


#include <amxmodx>
#include <fakemeta>
#include <reapi>
#include <hamsandwich>

#define VERSION "0.0.2"

#define UserValidTeam(%1) (TEAM_TERRORIST <= get_member(%1, m_iTeam) <= TEAM_CT)
#define AllocString(%1) engfunc(EngFunc_AllocString,%1)
#define SetModel(%1,%2) engfunc(EngFunc_SetModel,%1,%2)
#define IsPlayer(%1) (1 <= %1 <= g_iMaxPlayers)

#define SetUserModeled(%1) g_bModeled |= 1<<(%1 & 31)
#define SetUserNotModeled(%1) g_bModeled &= ~( 1<<(%1 & 31))
#define IsUserModeled(%1) (g_bModeled & 1<<(%1 & 31))

#define SetUserConnected(%1) g_bConnected |= 1<<(%1 & 31)
#define SetUserNotConnected(%1) g_bConnected &= ~( 1<<(%1 & 31))
#define IsUserConnected(%1) (g_bConnected & 1<<(%1 & 31))

const ClCorpse_ModelName = 1
const ClCorpse_PlayerID = 12

const g_ulModelIndexPlayer = 491

new const MODEL[] = "model"
new const g_szMapEntitys[][] = {"cycler_sprite", "cycler", "armoury_entity"}

new const g_szDefaultModels[][] = {"", "urban", "terror", "leet", "arctic",
"gsg9", "gign", "sas", "guerilla", "vip", "militia", "spetsnaz"
}

new const g_szWeaponNames[CSW_P90+1][] = {"","p228","","scout","hegrenade","xm1014","c4","mac10",
"aug","smokegrenade","elite","fiveseven","ump45","sg550","galil","famas","usp","glock18","awp",
"mp5navy","m249","m3","m4a1","tmp","g3sg1","flashbang","deagle","sg552","ak47","knife","p90"
}

new g_iWeaponIds[CSW_P90+1]

new Trie:g_tDefaultModels, Trie:g_tModelIndexes, Trie:g_tMapModels
new Trie:g_tViewModels, Trie:g_tWeaponModels, Trie:g_tWorldModels

new g_bConnected, g_bModeled, g_iMaxPlayers, bool:g_bPlayerModels
new g_szCurrentModel[MAX_PLAYERS+1][MAX_MODEL_LEN]


public plugin_init()
{
register_plugin("Models Replacement", VERSION, "ConnorMcLeod | Vaqtincha")

if(g_bPlayerModels)
{
register_forward(FM_SetClientKeyValue, "SetClientKeyValue_Pre", 0)
register_message(get_user_msgid("ClCorpse"), "Message_ClCorpse")
}
if(g_tWorldModels)
{
register_forward(FM_SetModel, "SetModel_Pre", 0)
}
if(g_tMapModels)
{
SetMapModels()
}
g_iMaxPlayers = get_maxplayers()
}

public plugin_precache()
{
new szConfigFile[MAX_PATH_LEN]
get_localinfo("amxx_configsdir", szConfigFile, charsmax(szConfigFile))
add(szConfigFile, charsmax(szConfigFile), "/models_replacement.ini")

if(file_exists(szConfigFile))
{
new iFile = fopen(szConfigFile, "rt")
if(!iFile)
{
set_fail_state("[MODELS_REPLACEMENT] ERROR: Failed reading file!")
return
}
new szDatas[MAX_BUFFER_LEN + 10], szWeaponClass[32], iId, c
new szOldModel[MAX_MODEL_LEN], szNewModel[MAX_MODEL_LEN]

new Trie:tRegisterWeaponDeploy = TrieCreate()
new Trie:tWeaponsIds = TrieCreate()
g_tModelIndexes = TrieCreate()
g_tDefaultModels = TrieCreate()

for(new i = 1; i<sizeof(g_szDefaultModels); i++)
{
TrieSetCell(g_tDefaultModels, g_szDefaultModels[i], i)
}
for(new i = CSW_P228; i <= CSW_P90; i++)
{
TrieSetCell(tWeaponsIds, g_szWeaponNames[i], g_iWeaponIds[i])
}

while(!feof(iFile))
{
fgets(iFile, szDatas, charsmax(szDatas))
trim(szDatas)

if(!(c = szDatas[0]) || c == ';' || c == '#')
{
continue
}
if(parse(szDatas, szOldModel, charsmax(szOldModel), szNewModel, charsmax(szNewModel)) != 2)
{
continue
}
if(!szOldModel[0] || !szNewModel[0] || equal(szNewModel, szOldModel))
{
continue
}
if(TrieKeyExists(g_tDefaultModels, szOldModel))
{
if(PrecachePlayerModel(szNewModel))
{
TrieSetString(g_tDefaultModels, szOldModel, szNewModel)
g_bPlayerModels = true
}
}else{
if(((c = szOldModel[0]) == 'p' || c == 'v' ) && szOldModel[1] == '_')
{
if(equal(szOldModel[2], "mp5", 3))
{
copy(szWeaponClass, charsmax(szWeaponClass), "weapon_mp5navy")
}else{
formatex(szWeaponClass, charsmax(szWeaponClass), "weapon_%s", szOldModel[2])
}

if(!TrieGetCell(tWeaponsIds, szWeaponClass[7], iId))
{
server_print("[MODELS_REPLACEMENT] WARNING: Invalid weapon class ^"%s^" will be skipped!", szWeaponClass)
continue
}
if(!TrieKeyExists(tRegisterWeaponDeploy, szWeaponClass))
{
TrieSetCell
(
tRegisterWeaponDeploy,
szWeaponClass,
RegisterHam(Ham_Item_Deploy, szWeaponClass, "ItemDeploy_Post", true)
)
}

format(szNewModel, charsmax(szNewModel), "models/%s.mdl", szNewModel)
if(c == 'v')
{
if(!g_tViewModels)
{
g_tViewModels = TrieCreate()
}
if(PrecacheWeaponModel(szNewModel))
{
TrieSetString(g_tViewModels, szWeaponClass, szNewModel)
}
}else{
if(!g_tWeaponModels)
{
g_tWeaponModels = TrieCreate()
}
if(PrecacheWeaponModel(szNewModel))
{
TrieSetString(g_tWeaponModels, szWeaponClass, szNewModel)
}
}
}else{
format(szOldModel, charsmax(szOldModel), "models/%s.mdl", szOldModel)
format(szNewModel, charsmax(szNewModel), "models/%s.mdl", szNewModel)

if(c == 'w')
{
if(!g_tWorldModels)
{
g_tWorldModels = TrieCreate()
}
else if(TrieKeyExists(g_tWorldModels, szOldModel))
{
continue
}
if(PrecacheWeaponModel(szNewModel))
{
TrieSetString(g_tWorldModels, szOldModel, szNewModel)
}
}
}
if(!g_tMapModels)
{
g_tMapModels = TrieCreate()
}
if(PrecacheWeaponModel(szNewModel))
{
TrieSetString(g_tMapModels, szOldModel, szNewModel)
}
}
}

fclose(iFile)
TrieDestroy(tRegisterWeaponDeploy)
TrieDestroy(tWeaponsIds)
}else{
new iFile = fopen(szConfigFile, "w")
if(!iFile)
{
set_fail_state("[MODELS_REPLACEMENT] ERROR: Failed creating file!")
return
}

fputs(iFile, "^n; Format: ^"old model^" ^"new model^" (without 'models/' & '.mdl')^n;^n; Examples:^n")
fputs(iFile, "^n; ^"arctic^" ^"vip^"^n; ^"chick^" ^"winebottle^"")
fputs(iFile, "^n; ^"v_awp^" ^"custom/v_awp^"^n; ^"p_awp^" ^"custom/p_awp^"^n; ^"w_awp^" ^"custom/w_awp^"")

fclose(iFile)
}
}

public client_putinserver(id)
{
if(!is_user_hltv(id))
{
SetUserConnected(id)
}
}

public client_disconnected(id)
{
SetUserNotModeled(id)
SetUserNotConnected(id)
}

public ItemDeploy_Post(wEnt)
{
if(wEnt <= 0 || get_entvar(wEnt, var_impulse))
{
return
}

new id = get_member(wEnt, m_pPlayer)
if(IsPlayer(id))
{
new szNewModel[32], szWeaponClass[32]
get_entvar(wEnt, var_classname, szWeaponClass, charsmax(szWeaponClass))

if(g_tViewModels && TrieGetString(g_tViewModels, szWeaponClass, szNewModel, charsmax(szNewModel)))
{
set_entvar(id, var_viewmodel, szNewModel)
}
if(g_tWeaponModels && TrieGetString(g_tWeaponModels, szWeaponClass, szNewModel, charsmax(szNewModel)))
{
set_entvar(id, var_weaponmodel, szNewModel)
}
}
}

public SetModel_Pre(iEnt, const szModel[])
{
/* if(!pev_valid(iEnt))
{
return FMRES_IGNORED
} */

new szNewModel[MAX_MODEL_LEN]
if(TrieGetString(g_tWorldModels, szModel, szNewModel, charsmax(szNewModel)))
{
SetModel(iEnt, szNewModel)
return FMRES_SUPERCEDE
}
return FMRES_IGNORED
}

public SetClientKeyValue_Pre(id, const szInfoBuffer[], const szKey[], const szValue[])
{
if(!equal(szKey, MODEL) || !IsUserConnected(id) || !UserValidTeam(id))
{
return FMRES_IGNORED
}

new szSupposedModel[MAX_MODEL_LEN]
if(TrieGetString(g_tDefaultModels, szValue, szSupposedModel, charsmax(szSupposedModel)))
{
if(szSupposedModel[0])
{
if(!IsUserModeled(id) || !equal(g_szCurrentModel[id], szSupposedModel) || !equal(szValue, szSupposedModel))
{
copy(g_szCurrentModel[id], MAX_MODEL_LEN-1, szSupposedModel)
SetUserModeled(id)
set_user_info(id, MODEL, szSupposedModel)
#if defined SET_MODELINDEX
new iModelIndex
TrieGetCell(g_tModelIndexes, szSupposedModel, iModelIndex)
// set_pev(id, pev_modelindex, iModelIndex); // is this needed ?
set_member(id, m_modelIndexPlayer, iModelIndex)
#endif
return FMRES_SUPERCEDE
}
}

if(IsUserModeled(id))
{
SetUserNotModeled(id)
g_szCurrentModel[id][0] = 0
}
}
return FMRES_IGNORED
}

public Message_ClCorpse()
{
new id = get_msg_arg_int(ClCorpse_PlayerID)
if(IsUserModeled(id))
{
set_msg_arg_string(ClCorpse_ModelName, g_szCurrentModel[id])
}
}

public plugin_end()
{
if(g_tModelIndexes)
{
TrieDestroy(g_tModelIndexes)
}
if(g_tViewModels)
{
TrieDestroy(g_tViewModels)
}
if(g_tWeaponModels)
{
TrieDestroy(g_tWeaponModels)
}
if(g_tWorldModels)
{
TrieDestroy(g_tWorldModels)
}
if(g_tMapModels)
{
TrieDestroy(g_tMapModels)
}
}

SetMapModels()
{
new iEnt = FM_NULLENT
new szSupposedModel[MAX_MODEL_LEN], szModel[MAX_MODEL_LEN]

for(new i = 0; i <sizeof(g_szMapEntitys); i++)
{
while((iEnt = engfunc(EngFunc_FindEntityByString, iEnt, "classname", g_szMapEntitys[i])))
{
get_entvar(iEnt, var_model, szModel, charsmax(szModel));
if(TrieGetString(g_tMapModels, szModel, szSupposedModel, charsmax(szSupposedModel)))
{
SetModel(iEnt, szSupposedModel)
}
}
}
}

PrecacheWeaponModel(const szModel[])
{
new szMsg[MAX_MODEL_LEN + 64]

if(!file_exists(szModel))
{
formatex(szMsg, charsmax(szMsg), "[MODELS_REPLACEMENT] ERROR: Model ^"%s^" not found!", szModel)
set_fail_state(szMsg)
return 0
}
precache_model(szModel)
return 1
}

PrecachePlayerModel(const szModel[])
{
if(TrieKeyExists(g_tModelIndexes, szModel) || TrieKeyExists(g_tDefaultModels, szModel))
{
return 1
}
new szFileToPrecache[64], szMsg[MAX_MODEL_LEN + 64]
formatex(szFileToPrecache, charsmax(szFileToPrecache), "models/player/%s/%s.mdl", szModel, szModel)

if(!file_exists(szFileToPrecache))
{
formatex(szMsg, charsmax(szMsg), "[MODELS_REPLACEMENT] ERROR: Player model ^"%s^" not found!", szFileToPrecache)
set_fail_state(szMsg)
return 0
}

TrieSetCell(g_tModelIndexes, szModel, precache_model(szFileToPrecache))

formatex(szFileToPrecache, charsmax(szFileToPrecache), "models/player/%s/%st.mdl", szModel, szModel)
if(file_exists(szFileToPrecache))
{
precache_model(szFileToPrecache)
return 1
}
formatex(szFileToPrecache, charsmax(szFileToPrecache), "models/player/%s/%sT.mdl", szModel, szModel)
if(file_exists(szFileToPrecache))
{
precache_model(szFileToPrecache)
return 1
}
return 1
}
; Format: "old model" "new model" (without 'models/' & '.mdl')
;
; Examples:

;"arctic" "vip"
;"chick" "winebottle"
"v_smokegrenade" "custom/v_frostgrenade"
"p_smokegrenade" "custom/p_frostgrenade"
"w_smokegrenade" "custom/w_frostgrenade"

----------------------------------------------
CRASH: Wed Feb 16 20:00:00 MSK 2022
Start Line: ./hlds_linux -game cstrike +ip 46.174.52.7 +port 27204 +map $2000$ +maxplayers 21 -condebug -debug -timeout 60 +sys_ticrate 10000 -noipx -norestart -pidfile game.pid
[New LWP 25294]
[New LWP 25295]
[New LWP 25298]
[New LWP 25303]
[New LWP 25302]
[New LWP 25304]
[New LWP 25305]
[New LWP 25332]
[New LWP 25296]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `./hlds_linux -game cstrike +ip 46.174.52.7 +port 27204 +map $2000$ +maxplayers'.
Program terminated with signal 11, Segmentation fault.
#0 0xf6d76869 in Sys_Error(char const*, ...) () from /game/engine_i486.so
#0 0xf6d76869 in Sys_Error(char const*, ...) () from /game/engine_i486.so
#1 0xf6d5c8d6 in SV_ModelIndex(char const*) () from /game/engine_i486.so
#2 0xf6d8e8e8 in PF_modelindex(char const*) () from /game/engine_i486.so
#3 0xf7653834 in ?? ()
#4 0x00000000 in ?? ()
No symbol table info available.
From To Syms Read Shared Object Library
0xf769e914 0xf76e4c78 Yes ./libstdc++.so.6
0xf764ca90 0xf764d97c Yes (*) /lib/libdl.so.2
0xf7635780 0xf7641857 Yes (*) /lib/libpthread.so.0
0xf7487320 0xf75cd91b Yes (*) /lib/libc.so.6
0xf7432460 0xf745cc06 Yes (*) /lib/libm.so.6
0xf741ae04 0xf742a490 Yes ./libgcc_s.so.1
0xf773c8a0 0xf7757261 Yes (*) /lib/ld-linux.so.2
0xf6d4f460 0xf6e0116e Yes (*) /game/engine_i486.so
0xf6ccc900 0xf6ccfdca Yes (*) /lib/librt.so.1
0xf6cba5c0 0xf6cc4d74 Yes (*) /game/./libsteam_api.so
0xf6c92e00 0xf6cae838 Yes (*) /game/filesystem_stdio.so
0xf54fd9c0 0xf6611a44 Yes (*) /.steam/sdk32/steamclient.so
0xf2bb86a0 0xf2bfaf70 Yes (*) /game/./cstrike/addons/metamod/metamod_i386.so
0xf2953500 0xf2aea6b0 Yes (*) /game/cstrike/dlls/cs.so
0xf27d8850 0xf27fc550 Yes (*) /game/cstrike/addons/reunion/reunion_mm_i386.so
0xf27af300 0xf27c5cab Yes (*) /game/cstrike/addons/rechecker/rechecker_mm_i386.so
0xf266af70 0xf276f030 Yes (*) /game/cstrike/addons/revoice/revoice_mm_i386.so
0xf2648b90 0xf26522f0 Yes (*) /game/cstrike/addons/resemiclip/resemiclip_mm_i386.so
0xf2471a20 0xf24d4db7 Yes (*) /game/cstrike/addons/amxmodx/dlls/amxmodx_mm_i386.so
0xf244b130 0xf2451810 Yes (*) cstrike/addons/amxmodx/modules/reaimdetector_amxx_i386.so
0xf2390340 0xf23a348e Yes (*) /game/cstrike/addons/whblocker/whblocker_mm_i386.so
0xf23529d0 0xf237ed6c Yes (*) cstrike/addons/amxmodx/modules/fakemeta_amxx_i386.so
0xf22c6340 0xf230dc50 Yes (*) cstrike/addons/amxmodx/modules/reapi_amxx_i386.so
0xf2245b60 0xf228d624 Yes (*) cstrike/addons/amxmodx/modules/hamsandwich_amxx_i386.so
0xf07939c0 0xf18a7a44 Yes (*) ./steamclient.so
0xee614670 0xee68a020 Yes (*) ./crashhandler.so
0xf20e3a50 0xf20eafb9 Yes (*) /lib/libnss_files.so.2
0xf20dbc00 0xf20df06e Yes (*) /lib/libnss_dns.so.2
0xf20c36a0 0xf20d2694 Yes (*) /lib/libresolv.so.2
(*): Shared library is missing debugging information.
Stack level 0, frame at 0xffa786c0:
eip = 0xf6d76869 in Sys_Error(char const*, ...); saved eip 0xf6d5c8d6
called by frame at 0xffa786e0
Arglist at 0xffa78288, args:
Locals at 0xffa78288, Previous frame's sp is 0xffa786c0
Saved registers:
ebx at 0xffa786b0, esi at 0xffa786b4, edi at 0xffa786b8, eip at 0xffa786bc
End of crash report
----------------------------------------------


-------- LAST 200 LINES FROM screen.log--------------------------------------
[WHB] Success: Configuration executed.
ReGameDLL version: 5.21.0.546-dev
L 02/16/2022 - 19:58:49: -------- Mapchange to $2000$ --------
L 02/16/2022 - 19:58:49: [tf_weaponrest.amxx] Load items block from 'addons/amxmodx/configs/weaponrest/$2000$.ini'
L 02/16/2022 - 19:58:49: [ReAimDetector] Error: do not set 'AimSens' in ad_set_cfg.
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
CAppInfoCacheReadFromDiskThread took 1 milliseconds to initialize
CApplicationManagerPopulateThread took 0 milliseconds to initialize (will have waited on CAppInfoCacheReadFromDiskThread)
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit

Executing AMX Mod X Configuration File
Executing ReGameDLL Configuration File
Server logging data to file logs/L0216326.log
L 02/16/2022 - 19:58:50: Log file started (file "logs/L0216326.log") (game "cstrike") (version "48/1.1.2.7/Stdio/2756")
L 02/16/2022 - 19:58:50: Server cvar "mp_logdetail" = "3"
L 02/16/2022 - 19:58:50: Server cvar "mp_playerid" = "1"
L 02/16/2022 - 19:58:50: Server cvar "sv_restart" = "20"
L 02/16/2022 - 19:58:50: Server cvar "mp_chattime" = "3"
Executing ReGameDLL Configuration File
Connection to Steam servers successful.
VAC secure mode is activated.
L 02/16/2022 - 19:58:50: World triggered "Restart_Round_(20_seconds)"
L 02/16/2022 - 19:58:50: Team "CT" scored "0" with "0" players
L 02/16/2022 - 19:58:50: Team "TERRORIST" scored "0" with "0" players
L 02/16/2022 - 19:58:50: Server cvar "sv_restart" = "0"
L 02/16/2022 - 19:58:54: [amxbans_ssban.amxx] Can't add menu item "AMXBans: Скриншоты" from plugin "AMXBans: Screens" to menu set because the Menus Front-End plugin itself is not loaded!
L 02/16/2022 - 19:58:56: Server cvar "mp_buytime" = "0.30"
L 02/16/2022 - 19:58:56: Server cvar "mp_roundtime" = "0"
L 02/16/2022 - 19:58:57: World triggered "Round_Start"
changelevel de_dust2
L 02/16/2022 - 19:59:01: [META] ini: Begin re-reading plugins list: /game/cstrike/addons/metamod/plugins.ini
L 02/16/2022 - 19:59:01: [META] ini: Read plugin config for: Reunion
L 02/16/2022 - 19:59:01: [META] ini: Read plugin config for: Rechecker
L 02/16/2022 - 19:59:01: [META] ini: Read plugin config for: Revoice
L 02/16/2022 - 19:59:01: [META] ini: Read plugin config for: ReSemiclip
L 02/16/2022 - 19:59:01: [META] ini: Read plugin config for: AMX Mod X
L 02/16/2022 - 19:59:01: [META] ini: Read plugin config for: WHBlocker
L 02/16/2022 - 19:59:01: [META] ini: Finished reading plugins list: /game/cstrike/addons/metamod/plugins.ini; Found 6 plugins
L 02/16/2022 - 19:59:01: [META] dll: Updating plugins...
L 02/16/2022 - 19:59:01: [META] dll: Finished updating 10 plugins; kept 6, loaded 0, unloaded 0, reloaded 0, delayed 0
L 02/16/2022 - 19:59:01: [META] dll: Rebuilding callbacks...
L 02/16/2022 - 19:59:01: [META] dll: Callbacks rebuilded.
L 02/16/2022 - 19:59:01: Log file closed
Server logging data to file logs/L0216327.log
L 02/16/2022 - 19:59:01: Log file started (file "logs/L0216327.log") (game "cstrike") (version "48/1.1.2.7/Stdio/2756")
L 02/16/2022 - 19:59:01: Loading map "de_dust2"
L 02/16/2022 - 19:59:01: Server cvars start
L 02/16/2022 - 19:59:01: Server cvar "allow_spectators" = "1"
L 02/16/2022 - 19:59:01: Server cvar "amx_client_languages" = "1"
L 02/16/2022 - 19:59:01: Server cvar "amx_language" = "ru"
L 02/16/2022 - 19:59:01: Server cvar "amxbans_ssversion" = "MA: 1.6.14"
L 02/16/2022 - 19:59:01: Server cvar "amxmodx_version" = "1.9.0.5294"
L 02/16/2022 - 19:59:01: Server cvar "coop" = "0"
L 02/16/2022 - 19:59:01: Server cvar "deathmatch" = "1"
L 02/16/2022 - 19:59:01: Server cvar "decalfrequency" = "3"
L 02/16/2022 - 19:59:01: Server cvar "edgefriction" = "2"
L 02/16/2022 - 19:59:01: Server cvar "ff_damage_reduction_bullets" = "0.35"
L 02/16/2022 - 19:59:01: Server cvar "ff_damage_reduction_grenade" = "0.25"
L 02/16/2022 - 19:59:01: Server cvar "ff_damage_reduction_grenade_self" = "1.0"
L 02/16/2022 - 19:59:01: Server cvar "ff_damage_reduction_other" = "0.35"
L 02/16/2022 - 19:59:01: Server cvar "game_version" = "5.21.0.546-dev"
L 02/16/2022 - 19:59:01: Server cvar "humans_join_team" = "any"
L 02/16/2022 - 19:59:01: Server cvar "max_queries_sec" = "3.0"
L 02/16/2022 - 19:59:01: Server cvar "max_queries_sec_global" = "30"
L 02/16/2022 - 19:59:01: Server cvar "max_queries_window" = "60"
L 02/16/2022 - 19:59:01: Server cvar "metamod_version" = "1.3.0.128"
L 02/16/2022 - 19:59:01: Server cvar "mp_afk_bomb_drop_time" = "15"
L 02/16/2022 - 19:59:01: Server cvar "mp_autokick" = "1"
L 02/16/2022 - 19:59:01: Server cvar "mp_autokick_timeout" = "30"
L 02/16/2022 - 19:59:01: Server cvar "mp_autoteambalance" = "2"
L 02/16/2022 - 19:59:01: Server cvar "mp_buy_anywhere" = "0"
L 02/16/2022 - 19:59:01: Server cvar "mp_buytime" = "0.30"
L 02/16/2022 - 19:59:01: Server cvar "mp_c4timer" = "35"
L 02/16/2022 - 19:59:01: Server cvar "mp_chattime" = "3"
L 02/16/2022 - 19:59:01: Server cvar "mp_consistency" = "1"
L 02/16/2022 - 19:59:01: Server cvar "mp_fadetoblack" = "0"
L 02/16/2022 - 19:59:01: Server cvar "mp_falldamage" = "1"
L 02/16/2022 - 19:59:01: Server cvar "mp_flashlight" = "0"
L 02/16/2022 - 19:59:01: Server cvar "mp_footsteps" = "1"
L 02/16/2022 - 19:59:01: Server cvar "mp_forcecamera" = "0"
L 02/16/2022 - 19:59:01: Server cvar "mp_forcechasecam" = "2"
L 02/16/2022 - 19:59:01: Server cvar "mp_forcerespawn" = "0"
L 02/16/2022 - 19:59:01: Server cvar "mp_fraglimit" = "0"
L 02/16/2022 - 19:59:01: Server cvar "mp_fragsleft" = "0"
L 02/16/2022 - 19:59:01: Server cvar "mp_freeforall" = "0"
L 02/16/2022 - 19:59:01: Server cvar "mp_freezetime" = "0"
L 02/16/2022 - 19:59:01: Server cvar "mp_friendlyfire" = "0"
L 02/16/2022 - 19:59:01: Server cvar "mp_give_player_c4" = "1"
L 02/16/2022 - 19:59:01: Server cvar "mp_hostage_hurtable" = "0"
L 02/16/2022 - 19:59:01: Server cvar "mp_hostagepenalty" = "0"
L 02/16/2022 - 19:59:01: Server cvar "mp_infinite_ammo" = "0"
L 02/16/2022 - 19:59:01: Server cvar "mp_infinite_grenades" = "0"
L 02/16/2022 - 19:59:01: Server cvar "mp_item_staytime" = "600"
L 02/16/2022 - 19:59:01: Server cvar "mp_kickpercent" = "0.66"
L 02/16/2022 - 19:59:01: Server cvar "mp_limitteams" = "2"
L 02/16/2022 - 19:59:01: Server cvar "mp_logdetail" = "3"
L 02/16/2022 - 19:59:01: Server cvar "mp_logfile" = "1"
L 02/16/2022 - 19:59:01: Server cvar "mp_logmessages" = "1"
L 02/16/2022 - 19:59:01: Server cvar "mp_mapvoteratio" = "0.66"
L 02/16/2022 - 19:59:01: Server cvar "mp_maxmoney" = "16000"
L 02/16/2022 - 19:59:01: Server cvar "mp_maxrounds" = "0"
L 02/16/2022 - 19:59:01: Server cvar "mp_playerid" = "1"
L 02/16/2022 - 19:59:01: Server cvar "mp_radio_maxinround" = "10"
L 02/16/2022 - 19:59:01: Server cvar "mp_radio_timeout" = "5"
L 02/16/2022 - 19:59:01: Server cvar "mp_respawn_immunity_effects" = "1"
L 02/16/2022 - 19:59:01: Server cvar "mp_respawn_immunity_force_unset" = "1"
L 02/16/2022 - 19:59:01: Server cvar "mp_respawn_immunitytime" = "0"
L 02/16/2022 - 19:59:01: Server cvar "mp_round_infinite" = "0"
L 02/16/2022 - 19:59:01: Server cvar "mp_round_restart_delay" = "2.5"
L 02/16/2022 - 19:59:01: Server cvar "mp_roundover" = "0"
L 02/16/2022 - 19:59:01: Server cvar "mp_roundtime" = "0"
L 02/16/2022 - 19:59:01: Server cvar "mp_scoreboard_showdefkit" = "1"
L 02/16/2022 - 19:59:01: Server cvar "mp_scoreboard_showhealth" = "3"
L 02/16/2022 - 19:59:01: Server cvar "mp_scoreboard_showmoney" = "3"
L 02/16/2022 - 19:59:01: Server cvar "mp_show_scenarioicon" = "0"
L 02/16/2022 - 19:59:01: Server cvar "mp_startmoney" = "800"
L 02/16/2022 - 19:59:01: Server cvar "mp_timeleft" = "09:46"
L 02/16/2022 - 19:59:01: Server cvar "mp_timelimit" = "10"
L 02/16/2022 - 19:59:01: Server cvar "mp_tkpunish" = "0"
L 02/16/2022 - 19:59:01: Server cvar "mp_weapons_allow_map_placed" = "1"
L 02/16/2022 - 19:59:01: Server cvar "mp_windifference" = "1"
L 02/16/2022 - 19:59:01: Server cvar "mp_winlimit" = "0"
L 02/16/2022 - 19:59:01: Server cvar "pausable" = "0"
L 02/16/2022 - 19:59:01: Server cvar "reaimdetector_version" = "0.2.2"
L 02/16/2022 - 19:59:01: Server cvar "resemiclip_version" = "2.3.9"
L 02/16/2022 - 19:59:01: Server cvar "reu_version" = "0.1.0.137"
L 02/16/2022 - 19:59:01: Server cvar "revoice_version" = "0.1.0.34"
L 02/16/2022 - 19:59:01: Server cvar "sv_accelerate" = "5"
L 02/16/2022 - 19:59:01: Server cvar "sv_aim" = "0"
L 02/16/2022 - 19:59:01: Server cvar "sv_airaccelerate" = "10"
L 02/16/2022 - 19:59:01: Server cvar "sv_allowupload" = "0"
L 02/16/2022 - 19:59:01: Server cvar "sv_alltalk" = "1"
L 02/16/2022 - 19:59:01: Server cvar "sv_bounce" = "1"
L 02/16/2022 - 19:59:01: Server cvar "sv_cheats" = "0"
L 02/16/2022 - 19:59:01: Server cvar "sv_clienttrace" = "1"
L 02/16/2022 - 19:59:01: Server cvar "sv_contact" = ""
L 02/16/2022 - 19:59:01: Server cvar "sv_friction" = "4"
L 02/16/2022 - 19:59:01: Server cvar "sv_gravity" = "800"
L 02/16/2022 - 19:59:01: Server cvar "sv_logblocks" = "0"
L 02/16/2022 - 19:59:01: Server cvar "sv_maxrate" = "100000"
L 02/16/2022 - 19:59:01: Server cvar "sv_maxspeed" = "320"
L 02/16/2022 - 19:59:01: Server cvar "sv_minrate" = "20000"
L 02/16/2022 - 19:59:01: Server cvar "sv_password" = ""
L 02/16/2022 - 19:59:01: Server cvar "sv_proxies" = "1"
L 02/16/2022 - 19:59:01: Server cvar "sv_restart" = "0"
L 02/16/2022 - 19:59:01: Server cvar "sv_restartround" = "0"
L 02/16/2022 - 19:59:01: Server cvar "sv_stepsize" = "18"
L 02/16/2022 - 19:59:01: Server cvar "sv_stopspeed" = "75"
L 02/16/2022 - 19:59:01: Server cvar "sv_uploadmax" = "0.5"
L 02/16/2022 - 19:59:01: Server cvar "sv_version" = "1.1.2.7/Stdio,48,2756"
L 02/16/2022 - 19:59:01: Server cvar "sv_voiceenable" = "1"
L 02/16/2022 - 19:59:01: Server cvar "sv_wateraccelerate" = "10"
L 02/16/2022 - 19:59:01: Server cvar "sv_waterfriction" = "1"
L 02/16/2022 - 19:59:01: Server cvar "whb_version" = "1.5.697"
L 02/16/2022 - 19:59:01: Server cvars end
Using custom entity file: maps/de_dust2.ent
L 02/16/2022 - 19:59:01: -------- Mapchange to de_dust2 --------
L 02/16/2022 - 19:59:01: Server cvar "sv_maxspeed" = "900"
L 02/16/2022 - 19:59:02: [ReAimDetector] Error: do not set 'AimSens' in ad_set_cfg.
L 02/16/2022 - 19:59:02: Started map "de_dust2" (CRC "1159425449")
Executing AMX Mod X Configuration File
L 02/16/2022 - 19:59:02: Server cvar "mp_roundtime" = "1.75"
L 02/16/2022 - 19:59:02: Server cvar "sv_maxspeed" = "320"
L 02/16/2022 - 19:59:02: Log file closed
Server logging data to file logs/L0216328.log
L 02/16/2022 - 19:59:02: Log file started (file "logs/L0216328.log") (game "cstrike") (version "48/1.1.2.7/Stdio/2756")
L 02/16/2022 - 19:59:02: Server cvar "mp_buytime" = "0.25"
L 02/16/2022 - 19:59:02: Server cvar "sv_restart" = "20"
Executing ReGameDLL Configuration File
L 02/16/2022 - 19:59:02: World triggered "Restart_Round_(20_seconds)"
L 02/16/2022 - 19:59:02: Team "CT" scored "0" with "0" players
L 02/16/2022 - 19:59:02: Team "TERRORIST" scored "0" with "0" players
L 02/16/2022 - 19:59:02: Server cvar "sv_restart" = "0"
L 02/16/2022 - 19:59:03: World triggered "Round_Start"
L 02/16/2022 - 19:59:06: [amxbans_ssban.amxx] Can't add menu item "AMXBans: Скриншоты" from plugin "AMXBans: Screens" to menu set because the Menus Front-End plugin itself is not loaded!
L 02/16/2022 - 19:59:07: Server cvar "mp_round_restart_delay" = "3"
L 02/16/2022 - 19:59:19: [REUNION]: HLTV (46.174.48.32) authorized as HLTV
L 02/16/2022 - 19:59:19: "HLTV<1><HLTV><>" connected, address "46.174.48.32:28173"
L 02/16/2022 - 19:59:20: "HLTV<1><HLTV><>" entered the game
L 02/16/2022 - 19:59:20: "HLTV<1><HLTV><>" joined team "SPECTATOR"
L 02/16/2022 - 19:59:22: World triggered "Round_Start"
amxx plugins
Currently loaded plugins:
name version author file status
[ 1] Models Replacement 0.0.2 ConnorMcLeod | V models_replacem running
[ 2] AMXBans: Screens 1.9.0 MA: 1.6.14 Larte Team amxbans_ssban.a running
2 plugins, 2 running
L 02/16/2022 - 19:59:38: "tba<2><STEAM_0:1:45228777><>" connected, address "92.191.87.193:27001"
L 02/16/2022 - 19:59:39: "tba<2><STEAM_0:1:45228777><>" STEAM USERID validated
L 02/16/2022 - 19:59:44: "tba<2><STEAM_0:1:45228777><>" entered the game
L 02/16/2022 - 19:59:45: "tba<2><STEAM_0:1:45228777><>" joined team "CT"
L 02/16/2022 - 19:59:54: "tba<2><STEAM_0:1:45228777><CT>" committed suicide with "world"
L 02/16/2022 - 19:59:54: World triggered "Round_Draw" (CT "0") (T "0")
L 02/16/2022 - 19:59:54: World triggered "Round_End"
L 02/16/2022 - 19:59:57: World triggered "Round_Start"
L 02/16/2022 - 20:00:00: FATAL ERROR (shutting down): SV_ModelIndex: SV_ModelIndex: model models/custom/v_frostgrenade not precached
FATAL ERROR (shutting down): SV_ModelIndex: SV_ModelIndex: model models/custom/v_frostgrenade not precached
./hlds_run: line 272: 25294 Segmentation fault (core dumped) $HL_CMD

Модели игроков и w_ модели оружия заменяются без проблем. v_ и p_ модели вызывают краш сервера в момент взятия в руки замененного оружия.
 
В этой теме было размещено решение! Перейти к решению.
Сообщения
3,593
Реакции
1,576
Помог
141 раз(а)
Rayn, увеличь константу MAX_MODEL_LEN
 
Сообщения
134
Реакции
40
Помог
2 раз(а)
Nordic Warrior, менять нужно только в этой строке #define MAX_MODEL_LEN 64 ? и насколько увеличить?
 
Сообщения
134
Реакции
40
Помог
2 раз(а)
Алексеич, так же крашит. только ошибка немного изменилась.
L 02/16/2022 - 23:02:12: FATAL ERROR (shutting down): Host_Error: PF_setmodel_I: no precache: models/custom/p_frostgrenade
FATAL ERROR (shutting down): Host_Error: PF_setmodel_I: no precache: models/custom/p_frostgrenade
./hlds_run: line 272: 7834 Segmentation fault $HL_CMD
 
Статус
В этой теме нельзя размещать новые ответы.

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

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