Raised This Month: $51 Target: $400
 12% 

[TF2] Arena Fix (1.0.7)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Jamster
Veteran Member
Join Date: Jun 2008
Plugin ID:
1683
Plugin Version:
1.0.7
Plugin Category:
General Purpose
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Fixes health, ammo and loadout problems in arena.
    Old 05-22-2010 , 21:27   [TF2] Arena Fix (1.0.7)
    Reply With Quote #1

    This is a really simple plugin that fixes what it says at the top, pretty handy for those of us who run arena maps or pure arena servers as this is a bug that isn't properly fixed yet.

    When the round starts all health and ammo will be restored to full and any loadout changes will take effect, very simply done just using the new stock TF2_RegeneratePlayer.

    Post any problems you have but I think I have everything covered here.

    Change log:

    1.0
    - Initial release.

    1.0.1
    - Small optimisation.
    - Added check for dead/spec players.

    1.0.2
    - Plugin now takes into account for melee mode plugins.

    1.0.3
    - Fixed heavy sandvich exploit, there's a posh way (via SDKHooks) which removes the sandvich if thrown, or a rough way via regular slot removal on round start/player spawn if SDKHooks is not present.
    - Added in TF2 check just in case.
    - Fixed a slight bug with the melee code, shouldn't have caused any serious problems though.
    - Optimisations.

    1.0.4
    - Fixed sandvich being restored if you have no SDKHooks and have melee mode enabled.

    1.0.5
    - Fixed disconnect hook.
    - Fixed version string.

    1.0.6
    - Fixed a rare bug where the sandvich SDKHook could continue to work in non-arena maps.

    1.0.7
    - Made weapon check more accurate.
    - Made non-SDKHook check only remove sandvich now.

    Please note as of 1.0.3 that this plugin optionally uses SDKHooks, so it will not compile on the forums, either download the compiled plugin or download the source and compile yourself, thank you.
    Attached Files
    File Type: sp Get Plugin or Get Source (tf2arenafix.sp - 694 views - 6.1 KB)
    File Type: smx tf2arenafix.smx (5.5 KB, 805 views)

    Last edited by Jamster; 07-23-2010 at 12:32. Reason: Update posted
    Jamster 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 19:05.


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