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

[L4D & L4D2] Use Priority Patch (2.5) [22-Nov-2022]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Plugin ID:
7300
Plugin Version:
2.5
Plugin Category:
General Purpose
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    298 
    Plugin Description:
    Patches CBaseEntity::GetUsePriority preventing attached entities blocking +USE.
    Old 09-23-2020 , 23:25   [L4D & L4D2] Use Priority Patch (2.5) [22-Nov-2022]
    Reply With Quote #1

    About:
    • This plugin stops entities attached to players blocking their +USE ability in all instances (not entirely sure).
    • This plugin was mostly written to fix Attachment_API viewmodel blocking +USE (used by Glare and Weapon Charms plugins).
    • Also fixes issues with Hats plugin and others attaching stuff to players.


    Thanks:
    • ProdigySim, hmmmmm and maximsmol - For helping me try to read the memory address from another function in L4D1 instead of the current bad practice method (reading past short function end).


    Changes:
    Code:
    2.5 (22-Nov-2022)
        - Fixed crash on L4D1 on Windows. Thanks to "ZBzibing" for testing.
    
    2.4 (01-Jul-2022)
        - Plugin updated to restore Windows L4D1 functionality. Unable to replicate the crash.
    
    2.3 (12-Sep-2021)
        - GameData and plugin updated to ignore Windows L4D1 due to crashing. Seems to be caused by last game update.
    
    2.2b (26-Aug-2021)
        - GameData updated. Fixed possible rare instance of crashing the server.
    
    2.2a (10-Aug-2021)
        - L4D1: GameData updated. Fixed breaking from 1.0.4.0 update.
    
    2.2a (13-Jul-2021)
        - Fixed "Entity -1" errors. Thanks to "HarryPotter" for reporting.
    
    2.1 (04-May-2021)
        - Fixed not being able to interact with objects attached to things other than clients. Thanks to "Proaxel" for reporting.
    
    2.0 (12-Apr-2021)
        - Change from patch method to detour method. Should work completely now.
        - Now requires "DHooks (Experimental dynamic detour support)" extension.
    
    1.0a (25-Feb-2020)
        - Fixed Linux gamedata.
    
    1.0 (24-Feb-2020)
        - Initial release.

    Requirements:

    Installation:
    1. Click "Get Plugin" and put the .smx file into your servers \addons\sourcemod\plugins\ folder.
    2. Download the .txt gamedata file and put into your servers \addons\sourcemod\gamedata\ folder.
    Attached Files
    File Type: txt l4d_use_priority.txt (1.4 KB, 1788 views)
    File Type: sp Get Plugin or Get Source (l4d_use_priority.sp - 2492 views - 5.6 KB)
    __________________

    Last edited by Silvers; 09-07-2023 at 22:11.
    Silvers is offline
     



    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 08:16.


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