format
This commit is contained in:
parent
a9918fa3ae
commit
3a03d017b4
1 changed files with 3 additions and 2 deletions
5
hack.py
5
hack.py
|
@ -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"""
|
||||||
|
|
Reference in a new issue