Raised This Month: $32 Target: $400
 8% 

[L4D & L4D2] Left 4 DHooks Direct (1.145) [03-Apr-2024]


Post New Thread Reply   
 
Thread Tools Display Modes
Tank Rush
Senior Member
Join Date: May 2019
Location: Argentina
Old 09-22-2021 , 19:14   Re: [L4D & L4D2] Left 4 DHooks Direct (1.45) [04-Jul-2021]
Reply With Quote #461

Quote:
Originally Posted by VladimirTk View Post
Hi, your plugin is a great base of almost all the plugins that I use, thankful, but I have a doubt, everything seems to work very well, even so I receive this in the error log, why is this error?
L 05/07/2021 - 18:282: [SM] Exception reported: g_pGameRules not available.
L 05/07/2021 - 18:282: [SM] Blaming: left4dhooks.smx
L 05/07/2021 - 18:282: [SM] Call stack trace:
L 05/07/2021 - 18:282: [SM] [0] ThrowNativeError
L 05/07/2021 - 18:282: [SM] [1] Line 3721, D: \ SourcePawn10 \ left4dhooks.sp :: ValidateAddress
L 05/07/2021 - 18:282: [SM] [2] Line 4143, D: \ SourcePawn10 \ left4dhooks.sp :: Native_GetVersusMaxCompletionScore
L 05/07/2021 - 18:282: [SM] [4] L4D_GetVersusMaxCompletionScore
L 05/07/2021 - 18:282: [SM] [5] Line 123, D: \ SourcePawn10 \ l4d2_hybrid_scoremod_zone.sp :: OnConfigsExecuted
L 05/07/2021 - 18:282: [SM] [6] Line 142, D: \ SourcePawn10 \ l4d2_hybrid_scoremod_zone.sp :: OnMapStart
I do not speak English at all, I would appreciate if you explain a little about this
The same thing happens to me, I get this error in logs:
Code:
L 09/21/2021 - 22:58:26: SourceMod error session started
L 09/21/2021 - 22:58:26: Info (map "c5m1_waterfront") (file "D:\Program Files\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\logs\errors_20210921.log")
L 09/21/2021 - 22:58:26: [SM] Exception reported: g_pGameRules not available.
L 09/21/2021 - 22:58:26: [SM] Blaming: left4dhooks.smx
L 09/21/2021 - 22:58:26: [SM] Call stack trace:
L 09/21/2021 - 22:58:26: [SM]   [0] ThrowNativeError
L 09/21/2021 - 22:58:26: [SM]   [1] Line 4153, C:\Servers\L4D2\left4dead2\addons\sourcemod\scripting\left4dhooks.sp::ValidateAddress
L 09/21/2021 - 22:58:26: [SM]   [2] Line 4676, C:\Servers\L4D2\left4dead2\addons\sourcemod\scripting\left4dhooks.sp::Native_GetVersusMaxCompletionScore
L 09/21/2021 - 22:58:26: [SM]   [4] L4D_GetVersusMaxCompletionScore
L 09/21/2021 - 22:58:26: [SM]   [5] Line 122, D:\Program Files\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d2_hybrid_scoremod_zone.sp::OnConfigsExecuted
L 09/21/2021 - 22:58:26: [SM]   [6] Line 141, D:\Program Files\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d2_hybrid_scoremod_zone.sp::OnMapStart
L 09/21/2021 - 23:03:33: Error log file session closed.
I am using Left 4 Dhooks Direct version 1.57 for Left 4 Dead 2 game, my OS is Windows 10
__________________
Sorry i don't speak english very well

--->My name is Source and I'm on Steam<---
Discord: Source#9382
Tank Rush is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 09-23-2021 , 00:15   Re: [L4D & L4D2] Left 4 DHooks Direct (1.45) [04-Jul-2021]
Reply With Quote #462

