LOGIN  .  SIGNUP   .  SUPPORT 
HOME / MESSAGE BOARDS / OFF-TOPIC DISCUSSIONS

Off-Topic Discussions

Signup   Message Boards Home   Newest Posts   My Favorite Boards   My Threads
Page 1 of 1
Signup or Login to Post
Trainer making Q...
 
Skyheart  posted on May 13, 2011 5:44:31 PM - Report post

Current rank: 2.5 Stars. Next Rank at 2000 Posts.
Send a message to Skyheart
ELDER
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]

 
DABhand  posted on May 13, 2011 5:49:21 PM - Report post

Current rank: 3.5 Stars. Next Rank at 8000 Posts.
Send a message to DABhand
AUTHOR
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

 
Skyheart  posted on May 13, 2011 5:53:21 PM - Report post

Current rank: 2.5 Stars. Next Rank at 2000 Posts.
Send a message to Skyheart
ELDER
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
 
HonestGamer  posted on May 13, 2011 9:26:18 PM - Report post

Moderator
Send a message to HonestGamer
MODERATOR
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.

Page 1 of 1
  Post Reply
 
All times are (GMT -06:00) Central Time (US & Canada). Current time is 1:22:35 PM