typo
This commit is contained in:
parent
155833bf28
commit
52d3dda44a
1 changed files with 4 additions and 4 deletions
8
main.py
8
main.py
|
@ -54,7 +54,7 @@ class Hack():
|
|||
else:
|
||||
raise MemoryError
|
||||
|
||||
def find_int(self, base, offset: int) -> int:
|
||||
def find_uint(self, base, offset: int) -> int:
|
||||
"""Find integer in memory for sure"""
|
||||
local_element = None
|
||||
while not local_element:
|
||||
|
@ -86,7 +86,7 @@ class Cheat(Hack):
|
|||
client = self.find_module("client")
|
||||
|
||||
# Get player
|
||||
local_player = self.find_int(client, offset["dwLocalPlayer"])
|
||||
local_player = self.find_uint(client, offset["dwLocalPlayer"])
|
||||
|
||||
# Hack loop
|
||||
while True:
|
||||
|
@ -116,10 +116,10 @@ class Cheat(Hack):
|
|||
client = self.find_module("client")
|
||||
|
||||
# Get local player
|
||||
local_player = self.find_int(client, offset["dwLocalPlayer"])
|
||||
local_player = self.find_uint(client, offset["dwLocalPlayer"])
|
||||
|
||||
# Get local team
|
||||
local_team = self.find_int(local_player, offset["m_iTeamNum"])
|
||||
local_team = self.find_uint(local_player, offset["m_iTeamNum"])
|
||||
|
||||
# Hack loop
|
||||
while True:
|
||||
|
|
Reference in a new issue