Quote:
Originally Posted by Tank Rush View Post
The same thing happens to me, I get this error in logs:
Code:
L 09/21/2021 - 22:58:26: SourceMod error session started
L 09/21/2021 - 22:58:26: Info (map "c5m1_waterfront") (file "D:\Program Files\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\logs\errors_20210921.log")
L 09/21/2021 - 22:58:26: [SM] Exception reported: g_pGameRules not available.
L 09/21/2021 - 22:58:26: [SM] Blaming: left4dhooks.smx
L 09/21/2021 - 22:58:26: [SM] Call stack trace:
L 09/21/2021 - 22:58:26: [SM]   [0] ThrowNativeError
L 09/21/2021 - 22:58:26: [SM]   [1] Line 4153, C:\Servers\L4D2\left4dead2\addons\sourcemod\scripting\left4dhooks.sp::ValidateAddress
L 09/21/2021 - 22:58:26: [SM]   [2] Line 4676, C:\Servers\L4D2\left4dead2\addons\sourcemod\scripting\left4dhooks.sp::Native_GetVersusMaxCompletionScore
L 09/21/2021 - 22:58:26: [SM]   [4] L4D_GetVersusMaxCompletionScore
L 09/21/2021 - 22:58:26: [SM]   [5] Line 122, D:\Program Files\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d2_hybrid_scoremod_zone.sp::OnConfigsExecuted
L 09/21/2021 - 22:58:26: [SM]   [6] Line 141, D:\Program Files\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d2_hybrid_scoremod_zone.sp::OnMapStart
L 09/21/2021 - 23:03:33: Error log file session closed.
I am using Left 4 Dhooks Direct version 1.57 for Left 4 Dead 2 game, my OS is Windows 10
Do you get this error on every map or campaign? The error doesn't make sense since even the wrong offsets still return some kind of address.

I've verified that the Windows signatures for "CreateGameRulesObject" on both games are still valid, as well as the "read" offsets for locating the address of "g_pGameRules".
__________________
Psyk0tik is offline
Tank Rush
Senior Member
Join Date: May 2019
Location: Argentina
Old 09-23-2021 , 20:44   Re: [L4D & L4D2] Left 4 DHooks Direct (1.45) [04-Jul-2021]
Reply With Quote #463

Quote:
Originally Posted by Psyk0tik View Post
Do you get this error on every map or campaign? The error doesn't make sense since even the wrong offsets still return some kind of address.
I have this error in all maps and campaigns, it happens only once when I create the server.
When I change the campaign during the game or when the round changes to the next chapter, the error does not appear.
I also don't know if the l4d2_hybrid_scoremod_zone plugin is the problem.

Error Logs...
__________________
Sorry i don't speak english very well

--->My name is Source and I'm on Steam<---
Discord: Source#9382
Tank Rush is offline
yzybb
Member
Join Date: Jul 2020
Old 09-26-2021 , 12:06   Re: [L4D & L4D2] Left 4 DHooks Direct (1.57) [18-Sep-2021]
Reply With Quote #464

https://crash.limetech.org/66iqzorjwadl
https://crash.limetech.org/ap7annfs72m5
https://crash.limetech.org/avwnhv6f6qlt

Hello Silvers, is the crash related to this plugin?
yzybb is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 09-26-2021 , 14:54   Re: [L4D & L4D2] Left 4 DHooks Direct (1.57) [18-Sep-2021]
Reply With Quote #465

I don't have time to go through the binary and find those addresses. Update to the latest Left4DHooks if you haven't to prevent one of the last updates causing crashes. If someone else can have a look please let me know.

Login to throttle and check the raw data. Search for .smx and see if it shows some related plugin.
__________________

Last edited by Silvers; 09-26-2021 at 15:03.
Silvers is offline
JLmelenchon
Senior Member
Join Date: Mar 2019
Old 09-26-2021 , 14:56   Re: [L4D & L4D2] Left 4 DHooks Direct (1.57) [18-Sep-2021]
Reply With Quote #466

Memory leak caused by left4dhooks ?

