Skip to content

Commit

Permalink
Create Infinite_Health.py
Browse files Browse the repository at this point in the history
  • Loading branch information
201580ag authored Oct 15, 2023
1 parent 1cec299 commit 10604e3
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Infinite_Health.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import pymem
from pymem.process import module_from_name

pm = pymem.Pymem("ac_client.exe")

gameModule = module_from_name(pm.process_handle, "ac_client.exe").lpBaseOfDll

def GetPtrAddr(base, offsets):
addr = pm.read_int(base)
for i in offsets:
if i != offsets[-1]:
addr = pm.read_int(addr + i)
return addr + offsets[-1]

while True:
pm.write_int(GetPtrAddr(gameModule + 0x0017E0A8, [0xEC]), 100)

0 comments on commit 10604e3

Please sign in to comment.