Плагин от маздана. anti overflow

Статус
В этой теме нельзя размещать новые ответы.
Сообщения
210
Реакции
-20
Неверный раздел форума
Ошибка
// E:\scripting\antir.sma(29) : warning 213: tag mismatch
// E:\scripting\antir.sma(33) : warning 213: tag mismatch
// E:\scripting\antir.sma(40 -- 41) : warning 213: tag mismatch
// E:\scripting\antir.sma(45) : warning 213: tag mismatch
ОС
Linux
Amx Mod X
v1.10.0.5435
Билд
ReHLDS version: 3.11.0.767-dev-mpatch
ReGamedll
ReGameDLL version: 5.21.0.540-dev
Версия Metamod
Metamod-r v1.3.0.128, API (5:13)
Список метамодулей
[ 1] Reunion          RUN   -    reunion_mm_i386.so        v0.1.92d         ini  Start Never 
[ 2] VoiceTranscoder RUN - VoiceTranscoder.so v2017RC5 ini ANY ANY
[ 3] Rechecker RUN - rechecker.so v2.7 ini Chlvl ANY
[ 4] ProcessCmds RUN - processcmds_mm_i386.so v1.2.0 ini Start Never
[ 5] ReSemiclip RUN - resemiclip_mm_i386.so v2.3.9 ini Chlvl ANY
[ 6] WHBlocker RUN - whblocker.so v1.5.697 ini Chlvl ANY
[ 7] AMX Mod X RUN - amxmodx_mm_i386.so v1.10.0.5435 ini Start ANY
[ 8] CStrike RUN - cstrike_amxx_i386.so v1.10.0.5435 pl8 ANY ANY
[9] CSX RUN - csx_amxx_i386.so v1.10.0.5435 pl8 ANY ANY
[10] Engine RUN - engine_amxx_i386.so v1.10.0.5435 pl8 ANY ANY
[11] FakeMeta RUN - fakemeta_amxx_i386.so v1.10.0.5435 pl8 ANY ANY
[12] Fun RUN - fun_amxx_i386.so v1.10.0.5435 pl8 ANY ANY
[13] GeoIP RUN - geoip_amxx_i386.so v1.10.0.5435 pl8 ANY ANY
[14] Ham Sandwich RUN - hamsandwich_amxx_i386.so v1.10.0.5435 pl8 ANY ANY
[15] MySQL RUN - mysql_amxx_i386.so v1.10.0.5435 pl8 ANY ANY
[16] ReAPI RUN - reapi_amxx_i386.so v5.21.0.248-dev pl8 ANY Never
[17] SQLite RUN - sqlite_amxx_i386.so v1.10.0.5435 pl8 ANY ANY
[18] SxGeo RUN - sxgeo_amxx_i386.so v2.2 pl8 ANY Never
[19] VTC AMXX API RUN - VtcApi_amxx_i386.so v2017 RC2 pl8 ANY ANY
Список плагинов
[  1] 0   GameCMS_API             5.5.1       zhorzh78          unknown                          gamecms.amx  running  
[ 2] 1 Advanced Client Checke 0.3.6 Mistrick unknown checker.amx running
[ 3] 2 FreshBans 1.4.5b kanagava fresh_bans. running
[ 4] 3 Advanced Rechecker 0.4 F@nt0M unknown rechecker.a running
[ 5] 4 [190] MapChooser RBS 20.08.02 SKAJIbnEJIb & UF unknown mapchooser_ running
[ 6] 5 [190] Ultimate Weapons 21.08.23BE SKAJIbnEJIb unknown ultimate_we running
[ 7] 6 [190] Ultimate Flags 20.06.06 SKAJIbnEJIb unknown ultimate_fl running
[ 8] 7 Players Menu 1.7 neugomon unknown players_men running
[ 9] 8 Advanced Gag 1.9.0 neygomon unknown amx_gag.amx running
[ 10] 9 Rock to Ban 1.02 Safety1st unknown rock2ban.am running
[ 11] 10 [190] Ultimate Informe 21.03.23 SKAJIbnEJIb unknown ultimate_in running
[ 12] 11 [190] VIP RBS 21.08.23BE SKAJIbnEJIb unknown vip_rbs.amx running
[ 13] 12 [190] Army Ranks Ultim 20.06.06 SKAJIbnEJIb unknown army_ranks_ running
[ 14] 13 [190] Ultimate Models 21.08.23BE SKAJIbnEJIb unknown ultimate_mo running
[ 15] 14 Menus Front-End 20.06.06 SKAJIbnEJIb & AM unknown amxmodmenu_ running
[ 16] 15 [190] DemoRecorder RBS 20.06.06 SKAJIbnEJIb unknown demorecorde running
[ 17] 16 [190] BackWeapons RBS 20.06.06 SKAJIbnEJIb & ho unknown backweapons running
[ 18] 17 [190] BonusMenu RBS 21.08.23BE SKAJIbnEJIb unknown bonusmenu_r running
[ 19] 18 [190] AR Pogony 20.06.06 SKAJIbnEJIb unknown ar_pogony.a running
[ 20] 19 [190] Damager RBS 20.06.06 SKAJIbnEJIb unknown damager_rbs running
[ 21] 20 [190] High Ping Kicker 20.06.06 SKAJIbnEJIb unknown hpk_rbs.amx running
[ 22] 21 [190] AC Spectator ESP 20.06.06 SKAJIbnEJIb & Ko unknown ac_esp.amxx running
[ 23] 22 [190] Parachute RBS 20.08.22BE SKAJIbnEJIb & KR unknown parachute_r running
[ 24] 23 [190] CmdMenu RBS 20.06.06 SKAJIbnEJIb & AM unknown cmdmenu_rbs running
[ 25] 24 [190] Kill Assist RBS 20.06.06 SKAJIbnEJIb & Di unknown killassist_ running
[ 26] 25 [190] AfkKicker RBS 21.08.22BE SKAJIbnEJIb unknown afkkicker_r running
[ 27] 26 [190] Top Award RBS 20.06.06 SKAJIbnEJIb unknown topaward_rb running
[ 28] 27 [190] Jobs RBS 21.08.23BE SKAJIbnEJIb unknown jobs_rbs.am running
[ 29] 28 [190] Chat RBS 20.10.24BE SKAJIbnEJIb unknown chat_rbs.am running
[ 30] 29 [190] AR Bets 20.06.06 SKAJIbnEJIb unknown ar_bets.amx running
[ 31] 30 [190] CsStats MySQL 21.08.22BE SKAJIbnEJIb unknown csstats_mys running
[ 32] 31 [190] Stats Configurat 20.06.06 SKAJIbnEJIb & AM unknown statscfg_rb running
[ 33] 32 [190] StatsX RBS 21.03.23 SKAJIbnEJIb & AM unknown statsx_rbs. running
[ 34] 33 Maps Menu 1.10.0.543 AMXX Dev Team mapsmenu.am running
[ 35] 34 Restrict Weapons 1.10.0.543 AMXX Dev Team restmenu.am running
[ 36] 35 Auto Team Balance Adva 1.5.1 Radius unknown auto_team_b running
[ 37] 36 [ReAPI] No Team Flash 0.0.3 Vaqtincha unknown no_team_fla running
[ 38] 37 Autoresponder/Advertis 0.5 MaximusBrood unknown reklama_in_ running
[ 39] 38 SpecList 1.5 FatalisDK+Seroff unknown speclist.am running
[ 40] 39 Reset Score 0.0.2f wopox1337 unknown resetScore. running
[ 41] 40 GameCMS_Registration 1.5 zhorzh78 unknown gamecms_reg running
[ 42] 41 AWP Restrictions 1.5.1 Radius unknown awp_restric running
[ 43] 42 [ReAPI] Healthnade 0.0.2 F@nt0M unknown healthnade. running
[ 44] 43 Mode 2x2 2.5re s1lent unknown mode.amxx running
[ 45] 44 [SxGeo] Connect Info 1.0 s1lent unknown sxgeo_conne running
[ 46] 45 Style C4 Timer 3.1 OciXCrom unknown crx_c4timer running
[ 47] 46 MOTD Model 1.1.0 fl0wer unknown motd_model. running
[ 48] 47 Recoil Control 1.5 OT unknown recoil_cont running
[ 49] 48 TimeLeft 1.10.0.543 AMXX Dev Team timeleft.am running
[ 50] 49 NextMap 1.10.0.543 AMXX Dev Team nextmap.amx running
[ 51] 50 Injector X 1.0 Deadly|Darkness unknown dd_injector running
[ 52] 51 Weapon Model + Sound R 1.2 GHW_Chronic unknown ghw.amxx running
[ 53] 52 Simple Grenade Trail 1.0 seroff unknown granade_tra running
[ 54] 53 Block Change Name 1.0 DJ_WEST unknown block_chang running
[ 55] 54 [ReAPI] Ghost after de 0.0.2 steelzzz unknown ghost.amxx running
[ 56] 55 Revive Players 1.0.0 Emma Jule revive_team running
[ 57] 56 Custom Smoke 1.07 bionext unknown custom_smok running
[ 58] 57 ScreenMaker 1.1 neygomon unknown screenmaker running
[ 59] 58 GameName Changer 1.0 neugomon unknown gamename_ch running
[ 60] 59 Radio Block 1.0 Mmonster unknown radio.amxx running
[ 61] 60 Welcom to VersuS 1.0 LavriK unknown welcome_mus running
[ 62] 61 Voice Manager 1.6 Stimul voice_manag running
Автор плагина
Маздан
Версия плагина
2.0
Исходный код
#include <amxmodx>
#include <orpheu>

