Raised This Month: $37 Target: $400
 9% 

[CSGO] Trigger_push Fix


Post New Thread Reply   
 
Thread Tools Display Modes
hmmmmm
Senior Member
Join Date: Mar 2017
Location: ...
Old 06-13-2018 , 22:48   Re: [CSGO] Trigger_push Fix
Reply With Quote #21

I've edited my version to have better filter checks by using the internal CBaseTrigger:: PassesTriggerFilters game function which means that it will account for all types of filters, but this also means that it now requires gamedata. Credits to rio for idea & implementation.

I tested it out briefly on the map you mentioned and it worked.

Last edited by hmmmmm; 06-13-2018 at 23:14.
hmmmmm is offline
butare
Senior Member
Join Date: Nov 2016
Old 06-13-2018 , 22:51   Re: [CSGO] Trigger_push Fix
Reply With Quote #22

Quote:
Originally Posted by hmmmmm View Post
I've edited my version to have better filter checks by using the internal CBaseTrigger:: PassesTriggerFilters
game function which means that it will account for all types of filters, but this also means that it now requires gamedata. Credits to rio for idea & implementation.

I tested it out briefly on the map you mentioned and it worked.
Woah, ty for sharing it, gonna test it rn

EDIT: Yep, it's working fine!

Last edited by butare; 06-13-2018 at 23:10.
butare is offline
hmmmmm
Senior Member
Join Date: Mar 2017
Location: ...
Old 12-07-2018 , 02:23   Re: [CSGO] Trigger_push Fix
Reply With Quote #23

The latest CS:GO update broke the gamedata from the edited version of the plugin. I've edited my post to include the updated gamedata. Thanks to rio for finding the updated gamedata.
hmmmmm is offline
freak.exe_uLow
Senior Member
Join Date: Jul 2012
Location: Germany
Old 12-07-2018 , 14:06   Re: [CSGO] Trigger_push Fix
Reply With Quote #24

Quote:
Originally Posted by hmmmmm View Post
The latest CS:GO update broke the gamedata from the edited version of the plugin. I've edited my post to include the updated gamedata. Thanks to rio for finding the updated gamedata.
can you share that?
__________________
Looking for a sm coder who is currently alone, and wants to help me to expand the project...send me a pn

freak.exe_uLow is offline
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 12-07-2018 , 15:10   Re: [CSGO] Trigger_push Fix
Reply With Quote #25

Quote:
Originally Posted by freak.exe_uLow View Post
can you share that?
He updated his post on the second page with the updated gamedata.
__________________
sneaK is offline
freak.exe_uLow
Senior Member
Join Date: Jul 2012
Location: Germany
Old 12-07-2018 , 16:41   Re: [CSGO] Trigger_push Fix
Reply With Quote #26

Quote:
Originally Posted by sneaK View Post
He updated his post on the second page with the updated gamedata.
thanks sneaK
__________________
Looking for a sm coder who is currently alone, and wants to help me to expand the project...send me a pn

freak.exe_uLow is offline
BeNq!
Senior Member
Join Date: Mar 2009
Old 12-22-2018 , 17:25   Re: [CSGO] Trigger_push Fix
Reply With Quote #27

Code:
 Blaming: fix_trigger_push.smx
L 12/22/2018 - 22:12:08: [SM] Call stack trace:
L 12/22/2018 - 22:12:08: [SM]   [0] SDKCall
L 12/22/2018 - 22:12:08: [SM]   [1] Line 205, fix_trigger_push.sp::PassesTriggerFilters
L 12/22/2018 - 22:12:08: [SM]   [2] Line 108, fix_trigger_push.sp::DoPush
L 12/22/2018 - 22:12:08: [SM]   [3] Line 89, fix_trigger_push.sp::OnTouch
L 12/22/2018 - 22:12:08: [SM] Exception reported: Invalid Handle 0 (error 4)
???
BeNq! is offline
hmmmmm
Senior Member
Join Date: Mar 2017
Location: ...
Old 12-23-2018 , 03:56   Re: [CSGO] Trigger_push Fix
Reply With Quote #28

Quote:
Originally Posted by BeNq! View Post
Code:
 Blaming: fix_trigger_push.smx
L 12/22/2018 - 22:12:08: [SM] Call stack trace:
L 12/22/2018 - 22:12:08: [SM]   [0] SDKCall
L 12/22/2018 - 22:12:08: [SM]   [1] Line 205, fix_trigger_push.sp::PassesTriggerFilters
L 12/22/2018 - 22:12:08: [SM]   [2] Line 108, fix_trigger_push.sp::DoPush
L 12/22/2018 - 22:12:08: [SM]   [3] Line 89, fix_trigger_push.sp::OnTouch
L 12/22/2018 - 22:12:08: [SM] Exception reported: Invalid Handle 0 (error 4)
???
You're running this on CS:GO right?
hmmmmm is offline
BeNq!
Senior Member
Join Date: Mar 2009
Old 12-23-2018 , 12:50   Re: [CSGO] Trigger_push Fix
Reply With Quote #29

Yes. CS:GO surf.
BeNq! is offline
Syoudous
New Member
Join Date: Feb 2013
Old 12-25-2018 , 00:48   Re: [CSGO] Trigger_push Fix
Reply With Quote #30

Quote:
Originally Posted by hmmmmm View Post
EDIT: Updated to also have better filter checks. Credits to rio for idea & implementation.
I think it messes up when triggers are parented and perhaps it may be based on pre-set pushdir angles. So, while an angle like 0 0 0 will work and act normal, 0 180 0 won't while parented. When parented it will push at 0 0 0 angles regardless of the preset. When unparenting, it acts "normal" reverting back to the push angles but not where the trigger was last located. Otherwise, restarting the round fresh without touching anything acts normal.

Here's a screenshot of a push that will not push at the appropriate direction that it was compiled for.

I was able to confirm this by toggling triggerpushfix_enable and it does appear to be coming from the plugin.

Last edited by Syoudous; 12-25-2018 at 00:49.
Syoudous is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:56.


Powered by vBulletin®
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Theme made by Freecode