Okay... I'm trying to work on a trainer for an RPG using Cheat Engine (6.0). For the option I want to figure out, which has eluded me at every step, I need to find the health of the character which my mouse is hovering over at the time, whether it be friend or foe. I'm trying for a "kill guy you're hovering over" option.
Is this actually possible? I've seen the option in CH trainers for various games, but maybe it depends on the game... surely the information being displayed on screen is stored SOMEwhere. I just can't find it.
So far my main approach has been to use my party as a base, since I know what their health is... so I can start with one character's HP, hover over another, use their HP, and so on, but I always end up with 0 results. I've even used the same trick and started with an unknown value, then just increased/decreased values. No joy.
I've looked through the tutorials available, but I can't see anything similar... maybe I missed something though.
[Edited by Skyheart, 5/13/2011 5:47:43 PM]
--------------------------------------------------------------------------- "Remember the good old days when you could just slap Omni-Gel on everything?" - Shepard, ME2
"Not right now. Trying to determine how Scale Itch got aboard. Sexually transmitted disease carried only by Varren..... Implications unpleasant." - Mordin, ME2
It is very much possible, means learning how to set Breakpoints on mouse clicks etc, that way you are only getting opcodes necessary to the mouse click, highlight etc.
If your not familiar with mouse API's this will be hard for you, best to start reading up :P
--------------------------------------------------------------------------- Great site for new games with constant deals
Ayayaye x.x Not sure it's worth it since I'm at the end of the game... ah well, it's always good to learn something new I suppose! Thanks =P
--------------------------------------------------------------------------- "Remember the good old days when you could just slap Omni-Gel on everything?" - Shepard, ME2
"Not right now. Trying to determine how Scale Itch got aboard. Sexually transmitted disease carried only by Varren..... Implications unpleasant." - Mordin, ME2
Well other then mouse API's, try to see which code accesses you health or the AI health when you hover over them. If you get luck and find one - You can use that to create the option you desire.
Otherwise, you can use the Windows API functions by using the API hook feature of CE.
--------------------------------------------------------------------------- Father of Monkey007
Ratchet_Expert: "You are acting as if you are godlike!" HonestGamer: "Godlike my son, is an out-and-out understatement!"
All times are (GMT -08:00) Pacific Time (US & Canada). Current time is 5:11:08 PM