Raised This Month: $ Target: $400
 0% 

[L4D & L4D2] Left 4 DHooks Direct (1.150) [06-May-2024]


Post New Thread Reply   
 
Thread Tools Display Modes
finishlast
Senior Member
Join Date: Nov 2018
Location: In Reno with the vitamin
Old 05-04-2024 , 15:17   Re: [L4D & L4D2] Left 4 DHooks Direct (1.147) [30-Apr-2024]
Reply With Quote #1121

Those above (Harry Potter) are broken for Linux.
__________________

Last edited by finishlast; 05-04-2024 at 15:18.
finishlast is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 05-04-2024 , 18:55   Re: [L4D & L4D2] Left 4 DHooks Direct (1.147) [30-Apr-2024]
Reply With Quote #1122

Try these ones out. I don't run a L4D1 server therefore can't really test these but they should work.

PHP Code:
L4DD::CTankRock::OnRelease                     "@_ZN9CTankRock9OnReleaseERK6VectorRK6QAngleS2_S2_"
L4DD::CDirector::TryOfferingTankBot_Clone     "@_ZN8Director18TryOfferingTankBotEP11CBaseEntityb" // Clone function doesn't exist anymore. If pure clone then original function's signature will work. 
L4DD::CTerrorPlayer::OnShovedBySurvivor_Clone    -  "@_ZN13CTerrorPlayer18OnShovedBySurvivorEPS_RK6Vector_part_591"
L4DD::CTerrorPlayer::OnStaggered_Clone         "@_ZN13CTerrorPlayer11OnStaggeredEP11CBaseEntityPK6Vector" // Clone function doesn't exist anymore. If pure clone then original function's signature will work.
L4DD::CFirstAidKit::StartHealing             "@_ZN12CFirstAidKit12StartHealingENS_14HealTargetTypeE" // Has a clone function. Clone signature "@_ZN12CFirstAidKit12StartHealingENS_14HealTargetTypeE_part_38"
CTerrorPlayer::WarpToValidPositionIfStuck     "@_ZN13CTerrorPlayer26WarpToValidPositionIfStuckEv" // Clone function signature "@_ZN13CTerrorPlayer26WarpToValidPositionIfStuckEv_part_161"
NavAreaTravelDistance                         "@_Z21NavAreaTravelDistanceI16ShortestPathCostEfRK6VectorS3_RT_" // Has two clone functions "@_Z21NavAreaTravelDistanceI16ShortestPathCostEfP8CNavAreaS2_RT_f_constprop_238" and "@_Z21NavAreaTravelDistanceI16ShortestPathCostEfP8CNavAreaS2_RT_f_constprop_270"
CTerrorPlayer::CanBecomeGhost                // Still looking into this one. 
__________________
Spirit_12 is offline
finishlast
Senior Member
Join Date: Nov 2018
Location: In Reno with the vitamin
Old 05-05-2024 , 11:40   Re: [L4D & L4D2] Left 4 DHooks Direct (1.147) [30-Apr-2024]
Reply With Quote #1123

I changed the ones in signature list. (linux)

All errors were gone except these:

Code:
(bc nothing changed yet.)
L 05/05/2024 - 17:37:45: [left4dhooks.smx] CTerrorPlayer::CanBecomeGhost patch: byte mis-match. 4C
Code:
"CTerrorPlayer::OnShovedBySurvivor_Clone"
			{
				"library"	"server"
				"linux" 	"@_ZN13CTerrorPlayer18OnShovedBySurvivorEPS_RK6Vector_part_591"
			}
Code:
L 05/05/2024 - 17:37:46: [left4dhooks.smx] Failed to load detour "L4DD::CTerrorPlayer::OnShovedBySurvivor_Clone" signature (NIX/1/1.142).
__________________

Last edited by finishlast; 05-05-2024 at 11:46.
finishlast is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 05-05-2024 , 15:30   Re: [L4D & L4D2] Left 4 DHooks Direct (1.148) [05-May-2024]
Reply With Quote #1124

Code:
1.148 (05-May-2024)
    - Update to fix GameData changes on Linux due to the recent update in L4D1. Thanks to "Forgetest" for fixing.
    - Removed excess "functions" from the L4D1 temporary gamedata file, which were intended only for L4D2.

    - Updated: Plugin.
    - Updated: "/gamedata/left4dhooks.l4d1.txt" GameData file.
    - Updated: "/scripting/l4dd/l4dd_gamedata.sp" project file.
__________________
Silvers is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 05-05-2024 , 15:40   Re: [L4D & L4D2] Left 4 DHooks Direct (1.147) [30-Apr-2024]
Reply With Quote #1125

