Пользователь
- Сообщения
- 48
- Реакции
- -1
- Помог
- 1 раз(а)
- Ошибка
-
L 07/24/2019 - 21:26:46: [AMXX] Run time error 10 (plugin "damager.amxx") (native "ShowSyncHudMsg") - debug not enabled!
L 07/24/2019 - 21:26:46: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
- ОС
- Linux
- Amx Mod X
-
AMX Mod X 1.9.0.5249 (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: Jun 19 2019 13:31:53
Built from: https://github.com/alliedmodders/amxmodx/commit/6cecb34
Build ID: 5249:6cecb34
Core mode: JIT+ASM32
- Билд
-
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
ReHLDS version: 3.4.0.668-dev
Build date: 09:47:42 Sep 29 2018 (1631)
Build from: https://github.com/dreamstalker/rehlds/commit/89be216
- ReGamedll
-
ReGameDLL version: 5.9.0.363-dev
Build date: 18:17:20 Jul 8 2019
Build from: https://github.com/s1lentq/ReGameDLL_CS/commit/75bdc26
- Версия Metamod
-
Metamod v1.21p37 2013/05/30 (5:13)
by Will Day
http://www.metamod.org/
Patch: Metamod-P (mm-p) v37
by Jussi Kivilinna
http://metamod-p.sourceforge.net/
compiled: May 30 2013, 11:41:16 EET (optimized)
- Список метамодулей
-
Currently loaded plugins:
description stat pend file vers src load unlod
[ 1] AMX Mod X RUN - amxmodx_mm_i386. v1.9.0.5 ini Start ANY
[ 2] LocalizeBug Fix RUN - localizebugfix.s v2.4 ini Start Never
[ 3] VoiceTranscoder RUN - vtc.so v2017RC3 ini ANY ANY
[ 4] Reunion RUN - reunion.so v0.1.0.8 ini Start Never
[ 5] WHBlocker RUN - whblocker.so v1.5.695 ini Chlvl ANY
[ 6] ReSRDetector RUN - resrdetector.so v0.1.0 ini Chlvl ANY
[ 7] Rechecker RUN - rechecker.so v2.5 ini Chlvl ANY
[ 8] ReSemiclip RUN - resemiclip.so v2.3.9 ini Chlvl ANY
[ 9] ReAuthCheck RUN - reauthcheck.so v0.1.6 ini Start Never
[10] CSX RUN - csx_amxx_i386.so v1.8.3-d pl1 ANY ANY
[11] ReAPI RUN - reapi_amxx_i386. v5.9.0.1 pl1 ANY Never
[12] MySQL RUN - mysql_amxx_i386. v1.8.3-R pl1 ANY ANY
[13] FakeMeta RUN - fakemeta_amxx_i3 v1.8.3-R pl1 ANY ANY
[14] Ham Sandwich RUN - hamsandwich_amxx v1.8.3-R pl1 ANY ANY
[15] Fun RUN - fun_amxx_i386.so v1.8.3-R pl1 ANY ANY
[16] CStrike RUN - cstrike_amxx_i38 v1.8.3-R pl1 ANY ANY
[17] Engine RUN - engine_amxx_i386 v1.8.3-R pl1 ANY ANY
17 plugins, 17 running
- Список плагинов
-
Currently loaded plugins:
name version author file status
[ 1] Admin Loader 3.5 neygomon admin_loader.am running
[ 2] FreshBans 1.4.0b kanagava fresh_bans.amxx running
[ 3] CSStatsX SQL 0.7.4+2 serfreeman1337 csstatsx_sql.am running
[ 4] Advanced Gag 1.9.0 neygomon advanced_gag.am running
[ 5] No Flash 1.0 Dom1no_[KZ] no_flash.amxx running
[ 6] Lite Vampire + Fade 1.3 neygomon Vampire.amxx running
[ 7] SF Bets 0.1.5 serfreeman1337 sf_bets_new.amx running
[ 8] Menu 1.0 b02 menu_front.amxx running
[ 9] Radio Hudmsg Block 1.0 AcE radio_hudmsg_bl running
[ 10] Parachute Lite [ReAPI] 11.0 Leo_[BH] parachute_lite. running
[ 11] Show Admins Online 1.1 vato loco [GE-S] show_admins_vl. running
[ 12] Map Manager 2.5.61 Mistrick mapmanager.amxx running
[ 13] KiLL Assist poka_4to_b PRoSToTeM@ Kill_assist.amx running
[ 14] Damager 0.1b Subb98 damager.amxx running
[ 15] Steam Bonus 1.1 ill+F@nToM steam_bonus_new running
[ 16] Voteban CSR 0.8.5beta Leo_[BH] csr_voteban.amx running
[ 17] Ping Checker 26.0.1 RC1 h1k3 ping_checker.am running
[ 18] AES: StatsX 0.5.9 [REA serfreeman1337/s aes_statsx_cstr running
[ 19] Me_Hp_StatsX 1.3 AMXX Dev Team & me_hp_statsx.am running
[ 20] Nade Health 1.2 medusa NadeHealth.amxx running
[ 21] Admin Chat 1.8.3-Re AMXX Dev Team adminchat.amxx running
[ 22] Admin Commands 1.8.3-Re AMXX Dev Team admincmd.amxx running
[ 23] Commands Menu 1.8.3-Re AMXX Dev Team cmdmenu.amxx running
[ 24] Maps Menu 1.8.3-Re AMXX Dev Team mapsmenu.amxx running
[ 25] Players Menu 1.8.3-Re AMXX Dev Team plmenu.amxx running
[ 26] Restrict Weapons 1.8.3-Re AMXX Dev Team restmenu.amxx running
[ 27] Admin Votes 1.8.3-Re AMXX Dev Team adminvote.amxx running
[ 28] CS Misc. Stats 1.8.3-Re AMXX Dev Team miscstats.amxx running
[ 29] CS Stats Logging 1.8.3-Re AMXX Dev Team stats_logging.a running
[ 30] Stats Configuration 1.8.3-Re AMXX Dev Team statscfg.amxx running
[ 31] [HR] MapStart Random G 0.2 Hellr0ck hr_mapstart_ran running
[ 32] Admin Spectator ESP 1.3 KoST admin_spec_esp. running
[ 33] Block weapon Gold 0.1 PepsiGame BlockweaponGold running
[ 34] Autoresponder/Advertis 0.5 MaximusBrood ad_manager.amxx running
[ 35] Block Change Name 1.0 DJ_WEST block_change_na running
[ 36] Simple Grenade Trail 1.0 seroff granade_trail.a running
[ 37] Auto recording demo 2.0 IzI | Bonaqua (R auto_recording_ running
[ 38] Player Quit 0.1 SHLAKBAUM player_quit.amx running
[ 39] AMXX BanCfg 0.94 Safety1st amxx_bancfg.amx running
[ 40] Proxy Detetor 1.0 _xvi proxy_detetor.a running
[ 41] V.I.P Custom Weapons 1.0.0 Vaqtincha vip_custom.amxx running
[ 42] Afk Control 0.5.1 neygomon afk_control.amx running
[ 43] Lite AwpLimit 1.07 neygomon awp.amxx running
[ 44] [183] Spect Bot 17.08.28 SKAJIbnEJIb & Bo SpectBot.amxx running
[ 45] Mode 2x2 2.5re s1lent mode.amxx running
[ 46] Lite TeamBalancer 1.20 neygomon lite_balancer.a running
[ 47] [ReAPI] AdminFreeLook 1.0 ReHLDS Team adminfreelook.a running
[ 48] Menu 1.0 ncux menus.amxx running
[ 49] Top Round Damage 1.0.4 ReAP Dager* *.* -G- damage_round.am running
[ 50] Knife WarnUP 1.0 ill warmup.amxx running
[ 51] Reset_Score 1.0 Silenttt Fixed b Resetscore.amxx running
[ 52] V.I.P Custom KNIFE 1.0.0 Vaqtincha custom_knife.am debug
[ 53] V.I.P Custom DEAGLE 1.0.0 Vaqtincha custom_deagle.a debug
[ 54] V.I.P Custom M4A1 1.0.0 Vaqtincha custom_m4a1.amx debug
[ 55] V.I.P Custom AK-47 1.0.0 Vaqtincha custom_ak47.amx debug
[ 56] V.I.P Custom AWP 1.0.0 Vaqtincha custom_awp.amxx debug
[ 57] Lite Translit 2.8 neygomon lite_translit.a running
[ 58] Advanced Experience Sy 0.5.9 [REA serfreeman1337/s aes_main.amxx running
[ 59] AES: CStrike Addon 0.5.9 [REA serfreeman1337/s aes_exp_cstrike running
[ 60] AES: Informer 0.5.9 [REA serfreeman1337/s aes_informer.am running
[ 61] AES: Bonus System 0.5.9 Vega serfreeman1337/s aes_bonus_syste running
[ 62] AES: Bonus CSTRIKE 0.5.9.1 [R serfreeman1337/s aes_bonus_cstri running
62 plugins, 62 running
- Автор плагина
- Subb98
- Версия плагина
- 0.1b
- Исходный код
-
#include <amxmodx>
#include <fakemeta>
#pragma semicolon 1
//#define USE_CHECK_VISIBLE_ENT // Закомментируйте эту строку, если не хотите использовать проверку видимости игрока перед отображением урона
#if !defined USE_CHECK_VISIBLE_ENT
//#define CONSIDER_MEAT_MAPS // Закомментируйте эту строку, если не хотите принудительно активировать проверку видимости игрока на "мясных" картах
new bool:g_bMeatMap;
#endif
new g_pHudSyncObj1;
new g_pHudSyncObj2;
public plugin_init()
{
register_plugin("Damager", "0.1b", "Subb98");
register_event("Damage", "EventDamage", "b", "2!0", "3=0", "4!0");
g_pHudSyncObj1 = CreateHudSyncObj();
g_pHudSyncObj2 = CreateHudSyncObj();
}
#if defined CONSIDER_MEAT_MAPS
public plugin_cfg()
{
new const szMapTypes[][] = {"aim_", "awp_", "fy_"}; // Типы карт, которые будут считаться "мясными" (по умолчанию "aim_", "awp_", "fy_")
new szMapname[32];
get_mapname(szMapname, charsmax(szMapname));
for(new i; i < sizeof szMapTypes; i++)
{
if(equali(szMapname, szMapTypes[i], strlen(szMapTypes[i])))
{
g_bMeatMap = true;
break;
}
}
}
#endif
public EventDamage(const id)
{
static pAttacker, iDamage;
pAttacker = get_user_attacker(id), iDamage = read_data(2);
#if defined USE_CHECK_VISIBLE_ENT
if(is_user_connected(pAttacker) && pAttacker != id && fm_is_ent_visible(pAttacker, id))
#else
if(is_user_connected(pAttacker) && pAttacker != id && g_bMeatMap ? fm_is_ent_visible(pAttacker, id) : 1>0)
#endif
{
set_hudmessage(0, _, 200, _, 0.55, _, _, 1.0, _, 0.0, -1);
ShowSyncHudMsg(pAttacker, g_pHudSyncObj1, "%d", iDamage);
}
if(is_user_connected(id))
{
set_hudmessage(255, 0, _, 0.45, -1.0, _, _, 1.0, _, 0.0, -1);
ShowSyncHudMsg(id, g_pHudSyncObj2, "%s%d", id == pAttacker ? "-" : "", iDamage);
}
}
// Thanks to ConnorMcLeod (https://forums.alliedmods.net/showpost.php?p=1580992&postcount=10)
stock bool:fm_is_ent_visible(const id, const pEnt, const bool:bIgnoreMonsters = false)
{
new Float:fStart[3], Float:fDestination[3], Float:fFraction;
pev(id, pev_origin, fStart);
pev(id, pev_view_ofs, fDestination);
fStart[0] += fDestination[0];
fStart[1] += fDestination[1];
fStart[2] += fDestination[2];
pev(pEnt, pev_origin, fDestination);
engfunc(EngFunc_TraceLine, fStart, fDestination, bIgnoreMonsters, id, 0);
get_tr2(0, TR_flFraction, fFraction);
if(fFraction > 0.97)
{
return true;
}
return false;
}
Ошибочка с дамагером, подскажите что где исправить
В этой теме было размещено решение! Перейти к решению.