AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Snippets and Tutorials (https://forums.alliedmods.net/forumdisplay.php?f=112)
-   -   Virtual Offsets Automated Dumper (https://forums.alliedmods.net/showthread.php?t=146379)

berni 12-27-2010 12:37

Virtual Offsets Automated Dumper
 
Some people in this forum requested that I make an automated vtable dumper.
The offsets should be automatically updated within max 5 minutes when a new Game Update is available.

Right now it supports 18 games:
  • Age of Chivalry
  • Counter-Strike: Global Offensive
  • Counter-Strike: Source
  • Counter-Strike: Source Beta
  • Day of Defeat: Source
  • Eternal Silence
  • Garrys Mod
  • Half Life 2: Deathmatch
  • Insurgency
  • Left 4 Dead
  • Left 4 Dead 2
  • Nuclear Dawn
  • Pirates, Vikings and Knights II
  • The Ship
  • Synergy
  • Team Fortress
  • Team Fortress Beta
  • Zombie Panic! Source

Link:
http://www.sourcemodplugins.org/pages/vtableoffsets/

Todo:
  • Make it dump other things like network properties, datamap properties, events, usermessages and other things too.
  • Support for None-Steam-App Source-Games ?

psychonic 12-27-2010 12:40

Re: Virtual Offsets Automated Dumper
 
Quote:

Originally Posted by berni (Post 1380190)
Garrysmod is not support atm because it doesnt include any symbols in the binary.

FWIW, the mac binary currently still has symbols.

Edit:
Also, you may want to put a note on there that the Windows offsets will not always be correct. For functions with overloads (KeyValues and CommitSuicide for example), the order is reversed for the windows ones. You should be able to do it systematically if you wanted.

berni 12-27-2010 12:55

Re: Virtual Offsets Automated Dumper
 
Quote:

Originally Posted by psychonic (Post 1380191)
FWIW, the mac binary currently still has symbols.

Thx, I will try to add mac support to my vtabledumper.

Quote:

Originally Posted by psychonic (Post 1380191)
Edit:
Also, you may want to put a note on there that the Windows offsets will not always be correct. For functions with overloads (KeyValues and CommitSuicide for example), the order is reversed for the windows ones. You should be able to do it systematically if you wanted.

I'll change that.

If someone needs a game which isn't listed yet, please say so and I'll see what I can do :)

zeroibis 12-27-2010 13:11

Re: Virtual Offsets Automated Dumper
 
Thanks for your work on this. It is really going to speed up patches when valve releases updates in the future.

berni 12-27-2010 15:32

Re: Virtual Offsets Automated Dumper
 
The windows overload ordering should be ok now, please check :)
And I have to decided to add Garrys Mod manually at this time.

psychonic 12-28-2010 08:28

Re: Virtual Offsets Automated Dumper
 
Quote:

Originally Posted by berni (Post 1380345)
The windows overload ordering should be ok now, please check :)

Looks alright to me.

Edit: immediately after posting that, I realized that two on CS:S right after CommitSuicide show reversed and should not be, IsBot and IsBotOfType. They should not be switched on Windows. Only where the function name is exactly the same.

KyleS 12-29-2010 07:39

Re: Virtual Offsets Automated Dumper
 
Thanks for this Berni!

berni 01-06-2011 07:35

Re: Virtual Offsets Automated Dumper
 
I've been watching this for 2 weeks now, and it seems to work well now and update immediately when a new update is released.

Some small Changes:
  • Added an explanation to the offsets
  • Added Steam Links to Game's News, Forum & Store Page
  • Fixed what psychonic said (few days ago)

KyleS 01-06-2011 16:37

Re: Virtual Offsets Automated Dumper
 
Is there any chance that you could release the source to whatever you're using to dump these offsets?

berni 01-06-2011 17:41

Re: Virtual Offsets Automated Dumper
 
Sure, but don't expect anything clean coded, it's quick & dirty.

Vtablescanner Source Code (Source Code is provided "as is" without express or implied warranty of any kind)


All times are GMT -4. The time now is 00:04.

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