I found a multipointer in cheat engine that leads to a number of entities in an instance, and I want to take that multipointer to a python script, read its memory and find that value.
Game is 64bit by the way.
Code:
import pymem import pymem.process import time def GetPtrAddr(base, offsets): addr = pm.read_ulonglong(base) #here the error occurs: #Could not read memory at: 281419995676672, length: 8 - GetLastError: 998 for i in offsets: if i != offsets[-1]: addr = pm.read_ulonglong(addr + i) else: addr += i return addr process_name = "BrokenRanks.exe" base_address = 0x7FFC6D040000 offsets = [0x830,0x260,0x8,0x18,0x100,0x2A0,0x40] pm = pymem.Pymem(process_name) while True: gameModule = pymem.process.module_from_name(pm.process_handle, process_name).lpBaseOfDll address = GetPtrAddr(gameModule + base_address, offsets) value = pm.read_int(address) print(f"The address: {hex(address)} value is {value}") time.sleep(1)
Additional information:
Pointer i’m using:
https://prnt.sc/IaJHGnj2lz66
I’m getting an error:
Code:
Could not read memory at: 281419995676672, length: 8 - GetLastError: 998
Man
Last edited by MasterJohnson; Today at 07:34 PM.