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

[L4D & L4D2] Left 4 DHooks Direct (1.146) [21-Apr-2024]


Post New Thread Reply   
 
Thread Tools Display Modes
ddd123
Senior Member
Join Date: May 2021
Old 07-11-2021 , 20:36   Re: [L4D & L4D2] Left 4 DHooks Direct (1.47) [10-Jul-2021]
Reply With Quote #381

Hi, i still get the error log even after update all plugins and it still said [SM] blaming on left4dhooks.smx
I also update including all the require plugins
This error spams happened either boomer puke me or Mutant Tank's puke me with puke ability

HTML Code:
L 07/12/2021 - 06:52:41: [SM] Exception reported: Param is not a pointer!
L 07/12/2021 - 06:52:41: [SM] Blaming: left4dhooks.smx
L 07/12/2021 - 06:52:41: [SM] Call stack trace:
L 07/12/2021 - 06:52:41: [SM]   [0] DHookIsNullParam
L 07/12/2021 - 06:52:41: [SM]   [1] Line 7526, C:\Servers\L4D2\left4dead2\addons\sourcemod\scripting\left4dhooks.sp::OnVomitedUpon
L 07/12/2021 - 06:53:35: Error log file session closed.
HTML Code:
L 07/12/2021 - 13:55:20: [SM] Exception reported: Param is not a pointer!
L 07/12/2021 - 13:55:20: [SM] Blaming: left4dhooks.smx
L 07/12/2021 - 13:55:20: [SM] Call stack trace:
L 07/12/2021 - 13:55:20: [SM]   [0] DHookIsNullParam
L 07/12/2021 - 13:55:20: [SM]   [1] Line 7526, C:\Servers\L4D2\left4dead2\addons\sourcemod\scripting\left4dhooks.sp::OnVomitedUpon
L 07/12/2021 - 13:55:20: [SM]   [3] SDKCall
L 07/12/2021 - 13:55:20: [SM]   [4] Line 6087, C:\Servers\L4D2\left4dead2\addons\sourcemod\scripting\left4dhooks.sp::Native_CTerrorPlayer_OnVomitedUpon
L 07/12/2021 - 13:55:20: [SM]   [6] L4D_CTerrorPlayer_OnVomitedUpon
L 07/12/2021 - 13:55:20: [SM]   [7] Line 1843, C:\l4d2ds\left4dead2\addons\sourcemod\scripting\mutant_tanks.sp::aNative_VomitPlayer
L 07/12/2021 - 13:55:20: [SM]   [9] MT_VomitPlayer
L 07/12/2021 - 13:55:20: [SM]   [10] Line 999, mutant_tanks/abilities2/mt_puke.sp::tTimerPukeHit

Last edited by ddd123; 07-12-2021 at 01:22.
ddd123 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 07-12-2021 , 05:30   Re: [L4D & L4D2] Left 4 DHooks Direct (1.47) [10-Jul-2021]
Reply With Quote #382

Quote:
Originally Posted by ddd123 View Post
Hi, i still get the error log even after update all plugins and it still said [SM] blaming on left4dhooks.smx
I also update including all the require plugins
This error spams happened either boomer puke me or Mutant Tank's puke me with puke ability

