Closed ubiyca closed 1 year ago
Please provide some code which you used to reproduce the issue.
Also you can add a screenshot from cheat engine and the pointer.
import pyMeow as pm
health = 0x136C8B8
process = pm.open_process("CoDWaW.exe")
base_address = pm.get_module(process, "CoDWaW.exe")["base"]
hp = pm.pointer_chain_32(process, base_address, health)
print(hp)
Well that's not a pointer chain. Just read the value directly.
import pyMeow as pm
health = 0x136C8B8
process = pm.open_process("CoDWaW.exe")
base_address = pm.get_module(process, "CoDWaW.exe")["base"]
hp = pm.r_int(process, base_address + health)
print(hp)
Okay, I got it done. It really works. Thank you! I will keep working on it.
import pyMeow as pm
health = 0x136C8B8
class App:
def __init__(self):
while True:
process = pm.open_process("CoDWaW.exe")
base_address = pm.get_module(process, "CoDWaW.exe")["base"]
read_health = pm.r_int(process, base_address + health)
write_health = pm.w_int(process, base_address + health, 9999)
print(read_health)
if __name__ == "__main__":
App()
"pointer_chain_32" doesn't work or am I doing something wrong?
When I try to do this, I get the error "TypeError: unable to convert python object to seq[int]" or "TypeError: unable to convert python object to int"