From bf17bad8f22c3486525b8010b2722af8b3a09968 Mon Sep 17 00:00:00 2001 From: Harry Potter Date: Thu, 7 Dec 2023 03:04:39 +0800 Subject: [PATCH 1/2] Update staggersolver remove l4d1 check --- .../plugins/optional/staggersolver.smx | Bin 6606 -> 6454 bytes addons/sourcemod/scripting/staggersolver.sp | 11 +---------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/addons/sourcemod/plugins/optional/staggersolver.smx b/addons/sourcemod/plugins/optional/staggersolver.smx index ebdd36ff2bc06992e7a47de5cc8e5bc0409d7ad2..59dc6c176032f91b0e9b176fd2a067e885b28212 100644 GIT binary patch delta 6331 zcmYL}WmHsOyoM)01W5%(S_zTvE)fJlT1sT-R8qnr4+2t3cO!~`G=f76Ftp^*NDm+} zAdN7DaOc17UF&{$&ikCT&;IRL`|M${AEJPon%;8=7%a&E0u^e4K)3fnAW$Wk@c6$B zBsAP0I4=_jw0RcW$oAi;^{L7<<6 zlqN7la1VTjG!xg!|O8DuzJ<#!rKc<4?h@a@~lzump&zL`pzWz?Dp;G`a=GY?F;fDrfE?x$rf3NS&14qO4MleUzl$xIg>rj<2GB0|6`O0YKg@?n zr$aIQSG$U9Dg&w6{)`VXM~nJLmRE*lG2V~kLlo1Zj>s0di1)HWPt!t+B_!7C`4F#Z zQL$u;QK2S!`xXZOeZ@_O5+hsmBi>62eQVU-{0X~YykEE8gZdJRH2be66CKKxY%wDg zY1#gr7L^Xrq6m}sB;NZH`c|!7t_lk`+^>9ykfKEekXf)--hE44rQ1ID6&uTkuqWQD z4n2+e?>oX~RPrL+c@WXWF%s(kl~o~IR3ye2>{Id}dg)MveJc-r`=q_O6uV%we_Mde zQnP*g`Th?c#Oiu0!KcC8&b-g@`H9o55Uvxl{& zJ*dlIR^Dsn-959z3(iLTSvKSGz@AcSdP3{kia93mjka%8ozqn_1J>uu1rKbIFf!R*#Z{35`0Vi_7+6nM{-BzC;qR+a5_#(d z)%F^$;+n-;X`K(CL9UX1r3uXNqpA*8Z1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ntKsV}c%}1(23x0gtPAyB=3dcd?{QhPe`0 z5JT`TInX3QAw)rR#{)=v1%R)MC3FEl;4Sysf zmgp^H5YkVfHlz$m-il09s15rX@*reQfhGE&d$GF^p@2XJJX^l-wWAx#KkE0FyI_gZ zXh}SHZ@MsekJV;&~_`Lj<&G*#eiW?B`kwj6_&!NYR*5g!+r7hIZz z%TogYh1Uixh7eteL^v(=Ya@tc@d6$lKgHN9#PeDknVu7j*qfcl4X!IphBuQye#Z&4 zAn>s=7)P`~$UF#ZLu&Q3p5)S;nB`5z_97|0*FTzc%;JlOoYLptu2&zNl4G9VD-}3{ zOmQOn+1!5kme>HH{9)f>1b;_K=wL?hEj|FrW}U?58*v0K73LP5a!O{LEWS)cJK2Yj zi`G3}Fjdd^ux+DupgYK2QTbZA)PydozDRWwXN3EU_n8 z)ApI!JaZC}6$(xFQ1?QacuLC#Mq5kPqyxyxg^pBmqiUuJ=TJ$aJ-?#KKSTmy{4a`; zG zT)8f~H+uo05*#HKKTq?&;m_>5?+d~jF4(WZu7(zF!Pej6PVct&Kk5*Do!c@lz%c#D zt6#;c7rWDjIk@@NJ<&ftM4LedkbTT_TIbIXBrGSjvHCPU+M6V{jGzVs-rX&}r(_HJ z-ByOlZD}g~NmOf!zmuo|-7o8qfxT$Y!e??6Z`&2LibUpIqhrJbH+XEWgM`Et-!i4= zTfO`px?yxv+bRQ`he4DCVOp5p2=z`5C3%+%nIo?)3DZE>}ArCC%>_z^|B{;Qs*{- Date: Fri, 29 Dec 2023 10:20:58 +0800 Subject: [PATCH 2/2] Ignore stagger when AI tank climbing --- .../plugins/optional/staggersolver.smx | Bin 6454 -> 6555 bytes addons/sourcemod/scripting/staggersolver.sp | 63 +++++++++++++----- 2 files changed, 48 insertions(+), 15 deletions(-) diff --git a/addons/sourcemod/plugins/optional/staggersolver.smx b/addons/sourcemod/plugins/optional/staggersolver.smx index 59dc6c176032f91b0e9b176fd2a067e885b28212..98a9e958467850833fc3c622a9d4b47bd4b615f6 100644 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UE+&<}}EI^RhDgoRErT_5@4t z4w}@qv>x0}l!aZamI#OBt!-e5-o;;7SRb(V_W21HT!I diff --git a/addons/sourcemod/scripting/staggersolver.sp b/addons/sourcemod/scripting/staggersolver.sp index 60310206d..734e01e5e 100644 --- a/addons/sourcemod/scripting/staggersolver.sp +++ b/addons/sourcemod/scripting/staggersolver.sp @@ -9,7 +9,7 @@ public Plugin myinfo = name = "Super Stagger Solver", author = "CanadaRox, A1m (fix), Sir (rework), Forgetest", description = "Blocks all button presses and restarts animations during stumbles", - version = "2.3", + version = "2.4", url = "https://github.com/SirPlease/L4D2-Competitive-Rework" }; @@ -20,19 +20,56 @@ public void L4D_OnShovedBySurvivor_Post(int client, int victim, const float vecD public void L4D2_OnStagger_Post(int client, int source) { - // Interesting to note is that this might not be needed. - // Issues might be caused by other plugins messing with the current stagger/anim prior to Post. - // Do with this information what you want. - if (GetClientTeam(client) != 3) - return; + if (GetClientTeam(client) != 3) return; if (!L4D_IsPlayerStaggering(client)) return; - - if (IsTankThrowingRock(client)) // handled by plugin "rock_stumble_block" - return; - + PlayerAnimState anim = PlayerAnimState.FromPlayer(client); + if(IsTank(client)) + { + if (IsTankThrowingRock(client)) // handled by plugin "rock_stumble_block" + return; + + switch (anim.GetMainActivity()) + { + case L4D2_ACT_TERROR_HULK_VICTORY, + L4D2_ACT_TERROR_HULK_VICTORY_B, + L4D2_ACT_TERROR_RAGE_AT_ENEMY, + L4D2_ACT_TERROR_RAGE_AT_KNOCKDOWN: + { + SetEntPropFloat(client, Prop_Send, "m_flCycle", 1.0); + } + case L4D2_ACT_TERROR_CLIMB_24_FROM_STAND, + L4D2_ACT_TERROR_CLIMB_36_FROM_STAND, + L4D2_ACT_TERROR_CLIMB_48_FROM_STAND, + L4D2_ACT_TERROR_CLIMB_50_FROM_STAND, + L4D2_ACT_TERROR_CLIMB_60_FROM_STAND, + L4D2_ACT_TERROR_CLIMB_70_FROM_STAND, + L4D2_ACT_TERROR_CLIMB_72_FROM_STAND, + L4D2_ACT_TERROR_CLIMB_84_FROM_STAND, + L4D2_ACT_TERROR_CLIMB_96_FROM_STAND, + L4D2_ACT_TERROR_CLIMB_108_FROM_STAND, + L4D2_ACT_TERROR_CLIMB_115_FROM_STAND, + L4D2_ACT_TERROR_CLIMB_120_FROM_STAND, + L4D2_ACT_TERROR_CLIMB_130_FROM_STAND, + L4D2_ACT_TERROR_CLIMB_132_FROM_STAND, + L4D2_ACT_TERROR_CLIMB_144_FROM_STAND, + L4D2_ACT_TERROR_CLIMB_150_FROM_STAND, + L4D2_ACT_TERROR_CLIMB_156_FROM_STAND, + L4D2_ACT_TERROR_CLIMB_166_FROM_STAND, + L4D2_ACT_TERROR_CLIMB_168_FROM_STAND: + { + return; + } + default: + { + anim.ResetMainActivity(); + } + } + + return; + } switch (anim.GetMainActivity()) { @@ -73,9 +110,6 @@ public Action OnPlayerRunCmd(int client, int &buttons) bool IsTankThrowingRock(int client) { - if (!IsTank(client)) - return false; - int ability = GetEntPropEnt(client, Prop_Send, "m_customAbility"); if (ability == -1) return false; @@ -85,8 +119,7 @@ bool IsTankThrowingRock(int client) bool IsTank(int client) { - return GetClientTeam(client) == 3 - && GetEntProp(client, Prop_Send, "m_zombieClass") == 8; + return GetEntProp(client, Prop_Send, "m_zombieClass") == 8; } bool CThrow__IsActive(int ability)