Giter Club home page Giter Club logo

Comments (10)

steve1316 avatar steve1316 commented on June 15, 2024 1

Oh, are you just farming Angel Halo Weapons? If so, every run/loop counts as 1 "Angel Halo Weapons" item. So 999 "Angel Halo Weapons" corresponds to 999 runs/loops.

It is recommended to have the browser window extend as high as possible touching the top of your screen to the Windows taskbar.

from granblue-automation-pyautogui.

kookok0 avatar kookok0 commented on June 15, 2024 1

Oh cool! I'll figure out which is which if I do decide to farm raids or this current GW at a later time. Right now, I just need to get alot of upgrade mats to maximize my weapon levels. Thanks a bunch for helping, and responding so quickly too!

from granblue-automation-pyautogui.

steve1316 avatar steve1316 commented on June 15, 2024

Having it in a text file would be more easier on the eyes 👍

Can you try Case 1 in https://stackoverflow.com/a/62817909 by downloading and installing Visual Studio 2019 Build tools? It seems from the message that you need VS 2013, VS 2015, VS 2017 or VS 2019 was installed with the Visual C++ option.

from granblue-automation-pyautogui.

kookok0 avatar kookok0 commented on June 15, 2024

Thanks for the help! I tried some troubleshooting myself, so apologies for the late revert. I ran into more problems, so I defaulted back to the state where I just needed to install the build tools, but unfortunately, this did not fix it for me. I'm getting new errors when trying to compile. Any thoughts? The error message chunk doesn't really point me in a good direction.
compilation_error.txt

from granblue-automation-pyautogui.

steve1316 avatar steve1316 commented on June 15, 2024