Code:
L 09/26/2021 - 18:55:19: [SM] Exception reported: Memory leak
L 09/26/2021 - 18:55:19: [SM] Exception reported: Error creating ThisHandle in preparation to call hook callback. (error 6)
L 09/26/2021 - 18:55:19: [SM] Blaming: left4dhooks.smx::SelectTankAttack
L 09/26/2021 - 18:55:19: [SM] MEMORY LEAK DETECTED IN PLUGIN (file "tankhud.smx")
L 09/26/2021 - 18:55:19: [SM] Unloading plugin to free 31396 handles.
L 09/26/2021 - 18:55:19: [SM] Contact the author(s) of this plugin to correct this error.
L 09/26/2021 - 18:55:19: --------------------------------------------------------------------------
L 09/26/2021 - 18:55:19: Type	IMenuPanel          |	Count	31390
L 09/26/2021 - 18:55:19: Type	GameConfigs         |	Count	1
L 09/26/2021 - 18:55:19: Type	Timer               |	Count	1
L 09/26/2021 - 18:55:19: Type	Trie                |	Count	3
L 09/26/2021 - 18:55:19: Type	ValveCall           |	Count	1
L 09/26/2021 - 18:55:19: --------------------------------------------------------------------------
L 09/26/2021 - 18:55:19: Oldest Living Handle: Timer created at 09/24/2021 - 01:02:52
L 09/26/2021 - 18:55:19: Newest Living Handle: IMenuPanel created at 09/26/2021 - 18:55:17
L 09/26/2021 - 18:55:19: -- Approximately 882076 bytes of memory are in use by (31396) Handles.

L 09/26/2021 - 18:55:19: [SM] Exception reported: Memory leak
L 09/26/2021 - 18:55:19: [SM] Exception reported: Error creating ThisHandle in preparation to call hook callback. (error 6)
L 09/26/2021 - 18:55:19: [SM] Blaming: left4dhooks.smx::SelectTankAttackPre
L 09/26/2021 - 18:55:19: [SM] MEMORY LEAK DETECTED IN PLUGIN (file "tankhud.smx")
L 09/26/2021 - 18:55:19: [SM] Unloading plugin to free 31396 handles.
L 09/26/2021 - 18:55:19: [SM] Contact the author(s) of this plugin to correct this error.
L 09/26/2021 - 18:55:19: --------------------------------------------------------------------------
L 09/26/2021 - 18:55:19: Type	IMenuPanel          |	Count	31390
L 09/26/2021 - 18:55:19: Type	GameConfigs         |	Count	1
L 09/26/2021 - 18:55:19: Type	Timer               |	Count	1
L 09/26/2021 - 18:55:19: Type	Trie                |	Count	3
L 09/26/2021 - 18:55:19: Type	ValveCall           |	Count	1
L 09/26/2021 - 18:55:19: --------------------------------------------------------------------------
L 09/26/2021 - 18:55:19: Oldest Living Handle: Timer created at 09/24/2021 - 01:02:52
L 09/26/2021 - 18:55:19: Newest Living Handle: IMenuPanel created at 09/26/2021 - 18:55:17
L 09/26/2021 - 18:55:19: -- Approximately 882076 bytes of memory are in use by (31396) Handles.
JLmelenchon is offline
JLmelenchon
Senior Member
Join Date: Mar 2019
Old 09-26-2021 , 15:00   Re: [L4D & L4D2] Left 4 DHooks Direct (1.57) [18-Sep-2021]
Reply With Quote #467

I have used this tankhud since weeks and this is the first time that it happens, i guess plugin could not reach the information in left4dhooks for some reason?

Last edited by JLmelenchon; 09-26-2021 at 15:00.
JLmelenchon is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 09-26-2021 , 15:03   Re: [L4D & L4D2] Left 4 DHooks Direct (1.57) [18-Sep-2021]
Reply With Quote #468

Don't see how that's related to left4dhooks. Contact tankhud plugin author and report to them.
__________________

Last edited by Silvers; 09-26-2021 at 15:05.
Silvers is offline
JLmelenchon
Senior Member
Join Date: Mar 2019
Old 09-26-2021 , 15:18   Re: [L4D & L4D2] Left 4 DHooks Direct (1.57) [18-Sep-2021]
Reply With Quote #469

I don't know it says
Blaming: left4dhooks.smx::SelectTankAttack
Blaming: left4dhooks.smx::SelectTankAttackPre

Last edited by JLmelenchon; 09-26-2021 at 15:19.
JLmelenchon is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 09-26-2021 , 15:32   Re: [L4D & L4D2] Left 4 DHooks Direct (1.57) [18-Sep-2021]
Reply With Quote #470

Quote:
MEMORY LEAK DETECTED IN PLUGIN (file "tankhud.smx")
IMenuPanel

Left4DHooks does not use panels. The issue comes from tankhud.
__________________
Silvers is offline
Reply


Thread Tools
Display Modes

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


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