Raised This Month: $ Target: $400
 0% 

Gamedata Checker


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
berni
SourceMod Plugin Approver
Join Date: May 2007
Location: Austria
Old 07-09-2012 , 10:38   Re: Gamedata Checker
Reply With Quote #1

Quote:
Originally Posted by psychonic View Post
but then it still breaks if that signature changes, being more difficult to fix for signatures than the original offset would be, which is one reason why I haven't bothered to add it for Windows yet, and instead use a guess.
If the signature of a function changes (ie.: a parameter got changed), you would have to change the Call or Hook-Code anyway, wouldn't you ? The only problem I see is windows because it doesn't have symbols in the binaries.
Also some kind of caching would be nice then, something that compares the checksum of a library and loads the memory addresses from the cache instead of doing a pattern search / vtable offset resolving every 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

Last edited by berni; 07-09-2012 at 10:40.
berni is offline
psychonic

BAFFLED
Join Date: May 2008
Old 07-09-2012 , 10:41   Re: Gamedata Checker
Reply With Quote #2

Quote:
Originally Posted by berni View Post
If the signature of a function changes (ie.: a parameter got changed), you would have to change the Call or Hook-Code anyway, wouldn't you ? The only problem I see is windows because it doesn't have symbols in the binaries.
If the symbol name in the linux bin changed, yes, there is a good chance that the function call would have to change as well, (although we once ran into a single instance when this wasn't the case. Valve had just renamed a class). The issue is indeed mostly with Windows, and I'm not crazy about supporting a feature like that for a single OS, or with the assumption that symbol names will always be available on linux; (They aren't always on all games). But as I said, anyone else is free to give it a shot.
psychonic 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 18:32.


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