RE: General hack talk
Dunno how many of you run CE trainers, but if you do: here is a function I wrote today since I decided to add hack checking to my main trainer. I have already done similar to mini trainers I have given out, but since those only had a couple button clicks I just did this within the button click, but my main trainer having 30+ hacks in it: I made a hack check function instead.
Here is the function which you would add towards the beginning of your lua script:
--hack success or fail check
function check(search)
aobs = AOBScan(search)
if(aobs ~= nil) then
showMessage("Cheat Enabled!")
elseif(aobs == nil) then
showMessage("Cheat Failed! Make sure Flash Process is attached. If flash attached, hack may have been patched.")
end
object_destroy(aobs);
end
Now for its usage:
function CEButtonReloadClick(sender)
Aobswap("d1 20 12 ?? 34 ?? 10 ?? ?? 16","24 00 48")
check("24 00 48 ?? 34 ?? 10 ?? ?? 16")
end
The function above is a button click for reload. it calls Aobswap("search value","change value")
then it calls the check function mentioned above. check("complete changed value")
So if it gets a hit in search for the changed value, it will pop a message box saying cheat enabled.
If it does not get a hit for the changed value, it pops a message box telling you the cheat failed and to check if flash is attached or if game was patched.
By the way: the AoBs above are fake, so don't bother trying to use them. I just made some up as an example of what a button click function would look like in a CE trainer that incorporates the hack check function.








