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
Author
Accelerator
Senior Member
Join Date: Dec 2010
Location: Russia
Plugin ID:
6954
Plugin Version:
1.150
Plugin Category:
General Purpose
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    2134 
    Plugin Description:
    Left 4 Downtown and L4D Direct conversion and merger.
    Old 02-25-2020 , 03:40   Re: [L4D & L4D2] Left 4 DHooks Direct (1.0) [24-Feb-2020]
    Reply With Quote #1

    Very well! Great replacement left 4 downtown!

    But the creation of natives and forwards is better to transfer to the function AskPluginLoad2. otherwise we get something like this:
    Code:
    L 02/25/2020 - 12:03:02: [SM] Unable to load plugin "l4d_scorefixesfinale.smx": Native "L4D_IsMissionFinalMap" was not found
    L 02/25/2020 - 12:03:02: [SM] Unable to load plugin "l4d2_match_start.smx": Native "L4D_RestartScenarioFromVote" was not found
    L 02/25/2020 - 12:03:02: [SM] Unable to load plugin "bossfixes.smx": Native "L4D2_SetVersusTankFlowPercent" was not found
    L 02/25/2020 - 12:03:02: [SM] Unable to load plugin "CmdBalance.smx": Native "L4D2_SetVersusCampaignScores" was not found
    L 02/25/2020 - 12:03:02: [SM] Unable to load plugin "TwoTanks.smx": Native "L4D2Direct_GetMapMaxFlowDistance" was not found
    Correct it error (oldtank -> newtank)
    Code:
    		ThrowNativeError(SP_ERROR_PARAM, "Invalid oldtank client %d.", newtank);
    __________________

    Last edited by Accelerator; 02-25-2020 at 06:26.
    Accelerator is offline
    toniex
    Junior Member
    Join Date: Feb 2020
    Old 03-07-2020 , 14:18   Re: [L4D & L4D2] Left 4 DHooks Direct (1.7) [04-Mar-2020]
    Reply With Quote #2

    forgive my ignorance but what is this for ??????
    PD:I want to use the cvar l4d2_addons_eclipse at 0 , but it doesn't seem to work
    toniex is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 03-07-2020 , 15:42   Re: [L4D & L4D2] Left 4 DHooks Direct (1.7) [04-Mar-2020]
    Reply With Quote #3

    Quote:
    Originally Posted by toniex View Post
    forgive my ignorance but what is this for ??????
    PD:I want to use the cvar l4d2_addons_eclipse at 0 , but it doesn't seem to work
    This gives other plugins lots of functions to use just like left4downtown extension except I've added even more for both games.

    "l4d2_addons_eclipse" 0 is working for me to disallow addons from being used. Where are you setting the value, can you verify it's actually "0" and not "-1"?
    __________________
    Silvers is offline
    toniex
    Junior Member
    Join Date: Feb 2020
    Old 03-07-2020 , 16:26   Re: [L4D & L4D2] Left 4 DHooks Direct (1.7) [04-Mar-2020]
    Reply With Quote #4

    Quote:
    Originally Posted by Silvers View Post
    This gives other plugins lots of functions to use just like left4downtown extension except I've added even more for both games.

    "l4d2_addons_eclipse" 0 is working for me to disallow addons from being used. Where are you setting the value, can you verify it's actually "0" and not "-1"?
    I want to disable all the addons for this i put l4d2_addons_eclipse 0 on my server.cfg and I refuse the cvar
    or shouldn't it be in server.cfg? the addon did not create a .cfg in left4dead/cfg/sourcemod
    toniex is offline
    yuzumi
    Member
    Join Date: Jul 2020
    Old 07-20-2020 , 01:26   Re: [L4D & L4D2] Left 4 DHooks Direct (1.16a) [16-Jun-2020]
    Reply With Quote #5

    I using this plugin : [L4D2] Boss Spawn

    In SourceMod 1.11-build 6599 + MetaMod 1.11-build 1131 + dhooks 2.2.0-detours14a + L4Dooks 1.16a + Ubuntu 18.04 LTS

    This Plugin An error
    Quote:
    L 07/20/2020 - 08:52:07: [SM] Exception reported: ThisPtr address cannot be null
    L 07/20/2020 - 08:52:07: [SM] Blaming: compiled/left4dhooks.smx
    L 07/20/2020 - 08:52:07: [SM] Call stack trace:
    L 07/20/2020 - 08:52:07: [SM] [0] SDKCall
    L 07/20/2020 - 08:52:07: [SM] [1] Line 5036, left4dhooks.sp::Native_GetHighestFlowSurvivor
    L 07/20/2020 - 08:52:07: [SM] [3] L4D_GetHighestFlowSurvivor
    L 07/20/2020 - 08:52:07: [SM] [4] Line 248, l4d2_boss_spawn.sp::TimerCheckFlow
    But this plugin work in SourceMod 1.10 and no error,use the same plugins and exts.
    yuzumi is offline
    rtokuda
    Senior Member
    Join Date: Dec 2019
    Old 08-30-2020 , 10:02   Re: [L4D & L4D2] Left 4 DHooks Direct (1.20) [28-Aug-2020]
    Reply With Quote #6

    with errors:

    PHP Code:
    L 08/30/2020 10:51:33SourceMod error session started
    L 08
    /30/2020 10:51:33Info (map "c4m5_milltown_escape") (file "E:\game\steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\logs\errors_20200830.log")
    L 08/30/2020 10:51:33: [SMException reportedEntity index 0 is not a valid client
    L 08
    /30/2020 10:51:33: [SMBlamingleft4dhooks.smx
    L 08
    /30/2020 10:51:33: [SMCall stack trace:
    L 08/30/2020 10:51:33: [SM]   [0SDKCall
    L 08
    /30/2020 10:51:33: [SM]   [1Line 3190C:\Servers\L4D2\left4dead2\addons\sourcemod\scripting\left4dhooks.sp::Native_GetRandomPZSpawnPosition
    L 08
    /30/2020 10:51:33: [SM]   [3L4D_GetRandomPZSpawnPosition
    L 08
    /30/2020 10:51:33: [SM]   [4Line 628E:\game\steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\multitanks_a-l4d2.sp::SpawnMoreTank 
    rtokuda is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 08-30-2020 , 11:05   Re: [L4D & L4D2] Left 4 DHooks Direct (1.20) [28-Aug-2020]
    Reply With Quote #7

    Quote:
    Originally Posted by hoanganh81097 View Post
    After few test, i figure out left4dhooks conflict with TE_SetupBeamRingPoint. Some chapter will cause crash for client. Do u have any idea to fix this ?
    PHP Code:
        GetClientAbsOrigin(client,g_vitrivong);
        
    g_vitrivong[2] += 10;
        
    GetClientEyePosition(client,g_vitrivong_dayzom);
        
    TE_SetupBeamRingPoint(g_vitrivong10.0GetConVarFloat(sp_ulti_kichthuoc), g_BeamSpriteg_HaloSprite0150.55.00.0greyColor1500);
        
    TE_SendToAll(); 
    What tests? Which map? Makes no sense at all.. Don't see how this is possibly related. Edit: after private talk, was not related and is map cache limit client crash issue.



    Quote:
    Originally Posted by rtokuda View Post
    with errors:
    Quote:
    Originally Posted by Silvers View Post
    • Developers are tasked with ensuring they provide valid client and entity indexes when using Natives.
    • This is to prevent duplicating checks and additional overhead inside left4dhooks.
    __________________

    Last edited by Silvers; 09-01-2020 at 13:21.
    Silvers is offline
    Sam B
    Junior Member
    Join Date: Oct 2020
    Old 11-18-2020 , 12:24   Re: [L4D & L4D2] Left 4 DHooks Direct (1.29) [10-Oct-2020]
    Reply With Quote #8

    Hi guys, will this latest version of the plugin work with the game version 2.1.5.5 or should I search for an older version of it to use with that version of the game?
    Sam B is offline
    Tonblader
    Senior Member
    Join Date: Jul 2011
    Location: Peru
    Old 11-18-2020 , 14:18   Re: [L4D & L4D2] Left 4 DHooks Direct (1.29) [10-Oct-2020]
    Reply With Quote #9

    Quote:
    Originally Posted by Sam B View Post
    Hi guys, will this latest version of the plugin work with the game version 2.1.5.5 or should I search for an older version of it to use with that version of the game?
    Quote:
    Originally Posted by Silvers View Post
    1.22 (24-Sep-2020)
    - Compatibility update for L4D2's "The Last Stand" update.
    - Big thanks to "ProdigySim" for help updating various gamedata offsets and signatures.
    - Added support for the 2 new melee weapons.
    - Changed native "L4D_GetTeamScore" to accept values 0 and 1 which seems is the standard.
    - Late loading with debug enabled now shows the g_pGameRules pointer.
    - Moved hard coded Addon Eclipse offsets to gamedata.
    In theory only add compatibility with Last Stand Update, but it is not a guarantee that it will not work in old versions, try it.

    Last edited by Tonblader; 11-18-2020 at 14:19.
    Tonblader is offline
    Spirit_12
    Veteran Member
    Join Date: Dec 2012
    Location: Toronto, CA
    Old 11-18-2020 , 18:00   Re: [L4D & L4D2] Left 4 DHooks Direct (1.29) [10-Oct-2020]
    Reply With Quote #10

    Quote:
    Originally Posted by Sam B View Post
    Hi guys, will this latest version of the plugin work with the game version 2.1.5.5 or should I search for an older version of it to use with that version of the game?

    The only thing that was changed was signatures and offsets. The plugin should work with older version, however the question is why would you want to run the older version? You do realize non-steam is not supported right?
    __________________
    Spirit_12 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:08.


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