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

[TF2] Bread exploit fix


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Nikkii
Member
Join Date: Feb 2012
Plugin ID:
4248
Plugin Version:
Plugin Category:
Server Management
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Unapprover:
    Reason for Unapproving:
    "Plugin is no longer needed, the exploit has been fixed."
    Old 06-18-2014 , 06:52   [TF2] Bread exploit fix
    Reply With Quote #1

    Plugin is no longer needed, the exploit has been fixed.


    This fixes the bread exploit on Team Fortress 2 with a few payload maps (including upward) by completely disabling bread on pl_ maps.

    Video of the exploit: https://www.youtube.com/watch?v=blVpbuZyTi8

    It probably could use a couple entity checks, but I've tested it and it works just fine.

    Source/Web Compiler: http://spider.nikkii.us/#q3qNN

    It's also attached, and I'm pretty sure it'll compile fine.
    Attached Files
    File Type: sp Get Plugin or Get Source (breadfix.sp - 597 views - 1.1 KB)
    __________________
    Owner of ProbablyAServer, a server without game changing mods and donation benefits

    RCON Helper | [TF2] LogUpload | CCC Donator Tags | PHP Steam API Wrapper

    Last edited by Nikkii; 06-19-2014 at 02:48.
    Nikkii is offline
    Mitchell
    ~lick~
    Join Date: Mar 2010
    Old 06-18-2014 , 09:53   Re: [TF2] Bread exploit fix
    Reply With Quote #2

    This is more of a restriction then a fix.
    I'd recommend finding a new way to fix this. I'm sure valve will come out with an update before hand though.
    Mitchell is offline
    Horsedick
    AlliedModders Donor
    Join Date: Sep 2011
    Old 06-18-2014 , 10:24   Re: [TF2] Bread exploit fix
    Reply With Quote #3

    Yep it also seems to be tied into just upward at this point which isn't the most popular payload map.
    Valve will fix it in the next update anyway.
    Horsedick is offline
    Nikkii
    Member
    Join Date: Feb 2012
    Old 06-18-2014 , 10:28   Re: [TF2] Bread exploit fix
    Reply With Quote #4

    Quote:
    Originally Posted by Mitchell View Post
    This is more of a restriction then a fix.
    I'd recommend finding a new way to fix this. I'm sure valve will come out with an update before hand though.
    Yep, this is just so that communities can stop people from abusing it and annoying players. There will likely be an update very soon to fix it.

    There's probably some way to fix it, but for now this removes a pretty useless mechanic on only one type of map.
    __________________
    Owner of ProbablyAServer, a server without game changing mods and donation benefits

    RCON Helper | [TF2] LogUpload | CCC Donator Tags | PHP Steam API Wrapper

    Last edited by Nikkii; 06-18-2014 at 10:29.
    Nikkii is offline
    FlaminSarge
    Veteran Member
    Join Date: Jul 2010
    Old 06-18-2014 , 14:36   Re: [TF2] Bread exploit fix
    Reply With Quote #5

    This occurs because Valve decided to make Bread prop_physics(_override) entities instead of making them tempents or even UserMessage-based (like birds are; I think they're still a tempent). Tempents/etc are clientside and so can't really affect the server, but prop_physics exist serverside, and it just so happens that some maps like Payload will use prop_physics and a touch trigger to detect the "cart" falling into the pit to trigger the relevant explosion/etc, since the cart is also prop_physics.

    There should be a cleaner fix that swaps out the prop_physics for a tempent model; I'll take a look later.
    __________________
    Bread EOTL GunMettle Invasion Jungle Inferno will break everything. Don't even ask.

    All plugins: Randomizer/GiveWeapon, ModelManager, etc.
    Post in plugin threads with questions.
    Steam is for playing games.
    You will be fed to javalia otherwise.
    Psyduck likes replays.
    FlaminSarge is offline
    Powerlord
    AlliedModders Donor
    Join Date: Jun 2008
    Location: Seduce Me!
    Old 06-18-2014 , 14:41   Re: [TF2] Bread exploit fix
    Reply With Quote #6

    Quote:
    Originally Posted by FlaminSarge View Post
    This occurs because Valve decided to make Bread prop_physics(_override) entities instead of making them tempents or even UserMessage-based (like birds are; I think they're still a tempent). Tempents/etc are clientside and so can't really affect the server, but prop_physics exist serverside, and it just so happens that some maps like Payload will use prop_physics and a touch trigger to detect the "cart" falling into the pit to trigger the relevant explosion/etc, since the cart is also prop_physics.

    There should be a cleaner fix that swaps out the prop_physics for a tempent model; I'll take a look later.
    Wouldn't this technically be a bug with any entity that's a prop_physics, such as the ball that spawns from the Ball-Kicking Boots?
    __________________
    Not currently working on SourceMod plugin development.

    Last edited by Powerlord; 06-18-2014 at 14:41.
    Powerlord is offline
    FlaminSarge
    Veteran Member
    Join Date: Jul 2010
    Old 06-18-2014 , 17:00   Re: [TF2] Bread exploit fix
    Reply With Quote #7

    Quote:
    Originally Posted by Powerlord View Post
    Wouldn't this technically be a bug with any entity that's a prop_physics, such as the ball that spawns from the Ball-Kicking Boots?
    I believe the ball is prop_physics_multiplayer. The bread is prop_physics_override, which ends up spawning as prop_physics because Valve's planned out how they want to let models be overridable.
    __________________
    Bread EOTL GunMettle Invasion Jungle Inferno will break everything. Don't even ask.

    All plugins: Randomizer/GiveWeapon, ModelManager, etc.
    Post in plugin threads with questions.
    Steam is for playing games.
    You will be fed to javalia otherwise.
    Psyduck likes replays.
    FlaminSarge is offline
    Nikkii
    Member
    Join Date: Feb 2012
    Old 06-19-2014 , 02:51   Re: [TF2] Bread exploit fix
    Reply With Quote #8

    Quote:
    Originally Posted by FlaminSarge View Post
    This occurs because Valve decided to make Bread prop_physics(_override) entities instead of making them tempents or even UserMessage-based (like birds are; I think they're still a tempent). Tempents/etc are clientside and so can't really affect the server, but prop_physics exist serverside, and it just so happens that some maps like Payload will use prop_physics and a touch trigger to detect the "cart" falling into the pit to trigger the relevant explosion/etc, since the cart is also prop_physics.

    There should be a cleaner fix that swaps out the prop_physics for a tempent model; I'll take a look later.
    Like I said, this was a temporary fix and was probably the easiest thing to do. It was just for until the update was released that patched it.
    __________________
    Owner of ProbablyAServer, a server without game changing mods and donation benefits

    RCON Helper | [TF2] LogUpload | CCC Donator Tags | PHP Steam API Wrapper
    Nikkii 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 12:01.


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