Skip to content

Commit

Permalink
Update ApexFarmer.py to v2.1 (breakout)
Browse files Browse the repository at this point in the history
  • Loading branch information
letsmokee authored Feb 18, 2024
1 parent 3eb4176 commit 4b4763b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ApexFarmer.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def process_exists(process_name):
pyautogui.moveTo(200,100)
window_found = 1

if pyautogui.locateOnScreen(resource_path('ss\\InGame.png'), region=(87, 755, 379, 304), grayscale=True, confidence=0.5) is not None:
if pyautogui.locateOnScreen(resource_path('ss\\InGame.png'), region=(255, 885, 172, 81), grayscale=True, confidence=0.5) is not None:
print(UP, end=CLEAR)
print("------------------------------DETECTED IN MATCH, MOVING TO FARMING MODE-----------------------------")
time_stuck_start= 0
Expand Down Expand Up @@ -363,7 +363,7 @@ def process_exists(process_name):
keyboard.press_and_release('space')
time.sleep(np.random.uniform(0.4,0.8))

if pyautogui.locateOnScreen(resource_path('ss\\InGame.png'), region=(87, 755, 379, 304), grayscale=True, confidence=0.5) is not None:
if pyautogui.locateOnScreen(resource_path('ss\\InGame.png'), region=(255, 885, 172, 81), grayscale=True, confidence=0.5) is not None:
#print("-------------In game waiting--------------")
keyboard.press_and_release(Random)
time.sleep(0.5)
Expand Down

0 comments on commit 4b4763b

Please sign in to comment.