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
JustNO
Member
Join Date: Jul 2020
Old 09-08-2023 , 08:21   Re: [L4D & L4D2] Left 4 DHooks Direct (1.136) [05-Sep-2023]
Reply With Quote #971

Fresh L4D2 [08-Sep-2023]
SM 1.11 - build 6936
[L4D & L4D2] Left 4 DHooks Direct (1,136) [05-Sep-2023]

I get this error.

L 09/08/2023 - 14:08:59: Info (map "c1m1_hotel") (file "/home/steam/Steam/steamapps/common/Left 4 Dead 2 Dedicated Server/left4dead2/addons/sourcemod/logs/errors_20230908.log")
L 09/08/2023 - 14:08:59: [SM] Exception reported: Failed to load, byte mis-match @ 17 (0xC1BC != 0x0D8B)
L 09/08/2023 - 14:08:59: [SM] Blaming: FollowTarget_Detour.smx
L 09/08/2023 - 14:08:59: [SM] Call stack trace:
L 09/08/2023 - 14:08:59: [SM] [0] SetFailState
L 09/08/2023 - 14:08:59: [SM] [1] Line 84, C:\Users\Alex\Downloads\FollowTargetDHook\scr ipting\FollowTarget_Detour.sp::GetEntityListP tr
L 09/08/2023 - 14:08:59: [SM] [2] Line 46, C:\Users\Alex\Downloads\FollowTargetDHook\scr ipting\FollowTarget_Detour.sp::OnPluginStart
L 09/08/2023 - 14:08:59: [SM] Unable to load plugin "FollowTarget_Detour.smx": Error detected in plugin startup (see error logs)


What am I doing wrong?

JustNO is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 09-08-2023 , 11:20   Re: [L4D & L4D2] Left 4 DHooks Direct (1.136) [05-Sep-2023]
Reply With Quote #972

That's not from this plugin. Look for a new gamedata file for that plugin.
__________________
Silvers is offline
JustNO
Member
Join Date: Jul 2020
Old 09-08-2023 , 11:51   Re: [L4D & L4D2] Left 4 DHooks Direct (1.136) [05-Sep-2023]
Reply With Quote #973

Quote:
Originally Posted by Silvers View Post
That's not from this plugin. Look for a new gamedata file for that plugin.
Ohw. Could you be kind enough to direct me to the right place where I can find that? I have no idea what that plugin does or what it is intended for.



EDIT: I found this https://forums.alliedmods.net/showth...=327740&page=6

Does it mean i don' t need that plugin? I ' Am unsure wy i have it anyway.

Last edited by JustNO; 09-08-2023 at 12:32.
JustNO is offline
king kong
Member
Join Date: Oct 2021
Old 09-08-2023 , 12:14   Re: [L4D & L4D2] Left 4 DHooks Direct (1.136) [05-Sep-2023]
Reply With Quote #974

Quote:
Originally Posted by JustNO View Post
Ohw. Could you be kind enough to direct me to the right place where I can find that? I have no idea what that plugin does or what it is intended for.



EDIT: I found this https://forums.alliedmods.net/showth...=327740&page=6

Does it mean i do' t need that plugin? I ' Am unsure wy i have it anyway.
This plugin no longer need

Vlave fix
king kong is offline
JustNO
Member
Join Date: Jul 2020
Old 09-08-2023 , 12:33   Re: [L4D & L4D2] Left 4 DHooks Direct (1.136) [05-Sep-2023]
Reply With Quote #975

Quote:
Originally Posted by king kong View Post
This plugin no longer need

Vlave fix
Alr. Thank you

JustNO is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 09-11-2023 , 00:12   Re: [L4D & L4D2] Left 4 DHooks Direct (1.136) [05-Sep-2023]
Reply With Quote #976

Any way to extend the OnAcidDamage fix as a separate plugin or include the checks besides running only in native calls?

Bug: Kicking a Spitter while receiving damage from acid reproduces no sound.

Also could improve the documentation by adding that the sounds are based on "PlayerZombie.AttackHit" from "game_sounds_infected_special.txt"

Spoiler


Based on that, some other changes that I suggest:
  • Changing the volume from 0.55 to 0.7 which is the correct; ("volume" = "0.7" according to the file)
  • Setting the inflictor as the entity to emit from;
  • Remove the GetClientAbs+vPos parameter, since the inflictor as entity already does that.

PHP Code:
EmitSoundToAll(g_sAcidSounds[GetRandomInt(0sizeof(g_sAcidSounds) - 1)], inflictorSNDCHAN_AUTO85_0.7GetRandomInt(95105)); 
__________________

Last edited by Marttt; 10-05-2023 at 14:09.
Marttt is offline
Mystik Spiral
Senior Member
Join Date: Oct 2020
Location: Orlando, FL
Old 09-13-2023 , 20:07   Re: [L4D & L4D2] Left 4 DHooks Direct (1.136) [05-Sep-2023]
Reply With Quote #977

