You can find a more complete version of my answer here but you seemed to already know the rest. Std::cout << "ammoAddr = " << "0x" << std::hex << ammoAddr << std::endl 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 = 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. So doing a 4-byte scan will normally give the best results. If you know how the pointer chain works, it is then trivial to convert this to C++. 4 bytes (32-bits / DWORD) a '4 byte' value can hold a number between 0.4294967295 or -21474836483647 (The last one if it is a signed value) '4 byte' values are the standard way of storing information in a windows system. P1, P2, P3.) and track all the way down to the desired value. If you reset your game, you hope your P0 will not change but everything afterwards will change dynamically (i.e. Now you should get many base-addresses with some offsets. Step 2: If you have found the right address do right click on it and make a pointer scan for this address. this chain will finally give you the address 0C86D240. Step 1: Search the value you want to change with cheat engine. 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. For example, let's call the starting pointer P0 and a series of offsets called offset0, offset1, offset2. 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. P->0C86D240 in Cheat Engine means that the entry is a chain of pointers which finally resolves to the address 0x0C86D240.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |