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

Solved [TF2] Signature for CTFPlayer::RemoveObject


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 06-27-2020 , 00:53   [TF2] Signature for CTFPlayer::RemoveObject
Reply With Quote #1

Team,

Does anyone have the latest Windows signature for CTFPlayer::RemoveObject?

Since the last TF2 update the signature for it is no longer valid.

The signature is used by the Building Ownage plugin created by the talented Pelipoika. The plugin allows you to look at a Sentry, type !ownit, and the sentry will now belong to you.

Gamedata:
PHP Code:
            "CTFPlayer::RemoveObject" //"mvm_mission_update"
            
{
                
"library"    "server"
                "windows"    "\x55\x8B\xEC\x8B\xD1\x56\x8B\xB2\x7C\x21\x00\x00"
                "linux"        "@_ZN9CTFPlayer12RemoveObjectEP11CBaseObject"
            

Attached Files
File Type: sp Get Plugin or Get Source (buildingowner.sp - 147 views - 1.8 KB)
File Type: txt tf2.setbuilder.txt (5.5 KB, 62 views)

Last edited by PC Gamer; 07-17-2020 at 11:54.
PC Gamer is offline
Shadowysn
Senior Member
Join Date: Sep 2015
Location: Location:
Old 07-17-2020 , 02:39   Re: [TF2] Signature for CTFPlayer::RemoveObject
Reply With Quote #2

Oddly enough, I just had to shorten the signature by a few bytes to get a function that is structured and called the same as the function on the Linux binary.

PHP Code:
    "CTFPlayer::RemoveObject"
    
{
        
"library"    "server"
        "windows"    "\x55\x8B\x2A\x8B\xD1\x56\x8B\xB2"
        "linux"        "@_ZN9CTFPlayer12RemoveObjectEP11CBaseObject"
    

Haven't tried it out in-game, but it should hopefully work.
__________________
ragdoll spam, that is all

Steam profile, where I game, obviously.
Youtube channel, where I do Stick Death Maze animations and some other stuff.
no plugin requests, sorry


My Plugins:
-search list-
Modified Plugins:
1 | 2 | 3 | 4

Last edited by Shadowysn; 07-17-2020 at 02:51.
Shadowysn is offline
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 07-17-2020 , 11:53   Re: [TF2] Signature for CTFPlayer::RemoveObject
Reply With Quote #3

Testing and confirmed working. Thanks Shadowysn!
PC Gamer 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:48.


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