HTML Code:
L 07/12/2021 - 06:52:41: [SM] Exception reported: Param is not a pointer!
L 07/12/2021 - 06:52:41: [SM] Blaming: left4dhooks.smx
L 07/12/2021 - 06:52:41: [SM] Call stack trace:
L 07/12/2021 - 06:52:41: [SM]   [0] DHookIsNullParam
L 07/12/2021 - 06:52:41: [SM]   [1] Line 7526, C:\Servers\L4D2\left4dead2\addons\sourcemod\scripting\left4dhooks.sp::OnVomitedUpon
L 07/12/2021 - 06:53:35: Error log file session closed.
HTML Code:
L 07/12/2021 - 13:55:20: [SM] Exception reported: Param is not a pointer!
L 07/12/2021 - 13:55:20: [SM] Blaming: left4dhooks.smx
L 07/12/2021 - 13:55:20: [SM] Call stack trace:
L 07/12/2021 - 13:55:20: [SM]   [0] DHookIsNullParam
L 07/12/2021 - 13:55:20: [SM]   [1] Line 7526, C:\Servers\L4D2\left4dead2\addons\sourcemod\scripting\left4dhooks.sp::OnVomitedUpon
L 07/12/2021 - 13:55:20: [SM]   [3] SDKCall
L 07/12/2021 - 13:55:20: [SM]   [4] Line 6087, C:\Servers\L4D2\left4dead2\addons\sourcemod\scripting\left4dhooks.sp::Native_CTerrorPlayer_OnVomitedUpon
L 07/12/2021 - 13:55:20: [SM]   [6] L4D_CTerrorPlayer_OnVomitedUpon
L 07/12/2021 - 13:55:20: [SM]   [7] Line 1843, C:\l4d2ds\left4dead2\addons\sourcemod\scripting\mutant_tanks.sp::aNative_VomitPlayer
L 07/12/2021 - 13:55:20: [SM]   [9] MT_VomitPlayer
L 07/12/2021 - 13:55:20: [SM]   [10] Line 999, mutant_tanks/abilities2/mt_puke.sp::tTimerPukeHit
hmm very strange.

Could you try removing "|| DHookIsNullParam(hParams, 2)" from left4dhooks source and recompiling? I wonder if param 2 was causing this.

Param 1 was throwing "Exception reported: Trying to get value for null pointer." that's why I added the check. But I also added the check to param2 just in case.

Also suggest updating dhooks.

Which game?
__________________

Last edited by Silvers; 07-12-2021 at 05:49.
Silvers is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 07-12-2021 , 06:00   Re: [L4D & L4D2] Left 4 DHooks Direct (1.47) [10-Jul-2021]
Reply With Quote #383

Quote:
Originally Posted by Silvers View Post
hmm very strange.

Could you try removing "|| DHookIsNullParam(hParams, 2)" from left4dhooks source and recompiling? I wonder if param 2 was causing this.

Param 1 was throwing "Exception reported: Trying to get value for null pointer." that's why I added the check. But I also added the check to param2 just in case.

Which game?
Only param1 needs a null param check since it's the only pointer being passed to the function.
Code:
/* CTerrorPlayer::OnVomitedUpon(CTerrorPlayer*, bool, bool) */
/* CTerrorPlayer::OnVomitedUpon(CTerrorPlayer*, bool) */
__________________
Psyk0tik is offline
ddd123
Senior Member
Join Date: May 2021
Old 07-12-2021 , 06:28   Re: [L4D & L4D2] Left 4 DHooks Direct (1.47) [10-Jul-2021]
Reply With Quote #384

Quote:
Originally Posted by Silvers View Post
hmm very strange.

Could you try removing "|| DHookIsNullParam(hParams, 2)" from left4dhooks source and recompiling? I wonder if param 2 was causing this.

Param 1 was throwing "Exception reported: Trying to get value for null pointer." that's why I added the check. But I also added the check to param2 just in case.

Also suggest updating dhooks.

Which game?
I remove the "|| DHookIsNullParam(hParams, 2)" and recompile together with left4dhooks.inc
I believe that fix the error spam logs even after Boomer and Mutant Tank's puke ability
Thank you very much!
ddd123 is offline
Forgetest
Member
Join Date: Aug 2020
Old 07-12-2021 , 12:16   Re: [L4D & L4D2] Left 4 DHooks Direct (1.47) [10-Jul-2021]
Reply With Quote #385

Offset for CTerrorPlayer::SpawnTimer seems not right on Linux. Plugin using related natives doesn't have good value returned.

Not tested on Windows.

PHP Code:
/* Offset into CTerrorPlayer
 * Is this right? How do we find it?
 */
