Wednesday, 19 September 2012

Cheat Engine - Call game code in new thread

So I have recently found out that it is possible to call game functions or code from Cheat Engine using a new thread in an Auto Assembler script.



Below is a screen shot that shows how to do this, I have also put in a for loop You don't seem to need the mov above the ret.



This can be very useful for testing what game functions do.

Im not entirely sure if full access is required or what it does so I have commented it out for now.

To do it without a for loop you would do something like this
[enable]
//fullaccess(00400500,4)
alloc(MyCode,1024)
CreateThread(MyCode)

MyCode:
// As Example
//CALL SomeGameAddress
// or do other code
ret // exit thread

[disable]
dealloc(mycode)

No comments:

Post a Comment