illumin8ed1 How do I cheat?
Reputation: 0
Joined: 17 Jul 2014 Posts: 1 Location: United States
|
Posted: Sun Jul 20, 2014 8:08 am Post subject: Trigger an event in trainer? Push not Poll |
|
|
Hello all,
I was wondering what is the best way to trigger an event in my c# trainer when a specific instruction is executed on my target process?
As of now I am injecting code in my target process that writes a specific register to a specified address in memory. My trainer then reads that specific address in memory at a very fast rate, and when the value matches a condition, I fire an event in my trainer.
The above would be a "polling" approach. I want more of a "push" approach. When my target process reaches my injected code, I want it to fire an event in my trainer, and then proceed. Kind of like a debugging breakpoint, but I don't want the process to pause. Maybe I just answered my own question... Can I programmatically set a breakpoint on the target process, which fires some even in my trainer, then remove the breakpoint and continue the with my c# trainer? But without pausing?
I'm kinda new at this. What options do I have other than polling memory?
Thanks for your wisdom.
|
|