"SpawnTimer"
{
    
"windows"    "11308"
    "linux"        "11288"

Forgetest is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 07-12-2021 , 16:20   Re: [L4D & L4D2] Left 4 DHooks Direct (1.47) [10-Jul-2021]
Reply With Quote #386

Quote:
Originally Posted by Forgetest View Post
Offset for CTerrorPlayer::SpawnTimer seems not right on Linux. Plugin using related natives doesn't have good value returned.

Not tested on Windows.

PHP Code:
/* Offset into CTerrorPlayer
 * Is this right? How do we find it?
 */
"SpawnTimer"
{
    
"windows"    "11308"
    "linux"        "11288"

Can you try this and let me know please

Code:
			"SpawnTimer"
			{
				"windows"	"11276"
				"linux"		"11256"
			}
__________________
Silvers is offline
Alexmy
Senior Member
Join Date: Oct 2014
Location: Russian Federation
Old 07-12-2021 , 20:25   Re: [L4D & L4D2] Left 4 DHooks Direct (1.47) [10-Jul-2021]
Reply With Quote #387

Hello Silvers on version 1.47 I started getting an error:
PHP Code:
[PHP]L 07/13/2021 03:19:15SourceMod error session started
L 07
/13/2021 03:19:15Info (map "c14m1_junkyard") (file "/home/gameserver20524/serverfiles/left4dead2/addons/sourcemod/logs/errors_20210713.log")
L 07/13/2021 03:19:15: [SMException reportedParam is not a pointer!
L 07/13/2021 03:19:15: [SMBlamingleft4dhooks.smx
L 07
/13/2021 03:19:15: [SMCall stack trace:
L 07/13/2021 03:19:15: [SM]   [0DHookIsNullParam
L 07
/13/2021 03:19:15: [SM]   [1Line 7526C:\Servers\L4D2\left4dead2\addons\sourcemod\scripting\left4dhooks.sp::OnVomitedUpon
L 07
/13/2021 03:19:15: [SMException reportedParam is not a pointer
[/PHP]
__________________
[/URL]
Alexmy is offline
Mi.Cura
Veteran Member
Join Date: Dec 2016
Location: Brazil
Old 07-12-2021 , 20:48   Re: [L4D & L4D2] Left 4 DHooks Direct (1.47) [10-Jul-2021]
Reply With Quote #388

Same for me..

Quote:
HTML Code:
L 07/12/2021 - 16:00:44: [SM] Exception reported: Param is not a pointer!
L 07/12/2021 - 16:00:44: [SM] Blaming: left4dhooks.smx
L 07/12/2021 - 16:00:44: [SM] Call stack trace:
L 07/12/2021 - 16:00:44: [SM]   [0] DHookIsNullParam
L 07/12/2021 - 16:00:44: [SM]   [1] Line 7526, C:\Servers\L4D2\left4dead2\addons\sourcemod\scripting\left4dhooks.sp::OnVomitedUpon
L 07/12/2021 - 16:06:57: Error log file session closed.
__________________
Mi.Cura | Modded Servers | L4D2
https://steamcommunity.com/groups/micuramodzombie

Last edited by Mi.Cura; 07-12-2021 at 21:28.
Mi.Cura is offline
Frank.Stone
Junior Member
Join Date: Jul 2021
Location: TPHCM
Old 07-12-2021 , 23:01   Re: [L4D & L4D2] Left 4 DHooks Direct (1.47) [10-Jul-2021]
Reply With Quote #389

Hello Silvers 1.47 version error with this logs
L 07/11/2021 - 07:05:01: [left4dhooks.smx] Failed to find signature: ForceNextStage
L 07/11/2021 - 07:05:01: [left4dhooks.smx] Failed to load "UseHealingItems" signature.
L 07/11/2021 - 07:13:04: Error log file session closed.
Frank.Stone is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 07-13-2021 , 04:55   Re: [L4D & L4D2] Left 4 DHooks Direct (1.47) [10-Jul-2021]
Reply With Quote #390

Quote:
Originally Posted by Frank.Stone View Post
Hello Silvers 1.47 version error with this logs
L 07/11/2021 - 07:05:01: [left4dhooks.smx] Failed to find signature: ForceNextStage
L 07/11/2021 - 07:05:01: [left4dhooks.smx] Failed to load "UseHealingItems" signature.
L 07/11/2021 - 07:13:04: Error log file session closed.
You need to update your gamedata, looks like you haven't.


Code:
1.48 (13-Jul-2021)
    - Fixed "Param is not a pointer" in the "L4D_OnVomitedUpon" forward. Thanks to "ddd123" for reporting.
    - L4D2: Changed the way "ForceNextStage" address is read on Windows, hopefully future proof.
    - L4D2: GameData file updated.
__________________

Last edited by Silvers; 07-13-2021 at 05:55.
Silvers 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 06:01.


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