Raised This Month: $ Target: $400
 0% 

[L4D & L4D2] Left 4 DHooks Direct (1.147) [30-Apr-2024]


Post New Thread Reply   
 
Thread Tools Display Modes
gabuch2
AlliedModders Donor
Join Date: Mar 2011
Location: Chile
Old 09-11-2022 , 17:55   Re: [L4D & L4D2] Left 4 DHooks Direct (1.114) [01-Sep-2022]
Reply With Quote #741

Requesting

CDirector::OnForceSurvivorPositions
__________________
gabuch2 is offline
Alexmy
Senior Member
Join Date: Oct 2014
Location: Russian Federation
Old 09-12-2022 , 03:28   Re: [L4D & L4D2] Left 4 DHooks Direct (1.114) [01-Sep-2022]
Reply With Quote #742

Hi, Silvers.
It would be nice if you added a fire damage block forward the survivor.
__________________
[/URL]
Alexmy is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 09-12-2022 , 03:29   Re: [L4D & L4D2] Left 4 DHooks Direct (1.114) [01-Sep-2022]
Reply With Quote #743

Quote:
Originally Posted by Alexmy View Post
Hi, Silvers.
It would be nice if you added a fire damage block forward the survivor.
What's wrong with SDKHooks OnTakeDamage and detecting fire and blocking that way? Seems unnecessary.
__________________
Silvers is offline
Red Flame
Junior Member
Join Date: Jan 2012
Old 09-16-2022 , 11:59   Re: [L4D & L4D2] Left 4 DHooks Direct (1.114) [01-Sep-2022]
Reply With Quote #744

Hello, recently I've got this
Code:
L 09/16/2022 - 13:31:30: SourceMod error session started
L 09/16/2022 - 13:31:30: Info (map "l4d2_bts06_school") (file "/home/srcds/.local/share/Steam/steamcmd/l4d2server/left4dead2/addons/sourcemod/logs/errors_20220916.log")
L 09/16/2022 - 13:31:30: [SM] Exception reported: Property "m_useActionOwner" not found (entity 1105/func_button_timed)
L 09/16/2022 - 13:31:30: [SM] Blaming: l4d2_pickup.smx
L 09/16/2022 - 13:31:30: [SM] Call stack trace:
L 09/16/2022 - 13:31:30: [SM]   [0] SetEntPropEnt
L 09/16/2022 - 13:31:30: [SM]   [1] Line 890, D:\solaris-scripting\_includes\1.11\left4dhooks\silver.inc::L4D_StopReviveAction
L 09/16/2022 - 13:31:30: [SM]   [2] Line 272, D:\solaris-scripting\_plugins\l4d2_pickup\scripting\l4d2_pickup.sp::Event_PlayerHurt
L 09/16/2022 - 13:46:11: Error log file session closed.
Seems like something wrong with L4D_StopReviveAction().
Plugin link: URL

I'm not quit sure, but do we need to add HasEntProp Function in the stock to avoid this error?
Red Flame is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 09-17-2022 , 03:55   Re: [L4D & L4D2] Left 4 DHooks Direct (1.114) [01-Sep-2022]
Reply With Quote #745

Quote:
Originally Posted by Red Flame View Post
Hello, recently I've got this
Code:
L 09/16/2022 - 13:31:30: SourceMod error session started
L 09/16/2022 - 13:31:30: Info (map "l4d2_bts06_school") (file "/home/srcds/.local/share/Steam/steamcmd/l4d2server/left4dead2/addons/sourcemod/logs/errors_20220916.log")
L 09/16/2022 - 13:31:30: [SM] Exception reported: Property "m_useActionOwner" not found (entity 1105/func_button_timed)
L 09/16/2022 - 13:31:30: [SM] Blaming: l4d2_pickup.smx
L 09/16/2022 - 13:31:30: [SM] Call stack trace:
L 09/16/2022 - 13:31:30: [SM]   [0] SetEntPropEnt
L 09/16/2022 - 13:31:30: [SM]   [1] Line 890, D:\solaris-scripting\_includes\1.11\left4dhooks\silver.inc::L4D_StopReviveAction
L 09/16/2022 - 13:31:30: [SM]   [2] Line 272, D:\solaris-scripting\_plugins\l4d2_pickup\scripting\l4d2_pickup.sp::Event_PlayerHurt
L 09/16/2022 - 13:46:11: Error log file session closed.
Seems like something wrong with L4D_StopReviveAction().
Plugin link: URL

I'm not quit sure, but do we need to add HasEntProp Function in the stock to avoid this error?
The stock is fine, l4d2_pickup needs to validate it's putting a client index into the function, the code must be wrong if it's sending something other than a client index into the stock.
__________________
Silvers is offline
Red Flame
Junior Member
Join Date: Jan 2012
Old 09-17-2022 , 12:44   Re: [L4D & L4D2] Left 4 DHooks Direct (1.114) [01-Sep-2022]
Reply With Quote #746

Quote:
Originally Posted by Silvers View Post
The stock is fine, l4d2_pickup needs to validate it's putting a client index into the function, the code must be wrong if it's sending something other than a client index into the stock.

Thank you for your reply but, as I mentioned before, seems like something wrong with L4D_StopReviveAction().
According to the log, we send client index from Event_PlayerHurt(). I don't see the case how it is possible to send wrong client index to L4D_StopReviveAction().
Furthermore, Property "m_useActionOwner" not found for target index which we get in the stock.
I hope I provided enough info.

