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

VFunc finding


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Chrisber
AlliedModders Donor
Join Date: Jul 2007
Location: localhost
Old 06-12-2010 , 08:07   VFunc finding
Reply With Quote #1

Hey guys.
On the wiki there is a list of a lot of VFunc offsets (whats very nice of course).
For example I take this list: http://wiki.alliedmods.net/CCSPlayer...ike:_Source%29

Can anybody explain how I can create this list? I think these guys did it with IDA, so I already analyzed the server.dll but I can't find any menu iteam that is doing what I expected.

Thanks for help!
Chrisber is offline
Keeper
Senior Member
Join Date: Nov 2006
Old 06-12-2010 , 09:23   Re: VFunc finding
Reply With Quote #2

You have to use server.so if you want to get the list. And those lists are generated using IDA. Look here for the script: http://hg.alliedmods.net/sourcemod-c...table_dump.idc
Keeper is offline
Chrisber
AlliedModders Donor
Join Date: Jul 2007
Location: localhost
Old 06-12-2010 , 10:15   Re: VFunc finding
Reply With Quote #3

Okay, thanks. Are the given offsets for linux or for windows then? Because if you look on the wiki page, the linux offsets are one greater.

Chris
Chrisber is offline
Afronanny
Veteran Member
Join Date: Aug 2009
Old 06-12-2010 , 15:03   Re: VFunc finding
Reply With Quote #4

Quote:
Originally Posted by Chrisber View Post
Okay, thanks. Are the given offsets for linux or for windows then? Because if you look on the wiki page, the linux offsets are one greater.

Chris
Even though it is the Linux binary, iirc the offsets given are still the windows offsets.
Afronanny is offline
Chrisber
AlliedModders Donor
Join Date: Jul 2007
Location: localhost
Old 06-12-2010 , 17:04   Re: VFunc finding
Reply With Quote #5

Okay, thanks =)
Chrisber is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 06-12-2010 , 17:09   Re: VFunc finding
Reply With Quote #6

Quote:
Originally Posted by Afronanny View Post
Even though it is the Linux binary, iirc the offsets given are still the windows offsets.
Nooooooooooooooooooo.
If you put 0 in the dialog box that pops up using the script you get the exact Linux offsets, the windows offsets are usually -1, but it varies depending on a few factors, normally overloaded functions.
__________________
asherkin is offline
Afronanny
Veteran Member
Join Date: Aug 2009
Old 06-12-2010 , 20:57   Re: VFunc finding
Reply With Quote #7

Quote:
Originally Posted by asherkin View Post
Nooooooooooooooooooo.
If you put 0 in the dialog box that pops up using the script you get the exact Linux offsets, the windows offsets are usually -1, but it varies depending on a few factors, normally overloaded functions.
The default is 1 in the dialog box iirc. I was assuming he didn't change that.
Afronanny is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 06-13-2010 , 00:43   Re: VFunc finding
Reply With Quote #8

Yes, but the offsets you get are 'guessed' windows ones, they are not always correct, and I wish people would stop telling people they are the windows offsets without at least a warning that they may not be correct.
__________________
asherkin is offline
Afronanny
Veteran Member
Join Date: Aug 2009
Old 06-13-2010 , 06:39   Re: VFunc finding
Reply With Quote #9

Quote:
Originally Posted by asherkin View Post
Yes, but the offsets you get are 'guessed' windows ones, they are not always correct, and I wish people would stop telling people they are the windows offsets without at least a warning that they may not be correct.
Oh ok. I was unaware of this fact myself. I saw on some wiki page that those are the Windows offsets. Meh.
Afronanny is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 06-13-2010 , 06:52   Re: VFunc finding
Reply With Quote #10

Quote:
Originally Posted by asherkin View Post
Yes, but the offsets you get are 'guessed' windows ones, they are not always correct, and I wish people would stop telling people they are the windows offsets without at least a warning that they may not be correct.
Maybe you should add that to http://wiki.alliedmods.net/Finding_Virtual_Offsets
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami 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 05:43.


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