AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Extensions (https://forums.alliedmods.net/forumdisplay.php?f=134)
-   -   [TF2] ActionProtect (https://forums.alliedmods.net/showthread.php?t=232474)

VoiDeD 12-31-2013 00:33

[TF2] ActionProtect
 
Update: This extension should no longer be required. Valve claims to have fixed the exploit.

This is an extension to block a recent exploit present in some TF2 hacks. In short, the hacks allow clients to activate the action slot item of other players.

This extension will silently disallow activating another player's action slot items, but allow usage of their own.

I only have a windows build available for now, someone will need to make a linux build.
A linux build has been thoughtfully provided by KyleS, you'll find it at the same location as the windows build.

Download here: https://github.com/VoiDeD/ActionProtect/releases

Source: https://github.com/VoiDeD/ActionProtect

Powerlord 12-31-2013 02:14

Re: [TF2] ActionProtect
 
Should I just assume CDetour is to be copied from SDKTools?

Either way, gcc really doesn't like something being called in the SDK after adjusting the include paths to include CDetour, hl2sdk-tf2/game/server/ and hl2sdk-tf2/game/shared/ from the SDK and bombs out with these errors.

Spoiler

KyleS 12-31-2013 02:23

Re: [TF2] ActionProtect
 
Quote:

Originally Posted by Powerlord (Post 2078855)
Should I just assume CDetour is to be copied from SDKTools?

There's nothing from SM that's used by the extension (at the moment). There's no requirement for CDetour, SourceHook comes from MM:S.

Quote:

Originally Posted by Powerlord (Post 2078855)
Either way, gcc really doesn't like something being called in the SDK after adjusting the include paths to include CDetour, hl2sdk-tf2/game/server/ and hl2sdk-tf2/game/shared/ from the SDK and bombs out with these errors.

cbase.h is poison.

This might help you, it's just a hacked upon makefile that I keep copying from other projects.
https://github.com/KyleSanderson/ActionProtect

Sreaper 12-31-2013 03:07

Re: [TF2] ActionProtect
 
Thank you VoiDeD for patching that exploit so quickly. Thank you to you as well Kyle for the linux build.

404UserNotFound 12-31-2013 04:07

Re: [TF2] ActionProtect
 
Wonderful! Installing as we speak!

Tried rcon sm exts load actionprotect with the Linux version, got this:

[SM] Extension actionprotect.ext.so failed to load: /home/abrandnewday/testy/tf/addons/sourcemod/extensions/actionprotect.ext.so: undefined symbol: _ZNK9KeyValues7GetNameEv

MasterOfTheXP 12-31-2013 08:31

Re: [TF2] ActionProtect
 
Getting the same error on Linux. Restarting the server didn't fix it either :(

I had never heard about this exploit before, though. Weird...but nice job fixing it before it became widely known about, I guess :)

psychonic 12-31-2013 09:49

Re: [TF2] ActionProtect
 
Sounds like tier1 didn't get linked into the linux build.

404UserNotFound 12-31-2013 10:33

Re: [TF2] ActionProtect
 
Quote:

Originally Posted by psychonic (Post 2079006)
Sounds like tier1 didn't get linked into the linux build.

<insert obligatory Fry from Futurama going "FIX IT FIX IT FIX IT FIX IT" here>

Mitchell 12-31-2013 11:13

Re: [TF2] ActionProtect
 
Such a quick fix. For a while i thought it had something to do with HHH, but i found out it was a player later on.

pcmaster 12-31-2013 12:37

Re: [TF2] ActionProtect
 
Wouldn't it be possible to make that fix as a plugin rather than an extension?


All times are GMT -4. The time now is 14:12.

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