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

Virtual Offsets Automated Dumper


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
berni
SourceMod Plugin Approver
Join Date: May 2007
Location: Austria
Old 12-27-2010 , 12:37   Virtual Offsets Automated Dumper
Reply With Quote #1

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 ?
__________________
Why reinvent the wheel ? Download smlib with over 350 useful functions.

When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter than "Yes"
powered by Core i7 3770k | 32GB DDR3 1886Mhz | 2x Vertex4 SSD Raid0

Last edited by berni; 09-13-2012 at 06:31.
berni is offline
psychonic

BAFFLED
Join Date: May 2008
Old 12-27-2010 , 12:40   Re: Virtual Offsets Automated Dumper
Reply With Quote #2

Quote:
Originally Posted by berni View Post
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.
psychonic is offline
berni
SourceMod Plugin Approver
Join Date: May 2007
Location: Austria
Old 12-27-2010 , 12:55   Re: Virtual Offsets Automated Dumper
Reply With Quote #3

Quote:
Originally Posted by psychonic View Post
FWIW, the mac binary currently still has symbols.
Thx, I will try to add mac support to my vtabledumper.

Quote:
Originally Posted by psychonic View Post
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
__________________
Why reinvent the wheel ? Download smlib with over 350 useful functions.

When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter than "Yes"
powered by Core i7 3770k | 32GB DDR3 1886Mhz | 2x Vertex4 SSD Raid0

Last edited by berni; 12-27-2010 at 13:30.
berni is offline
zeroibis
Veteran Member
Join Date: Jun 2007
Old 12-27-2010 , 13:11   Re: Virtual Offsets Automated Dumper
Reply With Quote #4

Thanks for your work on this. It is really going to speed up patches when valve releases updates in the future.
__________________
zeroibis is offline
berni
SourceMod Plugin Approver
Join Date: May 2007
Location: Austria
Old 12-27-2010 , 15:32   Re: Virtual Offsets Automated Dumper
Reply With Quote #5

The windows overload ordering should be ok now, please check
And I have to decided to add Garrys Mod manually at this time.
__________________
Why reinvent the wheel ? Download smlib with over 350 useful functions.

When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter than "Yes"
powered by Core i7 3770k | 32GB DDR3 1886Mhz | 2x Vertex4 SSD Raid0
berni is offline
psychonic

BAFFLED
Join Date: May 2008
Old 12-28-2010 , 08:28   Re: Virtual Offsets Automated Dumper
Reply With Quote #6

Quote:
Originally Posted by berni View Post
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.

Last edited by psychonic; 12-28-2010 at 08:31.
psychonic is offline
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Old 12-29-2010 , 07:39   Re: Virtual Offsets Automated Dumper
Reply With Quote #7

Thanks for this Berni!
KyleS is offline
berni
SourceMod Plugin Approver
Join Date: May 2007
Location: Austria
Old 01-06-2011 , 07:35   Re: Virtual Offsets Automated Dumper
Reply With Quote #8

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)
__________________
Why reinvent the wheel ? Download smlib with over 350 useful functions.

When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter than "Yes"
powered by Core i7 3770k | 32GB DDR3 1886Mhz | 2x Vertex4 SSD Raid0
berni is offline
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Old 01-06-2011 , 16:37   Re: Virtual Offsets Automated Dumper
Reply With Quote #9

Is there any chance that you could release the source to whatever you're using to dump these offsets?
KyleS is offline
berni
SourceMod Plugin Approver
Join Date: May 2007
Location: Austria
Old 01-06-2011 , 17:41   Re: Virtual Offsets Automated Dumper
Reply With Quote #10

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)
__________________
Why reinvent the wheel ? Download smlib with over 350 useful functions.

When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter than "Yes"
powered by Core i7 3770k | 32GB DDR3 1886Mhz | 2x Vertex4 SSD Raid0

Last edited by berni; 11-02-2014 at 21:49.
berni 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 20:29.


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