@Silvers, I think I found a bug with the L4D2_CGasCan_EventKilled forward. If I shoot a gascan spawned naturally in the game, the forward is not being triggered so returning Plugin_Handled does not prevent detonation. However, if I pickup the gascan, drop it, then shoot it, the forward is triggered and returning Plugin_Handled does prevent detonation. Please let me know if you would like any further information to debug this. I am using the latest version of left4dhooks (1.136). As always, thank you for sharing your work and for your help!
__________________

Last edited by Mystik Spiral; 09-14-2023 at 08:49. Reason: Add version and fix typo.
Mystik Spiral is offline
kochiurun119
BANNED
Join Date: Sep 2014
Location: GB
Old 09-14-2023 , 04:56   Re: [L4D & L4D2] Left 4 DHooks Direct (1.136) [05-Sep-2023]
Reply With Quote #978

Native 'L4D2_GetSurvivorSetMap' should not be used before OnMapStart, please report to 3rd party plugin author.
==========
L 09/14/2023 - 15:520: [SM] Blaming: left4dhooks.smx
L 09/14/2023 - 15:520: [SM] Call stack trace:
L 09/14/2023 - 15:520: [SM] [0] ThrowNativeError
L 09/14/2023 - 15:520: [SM] [1] Line 753, l4dd\l4dd_natives.sp::Native_CTerrorGameRules _GetSurvivorSetMap
L 09/14/2023 - 15:520: [SM] [3] L4D2_GetSurvivorSetMap
L 09/14/2023 - 15:520: [SM] [4] Line 124, F:\- 0 Spcrit\11 new\l4d2_spawnpos_fix.sp::OnMapStart
L 09/14/2023 - 15:523: Error log file session closed.
L 09/14/2023 - 15:523: SourceMod error session started
L 09/14/2023 - 15:523: Info (map "c8m1_apartment") (file "D:\SteamLibrary\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\logs\errors_202 30914.log")
L 09/14/2023 - 15:523: [SM] Exception reported: Please remove l4d2_upgradepackfix.smx before using this plugin
L 09/14/2023 - 15:523: [SM] Blaming: lfd_both_fixUpgradePack.smx
L 09/14/2023 - 15:523: [SM] Call stack trace:
L 09/14/2023 - 15:523: [SM] [0] SetFailState
L 09/14/2023 - 15:523: [SM] [1] Line 54, F:\- 0 Spcrit\11 new\lfd_both_fixUpgradePack.sp::OnAllPluginsL oaded
L 09/14/2023 - 15:524: [SM] Exception reported:

I got error
kochiurun119 is offline
Send a message via ICQ to kochiurun119 Send a message via AIM to kochiurun119 Send a message via Yahoo to kochiurun119 Send a message via Skype™ to kochiurun119
Mystik Spiral
Senior Member
Join Date: Oct 2020
Location: Orlando, FL
Old 09-14-2023 , 07:28   Re: [L4D & L4D2] Left 4 DHooks Direct (1.136) [05-Sep-2023]
Reply With Quote #979

Quote:
Originally Posted by kochiurun119 View Post
Native 'L4D2_GetSurvivorSetMap' should not be used before OnMapStart, please report to 3rd party plugin author.
As the error states, you should report this error to the 3rd party plugin author so they can fix their plugin (which uses left4dhooks). The 3rd party plugin appears to be:
https://forums.alliedmods.net/showthread.php?p=2690901
__________________

Last edited by Mystik Spiral; 09-14-2023 at 07:29.
Mystik Spiral is offline
kochiurun119
BANNED
Join Date: Sep 2014
Location: GB
Old 09-14-2023 , 12:45   Re: [L4D & L4D2] Left 4 DHooks Direct (1.136) [05-Sep-2023]
Reply With Quote #980

Quote:
Originally Posted by Mystik Spiral View Post
As the error states, you should report this error to the 3rd party plugin author so they can fix their plugin (which uses left4dhooks). The 3rd party plugin appears to be:
https://forums.alliedmods.net/showthread.php?p=2690901
I remove it because no work but
L 09/14/2023 - 231:20: [SM] Blaming: left4dhooks.smx
L 09/14/2023 - 231:20: [SM] Call stack trace:
L 09/14/2023 - 231:20: [SM] [0] ThrowNativeError
L 09/14/2023 - 231:20: [SM] [1] Line 753, l4dd\l4dd_natives.sp::Native_CTerrorGameRules _GetSurvivorSetMap
L 09/14/2023 - 231:20: [SM] [3] L4D2_GetSurvivorSetMap
L 09/14/2023 - 231:20: [SM] [4] Line 124, D:\SteamLibrary\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d2_ spawnpos_fix.sp::OnMapStart
kochiurun119 is offline
Send a message via ICQ to kochiurun119 Send a message via AIM to kochiurun119 Send a message via Yahoo to kochiurun119 Send a message via Skype™ to kochiurun119
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 23:12.


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