Raised This Month: $51 Target: $400
 12% 

[CSGO] Trigger_push Fix


Post New Thread Reply   
 
Thread Tools Display Modes
hmmmmm
Great Tester of Whatever
Join Date: Mar 2017
Location: ...
Old 06-13-2018 , 21: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 22:14.
hmmmmm is offline
butare
Senior Member
Join Date: Nov 2016
Old 06-13-2018 , 21: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 22:10.
butare is offline
hmmmmm
Great Tester of Whatever
Join Date: Mar 2017
Location: ...
Old 12-07-2018 , 01: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
AlliedModders Donor
Join Date: Jul 2012
Location: Germany
Old 12-07-2018 , 13: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?
freak.exe_uLow is offline
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 12-07-2018 , 14: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
AlliedModders Donor
Join Date: Jul 2012
Location: Germany
Old 12-07-2018 , 15: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
freak.exe_uLow is offline
BeNq!
Senior Member
Join Date: Mar 2009
Old 12-22-2018 , 16: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
Great Tester of Whatever
Join Date: Mar 2017
Location: ...
Old 12-23-2018 , 02: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 , 11:50   Re: [CSGO] Trigger_push Fix
Reply With Quote #29

Yes. CS:GO surf.
BeNq! is offline
Syoudous
Junior Member
Join Date: Feb 2013
Old 12-24-2018 , 23: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-24-2018 at 23:49.
Syoudous is offline
Reply



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 03:18.


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