

#Sakura clicker cheat engine byte type how to
Std::cout << "ammoAddr = " << "0x" << std::hex << ammoAddr << std::endl Lua Tutorial: How to Make an Auto-Clicker in Lua with Cheat Engine (Sakura Clicker) - YouTube 0:00 / 26:03 Lua Tutorial: How to Make an Auto-Clicker in Lua with Cheat Engine. Uintptr_t ammoAddr = FindDMAAddy(hProcess, dynamicPtrBaseAddr, ammoOffsets) You write a function which walks the multilevel pointer, each step it de-references the pointer and adds the relative offset.įor this example I will use a simple assault cube cheat I've madeįindDMAAddy function (Find Dynamic Memory Allocation Address): uintptr_t FindDMAAddy(HANDLE hProc, uintptr_t ptr, std::vector offsets)įor (unsigned int i = 0 i ammoOffsets = The 2/4/8/float etc bytes in CE means how much size of the address you want to see, selecting 2 bytes for a 4 bytes value will obviously show a big number or zero depending on which bytes you select out of the 4 bytes (first 2 or last 2), same with other data types. You just need to take note of the base pointer and all offsets (as shown in the popup dialog by double-clicking the P->0C86D240 part.) Then, track down until you use up all offset values. Moving ahead to the first 4 bytes showed the correct value. If you know how the pointer chain works, it is then trivial to convert this to C++. P1, P2, P3.) and track all the way down to the desired value. To delete this trainer, press the Debug Tab and then press CTRL-K and the keys will be deleted. The trainer will save your hotkeys for you. If you reset your game, you hope your P0 will not change but everything afterwards will change dynamically (i.e. You can click on the actual option in the Trainer application itself to modify the Hotkey or the value used for that option. this chain will finally give you the address 0C86D240. A pointer chain is to take the value at the address P0 + offset0, use that as your next pointer P1, then take the value at the address P1 + offset1, use that as your next pointer P2.
#Sakura clicker cheat engine byte type series
For example, let's call the starting pointer P0 and a series of offsets called offset0, offset1, offset2. If you double click this part in Cheat Engine, you will see a popup dialog showing you what this pointer chain consists of. P->0C86D240 in Cheat Engine means that the entry is a chain of pointers which finally resolves to the address 0x0C86D240.
