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
Natan
Member
Join Date: Aug 2015
Location: Behind you
Old 02-18-2024 , 11:11   Re: [L4D & L4D2] Left 4 DHooks Direct (1.143) [25-Jan-2024]
Reply With Quote #1071

1.- Remove nextmap.smx (not compatible with L4D2)
Quote:
L 02/18/2024 - 01:56:45: [SM] Failed to load plugin "nextmap.smx": Nextmap is incompatible with this game.
2.- Plugin l4d2_versus_score_system_complete.smx tagged as "Unapproved". If you want to still use it.. Change line from "#include "left4downtown.inc"" to "#include <left4dhooks>".
Quote:
L 02/18/2024 - 01:56:44: [SM] Unable to load extension "left4downtown.ext": The specified module could not be found.
3.- Plugin author post some requirements.
Download and place content from https://forums.alliedmods.net/showthread.php?t=321696 to your server.
Quote:
L 02/18/2024 - 01:58:25: [SM] [0] L4D_HasPlayerControlledZombies
L 02/18/2024 - 01:58:25: [SM] [1] Line 1781, d:\Github\Private-Work\L4D2-插件\scripting_1.11\l4dinfectedbots.sp::e vtPlay erFirstSpawned
L 02/18/2024 - 01:58:25: [SM] Exception reported: Native is not bound
L 02/18/2024 - 01:58:25: [SM] Blaming: l4dinfectedbots.smx
4.- Download and place content from [L4D & L4D2] Left 4 DHooks Direct (1.143) [25-Jan-2024] to your server.
Quote:
L 02/18/2024 - 01:56:48: [SM] Unable to load plugin "left4dhooks.smx": Native "DynamicDetour.FromConf" was not found
L 02/18/2024 - 01:576: [SM] Unable to load plugin "l4d_safe_door_spam.smx": Could not find required plugin "left4dhooks"
L 02/18/2024 - 01:576: [SM] Unable to load plugin "l4d_tank_pass.smx": Could not find required plugin "left4dhooks"
5.- Error log speaks itself...
Quote:
L 02/18/2024 - 01:56:50: [SM] Exception reported: This plugin requires one of the cURL, Socket, SteamTools, or SteamWorks extensions to function.
L 02/18/2024 - 01:56:50: [SM] Blaming: updater.smx
6.- Check if you have connection to your database and verify rows integrity.
Quote:
L 02/18/2024 - 01:58:18: [SM] [1] Line 610, /home/forums/content/files/3/0/4/5/0/3/183887.attach::LoadPlayerData

Final Thoughts: Please read each plugin/extension/etc, you´re installing. to prevent this "spaghetti" log error.

Last edited by Natan; 02-18-2024 at 11:14. Reason: Fix Layout understanding..
Natan is offline
jamalsheref2
Senior Member
Join Date: May 2017
Old 02-19-2024 , 00:40   Re: [L4D & L4D2] Left 4 DHooks Direct (1.143) [25-Jan-2024]
Reply With Quote #1072

fixed it had to download a newer sourcemod and metamod version. Ill let you know if anything else goes wrong
jamalsheref2 is offline
Dexter_
Junior Member
Join Date: Oct 2023
Old 02-21-2024 , 08:18   Re: [L4D & L4D2] Left 4 DHooks Direct (1.143) [25-Jan-2024]
Reply With Quote #1073

left4dhooks.smx ([L4D & L4D2] Left 4 DHooks Direct): Native "DHookParam.GetAddress" was not found

Why is it showing? I downloaded the latest sourcemod 1.11.0.6955
Dexter_ is offline
VYRNACH_GAMING
Member
Join Date: Sep 2021
Old 02-21-2024 , 09:37   Re: [L4D & L4D2] Left 4 DHooks Direct (1.55) [12-Sep-2021]
Reply With Quote #1074

Quote:
Originally Posted by fdxx View Post
Host_Error: SV_CreatePacketEntities: GetEntServerClass failed for ent 5.?

Accelerator Crash ID: C23D-Z5X3-4AT5

