Skip to content

Commit

Permalink
reordered the order of appearance of the message box
Browse files Browse the repository at this point in the history
  • Loading branch information
antonioken22 committed Apr 5, 2024
1 parent f8072c3 commit fa0c16a
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 22 deletions.
8 changes: 4 additions & 4 deletions arena_auto_lose_bot/arena_auto_lose_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ def bot_cycle():
root = tk.Tk()
root.withdraw()

# Confirmation Message
confirmation = messagebox.askquestion(window_name, "Open " + game_location + " and make sure it's in MAXIMIZE window mode. "
"Ensure it's the FRONTEST program currently running and not blocked by any other program. \n\nHave you followed everything?")

# Bot Cycles Dropdown
class BotCyclesDialog(simpledialog.Dialog):
def __init__(self, parent):
Expand Down Expand Up @@ -125,10 +129,6 @@ def apply(self):
selected_cycles = 0
show_options_dialog()

# Confirmation Message
confirmation = messagebox.askquestion(window_name, "Open " + game_location + " and make sure it's in MAXIMIZE window mode. "
"Ensure it's the FRONTEST program currently running and not blocked by any other program. \n\nHave you followed everything?")

root.destroy()

if confirmation == 'no':
Expand Down
12 changes: 6 additions & 6 deletions food_farm_bot/food_farm_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ def bot_cycle():
root = tk.Tk()
root.withdraw()

# Confirmation Message
confirmation = messagebox.askquestion(window_name, "Locate " + game_location + " and make sure it's in MAXIMIZE window mode. "
"\nIn order for this to work, MAX the ZOOM OUT first then ZOOM IN TWO(2) times by pressing the PLUS(+) button."
"\nThen you go AFK while this bot is running."
"\n\nHave you followed everything?")

# Bot Cycles Dropdown
class BotCyclesDialog(simpledialog.Dialog):
def __init__(self, parent):
Expand Down Expand Up @@ -80,12 +86,6 @@ def apply(self):
selected_cycles = 0
show_options_dialog()

# Confirmation Message
confirmation = messagebox.askquestion(window_name, "Locate " + game_location + " and make sure it's in MAXIMIZE window mode. "
"\nIn order for this to work, MAX the ZOOM OUT first then ZOOM IN TWO(2) times by pressing the PLUS(+) button."
"\nThen you go AFK while this bot is running."
"\n\nHave you followed everything?")

root.destroy()

if confirmation == 'no':
Expand Down
12 changes: 6 additions & 6 deletions terra_breed_bot/terra_breed_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@ def bot_cycle():
root = tk.Tk()
root.withdraw()

# Confirmation Message
confirmation = messagebox.askquestion(window_name, "Locate " + game_location + " and make sure it's in MAXIMIZE window mode. "
"\nIn order for this to work, MAX the ZOOM OUT first then ZOOM IN TWO(2) times by pressing the PLUS(+) button."
"\nThen make sure the the HATCHERY 6 is VISIBLE on your screen and you go AFK while this bot is running."
"\n\nHave you followed everything?")

# Bot Cycles Dropdown
class BotCyclesDialog(simpledialog.Dialog):
def __init__(self, parent):
Expand Down Expand Up @@ -94,12 +100,6 @@ def apply(self):
selected_cycles = 0
show_options_dialog()

# Confirmation Message
confirmation = messagebox.askquestion(window_name, "Locate " + game_location + " and make sure it's in MAXIMIZE window mode. "
"\nIn order for this to work, MAX the ZOOM OUT first then ZOOM IN TWO(2) times by pressing the PLUS(+) button."
"\nThen make sure the the HATCHERY 6 is VISIBLE on your screen and you go AFK while this bot is running."
"\n\nHave you followed everything?")

root.destroy()

if confirmation == 'no':
Expand Down
11 changes: 5 additions & 6 deletions terra_hatch_bot/terra_hatch_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ def bot_cycle():
root = tk.Tk()
root.withdraw()

# Confirmation Message
confirmation = messagebox.askquestion(window_name, "Locate " + game_location + " and make sure it's in MAXIMIZE window mode. "
"\nIn order for this to work, MAX the ZOOM OUT first then ZOOM IN TWO(2) times by pressing the PLUS(+) button."
"\nThen make sure the the HATCHERY 6 is the CLOSEST to the " + game_location + " and you go AFK while this bot is running."
"\n\nHave you followed everything?")
# Bot Cycles Dropdown
class BotCyclesDialog(simpledialog.Dialog):
def __init__(self, parent):
Expand Down Expand Up @@ -95,12 +100,6 @@ def apply(self):
selected_cycles = 0
show_options_dialog()

# Confirmation Message
confirmation = messagebox.askquestion(window_name, "Locate " + game_location + " and make sure it's in MAXIMIZE window mode. "
"\nIn order for this to work, MAX the ZOOM OUT first then ZOOM IN TWO(2) times by pressing the PLUS(+) button."
"\nThen make sure the the HATCHERY 6 is the CLOSEST to the " + game_location + " and you go AFK while this bot is running."
"\n\nHave you followed everything?")

root.destroy()

if confirmation == 'no':
Expand Down

0 comments on commit fa0c16a

Please sign in to comment.