This commit is contained in:
Mylloon 2023-03-30 13:27:35 +02:00
parent 53f956b427
commit b637771a96
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -54,11 +54,11 @@ class Hack():
else:
raise MemoryError
def find_variable(self, client, offset: int) -> int:
def find_variable(self, base, offset: int) -> int:
"""Find element in memory"""
local_element = None
while not local_element:
local_element = self.pm.read_uint(client + offset)
local_element = self.pm.read_uint(base + offset)
sleep(self.timeout)
return local_element