Skip to content

Commit

Permalink
Temporarily excluded mini-games from the main loop (masterking32#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fy0urM authored Aug 30, 2024
1 parent 15afca9 commit ce7bba7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
1 change: 0 additions & 1 deletion config.py.example
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ AccountList = [
"parallel_upgrades_max_price_per_hour": 1000, # Cards with less than X coins per 1k will be bought
"show_num_buy_options": 0, # Number of card buy options to show in the logs, ranked by best value, 0 disables this.
"max_promo_games_per_round": 3, # Maximum number of promo games to play in a single round, 0 disables this.
"mg_max_tiles_points_percent": 20, # Maximum value for using points in percentages for the mini-game Tiles
},
# If you have enabled Telegram bot logging,
# you can add your chat ID below to receive logs in your Telegram account.
Expand Down
9 changes: 5 additions & 4 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1370,10 +1370,11 @@ def Start(self):
f"\033[1;34m[{self.account_name}] Daily cipher: {DailyCipher} and Morse code: {MorseCode}\033[0m"
)

if self.config["auto_finish_mini_game"]:
log.info(f"[{self.account_name}] Attempting to finish mini game...")
time.sleep(1)
self.StartMiniGame(AccountConfigData, AccountBasicData["accountInfo"]["id"])
# temporarily disabled
# if self.config["auto_finish_mini_game"]:
# log.info(f"[{self.account_name}] Attempting to finish mini game...")
# time.sleep(1)
# self.StartMiniGame(AccountConfigData, AccountBasicData["accountInfo"]["id"])

# Start tapping
if self.config["auto_tap"]:
Expand Down

0 comments on commit ce7bba7

Please sign in to comment.