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
robex
New Member
Join Date: May 2023
Plugin ID:
6954
Plugin Version:
1.150
Plugin Category:
General Purpose
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    2320 
    Plugin Description:
    Left 4 Downtown and L4D Direct conversion and merger.
    Old 05-19-2023 , 05:25   Re: [L4D & L4D2] Left 4 DHooks Direct (1.130) [01-May-2023]
    Reply With Quote #1

    Quote:
    Originally Posted by HarryPotter View Post
    Agree. potentially breaking thousands of servers and plugins.



    Really? what have they added ?
    They just announce two update.

    PHP Code:
    An update has been released for Left 4 Dead 2.

    Fixed a regression that caused some scripted special zombie spawns to failFixes Tank Run mutation
    PHP Code:
    An update has been released for Left 4 Dead 2.

    Fixed several crash and RCE exploitsall reported via HackerOne
    After further inspection it seems its just an array that went from size 64 to 256 bytes, hence why offsets are +192 (credit to A1m for this info)

    Last edited by robex; 05-19-2023 at 05:26.
    robex is offline
    4NTEP xD
    New Member
    Join Date: Jan 2018
    Old 05-19-2023 , 06:10   Re: [L4D & L4D2] Left 4 DHooks Direct (1.130) [01-May-2023]
    Reply With Quote #2

    Hello, I think I found a minor error in the forward code updated in version 1.130 (the same offset 48 is used twice when making changes, and it should be 48 in the first case and 52 in the second), I also ask you to fix the signatures that broke after the release of patch 2227, thank you in advance for your work.

    MRESReturn DTR_CGasCanEvent_Killed(int pThis, DHookReturn hReturn, DHookParam hParams) // Forward "L4D2_CGasCan_EventKilled"
    {
    //PrintToServer("##### DTR_CGasCanEvent_Killed");

    int a1 = hParams.GetObjectVar(1, 48, ObjectValueType_EhandlePtr); // 48
    int a2 = hParams.GetObjectVar(1, 52, ObjectValueType_EhandlePtr); // 52

    ...

    if( aResult == Plugin_Changed )
    {
    hParams.SetObjectVar(1, 48, ObjectValueType_EhandlePtr, a1); // 48
    hParams.SetObjectVar(1, 48, ObjectValueType_EhandlePtr, a2); // 48 != 52
    return MRES_ChangedHandled;
    }

    g_bBlock_CGasCanEvent_Killed = false;

    return MRES_Ignored;
    }
    4NTEP xD 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 05:16.


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