Nova404 How do I cheat?
Reputation: 0
Joined: 23 Jan 2024 Posts: 2
|
Posted: Tue Jan 23, 2024 1:43 pm Post subject: Pointers only read/write to when i attach CE |
|
|
Hi, im trying to make a python table for ITRTG (Idling to Rule the Gods) and whenever i try to read/write to the pointer i found it will just display the value as 0 and writing doesnt change it, until i attach cheat engine.
Code:
| Code: | from ReadWriteMemory import ReadWriteMemory
from time import sleep as t
rwm = ReadWriteMemory()
process = rwm.get_process_by_name('Idling to Rule the Gods.exe')
process.open()
baseadress = 0x7B640000 + 0x3AFEB8
gp_pointer = process.get_pointer(baseadress, offsets=[0x408, 0xD00, 0xD8, 0xDC, 0x0, 0x54, 0x138])
gpp = gp_pointer
#gp = process.read(gp_pointer)
i=0
running = 1
#image base = (dll) 0x7B640000 (exe) 0x00E50000
while running == 1:
gp_amount = input("Enterspaghetti monsterPower Amount:")
try:
gp_amount = int(gp_amount)
process.write(gpp, gp_amount) #pointer, value
except:
if gp_amount == "exit":
print("Closing in 2 seconds...")
t(2)
running = 0
elif gp_amount == "read":
print(process.read(gp_pointer))
else:
print("Error, NaN") |
|
|