From bb199a9bf2ef5db5226eb3ddd630143404716722 Mon Sep 17 00:00:00 2001 From: alexpolo1 Date: Tue, 9 Apr 2024 19:59:19 +0200 Subject: [PATCH] moretrader --- traderv2.py | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/traderv2.py b/traderv2.py index 75979a2..bfc40de 100644 --- a/traderv2.py +++ b/traderv2.py @@ -141,14 +141,13 @@ def trade_actions(): log_and_print("xp potion bought") break if found_x is not None: + log_and_print("XP potion not found. Using fallback coordinates.") + click(2552, 1433) + shift_click(2990, 1119) + click(2551, 1365) + shift_click(2552, 1433) + log_and_print("xp potion boght with fallback") break - else: - log_and_print("XP potion not found. Using fallback coordinates.") - click(2552, 1433) - shift_click(2990, 1119) - click(2551, 1365) - shift_click(2552, 1433) - log_and_print("xp potion boght with fallback") # Exiting trade window and moving to next trade log_and_print("Exiting trade window.")