Coder Social home page Coder Social logo

Comments (7)

qwe8585 avatar qwe8585 commented on May 19, 2024

True zorkings there is no check for emp mastery level up check after battles.

from granblue-automation-pyautogui.

steve1316 avatar steve1316 commented on May 19, 2024

Thank you for reporting that! I completely forgot this was a thing. It should be a very easy fix.

from granblue-automation-pyautogui.

steve1316 avatar steve1316 commented on May 19, 2024

Just pushed a simple update that will double click the screen in the while loop that tries to clear away any popups during loot collection. Let me know how it goes!

from granblue-automation-pyautogui.

zorkings avatar zorkings commented on May 19, 2024

Did get stuck today as well, but I wasn't paying attention, could it be consecutive EMP level ups or does it recheck for obstructions each time it clears one away

from granblue-automation-pyautogui.

steve1316 avatar steve1316 commented on May 19, 2024

In my collect_loot() method, there is a while loop that will continuously click any detected "OK", "Cancel", and "Close" buttons in that order and then it will double click the screen to hopefully clear away any EMP level ups.

This will go on indefinitely until it detects the "loot_collected_header" image:
loot_collected_header

Have not seen any infinite loop hangups when collecting while farming raids this morning. If you can, can you turn on "Debug Mode" in the Settings Page and upload the text log here when you get stuck again?

Or even better, screenshot/record it running when it gets stuck. I feel like I covered every possible case that could cause the bot to loop infinitely while checking for loot but I could always be wrong.

from granblue-automation-pyautogui.

steve1316 avatar steve1316 commented on May 19, 2024

Commit 429b7b0 has just been posted and it deals with some bugs, mainly the double clicking on the screen has now been replaced with detection of the EMP level up pop up and subsequent clicking on the "NEW" portion of the popup.

This should eliminate cases where on smaller screens, the previous method of double clicking the screen would accidentally click on an item or button and mess up the bot.

from granblue-automation-pyautogui.

steve1316 avatar steve1316 commented on May 19, 2024

Closing this issue due to inactivity. Please feel free to open another issue in the future when you encounter further problems!

from granblue-automation-pyautogui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.