PHP Code:
L 09/15/2021 17:26:50SourceMod error session started
L 09
/15/2021 17:26:50Info (map "c6m1_riverbank") (file "/home/l4d2ht/game/l4d2/left4dead2/addons/sourcemod/logs/errors_20210915.log")
L 09/15/2021 17:26:50: [SMException reportedClient index 0 is invalid
L 09
/15/2021 17:26:50: [SMBlaming: new/lerpmonitor.smx
L 09
/15/2021 17:26:50: [SMCall stack trace:
L 09/15/2021 17:26:50: [SM]   [0IsClientInGame
L 09
/15/2021 17:26:50: [SM]   [1Line 86, new/lerpmonitor.sp::Event_PlayerTeamChanged
L 09
/15/2021 17:26:50: [SM]   [3AcceptEntityInput
L 09
/15/2021 17:26:50: [SM]   [4Line 1660, new/left4dhooks.sp::GetGameMode
L 09
/15/2021 17:26:50: [SM]   [5Line 2563, new/left4dhooks.sp::OnMapStart
L 09
/15/2021 17:26:50: [SMException reportedClient index 0 is invalid
L 09
/15/2021 17:26:50: [SMBlaming: new/l4d2_afk_manager.smx
L 09
/15/2021 17:26:50: [SMCall stack trace:
L 09/15/2021 17:26:50: [SM]   [0IsFakeClient
L 09
/15/2021 17:26:50: [SM]   [1Line 200, new/l4d2_afk_manager.sp::Event_PlayerTeamChanged
L 09
/15/2021 17:26:50: [SM]   [3AcceptEntityInput
L 09
/15/2021 17:26:50: [SM]   [4Line 1660, new/left4dhooks.sp::GetGameMode
L 09
/15/2021 17:26:50: [SM]   [5Line 2563, new/left4dhooks.sp::OnMapStart
L 09
/15/2021 17:26:50: [SMException reportedInvalid client index 0
L 09
/15/2021 17:26:50: [SMBlaming: new/control_zombies.smx
L 09
/15/2021 17:26:50: [SMCall stack trace:
L 09/15/2021 17:26:50: [SM]   [0IsPlayerAlive
L 09
/15/2021 17:26:50: [SM]   [1Line 1310, new/control_zombies.sp::Event_PlayerSpawn
L 09
/15/2021 17:26:50: [SM]   [3AcceptEntityInput
L 09
/15/2021 17:26:50: [SM]   [4Line 1660, new/left4dhooks.sp::GetGameMode
L 09
/15/2021 17:26:50: [SM]   [5Line 2563, new/left4dhooks.sp::OnMapStart
L 09
/15/2021 17:26:50: [SMException reportedClient index 0 is invalid
L 09
/15/2021 17:26:50: [SMBlaming: new/All4Dead2.smx
L 09
/15/2021 17:26:50: [SMCall stack trace:
L 09/15/2021 17:26:50: [SM]   [0GetClientTeam
L 09
/15/2021 17:26:50: [SM]   [1Line 212, new/All4Dead2.sp::Event_PlayerSpawn
L 09
/15/2021 17:26:50: [SM]   [3AcceptEntityInput
L 09
/15/2021 17:26:50: [SM]   [4Line 1660, new/left4dhooks.sp::GetGameMode
L 09
/15/2021 17:26:50: [SM]   [5Line 2563, new/left4dhooks.sp::OnMapStart
L 09
/15/2021 17:27:18SourceMod error session started
L 09
/15/2021 17:27:18Info (map "c2m1_highway") (file "/home/l4d2ht/game/l4d2/left4dead2/addons/sourcemod/logs/errors_20210915.log")
L 09/15/2021 17:27:18: [CRASHAccelerator uploaded crash dumpCrash IDC23D-Z5X3-4AT5
L 09
/15/2021 17:27:45Error log file session closed
https://crash.limetech.org/y74537m4p6qf
Host_Error: SV_CreatePacketEntities: GetEntServerClass failed for ent 1.?
I'm getting this similar crash on changelevel when I installed this plugin https://forums.alliedmods.net/showthread.php?t=346270

I'm using SourceMod 1.12.0.7017

As soon as I remove si_pool.smx from my server, I do not get the crash when changing map anymore. Crash seems to be related to safehouse item restoration?


Please help
__________________

Last edited by VYRNACH_GAMING; 02-21-2024 at 10:00.
VYRNACH_GAMING is offline
Natan
Member
Join Date: Aug 2015
Location: Behind you
Old 02-21-2024 , 11:01   Re: [L4D & L4D2] Left 4 DHooks Direct (1.143) [25-Jan-2024]
Reply With Quote #1075

Quote:
Originally Posted by Dexter_ View Post
left4dhooks.smx ([L4D & L4D2] Left 4 DHooks Direct): Native "DHookParam.GetAddress" was not found

Why is it showing? I downloaded the latest sourcemod 1.11.0.6955
That´s a DHooks native.
Check if you have dhooks.inc while compiling.(Line 385,1080 from dhooks.inc)

Since Left4dhooks need those includes.. you must have it.
Natan is offline
Natan
Member
Join Date: Aug 2015
Location: Behind you
Old 02-21-2024 , 11:08   Re: [L4D & L4D2] Left 4 DHooks Direct (1.55) [12-Sep-2021]
Reply With Quote #1076

Quote:
Originally Posted by VYRNACH_GAMING View Post
https://crash.limetech.org/y74537m4p6qf
Host_Error: SV_CreatePacketEntities: GetEntServerClass failed for ent 1.?
I'm getting this similar crash on changelevel when I installed this plugin https://forums.alliedmods.net/showthread.php?t=346270

I'm using SourceMod 1.12.0.7017

As soon as I remove si_pool.smx from my server, I do not get the crash when changing map anymore. Crash seems to be related to safehouse item restoration?


Please help
2 Tips.

1.- Plugins must adapt to left4dhooks. Not backwards. If the plugin cause the crash, then is a plugins problem.

2.- Use a stable version on SM... dev builds are in develop and errors may appears.
Natan is offline
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 02-21-2024 , 16:39   Re: [L4D & L4D2] Left 4 DHooks Direct (1.143) [25-Jan-2024]
Reply With Quote #1077

Hi, I've seen that all released L4D2 zombie class switching (while GHOST) plugins do only call CTerrorPlayer::SetClass(pPlayer) & CBaseAbility::CreateForPlayer(pPlayer). However, the first call, also automatically calls by itself the following game function: CDirector::OnZombieAdded(pPlayer). Do you guys think it would be better to manually call CDirector::OnZombieRemoved(pPlayer) before calling CTerrorPlayer::SetClass(pPlayer)? Thanks. It works, just don't know for sure whether or not it's worth calling it.

PHP Code:
"Games"
{
    
"left4dead2"
    
{
        
"Addresses"
        
{
            
"Director"
            
{
                
"windows"
                
{
                    
"signature" "CDirectorMusicBanks::OnRoundStart"
                    "read"      "12"
                
}
                
"linux"
                
{
                    
"signature" "TheDirector"
                
}
                
"read"          "0"
            
}
        }
        
"Signatures"
        
{
            
"TheDirector"
            
{
                
"library"   "server"
                "linux"     "@TheDirector"
            
}
            
"CTerrorPlayer::SetClass"
            
{
                
"library"   "server"
                "linux"     "@_ZN13CTerrorPlayer8SetClassE15ZombieClassType"
                "windows"   "\x55\x8B\x2A\x56\x8B\x2A\xE8\x2A\x2A\x2A\x2A\x83\x2A\x2A\x0F\x85\x2A\x2A\x2A\x2A\xA1\x2A\x2A\x2A\x2A\x40\xA3"
                
///         55 8B ? 56 8B ? E8 ? ? ? ? 83 ? ? 0F 85 ? ? ? ? A1 ? ? ? ? 40 A3
            
}
            
"CBaseAbility::CreateForPlayer"
            
{
                
"library"   "server"
                "linux"     "@_ZN12CBaseAbility15CreateForPlayerEP13CTerrorPlayer"
                "windows"   "\x55\x8B\x2A\x83\x2A\x2A\x56\x8B\x2A\x2A\x85\x2A\x0F\x84\x2A\x2A\x2A\x2A\x8B\x2A\xE8\x2A\x2A\x2A\x2A\x83"
                
///         55 8B ? 83 ? ? 56 8B ? ? 85 ? 0F 84 ? ? ? ? 8B ? E8 ? ? ? ? 83
            
}
            
"CDirectorMusicBanks::OnRoundStart"
            
{
                
"library"   "server"
                "windows"   "\x55\x8B\xEC\x83\xEC\x2A\x56\x57\x8B\xF9\x8B\x0D\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x84\xC0\x0F"
                
///         55 8B EC 83 EC ? 56 57 8B F9 8B 0D ? ? ? ? E8 ? ? ? ? 84 C0 0F
            
}
            
"CDirector::OnZombieRemoved" /// StartPrepSDKCall(SDKCall_Raw); ...; PrepSDKCall_AddParameter(SDKType_CBaseEntity, SDKPass_Pointer); SDKCall(g_hCDirectorOnZombieRemoved, g_uDirector, nPlayer);
            
{
                
"library"   "server"
                "linux"     "@_ZN9CDirector15OnZombieRemovedEP13CTerrorPlayer"
                "windows"   "\x55\x8B\x2A\x56\x57\x8B\x2A\x2A\x8B\x2A\x85\x2A\x0F\x2A\x2A\x2A\x2A\x2A\x8B\x2A\xE8\x2A\x2A\x2A\x2A\x83\x2A\x2A\x0F\x2A\x2A\x2A\x2A\x2A\x8B\x2A\xE8\x2A\x2A\x2A\x2A\x83\x2A\x2A\x75\x2A\x8B\x2A\x8B\x2A\x2A\x2A\x2A\x2A\x8B\x2A\xFF\x2A\x83\x2A\x2A\x75\x2A\x8B"
                
///         55 8B ? 56 57 8B ? ? 8B ? 85 ? 0F ? ? ? ? ? 8B ? E8 ? ? ? ? 83 ? ? 0F ? ? ? ? ? 8B ? E8 ? ? ? ? 83 ? ? 75 ? 8B ? 8B ? ? ? ? ? 8B ? FF ? 83 ? ? 75 ? 8B
            
}
        }
    }

__________________

Last edited by claudiuhks; 02-26-2024 at 17:51.
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks
Mystik Spiral
Senior Member
Join Date: Oct 2020
Location: Orlando, FL
Old 02-24-2024 , 08:22   Re: [L4D & L4D2] Left 4 DHooks Direct (1.143) [25-Jan-2024]
Reply With Quote #1078

Hi @Silvers!

I think this is the same issue that @bullet28 reported in post #1047, but a different symptom. One of the four weapon_first_aid_kit_spawn entities that spawns in this checkpoint is not considered in the checkpoint by L4D_IsInLastCheckpoint. Like @Spirit_12 stated, I do not think this is a flaw with your code but a flaw with the way the map was created. However, if you find a way to "fix" this it would be appreciated!
__________________
Mystik Spiral is offline
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 02-25-2024 , 08:23   Re: [L4D & L4D2] Left 4 DHooks Direct (1.143) [25-Jan-2024]
Reply With Quote #1079

Quote:
Originally Posted by Mystik Spiral View Post
One of the four weapon_first_aid_kit_spawn entities that spawns in this checkpoint is not considered in the checkpoint by L4D_IsInLastCheckpoint.
Only when the map starts or at any moment in the game? Because when the map starts, it happens so all the survivors into the safe area have origin/ position {0, 0, 0} (because intro video/ transitioning entities). While this, some entities are still processing and may report invalid results when checked.
__________________
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks
Mystik Spiral
Senior Member
Join Date: Oct 2020
Location: Orlando, FL
Old 02-26-2024 , 13:21   Re: [L4D & L4D2] Left 4 DHooks Direct (1.143) [25-Jan-2024]
Reply With Quote #1080

Quote:
Originally Posted by claudiuhks View Post
Only when the map starts or at any moment in the game? Because when the map starts, it happens so all the survivors into the safe area have origin/ position {0, 0, 0} (because intro video/ transitioning entities). While this, some entities are still processing and may report invalid results when checked.
Check is done ~15 seconds after OnClientPostAdminCheck for the c2m3_coaster map as mentioned in post#1047. If I recall correctly, the first aid kit that is not detected as being in the safe room area is on the small box on the left side of the stack of boxes in the corner. The rest of the first aid kits are detected as being inside the safe room.
__________________
Mystik Spiral 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 00:05.


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