Last edited by Red Flame; 09-17-2022 at 12:45.
Red Flame is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 09-20-2022 , 08:01   Re: [L4D & L4D2] Left 4 DHooks Direct (1.115) [20-Sep-2022]
Reply With Quote #747

Code:
1.115 (20-Sep-2022)
    - Added forward "L4D_OnForceSurvivorPositions" Triggers after round start when Survivors are forced into starting positions, usually first map and finale escape start, not all maps. Requested by "gabuch2".
    - Added forwards "L4D_Molotov_Detonate", "L4D_PipeBomb_Detonate" and "L4D2_VomitJar_Detonate" with their relative "_Post" and "_PostHandled" forwards to trigger when a grenade projectile is about to explode.
    - L4D2: Fixed native "L4D2_SpitterPrj" not causing damage sounds when the projectile is not connected with a player from the Special Infected team. Thanks to "Marttt" for reporting.
    - L4D2: Fixed native "L4D2_UseAdrenaline" to use the "adrenaline_health_buffer" cvar value instead of "pain_pills_health_value" for healing and prevent over-healing. Thanks to "HarryPotter" for fixing.
    - Fixed stock "L4D_StopReviveAction" from "left4dhooks_silver.inc" include file from throwing errors. Thanks to "Red Flame" for reporting.

    - Updated: Plugin and test plugin.
    - Updated: "left4dhooks.inc" Include file.
    - Updated: "left4dhooks_silver.inc" Include file.
    - Updated: "left4dhooks.l4d1.txt" GameData file.
    - Updated: "left4dhooks.l4d2.txt" GameData file.
    - Updated: "/scripting/l4dd/l4dd_forwards.sp" project file.
    - Updated: "/scripting/l4dd/l4dd_natives.sp" project file.
    - Updated: "/scripting/l4dd/l4dd_setup.sp" project file.

@Red Flame:
I understand the issue now, I looked at the first use of netprop not the second. Hopefully this fixes the issue, please let me know. Thanks for the report.
__________________

Last edited by Silvers; 09-20-2022 at 08:02.
Silvers is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 09-21-2022 , 04:03   Re: [L4D & L4D2] Left 4 DHooks Direct (1.116) [21-Sep-2022]
Reply With Quote #748

Code:
1.116 (21-Sep-2022)
    - L4D1: Fixed GameData missing the "L4D_Molotov_Detonate" and "L4D_PipeBomb_Detonate" forwards data.
    - L4D2: Fixed native "L4D2_SpitterPrj" crashing the server when playing damage sounds. Thanks to "Marttt" for fixing.

    - Updated: Plugin.
    - Updated: "left4dhooks.l4d1.txt" GameData file.
    - Updated: "/scripting/l4dd/l4dd_natives.sp" project file.
__________________
Silvers is offline
Red Flame
Junior Member
Join Date: Jan 2012
Old 09-21-2022 , 11:23   Re: [L4D & L4D2] Left 4 DHooks Direct (1.115) [20-Sep-2022]
Reply With Quote #749

Quote:
Originally Posted by Silvers View Post
Code:
1.115 (20-Sep-2022)
    - Added forward "L4D_OnForceSurvivorPositions" Triggers after round start when Survivors are forced into starting positions, usually first map and finale escape start, not all maps. Requested by "gabuch2".
    - Added forwards "L4D_Molotov_Detonate", "L4D_PipeBomb_Detonate" and "L4D2_VomitJar_Detonate" with their relative "_Post" and "_PostHandled" forwards to trigger when a grenade projectile is about to explode.
    - L4D2: Fixed native "L4D2_SpitterPrj" not causing damage sounds when the projectile is not connected with a player from the Special Infected team. Thanks to "Marttt" for reporting.
    - L4D2: Fixed native "L4D2_UseAdrenaline" to use the "adrenaline_health_buffer" cvar value instead of "pain_pills_health_value" for healing and prevent over-healing. Thanks to "HarryPotter" for fixing.
    - Fixed stock "L4D_StopReviveAction" from "left4dhooks_silver.inc" include file from throwing errors. Thanks to "Red Flame" for reporting.

    - Updated: Plugin and test plugin.
    - Updated: "left4dhooks.inc" Include file.
    - Updated: "left4dhooks_silver.inc" Include file.
    - Updated: "left4dhooks.l4d1.txt" GameData file.
    - Updated: "left4dhooks.l4d2.txt" GameData file.
    - Updated: "/scripting/l4dd/l4dd_forwards.sp" project file.
    - Updated: "/scripting/l4dd/l4dd_natives.sp" project file.
    - Updated: "/scripting/l4dd/l4dd_setup.sp" project file.

@Red Flame:
I understand the issue now, I looked at the first use of netprop not the second. Hopefully this fixes the issue, please let me know. Thanks for the report.
Thank you a lot for the update.
Red Flame is offline
tRololo312312
Senior Member
Join Date: Apr 2015
Old 09-26-2022 , 17:27   Re: [L4D & L4D2] Left 4 DHooks Direct (1.116) [21-Sep-2022]
Reply With Quote #750

Wish there was a alternative for IsReachable for infected. Checking nav flow is nowhere near as accurate, but trying to use IsReachable on infected bots causes random crashes despite actually working.
tRololo312312 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 07:36.


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