Off-Topic Discussions

Page 1 of 1
Signup or Login to Post
Trainer making Q...
  • Current rank: 2.5 Stars. Next Rank at 2000 Posts.
    Send a message to Skyheart
    ELDER
    Skyheart posted on May 13, 2011 5:44:31 PM - Report post
     
    Okay... I'm trying to work on a trainer for an RPG using CoSMOS (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
  • Current rank: 3.5 Stars. Next Rank at 8000 Posts.
    Send a message to DABhand
    PHAT CAT
    DABhand posted on May 13, 2011 5:49:21 PM - Report post
     
    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
    Oh and Don't forget some tuts on ASM and defeating DMA

    Clicky Here for them
  • Current rank: 2.5 Stars. Next Rank at 2000 Posts.
    Send a message to Skyheart
    ELDER
    Skyheart posted on May 13, 2011 5:53:21 PM - Report post
     
    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
  • Current rank: 3.5 Stars. Next Rank at 8000 Posts.
    Send a message to HonestGamer
    AUTHOR
    HonestGamer posted on May 13, 2011 9:26:18 PM - Report post
     
    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.
    Life is best for those who enjoy it, difficult for those who analyze it and worst for those who criticize it.
Page 1 of 1
Signup or Login to Post
All times are (GMT -06:00) Central Time (US & Canada). Current time is 12:45:28 PM