Open mikehabibi opened 9 years ago
returning Plugin_Handled on an event doesn't actually prevent it from happening, I wish it was that easy. xD
Have you tried it? Because based on this documentation you can if you use a pre hook. https://wiki.alliedmods.net/Events_(SourceMod_Scripting)
(skip to the portion on blocking events) I was always told that blocking events doesn't work, but I've never tried myself so yea.
I tried this very thing to block can trick. No success. Tried all the actions, including stop.
On Tue, Jun 9, 2015 at 2:32 PM, Jacob notifications@github.com wrote:
Have you tried it? Because based on this documentation you can if you use a pre hook. https://wiki.alliedmods.net/Events_(SourceMod_Scripting) (skip to the portion on blocking events)
I was always told that blocking events doesn't work, but I've never tried myself so yea.
Reply to this email directly or view it on GitHub: https://github.com/jacob404/promod-future/issues/1#issuecomment-110452260
Events are simple messages containing event Data. returning Plugin_Handled on an event only prevents the event notifications (which plugins can hook onto) from firing, not the actual event itself.
m_isHangingFromTongue m_isProneTongueDrag m_initialTonguePullDir m_reachedTongueOwner
should try printing those netprops and seeing what values they give under different conditions. it might be able to hijack one or two of them and change the value so that tongues dont break under the conditions we dont want them to
I tried that too - for the tongue break bent event, I tried changing the victim and smoker ID to zero to keep it from latching, but that didn't seem to work. Perhaps I'm not doing it right.
On Tue, Jun 9, 2015 at 3:01 PM, Jacob notifications@github.com wrote:
m_isHangingFromTongue m_isProneTongueDrag m_initialTonguePullDir m_reachedTongueOwner
should try printing those netprops and seeing what values they give under different conditions. it might be able to hijack one or two of them and change the value so that tongues dont break under the conditions we dont want them to
— Reply to this email directly or view it on GitHub https://github.com/jacob404/promod-future/issues/1#issuecomment-110502941 .
im talking about using something like:
SetEntProp(client, Prop_Send, "m_isHangingFromTongue", 0);
I assume you were using SetEventInt
im gunna delay this one since it's a bigger issue than we can tackle for this update i think.
Just so it's clear what's being worked on, and what isn't.
Especially useful for scavogl 3v3 and 4v4, a smoker tongue can be easily broken with the gas can. I think this kind of exploit is fine for normal play, but should be limited in competitive play. Competitive players should utilize the game play and not exploits to get better (i.e. tongue cutting) in these modes.