This commit is contained in:
Mylloon 2023-04-01 17:17:01 +02:00
parent a9918fa3ae
commit 3a03d017b4
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -1,4 +1,4 @@
from json import loads, load from json import load, loads
from time import sleep from time import sleep
from pymem import Pymem from pymem import Pymem
@ -90,7 +90,8 @@ class Hack():
if found: if found:
return found return found
else: else:
raise MemoryError("Maybe the game isn't fully loaded yet? Wait for menu screen") raise MemoryError(
"Maybe the game isn't fully loaded yet? Wait for menu screen")
def find_uint(self, base, offset: int) -> int: def find_uint(self, base, offset: int) -> int:
"""Find unsigned integer in memory for sure""" """Find unsigned integer in memory for sure"""