Making an aimbot for someone who just got out of learning C++ is a bit too "expecting".
I'd recommend you start off on some simple wallhacks instead.
As for that game, I can't personally tell you what's wrong but most likely they got some anti-debugging tricks.
There's a few methods to bypass this. ( Such as using OllyDbg with anti-antidebug plugins )
Also memory scanning is VERY complex. ( Well not complex to someone who's very based in PE formats. )
At the very least, it'd require you to:
- Parse the PE header for the game
- Determine sections and appropriate access permissions
- Determine which sections could be recognized as strings
- Scan for either multi-byte ( UTF8 ) or wide byte ( UTF16 ) strings by calculating the start/end of a section in memory.
- If you're planning to do memory editing via assembly, even more complex. You'd require an opcode disassembler.
You could try:
- Rebuilding Cheat Engine itself. ( Altering the process name, title, checksum etc. )
- Using something other than Cheat Engine ( IDA, Immunity Debugger or OllyDbg works wonders here. )
- Use a ring0 debugger ( One popular example is SoftICE )
- Resort to static analysis rather than dynamic analysis.
- Use another tool such as ReClass to construct your structures.