I have never used rustup before as I have been using pip to install my packages. From the error log, it says that x86_64-pc-windows-msvc target may not be installed`. I do not know what that is but it might help to install it.

After you installed Visual Studio 2019 Build tools, what error message popped up when you tried to install autopy via pip?

from granblue-automation-pyautogui.

kookok0 avatar kookok0 commented on June 15, 2024

Hey man, I got it fixed myself! I was too dumb to notice the compiler was using the newer nightly rust compiler, whereas I needed the older 2019-10-05 nightly build. I thought I already forced it properly, but I had to go through so many unneeded hoops to get that fixed.

So now, the only problem is, when I try to run the bot as instructed (launch gbf via Chrome, start the bot, go to the settings page), nothing happens. I'm expecting for some pop-up prompts to appear on my end, but I don't see anything. I also tried reinstalling the requirements, but it looks like I'm good to go:

C:\Users\havoc\Desktop\granblue-automation-pyautogui-main>py -m pip install -r requirements.txt Defaulting to user installation because normal site-packages is not writeable Looking in links: https://download.pytorch.org/whl/torch_stable.html Requirement already satisfied: torch===1.7.1+cu110 in c:\program files (x86)\python\lib\site-packages (from -r requirements.txt (line 3)) (1.7.1+cu110) Requirement already satisfied: torchvision===0.8.2+cu110 in c:\program files (x86)\python\lib\site-packages (from -r requirements.txt (line 4)) (0.8.2+cu110) Requirement already satisfied: torchaudio===0.7.2 in c:\program files (x86)\python\lib\site-packages (from -r requirements.txt (line 5)) (0.7.2) Requirement already satisfied: guibot==0.41.1 in c:\program files (x86)\python\lib\site-packages (from -r requirements.txt (line 7)) (0.41.1) Requirement already satisfied: PyAutoGUI==0.9.52 in c:\program files (x86)\python\lib\site-packages (from -r requirements.txt (line 8)) (0.9.52) Requirement already satisfied: easyocr==1.2.1 in c:\program files (x86)\python\lib\site-packages (from -r requirements.txt (line 9)) (1.2.1) Requirement already satisfied: PySide2==5.15.2 in c:\program files (x86)\python\lib\site-packages (from -r requirements.txt (line 10)) (5.15.2) Requirement already satisfied: PyYAML==5.3.1 in c:\program files (x86)\python\lib\site-packages (from -r requirements.txt (line 11)) (5.3.1) Requirement already satisfied: autopy==4.0.0 in c:\users\havoc\appdata\roaming\python\python39\site-packages (from -r requirements.txt (line 12)) (4.0.0) Requirement already satisfied: tweepy==3.10.0 in c:\program files (x86)\python\lib\site-packages (from -r requirements.txt (line 13)) (3.10.0) Requirement already satisfied: pyclick==0.0.2 in c:\program files (x86)\python\lib\site-packages (from -r requirements.txt (line 14)) (0.0.2) Requirement already satisfied: Pillow in c:\program files (x86)\python\lib\site-packages (from easyocr==1.2.1->-r requirements.txt (line 9)) (8.2.0) Requirement already satisfied: scipy in c:\program files (x86)\python\lib\site-packages (from easyocr==1.2.1->-r requirements.txt (line 9)) (1.6.2) Requirement already satisfied: numpy in c:\program files (x86)\python\lib\site-packages (from easyocr==1.2.1->-r requirements.txt (line 9)) (1.20.2) Requirement already satisfied: scikit-image in c:\program files (x86)\python\lib\site-packages (from easyocr==1.2.1->-r requirements.txt (line 9)) (0.18.1) Requirement already satisfied: python-bidi in c:\program files (x86)\python\lib\site-packages (from easyocr==1.2.1->-r requirements.txt (line 9)) (0.4.2) Requirement already satisfied: opencv-python in c:\program files (x86)\python\lib\site-packages (from easyocr==1.2.1->-r requirements.txt (line 9)) (4.5.1.48) Requirement already satisfied: pygetwindow>=0.0.5 in c:\program files (x86)\python\lib\site-packages (from PyAutoGUI==0.9.52->-r requirements.txt (line 8)) (0.0.9) Requirement already satisfied: mouseinfo in c:\program files (x86)\python\lib\site-packages (from PyAutoGUI==0.9.52->-r requirements.txt (line 8)) (0.1.3) Requirement already satisfied: pymsgbox in c:\program files (x86)\python\lib\site-packages (from PyAutoGUI==0.9.52->-r requirements.txt (line 8)) (1.0.9) Requirement already satisfied: PyTweening>=1.0.1 in c:\program files (x86)\python\lib\site-packages (from PyAutoGUI==0.9.52->-r requirements.txt (line 8)) (1.0.3) Requirement already satisfied: pyscreeze>=0.1.21 in c:\program files (x86)\python\lib\site-packages (from PyAutoGUI==0.9.52->-r requirements.txt (line 8)) (0.1.26) Requirement already satisfied: python3-xlib>=0.15 in c:\program files (x86)\python\lib\site-packages (from pyclick==0.0.2->-r requirements.txt (line 14)) (0.15) Requirement already satisfied: xlib>=0.21 in c:\program files (x86)\python\lib\site-packages (from pyclick==0.0.2->-r requirements.txt (line 14)) (0.21) Requirement already satisfied: shiboken2==5.15.2 in c:\program files (x86)\python\lib\site-packages (from PySide2==5.15.2->-r requirements.txt (line 10)) (5.15.2) Requirement already satisfied: typing-extensions in c:\program files (x86)\python\lib\site-packages (from torch===1.7.1+cu110->-r requirements.txt (line 3)) (3.7.4.3) Requirement already satisfied: six>=1.10.0 in c:\program files (x86)\python\lib\site-packages (from tweepy==3.10.0->-r requirements.txt (line 13)) (1.15.0) Requirement already satisfied: requests-oauthlib>=0.7.0 in c:\program files (x86)\python\lib\site-packages (from tweepy==3.10.0->-r requirements.txt (line 13)) (1.3.0) Requirement already satisfied: requests[socks]>=2.11.1 in c:\program files (x86)\python\lib\site-packages (from tweepy==3.10.0->-r requirements.txt (line 13)) (2.25.1) Requirement already satisfied: pyrect in c:\program files (x86)\python\lib\site-packages (from pygetwindow>=0.0.5->PyAutoGUI==0.9.52->-r requirements.txt (line 8)) (0.1.4) Requirement already satisfied: oauthlib>=3.0.0 in c:\program files (x86)\python\lib\site-packages (from requests-oauthlib>=0.7.0->tweepy==3.10.0->-r requirements.txt (line 13)) (3.1.0) Requirement already satisfied: chardet<5,>=3.0.2 in c:\program files (x86)\python\lib\site-packages (from requests[socks]>=2.11.1->tweepy==3.10.0->-r requirements.txt (line 13)) (4.0.0) Requirement already satisfied: idna<3,>=2.5 in c:\program files (x86)\python\lib\site-packages (from requests[socks]>=2.11.1->tweepy==3.10.0->-r requirements.txt (line 13)) (2.10) Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\program files (x86)\python\lib\site-packages (from requests[socks]>=2.11.1->tweepy==3.10.0->-r requirements.txt (line 13)) (1.26.4) Requirement already satisfied: certifi>=2017.4.17 in c:\program files (x86)\python\lib\site-packages (from requests[socks]>=2.11.1->tweepy==3.10.0->-r requirements.txt (line 13)) (2020.12.5) Requirement already satisfied: PySocks!=1.5.7,>=1.5.6 in c:\program files (x86)\python\lib\site-packages (from requests[socks]>=2.11.1->tweepy==3.10.0->-r requirements.txt (line 13)) (1.7.1) Requirement already satisfied: pyperclip in c:\program files (x86)\python\lib\site-packages (from mouseinfo->PyAutoGUI==0.9.52->-r requirements.txt (line 8)) (1.8.2) Requirement already satisfied: networkx>=2.0 in c:\program files (x86)\python\lib\site-packages (from scikit-image->easyocr==1.2.1->-r requirements.txt (line 9)) (2.5.1) Requirement already satisfied: matplotlib!=3.0.0,>=2.0.0 in c:\program files (x86)\python\lib\site-packages (from scikit-image->easyocr==1.2.1->-r requirements.txt (line 9)) (3.4.1) Requirement already satisfied: imageio>=2.3.0 in c:\program files (x86)\python\lib\site-packages (from scikit-image->easyocr==1.2.1->-r requirements.txt (line 9)) (2.9.0) Requirement already satisfied: tifffile>=2019.7.26 in c:\program files (x86)\python\lib\site-packages (from scikit-image->easyocr==1.2.1->-r requirements.txt (line 9)) (2021.4.8) Requirement already satisfied: PyWavelets>=1.1.1 in c:\program files (x86)\python\lib\site-packages (from scikit-image->easyocr==1.2.1->-r requirements.txt (line 9)) (1.1.1) Requirement already satisfied: pyparsing>=2.2.1 in c:\program files (x86)\python\lib\site-packages (from matplotlib!=3.0.0,>=2.0.0->scikit-image->easyocr==1.2.1->-r requirements.txt (line 9)) (2.4.7) Requirement already satisfied: cycler>=0.10 in c:\program files (x86)\python\lib\site-packages (from matplotlib!=3.0.0,>=2.0.0->scikit-image->easyocr==1.2.1->-r requirements.txt (line 9)) (0.10.0) Requirement already satisfied: python-dateutil>=2.7 in c:\program files (x86)\python\lib\site-packages (from matplotlib!=3.0.0,>=2.0.0->scikit-image->easyocr==1.2.1->-r requirements.txt (line 9)) (2.8.1) Requirement already satisfied: kiwisolver>=1.0.1 in c:\program files (x86)\python\lib\site-packages (from matplotlib!=3.0.0,>=2.0.0->scikit-image->easyocr==1.2.1->-r requirements.txt (line 9)) (1.3.1) Requirement already satisfied: decorator<5,>=4.3 in c:\program files (x86)\python\lib\site-packages (from networkx>=2.0->scikit-image->easyocr==1.2.1->-r requirements.txt (line 9)) (4.4.2)

Anything dumb I'm doing again?

from granblue-automation-pyautogui.

steve1316 avatar steve1316 commented on June 15, 2024

What does the message log say from the bot GUI? You can copy and paste here or press the "Save Log" button towards the bottom of the Home page of the bot GUI.

from granblue-automation-pyautogui.

kookok0 avatar kookok0 commented on June 15, 2024

Hey. So I don't see any logs on the GUI. Tried saving a txt file as well, and it's empty. So here's what I see upon launching the bot GUI:

(I've also tested going through different areas of the settings menu, and it doesn't help. The bot just stays there. Figuered I just manually configure the window dimensiond and stuff?)
image

So I tried still running it further, and while it attempts to run a little, it stops on the Special Quest section of the game, and naturally, I do get errors. Lol. Here's the logs of that attempt:
testlog.txt

EDIT 2: Once I get this to work, I am just planning to farm Angel Halo VH. Is there a way to remove the "Number of items to farm" limit? I want the bot to just farm stuff for say xx number of hours.

from granblue-automation-pyautogui.

steve1316 avatar steve1316 commented on June 15, 2024

You can set a really high number like 999 for the "Amount of Items to farm" and then set the timer in the "HH:MM:SS" box on the Home page of the bot GUI so that the bot will continue to farm until it eventually reaches your set timer.

I cannot tell since the screenshot is cropped at the bottom, but is your window fully visible and not covered by some other window? Additionally, is the bottom bar present? I have my window positioned like this:

Screenshot 2021-04-11 014555

from granblue-automation-pyautogui.

kookok0 avatar kookok0 commented on June 15, 2024

Thanks a bunch. I don't know why it's suddenly working. Does my window need to be as large as possible, or will it work with it being small as well? And yes, the bottom bar is visible for me.

Also, for the item number, I fear that if I leave it for like 4h, the number of items condition might be met before the 4h timer, (since VH drops so many items at once, around 30-50 items per run), so I was looking to find where I can change the limiter to say 99999.

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.