From 52d3dda44a1aec5741d2dac5b5e40812bdc19335 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Thu, 30 Mar 2023 14:22:25 +0200 Subject: [PATCH] typo --- main.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main.py b/main.py index 747b88c..bd4c68e 100644 --- a/main.py +++ b/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: