steve1316 / granblue-automation-pyautogui

Educational application aimed at automating user-defined workflows for the mobile game, "Granblue Fantasy", using a variety of CV technologies in the backend such as OpenCV, PyAutoGUI and EasyOCR and a frontend coded in Typescript.
https://github.com/steve1316/granblue-automation-pyautogui/wiki
121 stars 36 forks source link

Raid Loot Error #88

Closed zorkings closed 2 years ago

zorkings commented 2 years ago

Have been receiving this error lately when running raids. strwinclt_aEzihfOKtV game.py", line 891, in _clear_pending_battle self.collect_loot() TypeError: collect_loot() missing 1 required positional argument: 'is_completed'

steve1316 commented 2 years ago

Thanks for letting me know. Fixed it so let me know how it goes.

zorkings commented 2 years ago

image getting this one now

0:02:56 [ERROR] Bot encountered exception in Farming Mode: Traceback (most recent call last): File "C:\Users\Desktop\granblue-automation-pyautogui-main\bot\game.py", line 987, in start_farming_mode self.item_amount_farmed += self._raid.start(first_run) File "C:\Users\Desktop\granblue-automation-pyautogui-main\bot\game_modes\raid.py", line 178, in start self._game.check_for_pending() File "C:\Users\Desktop\granblue-automation-pyautogui-main\bot\game.py", line 923, in check_for_pending while self._clear_pending_battle(): File "C:\Users\Desktop\granblue-automation-pyautogui-main\bot\game.py", line 891, in _clear_pending_battle self.collect_loot(is_completed = true) NameError: name 'true' is not defined

steve1316 commented 2 years ago

Can you post the full message log?

zorkings commented 2 years ago

Can you post the full message log?

edited in the log, didnt realize clipboard did not post before

steve1316 commented 2 years ago

Sorry about that. It was a typo in the code xD

zorkings commented 2 years ago

Working fine now