Boost Your Website Traffic
Try the new KongHack Ad Manager
Increase your traffic today!
AOBHelper: script for CheatEngine to assist in making AOBs
-migrated-
Installation:
In the folder where CheatEngine is installed is a file named "main.lua".
Add this line to the end of the file:
Code: [Select]
require 'AOBHelper'Put the attached "AOBHelper.lua" file in the same folder

Usage:
F8: Make AOB from source
   reads source from clipboard and puts in clipboard the resulting simple AOB and wildcard AOB
F9: Find shortes AOBs
   reads last line (AOB) from clipboard, scans for shortest AOBs and appends the result to clipboard

Example:
in clipboard:
Code: [Select]
//60 c8 01
_as3_getlex Global
//66 a3 18
_as3_getproperty gameStats
//66 d5 06
_as3_getproperty cash
//d0
_as3_getlocal <0>
//66 f5 0c
_as3_getproperty myCost
//a1
_as3_subtract
//61 d5 06
_as3_setproperty cash
//60 c8 01
_as3_getlex Global
//66 a3 18
_as3_getproperty gameStats
//2a
_as3_dup
//d5
_as3_setlocal <1>

After pressing F8:
Code: [Select]
60 c8 01 66 a3 18 66 d5 06 d0 66 f5 0c a1 61 d5 06 60 c8 01 66 a3 18 2a d5
60 ?? ?? 66 ?? ?? 66 ?? ?? d0 66 ?? ?? a1 61 ?? ?? 60 ?? ?? 66 ?? ?? 2a d5

Then pressing F9 (make shure you have started the game and selected the proccess to scan):
Code: [Select]
60 c8 01 66 a3 18 66 d5 06 d0 66 f5 0c a1 61 d5 06 60 c8 01 66 a3 18 2a d5
60 ?? ?? 66 ?? ?? 66 ?? ?? d0 66 ?? ?? a1 61 ?? ?? 60 ?? ?? 66 ?? ?? 2a d5
60 ?? ?? 66 ?? ?? 66 ?? ?? d0 66 ?? ?? a1
                              66 ?? ?? a1 61 ?? ?? 60
                                          61 ?? ?? 60 ?? ?? 66 ?? ?? 2a
                                                   60 ?? ?? 66 ?? ?? 2a d5