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

Solved [L4D2]Hunter Pounces Charger's survivor


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
King_OXO
Senior Member
Join Date: Dec 2020
Location: Brazil
Old 06-05-2023 , 11:52   [L4D2]Hunter Pounces Charger's survivor
Reply With Quote #1

SOLVED

Problem
__________________
My Noob Plugins

Discord:WhiteFire#1301
Steam:WhiteFire
Youtube

Last edited by King_OXO; 06-20-2023 at 17:13.
King_OXO is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 06-06-2023 , 05:27   Re: [L4D2]Hunter Pounces Charger's survivor
Reply With Quote #2

You would be better off detouring the function wherever the Hunter checks for pinned clients and releasing the Charger, allowing the Hunter to instead pin the Survivor.

P.S the colors in your message just make it more difficult to read.
__________________

Last edited by Silvers; 06-06-2023 at 05:27.
Silvers is offline
Paimon
Member
Join Date: Jul 2021
Location: Zootopia
Old 06-06-2023 , 08:16   Re: [L4D2]Hunter Pounces Charger's survivor
Reply With Quote #3

You could use L4D2_Charger_EndPummel(survivor, charger) to release the charger by including Left4DHooks and then hunter could pounce the survivor.

Last edited by Paimon; 06-06-2023 at 08:17.
Paimon is offline
eyal282
Veteran Member
Join Date: Aug 2011
Old 06-08-2023 , 11:15   Re: [L4D2]Hunter Pounces Charger's survivor
Reply With Quote #4

It's either OnPouncedUpon or OnPouncedOnSurvivor.

I wonder if Silvers would be interested to include all pin sdkcalls in Left4DHooks.

@_ZN13CTerrorPlayer13OnPouncedUponEPS_

@_ZN13CTerrorPlayer19OnPouncedOnSurvivorEPS_
__________________
I am available to make plugins for pay.

Discord: Eyal282#1334

Last edited by eyal282; 06-08-2023 at 11:16.
eyal282 is offline
King_OXO
Senior Member
Join Date: Dec 2020
Location: Brazil
Old 06-08-2023 , 14:40   Re: [L4D2]Hunter Pounces Charger's survivor
Reply With Quote #5

Quote:
Originally Posted by eyal282 View Post
It's either OnPouncedUpon or OnPouncedOnSurvivor.

I wonder if Silvers would be interested to include all pin sdkcalls in Left4DHooks.

@_ZN13CTerrorPlayer13OnPouncedUponEPS_

@_ZN13CTerrorPlayer19OnPouncedOnSurvivorEPS_
It doesn't work.
__________________
My Noob Plugins

Discord:WhiteFire#1301
Steam:WhiteFire
Youtube
King_OXO is offline
King_OXO
Senior Member
Join Date: Dec 2020
Location: Brazil
Old 06-08-2023 , 14:40   Re: [L4D2]Hunter Pounces Charger's survivor
Reply With Quote #6

Quote:
Originally Posted by Silvers View Post
You would be better off detouring the function wherever the Hunter checks for pinned clients and releasing the Charger, allowing the Hunter to instead pin the Survivor.

P.S the colors in your message just make it more difficult to read.
I did that, but it still doesn't work.
__________________
My Noob Plugins

Discord:WhiteFire#1301
Steam:WhiteFire
Youtube
King_OXO is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 06-08-2023 , 17:39   Re: [L4D2]Hunter Pounces Charger's survivor
Reply With Quote #7

Show the detour code.
__________________
Silvers is offline
King_OXO
Senior Member
Join Date: Dec 2020
Location: Brazil
Old 06-09-2023 , 16:12   Re: [L4D2]Hunter Pounces Charger's survivor
Reply With Quote #8

Quote:
Originally Posted by Silvers View Post
Show the detour code.
idk what is detour code XD. I'm noob on script bro
__________________
My Noob Plugins

Discord:WhiteFire#1301
Steam:WhiteFire
Youtube
King_OXO is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 06-09-2023 , 18:16   Re: [L4D2]Hunter Pounces Charger's survivor
Reply With Quote #9

Quote:
Originally Posted by King_OXO View Post
idk what is detour code XD. I'm noob on script bro
Then you didn’t actually try what was suggested. Therefore you don’t know if it would actually work.
__________________
Psyk0tik is offline
King_OXO
Senior Member
Join Date: Dec 2020
Location: Brazil
Old 06-10-2023 , 15:20   Re: [L4D2]Hunter Pounces Charger's survivor
Reply With Quote #10

Quote:
Originally Posted by Psyk0tik View Post
Then you didn’t actually try what was suggested. Therefore you don’t know if it would actually work.
I thought he was suggesting putting the return function in the SDKHook
__________________
My Noob Plugins

Discord:WhiteFire#1301
Steam:WhiteFire
Youtube
King_OXO 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 10:55.


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