Ошибка SentryGun

Сообщения
4
Реакции
0
Ошибка
L 07/19/2021 - 18:52:26: [HAMSANDWICH] Entity has null private data (21)
L 07/19/2021 - 18:52:53: [AMXX] Displaying debug trace (plugin "csdm_sentry.amxx", version "0.5b")
L 07/19/2021 - 18:52:53: [AMXX] Run time error 10: native error (native "ExecuteHam")
L 07/19/2021 - 18:52:53: [AMXX] [0] float.inc::operator*(Float:,_:) (line 291)
L 07/19/2021 - 18:52:53: [AMXX] [1] csdm_sentry.sma::touch_raketa (line 577)
ОС
Windows
Amx Mod X
AMX Mod X version 1.10.0.5428
Билд
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
ReHLDS version: 3.10.0.759-dev
Build date: 15:34:13 Jun 22 2021 (2628)
Build from: https://github.com/dreamstalker/rehlds/commit/ad6f6ad
ReGamedll
ReGameDLL version: 5.20.0.516-dev
Build date: 21:01:54 Jun 14 2021
Build from: https://github.com/s1lentq/ReGameDLL_CS/commit/2c52c4f
Версия Metamod
Metamod-r v1.3.0.128, API (5:13)
Metamod-r build: 15:47:38 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] AMX Mod X RUN - amxmodx_mm.dll v1.10.0.5428 ini Start ANY
[ 2] Reunion RUN - reunion_mm.dll v0.1.92d ini Start Never
[ 3] MySQL RUN - mysql_amxx.dll v1.10.0.5428 pl1 ANY ANY
[ 4] Fun RUN - fun_amxx.dll v1.10.0.5428 pl1 ANY ANY
[ 5] Engine RUN - engine_amxx.dll v1.10.0.5428 pl1 ANY ANY
[ 6] FakeMeta RUN - fakemeta_amxx.dll v1.10.0.5428 pl1 ANY ANY
[ 7] CStrike RUN - cstrike_amxx.dll v1.10.0.5428 pl1 ANY ANY
[ 8] CSX RUN - csx_amxx.dll v1.10.0.5428 pl1 ANY ANY
[ 9] Ham Sandwich RUN - hamsandwich_amxx.dll v1.10.0.5428 pl1 ANY ANY
[10] ReCSDM RUN - csdm_amxx.dll v3.6 pl1 ANY ANY
10 plugins, 10 running
Список плагинов
Currently loaded plugins:
id name version author url file status
[ 1] 0 Admin Base 1.10.0.542 AMXX Dev Team admin.amxx running
[ 2] 1 Admin Commands 1.10.0.542 AMXX Dev Team admincmd.am running
[ 3] 2 Admin Help 1.10.0.542 AMXX Dev Team adminhelp.a running
[ 4] 3 Slots Reservation 1.10.0.542 AMXX Dev Team adminslots. running
[ 5] 4 Multi-Lingual System 1.10.0.542 AMXX Dev Team multilingua running
[ 6] 5 Menus Front-End 1.10.0.542 AMXX Dev Team menufront.a running
[ 7] 6 Commands Menu 1.10.0.542 AMXX Dev Team cmdmenu.amx running
[ 8] 7 Players Menu 1.10.0.542 AMXX Dev Team plmenu.amxx running
[ 9] 8 Maps Menu 1.10.0.542 AMXX Dev Team mapsmenu.am running
[ 10] 9 Plugin Menu 1.10.0.542 AMXX Dev Team pluginmenu. running
[ 11] 10 Admin Chat 1.10.0.542 AMXX Dev Team adminchat.a running
[ 12] 11 Anti Flood 1.10.0.542 AMXX Dev Team antiflood.a running
[ 13] 12 Scrolling Message 1.10.0.542 AMXX Dev Team scrollmsg.a running
[ 14] 13 Info. Messages 1.10.0.542 AMXX Dev Team imessage.am running
[ 15] 14 Admin Votes 1.10.0.542 AMXX Dev Team adminvote.a running
[ 16] 15 NextMap 1.10.0.542 AMXX Dev Team nextmap.amx running
[ 17] 16 Nextmap Chooser 1.10.0.542 AMXX Dev Team mapchooser. running
[ 18] 17 TimeLeft 1.10.0.542 AMXX Dev Team timeleft.am running
[ 19] 18 Pause Plugins 1.10.0.542 AMXX Dev Team pausecfg.am running
[ 20] 19 Stats Configuration 1.10.0.542 AMXX Dev Team statscfg.am running
[ 21] 20 StatsX 1.10.0.542 AMXX Dev Team statsx.amxx running
[ 22] 21 Admin Money 0.9.3 f117bomb unknown admin_money running
[ 23] 22 ReCSDM Main 3.6 ReCSDM Team csdm_main.a running
[ 24] 23 ReCSDM Equip 3.6 ReCSDM Team csdm_equip. running
[ 25] 24 ReCSDM Spawns 3.6 ReCSDM Team csdm_spawn_ running
[ 26] 25 ReCSDM Misc 3.6 ReCSDM Team csdm_misc.a running
[ 27] 26 ReCSDM Stripper 3.6 KWo csdm_stripp running
[ 28] 27 ReCSDM Protection 3.6 BAILOPAN csdm_protec running
[ 29] 28 Ultimate Sentry Guns 0.5b MrArni csdm_sentry debug
[ 30] 29 SF TripMine 0.3.4 serfreeman1337 csdm_laserm debug
30 plugins, 30 running
Автор плагина
MrArni
Версия плагина
0.5b
Исходный код
Вложения
Ошибка возникает при большом количестве пушек
 

Вложения

Сообщения
8
Реакции
2
Помог
1 раз(а)
боты zBot? Если нет, то закомментируй в plugin_init
все что имеет "bot" вот так -> //RegisterHam(Ham_Killed, "bot", "player_deatch")
ну если это из-за ботов, если нет то автор чекнит и ответи)
 
Последнее редактирование:
Сообщения
272
Реакции
282
Помог
2 раз(а)
@NIKOFUG,напиши мне в личку, разберемся с ошибкой твоей, после ответ выложишь сюда
 
Сообщения
2,751
Реакции
3,016
Помог
61 раз(а)
можно попробовать так
Код:
public touch_raketa(ent, id)
{
    if (get_user_team(id) == entity_get_int(ent, EV_INT_team) || entity_get_int(ent, EV_INT_iuser2) == id) return HAM_IGNORED
    new Float:ent_pos[3], class = entity_get_int(ent, EV_INT_weapons), owner = entity_get_int(ent, EV_INT_iuser3)
    entity_get_vector(ent, EV_VEC_origin, ent_pos)
    entity_set_string(ent, EV_SZ_classname, "raketo_to_destroy")
    for (new i = 1; i <= players; i++)
    {
+       if (pev_valid(i) != 2) continue
        new Float:pos[3]
        pev(i, pev_origin, pos)    
        if (get_user_team(i) != entity_get_int(ent, EV_INT_team) && get_distance_f(ent_pos, pos) < 150.0)
        {
 
Последнее редактирование:

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

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