new g_offset
new size
new offset
new g_maxwarns
new p[33]

public plugin_init()
{
register_plugin("Anti overflow", "2.0", "mazdan")
register_cvar("anti_reliable_warns", "5")
set_cvar_string("anti_reliable_time", "10")
}

public plugin_cfg()
{
OrpheuRegisterHook( OrpheuGetFunction("SV_DropClient"), "SV_DropClient",OrpheuHookPre);
set_task(get_cvar_float("anti_reliable_time"),"r",0,_,_,"b")
g_maxwarns=get_cvar_num("anti_reliable_warns")
}

public OrpheuHookReturn:SV_DropClient( a , b , const szMessage[] )
{


new ret=OrpheuIgnored
if(size && offset)
{
if(containi(szMessage,"Reliable channel overflowed")!=-1)
{
ret = (p[(a-offset)/size]++<g_maxwarns)?OrpheuSupercede:OrpheuIgnored;
}
}
else
{
if(containi(szMessage,"Reliable channel overflowed")!=-1)
{
ret = OrpheuSupercede
}
g_offset=a
}
return ret
}

public r() arrayset(p,0,33)

public client_disconnected(id)
{
p[id]=0
static bool:zdes_byl_ya
static uid, l_o
if(!zdes_byl_ya && g_offset)
{
if(uid)
{
if(uid!=id)
{
size=(g_offset-l_o)/(id-uid)
offset=g_offset-id*size
zdes_byl_ya=true;
}
}
else
{
l_o=g_offset
uid=id
}
}
}
Проблема при компилирование выходит данные ошибки как исправить?

// E:\scripting\antir.sma(29) : warning 213: tag mismatch
// E:\scripting\antir.sma(33) : warning 213: tag mismatch
// E:\scripting\antir.sma(40 -- 41) : warning 213: tag mismatch
// E:\scripting\antir.sma(45) : warning 213: tag mismatch
 

Вложения

Сообщения
509
Реакции
111
Помог
16 раз(а)
это не ошибки а просто предупреждения,на работу плагина не влияют
 
Статус
В этой теме нельзя размещать новые ответы.

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

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