Quote:
Originally Posted by finishlast View Post
I changed the ones in signature list. (linux)
Code:
"CTerrorPlayer::OnShovedBySurvivor_Clone"
			{
				"library"	"server"
				"linux" 	"@_ZN13CTerrorPlayer18OnShovedBySurvivorEPS_RK6Vector_part_591"
			}
Code:
L 05/05/2024 - 17:37:46: [left4dhooks.smx] Failed to load detour "L4DD::CTerrorPlayer::OnShovedBySurvivor_Clone" signature (NIX/1/1.142).
I double checked the signature and its correct. Can you make sure its added correctly into the gamedata file?

Quote:
Originally Posted by finishlast View Post
Code:
(bc nothing changed yet.)
L 05/05/2024 - 17:37:45: [left4dhooks.smx] CTerrorPlayer::CanBecomeGhost patch: byte mis-match. 4C
I'm gonna need an older binary to provide a fix for this. Issue is IDK the history of this patch so its easier for me to see the function in a before and after scenario rather than trying to do mental gymnastics.

I can look at it again if someone can provide pre-update server.so file. Its located in your

PHP Code:
server/left4dead/bin 
folder.
__________________
Spirit_12 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 05-05-2024 , 15:40   Re: [L4D & L4D2] Left 4 DHooks Direct (1.148) [05-May-2024]
Reply With Quote #1126

Already updated.
__________________
Silvers is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 05-05-2024 , 20:37   Re: [L4D & L4D2] Left 4 DHooks Direct (1.148) [05-May-2024]
Reply With Quote #1127

Quote:
Originally Posted by Silvers View Post
Already updated.
Good work as always.

Hey can you confirm that some of the clone functions were removed or am I just not getting it?
__________________
Spirit_12 is offline
CryWolf
Veteran Member
Join Date: Jul 2008
Location: Romania
Old 05-06-2024 , 01:07   Re: [L4D & L4D2] Left 4 DHooks Direct (1.148) [05-May-2024]
Reply With Quote #1128

Quote:
Originally Posted by Silvers View Post
Code:
1.148 (05-May-2024)
    - Update to fix GameData changes on Linux due to the recent update in L4D1. Thanks to "Forgetest" for fixing.
    - Removed excess "functions" from the L4D1 temporary gamedata file, which were intended only for L4D2.

    - Updated: Plugin.
    - Updated: "/gamedata/left4dhooks.l4d1.txt" GameData file.
    - Updated: "/scripting/l4dd/l4dd_gamedata.sp" project file.
Thanks, but
Code:
L 05/06/2024 - 01:07:00: [left4dhooks.smx] Failed to load detour "L4DD::CTankRock::OnRelease" signature (NIX/1/1.148).
L 05/06/2024 - 01:07:00: [left4dhooks.smx] Failed to load detour "L4DD::CDirector::TryOfferingTankBot_Clone" signature (NIX/1/1.148).
L 05/06/2024 - 01:07:00: [left4dhooks.smx] Failed to load detour "L4DD::CTerrorPlayer::OnShovedBySurvivor_Clone" signature (NIX/1/1.148).
L 05/06/2024 - 01:07:00: [left4dhooks.smx] Failed to load detour "L4DD::CTerrorPlayer::OnStaggered_Clone" signature (NIX/1/1.148).
L 05/06/2024 - 01:07:00: [left4dhooks.smx] Failed to load detour "L4DD::CFirstAidKit::StartHealing" signature (NIX/1/1.148).
The same.
Code:
  07 "[L4D & L4D2] Left 4 DHooks Direct" (1.148) by SilverShot
__________________
I dont walk trough this world with fear in my heart.
www.dark-arena.com L4D, CS1.6, CZ Servers

Last edited by CryWolf; 05-06-2024 at 03:50.
CryWolf is offline
Send a message via MSN to CryWolf Send a message via Yahoo to CryWolf
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 05-06-2024 , 05:13   Re: [L4D & L4D2] Left 4 DHooks Direct (1.148) [05-May-2024]
Reply With Quote #1129

Code:
1.149 (06-May-2024)
    - Repackage of the last update to include the GameData changes, which it did not.
__________________
Silvers is offline
CrazMan
Member
Join Date: Jun 2022
Old 05-06-2024 , 05:25   Re: [L4D & L4D2] Left 4 DHooks Direct (1.149) [06-May-2024]
Reply With Quote #1130

Thanks Harry Potter and Silvers. Everything worked out great. =)

Last edited by CrazMan; 05-06-2024 at 05:25.
CrazMan 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 08:08.


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