Участник
Пользователь
- Сообщения
- 552
- Реакции
- 49
- Предупреждения
- 2
- Помог
- 4 раз(а)
- Ошибка
-
L 09/18/2022 - 21:52:48: Plugin called message_begin with an invalid message id (0).
L 09/18/2022 - 21:52:48: [AMXX] Displaying debug trace (plugin "zp_round_results_1.0.amxx", version "1.0")
L 09/18/2022 - 21:52:48: [AMXX] Run time error 10: native error (native "message_begin")
L 09/18/2022 - 21:52:48: [AMXX] [0] zp_round_results_1.0.sma::update_scoreboard (line 147)
- ОС
- Linux
- Amx Mod X
-
21:55:25 AMX Mod X 1.9.0.5249 (http://www.amxmodx.org)
Authors:
<TAB>David "BAILOPAN" Anderson, Pavol "PM OnoTo" Marko
<TAB>Felix "SniperBeamer" Geyer, Jonny "Got His Gun" Bergstrom
<TAB>Lukasz "SidLuke" Wlasinski, Christian "Basic-Master" Hammacher
<TAB>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.6/Stdio (cstrike)
ReHLDS version: 3.11.0.779-dev
Build date: 17:33:11 Aug 24 2022 (3056)
Build from: https://github.com/dreamstalker/rehlds/commit/d76b06d
- ReGamedll
-
21:59:17 ReGameDLL version: 5.21.0.556-dev
Build date: 08:43:58 Jul 22 2022
Build from: https://github.com/s1lentq/ReGameDLL_CS/commit/1081301
- Версия Metamod
-
21:59:23 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] SafeNameAndChat RUN - SafeNameAndChat. v1.1 ini ANY ANY
[ 2] Reunion RUN - reunion_mm_i386. v0.1.92d ini Start Never
[ 3] ReAuthCheck RUN - reauthcheck_mm_i v0.1.6 ini Start Never
[ 4] VoiceTranscoder RUN - VoiceTranscoder. v2017RC4 ini ANY ANY
[ 5] AMX Mod X RUN - amxmodx_mm_i386. v1.9.0.5 ini Start ANY
[ 6] Rechecker RUN - rechecker_mm_i38 v2.5 ini Chlvl ANY
[ 7] WHBlocker RUN - whblocker_mm_i38 v1.5.696 ini Chlvl ANY
[ 8] ReSemiclip RUN - resemiclip_mm_i3 v2.3.9 ini Chlvl ANY
[ 9] Ultimate Unprec RUN - unprecacher_i386 vBeta 2. ini Chlvl Chlvl
[10] YaPB RUN - yapb.so v4.2.671 ini Chlvl ANY
[11] CStrike RUN - cstrike_amxx_i38 v1.9.0.5 pl5 ANY ANY
[12] CSX RUN - csx_amxx_i386.so v1.9.0.5 pl5 ANY ANY
[13] Fun RUN - fun_amxx_i386.so v1.9.0.5 pl5 ANY ANY
[14] FakeMeta RUN - fakemeta_amxx_i3 v1.9.0.5 pl5 ANY ANY
[15] Ham Sandwich RUN - hamsandwich_amxx v1.9.0.5 pl5 ANY ANY
[16] GeoIP RUN - geoip_amxx_i386. v1.9.0.5 pl5 ANY ANY
[17] MySQL RUN - mysql_amxx_i386. v1.9.0.5 pl5 ANY ANY
[18] SQLite RUN - sqlite_amxx_i386 v1.9.0.5 pl5 ANY ANY
[19] Engine RUN - engine_amxx_i386 v1.9.0.5 pl5 ANY ANY
[20] ReAPI RUN - reapi_amxx_i386. v5.21.0. pl5 ANY Never
[21] ReAimDetector RUN - reaimdetector_am v0.2.2 pl5 ANY Never
21 plugins, 21 running
- Список плагинов
-
Currently loaded plugins:
name version author file status
[ 1] Map Manager 2.5.60 Mistrick mapmanager.amxx running
[ 2] mute 1.0 Aziz xman2030_mute.a running
[ 3] Admin Base 1.9.0.5249 AMXX Dev Team admin.amxx running
[ 4] Admin Commands 1.9.0.5249 AMXX Dev Team admincmd.amxx running
[ 5] Admin Help 1.9.0.5249 AMXX Dev Team adminhelp.amxx running
[ 6] Slots Reservation 1.9.0.5249 AMXX Dev Team adminslots.amxx running
[ 7] Multi-Lingual System 1.9.0.5249 AMXX Dev Team multilingual.am running
[ 8] Commands Menu 1.9.0.5249 AMXX Dev Team cmdmenu.amxx running
[ 9] Players Menu 1.9.0.5249 AMXX Dev Team plmenu.amxx running
[ 10] Teleport Menu 1.9.0.5249 AMXX Dev Team telemenu.amxx running
[ 11] Maps Menu 1.9.0.5249 AMXX Dev Team mapsmenu.amxx running
[ 12] Plugin Menu 1.9.0.5249 AMXX Dev Team pluginmenu.amxx running
[ 13] Admin Chat 1.9.0.5249 AMXX Dev Team adminchat.amxx running
[ 14] Anti Flood 1.9.0.5249 AMXX Dev Team antiflood.amxx running
[ 15] Admin Votes 1.9.0.5249 AMXX Dev Team adminvote.amxx running
[ 16] Pause Plugins 1.9.0.5249 AMXX Dev Team pausecfg.amxx running
[ 17] Stats Configuration 1.9.0.5249 AMXX Dev Team statscfg.amxx running
[ 18] Ultimate Gore 1.6 JTP10181 amx_gore_ultima running
[ 19] TimeLeft 1.9.0.5249 AMXX Dev Team timeleft.amxx running
[ 20] Advanced Weapon Tracer 1.3.0 ConnorMcLeod advanced_weapon running
[ 21] NextMap 1.9.0.5249 AMXX Dev Team nextmap.amxx stopped
[ 22] Game Namer 1.1 NeuroToxin gamenamechanger running
[ 23] Precache Management 1.0.0 ConnorMcLeod precache_manage stopped
[ 24] Advert Messages 1.2 neygomon adverts.amxx running
[ 25] Fix Remove Entity When zm zm zp_entityfix.am paused
[ 26] ScreenMaker 1.1 neygomon screen_maker.am running
[ 27] fb_forwards 0.1.8 Mazdan & Neugomo fb_forwards.amx running
[ 28] FreshBans 1.4.0b kanagava fresh_bans_1.4. running
[ 29] Menus Front-End 1.5 neugomon menufront_end.a running
[ 30] AMXX Gag 1.4.9 xPaw & Exolent amx_gag.amxx running
[ 31] motd 1.1 L@NPOC@N motd.amxx running
[ 32] unknown unknown unknown warnings.amxx bad load
[ 33] Anti Reklama 1.1 MarcaD anti_reklama.am running
[ 34] unknown unknown unknown health_nade.amx bad load
[ 35] SpecList 1.2a FatalisDK speclist_rus.am running
[ 36] DemoRecoder 1.2 neygomon demorecoder.amx running
[ 37] AFK Manager 1.2 Xramer afk_manager.amx paused
[ 38] Chat Logger 2.1a Jim chat_logger.amx running
[ 39] Zombie Escape 1337 xman2030 xman2030_ze_mod debug
[ 40] [ZP]Level System 6.0 Dambas xman2030_level. running
[ 41] Camera View 0.0.1 ConnorMcLeod talrasha_camera debug
[ 42] [ZP] Class : Frank 1.0 tumoxa xman2030_pc.amx running
[ 43] [CSO] Class String Fin 2.0 BLACK_ROSE zp_class_finger running
[ 44] Undertaker 1.0 DSHGFHDS zp_undertaker.a debug
[ 45] Houndeye Zombie 0.4 Morte zp_zclass_hound running
[ 46] unknown unknown unknown azp_zclass_sire running
[ 47] [CSO:Heavy Zombie] 1.1 REDEMAX cso_heavy.amxx running
[ 48] CSO Lusty Rose 1.0.1 ALBTeam zp_class_LustyR running
[ 49] [vk.com/deathrun_items 1.1 Jim/4e/| server_class_he running
[ 50] [ZP] Classic Zombie 1.0 dias server_class_cl running
[ 51] [ZP] Zombie Class: Cer 0.1 DJHD! zp_zclass_cerbe running
[ 52] [vk.com/deathrun_items 1.4 HoRRoR, Fry!,tER server_class_sp running
[ 53] [ZP] Zombie Class: Des 2.0 Re.Act!ve zp_zclass_despe running
[ 54] DJB Zombie Class Banch 2.0.1 Csoldjb&wbyokomo DJB_Zombie_Clas running
[ 55] [CSO:Hunter Zombie] 1.2 HoRRoR/tERoR edi server_class_ch running
[ 56] ZM VIP 1.7.2 aaarnas xman2030_vip.am running
[ 57] [FS] Chat 1.1 Inf xman2030_chat.a running
[ 58] Heli Button Info 1.0 Shanks' xman2030_showes running
[ 59] [ZP] EASY SAVE AMMO 1.2 CS-FADE.RU xman2030_ammo_a running
[ 60] [ZP Addon] Knives 0.1 ONYX xman2030_knifes running
[ 61] [ZP] Admin Lvl Menu 1.0 Dambas xman2030_level_ running
[ 62] ZE HUD Final CS-FADE.RU xman2030_ze_hud running
[ 63] NadeModes 11.2 Nomexous & OT xman2030_nademo running
[ 64] [ZP] ZP++ Ice Cube 1.0 DareDevil (Gyiov xman2030_ice_cu running
[ 65] Weapon Model + Sound R 1.2 GHW_Chronic GHW_Weapon_Repl running
[ 66] xman2030_damager CS-FADE.RU CS-FADE.RU xman2030_damage running
[ 67] ZP: Zombie Health 1.0 Yakess yakess_health.a debug
[ 68] Countdown 1.7.3 T a l R a s h a gameplay_countd running
[ 69] ammo donate/dhud 1.5 user/zobie-dead zp_ammo_donate. running
[ 70] Team Locker 1.5 Bmann_420 teamlocker.amxx running
[ 71] xman2030_human_revolut CS-FADE.RU CS-FADE.RU xman2030_human_ running
[ 72] [ZP] Addon: Evolution 0.0.7 https://vk.com/i xman2030_evolut running
[ 73] xman2030_aura CS-FADE.RU CS-FADE.RU xman2030_aura.a running
[ 74] xman2030_blood CS-FADE.RU CS-FADE.RU xman2030_blood. running
[ 75] ZP Reloading! Shout 0.0.1 xPaw,wbyokomo reloading_weapo running
[ 76] unknown unknown unknown xman2030_leader running
[ 77] [ZP] Shoot Light 0.1 | 11.0 inf xman2030_shot_l running
[ 78] [ZP] Round ended effec 1.0 *GEORGE* xman2030_ended_ running
[ 79] [ZP] Round Draw Blast 1.0 MeRcyLeZZ xman2030_round_ running
[ 80] Breakable Hint 1.1 Raheem hint.amxx running
[ 81] [ZP] CZ Bot Helper 1.0 @bdul! zp_cz_bot_helpe running
[ 82] Aim Hud Info 1.0 Yakess zp_aimhudinfo.a running
[ 83] [ ZP ] Nemesis skill Shurik07 0.1 1zp_nemskill.am running
[ 84] ZP Round Results 1.0 MonsteR zp_round_result debug
[ 85] [ZP] Survivor and Name 1.0 O_o azp_survivor_an running
[ 86] Fake Ping For Bots 1.0 fl0wer fake_ping_for_b running
[ 87] Menu_Priv 1.0 CS-FADE.RU xman2030_menu_p running
[ 88] [ZP] VIP menu 1.2 CS-FADE.RU xman2030_vip_me running
[ 89] [ZP] VIP menu 1.2 CS-FADE.RU xman2030_deluxe running
[ 90] [ZP] VIP menu 1.2 CS-FADE.RU xman2030_creato debug
[ 91] ammo paki 4.0 Bagamut xman2030_ammo_m running
[ 92] unknown unknown unknown xman2030_lk.amx running
[ 93] [ZP] Extra Item: Jump 1.0 Opo4uMapy xman2030_ze_jum debug
[ 94] [ZP] Extra Item Speed 1.2 MeRcyLeZZ zp_extra_speed_ running
[ 95] unknown unknown unknown xman2030_buy_hp running
[ 96] Janus 1 1.0 m4m3ts xman2030_janus1 running
[ 97] [CSO LIKE] Extra: Gull 1.0 Lakerovich xman2030_bloodr running
[ 98] [Zombie Plague] Weapon 0.7 PlaneShfit1231 / zp_extra_rpg7.a running
[ 99] [ZP] Extra: CSO Weapon 1.0 KORD_12.7 xman2030_m3.amx running
[100] [ZP] Weapon: M32 1.0 PbI)I(Uu' / Batc xman2030_m32.am running
[101] [ZP] Extra: CSO ClayMo 1.0 TemplateAuthor:K xman2030_Claymo running
[102] [ZP] Air Strike 1.0 Dorus xman2030_air_st running
[103] [CSO LIKE] LaserMG 1.1 Lakerovich cso_weapon_lase running
[104] Janus-11 1.0 m4m3ts zp_extra_janus1 running
[105] Rail Cannon 1.0 m4m3ts zp_extra_railca running
[106] [ZP] Weapon: JANUS-7 1.0 xUnicorn (t3rkec zp_weapon_janus running
[107] Extraitems: Water Pist 1.0 Base: Batcon & x zp_extraitems_w running
[108] [ZP] Weapon: Crossbow 1.0 xUnicorn (t3rkec zp_weapon_cross running
[109] [ZP] Extra: m134ex 1.0 LARS-DAY[BR]EAKE zp_weapon_m134e running
[110] [ZP] Extra item: Aeoli 1.0 m4m3ts zp_extra_aeolis running
[111] Petrolboomer 1.0 m4m3ts xman2030_petrol running
[112] [ZP] Extra: Squeak Gre 1.0.6-wwm Arkshine zp_extra_squeak running
[113] [ZP] Extra Item: AT4CS 1.0 Dias zp_extra_at4cs. running
[114] [Z] Weapon: M2 0.6 beta batcon weapon_m2.amxx running
[115] Zombie Plague extra it 1.3 Sonic Son'edit zp_extra_radar. running
[116] [ZP] Extra Item: Bazoo 0.6 Random1 zp_extra_bazook running
[117] [ZE] Addon: XMAS 2040 0.1 | 30.0 Reega! inf2030_ze_lead running
[118] [ZM] Choose Weapon 1.6.1 t3rkecorejz | Un xman2030_menu_w running
[119] HUINYA HUINYA HUINYA xman2030_def_we running
[120] [ZP] Extra: CSO Weapon 1.0 KORD_12.7 xman2030_Vulcan running
[121] [ZP] Extra: CSO Weapon 1.0 KORD_12.7 xman2030_Sapien running
[122] [ZP] Extra: M1887 1.0 Crock / =) (Popr xman2030_m1887. running
[123] [ZMO]Weapon: Cyclone 1.0 Base: Batcon; Re xman2030_cyclon running
[124] [ZP] Weapon: Shining H 1.0 xUnicorn (t3rkec xman2030_magicm running
[125] [CSO] Ethereal 0.0.1 Shurik07 xman2030_ethere running
( 32) Load fails: Invalid Plugin (plugin "warnings.amxx")
( 34) Load fails: Module/Library "curl" required for plugin. Check modules.ini.
125 plugins, 119 running
- Автор плагина
- MonsteR
- Версия плагина
- 1.0
- Исходный код
-
#include <amxmodx>
#include <dhudmessage>
#include <zombieplague>
#include <fakemeta>
#define PLUGIN "ZP Round Results"
#define VERSION "1.0"
#define AUTHOR "MonsteR"
const OFFSET_LINUX = 5
const OFFSET_DEATHS = 444
const OFFSET_TEAM = 114
new cvar_zp_cs_restartround;
new g_maxplayers
new g_msgScoreInfo
new PlayerOldName[33][32]
new cvar_zp_human_win
new cvar_zp_human_lose
new cvar_zp_human_draw
new cvar_zp_zombie_win
new cvar_zp_zombie_lose
new cvar_zp_zombie_draw
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_dictionary("zp_round_results.txt")
cvar_zp_cs_restartround = get_cvar_pointer("sv_restartround")
cvar_zp_human_win = register_cvar("zp_human_win", "40");
cvar_zp_human_lose = register_cvar("zp_human_lose", "18");
cvar_zp_human_draw = register_cvar("zp_human_draw", "7");
cvar_zp_zombie_win = register_cvar("zp_zombie_win", "25");
cvar_zp_zombie_lose = register_cvar("zp_zombie_lose", "14");
cvar_zp_zombie_draw = register_cvar("zp_zombie_draw", "5");
g_maxplayers = get_maxplayers();
}
public fw_ClientConnect_Post(id)
{
get_user_name(id,PlayerOldName[id],31)
if (zp_get_user_ammo_packs(id))
{
zp_set_user_ammo_packs(id, zp_get_user_ammo_packs(id) + 0)
}
return FMRES_IGNORED;
}
public zp_round_ended(winteam)
{
if(get_pcvar_num(cvar_zp_cs_restartround))
{
for(new id=1;id<=g_maxplayers;id++)
{
zp_set_user_ammo_packs(id, zp_get_user_ammo_packs(id) + 0)
return PLUGIN_CONTINUE
}
}
new color[3]
for(new i = 0; i < 3; i++)
{
color[i] = 255 * winteam
}
set_task(1.0, "round_results", 300+winteam)
return PLUGIN_CONTINUE;
}
public round_results(taskid)
{
new strtemp1[16]
new color[3]
new winteam = taskid-300
for (new id=1;id<=g_maxplayers;id++)
{
if (!is_user_connected(id)) continue;
new AmmoBonus;
if (zp_get_user_zombie(id)||(zp_get_user_nemesis(id)))
{
switch(winteam)
{
case 0:
{
color[2]=255;
strtemp1="NOONE"
AmmoBonus=get_pcvar_num(cvar_zp_zombie_draw)
}
case 1:
{
color[1]=255;
strtemp1="WIN"
AmmoBonus=get_pcvar_num(cvar_zp_zombie_win)
}
case 2:
{
color[0]=255;
strtemp1="FAIL"
AmmoBonus=get_pcvar_num(cvar_zp_zombie_lose)
}
}
}
else
{
switch(winteam)
{
case 0:
{
color[2]=255;
strtemp1="NOONE"
AmmoBonus=get_pcvar_num(cvar_zp_human_draw)
}
case 1:
{
color[0]=255;
strtemp1="FAIL"
AmmoBonus=get_pcvar_num(cvar_zp_human_lose)
}
case 2:
{
color[1]=255;
strtemp1="WIN"
AmmoBonus=get_pcvar_num(cvar_zp_human_win)
}
}
}
zp_set_user_ammo_packs(id, zp_get_user_ammo_packs(id) + AmmoBonus)
set_dhudmessage(color[0], color[1], color[2], 0.05, 0.63, 2, 1.0, 3.5,0.05,0.05)
show_dhudmessage(id, "%L", LANG_PLAYER, strtemp1, AmmoBonus)
set_task(0.1,"update_scoreboard",id)
}
}
public update_scoreboard(id)
{
message_begin(MSG_BROADCAST, g_msgScoreInfo)
write_byte(id)
write_short(pev(id, pev_frags))
write_short(get_pdata_int(id, OFFSET_DEATHS, OFFSET_LINUX))
write_short(0)
write_short(get_pdata_int(id, OFFSET_TEAM, OFFSET_LINUX))
message_end()
}
Всем добрый вечер. У меня проблема с плагином. Кто знает как её решить?
В этой теме было размещено решение! Перейти к решению.