Sirusdv How do I cheat?
Reputation: 0
Joined: 25 Apr 2007 Posts: 1
|
Posted: Wed Apr 25, 2007 10:59 pm Post subject: Suggestion: Smart tracing |
|
|
The concept is to detect lines of code that are traversed and ones that are not to help narrow down where different functions are. Basically on every call statement, add a debug breakpoint.. and remove them as the breakpoint gets called... then once a hotkey is pressed and a new breakpoint is hit, break the debugger to discover new a new code path.
Example usage with WoW finding fall damage infliction:
* open the process in cheatengine,
* hit "initialize code tracing"
* go make a sandwich because it will take a while to set all the breakpoints.
* Go back in the game, jump around a lot, take some damage from a mob / drowning.
* Hit the hotkey to actually break the debugger / make a note of the new calls' offsets (maybe even a stack dump?)
* jump off of something high and take fall damage
The only codepath hit should be the one where damage is inflicted because of falling.
I'd implement this myself but I don't really know Delphi all to well. It seems like to implement this would require a combination of the "pointer finder" and the "what modifies/reads this value" functions.
Let me know what you think.
|
|