GithubHelp home page GithubHelp logo

steve1316 / granblue-automation-android Goto Github PK

View Code? Open in Web Editor NEW
63.0 8.0 10.0 33.99 MB

Educational application written in Kotlin aimed at automating user-defined workflows for the mobile game, "Granblue Fantasy", using MediaProjection, AccessibilityService, and OpenCV.

Kotlin 59.47% JavaScript 0.18% Java 5.35% TypeScript 34.84% Ruby 0.03% Starlark 0.12%
bot android template automation ocr control script matching gbf fantasy

granblue-automation-android's Introduction

Granblue Automation For Android using MediaProjection, AccessibilityService, and OpenCV

GitHub commit activity GitHub last commit GitHub issues GitHub pull requests GitHub

Discord here: https://discord.gg/5Yv4kqjAbm

Python version here: https://github.com/steve1316/granblue-automation-pyautogui

Checkout Granblue Automation Statistics and its project over at https://github.com/steve1316/granblue-automation-statistics

This Android application written in Kotlin and UI in React Native is designed for educational research purposes on studying the Android architecture and using system services such as MediaProjection and AccessibilityService in conjunction with OpenCV to automate certain workflows via image template matching.

Screenshots are taken via the MediaProjection and OpenCV performs image processing. Gestures are performed by AccessibilityService in order to perform various actions such as tapping, swiping or scrolling the screen.

Table of Contents

Disclaimer

By downloading this application, you consent to your account potentially getting flagged for excessive usage and banned by KMR. I hold no responsibility for how much you use this application for. I trust you have the self-control necessary to use this application in reasonable bursts of time and to give yourself breaks in between.

Features

  • Customize what skills to use during each turn in a user-created plan. Users can select which plan to use when starting the bot.
  • GUI to keep track of bot logs, adjust settings, and select what combat script to use.
  • Farm user-defined amounts of specified materials from the supported Farming Modes.
  • Support for the following game modes:
    • Quest
    • Special
    • Coop
    • Raid
    • Event
    • Event (Token Drawboxes)
    • Rise of the Beasts
    • Guild Wars
    • Dread Barrage
    • Proving Grounds
    • Xeno Clash
    • Arcarum
  • Alert for when anti-bot CAPTCHA pops up.
  • Discord integration for informing you of status updates like loot drops via private DMs.

Requirements

  1. Android Device or Emulator (Nougat 7.0+)
    • APK available to download is for devices that support arm64-v8a and armeabi-v7a ABI. For devices that use a different ABI, follow the instructions below on how to build your own APK.
    • (Experimental) Tablets supported with minimum 1600 pixel width like the Galaxy Tab S7. If oriented portrait, Chrome needs to have Desktop Mode turned off and situated on the left half of the tablet. If landscape, Chrome needs to have Desktop Mode turned on and situated on the left half of the tablet.
    • Tested emulator was Bluestacks 5. Make sure to have the device be in Portrait Mode BEFORE starting the bot as emulators do not have a way to tell the bot that it rotated.
      • In addition, use SkyLeap instead of Google Chrome. Room codes are not able to be properly pasted into Google Chrome while Raid farming on emulators.
  2. Display is set to FHD (1080p). If not, then will need to adjust scales in the Extra Settings page to accommodate.
  3. Granblue Fantasy account
  4. Twitter Developer account (optional, needed to farm Raids)

Instructions

  1. Download the .apk file from the Releases section on the right and install it on your Android device. If you want to build the .apk yourself, do the following:
    1. Download and extract the project repository.
    2. Go to https://opencv.org/releases/ and download OpenCV 4.5.1 (make sure to download the Android version of OpenCV) and extract it.
    3. Create a new folder inside the root of the android folder named opencv and copy the extracted files in /OpenCV-android-sdk/sdk/ from Step 2 into it.
    4. Build the Javascript portion of the project by running yarn install in the root of the project folder as well.
    5. You can now build and run on your Android Device or create your own .apk file.
    6. You can set universalApk to true in the build.gradle for the application to build a one-for-all .apk file or adjust the include to customize which ABI(s) to build the .apk file for.
  2. Once the application has started, navigate to the Settings page to fill out the necessary sections. Additional settings may be found in the Extra Settings page.
  3. Once settings have been filled out, a snackbar will pop up indicating when the bot is ready to start.
  4. Now you can tap on the Start button back in the Home page. If this is the first time, it will ask you to give the application Overlay permission and then to enable its Accessibility Service.
  5. Once both are enabled, tapping on the Start button again will display an overlay button that you can move around the screen.
  6. Navigate yourself to Granblue Fantasy's main page and press the overlay button to start. It is recommended to move the overlay button to the bottom left corner (Google Chrome) or anywhere at the bottom of the screen (SkyLeap) such that it does not cover the Back button to avoid interruption.
  7. Whenever you want to stop while the bot is running, press the overlay button again to terminate the bot.
  8. You can get rid of the overlay button by tapping the Stop button back in the Home page or tapping the Stop button on the application's notification.

If you want to farm Raids, follow the instructions below:

  1. Make sure to run the application at least once. Check the application's files folder located inside internal storage's Android/data/com.steve1316.granblue_automation_android/ directory.
  2. Locate the file named settings.json file. For ease of use, send it to your computer.
  3. Now follow the instructions in this wiki page to obtain your own consumer keys and tokens to connect to the Twitter API.
  4. Once you have them, copy them into the respective fields inside settings.json using your preferred text editor. After that, move the file back to where it belonged on your Android device.

Instructions to set up Discord integration

  • Visit this wiki page for instructions on setting up Discord integration.

Technologies Used

  1. MediaProjection - Used to obtain full screenshots
  2. AccessibilityService - Used to dispatch gestures like tapping and scrolling
  3. OpenCV Android 4.5.1 - Used to template match
  4. Google Firebase ML Kit - Used for text detection
  5. Hoplite - Used to read settings.json for customized user settings
  6. Twitter4j - Used to connect to Twitter API to fetch room codes
  7. AppUpdater 2.7 - For automatically checking and notifying the user for new app updates
  8. React Native 0.64.3 - Used to display the UI and manage bot settings

granblue-automation-android's People

Contributors

steve1316 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

granblue-automation-android's Issues

Accessibility issue

Any idea why the app suddenly stop working randomly? The accessibility for the app keep malfunction after a certain time. Not sure if its my phone issue or the app.

Timeout

Is there a way to disable or extend the timeout while looking for raids? I'd like to keep running it in the background for the raids that aren't hosted as much.

Twitter api

266487381_1012770212640579_1480697141793643652_n

Issue with connecting through the twitter api in android. Any idea how to fix this?

Tested on python version and it works well.

android version not working

Screenshot_2021-09-04-06-26-20-83_6948ba2d6cf6960c4526b24e4863ae4e
the bot cant seems to work on my android device. using oppo a5 2020 running android 10 . tested on skyleap, chrome and apps. says it cant find the home button.

NM100

App works very well, but when you choose NM 100 it hangs at the selection screen.

Jittering Inputs

Hello! When using this on my mobile device, it seems as if the bot constantly performs meaningless taps near the center of the screen, which cause it to shift up and down and cause delays.

coop not working???

hi !! im using bluestacks 4 with gaa and for some reason its not letting me start with it? when i try to pick a coop battle to farm its just a blank pop up and i can't choose anything

image

Wrong mission name formatting

00:00:00 Device dimensions: 1920x1080
00:00:00 [FARM] Starting Farming Mode for Quest.
00:00:00 [FARM] Farming 5x Swirling Amber at The Fruit of Lumacie.
00:00:00 [QUEST] Now beginning process to navigate to the mission: The Fruit of Lumacie...
00:00:00 [INFO] Bot is already at the Home screen.
00:00:00 [QUEST] Bot is currently on the correct island.
00:00:04 [WARNING] Failed to confirm the bot location at YOU_RETREATED_FROM_THE_RAID_BATTLE.
00:00:06 [QUEST] Moving to Chapter 13 (39/52) node...
00:00:07 [QUEST] Now bringing up the Summon Selection screen for "The Fruit of Lumacie"...
00:00:09 GAA encountered an Exception: java.io.FileNotFoundException: buttons/the_fruit_of_lumacie.webp
    at android.content.res.AssetManager.nativeOpenAsset(Native Method)
    at android.content.res.AssetManager.open(AssetManager.java:752)
    at android.content.res.AssetManager.open(AssetManager.java:729)
    at com.steve1316.granblue_automation_android.utils.ImageUtils.getBitmaps(ImageUtils.kt:433)
    at com.steve1316.granblue_automation_android.utils.ImageUtils.findButton(ImageUtils.kt:582)
    at com.steve1316.granblue_automation_android.utils.ImageUtils.findButton$default(ImageUtils.kt:556)
    at com.steve1316.granblue_automation_android.bot.Game.findAndClickButton(Game.kt:257)
    at com.steve1316.granblue_automation_android.bot.Game.findAndClickButton$default(Game.kt:203)
    at com.steve1316.granblue_automation_android.bot.game_modes.Quest.navigate(Quest.kt:733)
    at com.steve1316.granblue_automation_android.bot.game_modes.Quest.start(Quest.kt:758)
    at com.steve1316.granblue_automation_android.bot.Game.startFarmingMode(Game.kt:1107)
    at com.steve1316.granblue_automation_android.utils.BotService$onCreate$1$onTouch$1.invoke(BotService.kt:132)
    at com.steve1316.granblue_automation_android.utils.BotService$onCreate$1$onTouch$1.invoke(BotService.kt:110)
    at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:30) 

Bring over changes from GA v1.9.0

Port over the following changes from the PC version of v1.9.0 to this Android version:


steve1316/granblue-automation-pyautogui#141 - Add support for the remaining leftover high difficulty raids.

steve1316/granblue-automation-pyautogui#142 - Fix Meat Farming navigation due to new UI changes.

steve1316/granblue-automation-pyautogui#143 - Adjust scrolling behavior when looking for Quest mission on 1080p screens.

Gold chest opening for replicard sandbox by @KoiKomei in steve1316/granblue-automation-pyautogui#139

Screen with height of 1920 could not see the second event banner

Description

Reposting for @plisquin as the issue was originally posted in the wrong repo.

Screen at 1920 height cannot see the second event banner when there are two events happening simultaneously.

00:00:00 [INFO] Device dimensions: 1920x1080

00:00:00 ####################
00:00:00 ####################
00:00:00 [FARM] Starting Farming Mode for Proving Grounds.
00:00:00 [FARM] Farming 300x Repeated Runs at Extreme.
00:00:00 ####################
00:00:00 ####################

00:00:00 [PROVING.GROUNDS] Now beginning process to navigate to the mission: Extreme...

00:00:00 [DEBUG] Starting process to find the HOME header image...
00:00:00 [DEBUG] Match found with 0.983 >= 0.8 at Point {20.0, 57.0} using scale: 1.0.
00:00:00 [DEBUG] Current location confirmed to be at HOME.
00:00:00 [INFO] Bot is already at the Home screen.
00:00:00 [DEBUG] Now attempting to find and click the "home_menu" button.

00:00:00 [DEBUG] Starting process to find the HOME_MENU button image...
00:00:00 [DEBUG] Match found with 0.91 >= 0.8 at Point {931.0, 39.0} using scale: 1.0.
00:00:00 [DEBUG] Found the HOME_MENU at {1004.0, 90.0}.

00:00:01 [DEBUG] Starting process to find all EVENT_BANNER images...
00:00:02 [DEBUG] Match found with 0.869 >= 0.8 at Point {146.0, 1697.0} with scale: 1.0.
00:00:02 [DEBUG] Match not found with 0.6641741394996643 < 0.8 at Point {146.0, 1696.0} with scale: 1.0.
00:00:02 [DEBUG] Found match locations for event_banner: [{187.0, 1460.0}, {192.0, 1715.0}].

00:00:05 [DEBUG] Starting process to find the PROVING_GROUNDS header image...
00:00:05 [DEBUG] Match not found with 0.381 not >= 0.8 at Point {382.0, 46.0} using scale 1.0.
00:00:05 [DEBUG] Source bitmap is null. Moving the screen a bit and waiting a second before trying again.
00:00:07 [DEBUG] Match not found with 0.381 not >= 0.8 at Point {382.0, 46.0} using scale 1.0.
00:00:08 [DEBUG] Match not found with 0.381 not >= 0.8 at Point {382.0, 46.0} using scale 1.0.
00:00:08 [DEBUG] Source bitmap is null. Moving the screen a bit and waiting a second before trying again.
00:00:09 [DEBUG] Match not found with 0.381 not >= 0.8 at Point {382.0, 46.0} using scale 1.0.
00:00:10 [DEBUG] Match not found with 0.381 not >= 0.8 at Point {382.0, 46.0} using scale 1.0.
00:00:10 [WARNING] Failed to confirm the bot location at PROVING_GROUNDS.
00:00:10 GAA encountered an Exception: com.steve1316.granblue_automation_android.bot.game_modes.ProvingGrounds$ProvingGroundsException: Failed to arrive at Proving Grounds page.
at com.steve1316.granblue_automation_android.bot.game_modes.ProvingGrounds.navigate(ProvingGrounds.kt:55)
at com.steve1316.granblue_automation_android.bot.game_modes.ProvingGrounds.start(ProvingGrounds.kt:68)
at com.steve1316.granblue_automation_android.bot.Game.start(Game.kt:1113)
at com.steve1316.granblue_automation_android.StartModule.onStartEvent(StartModule.java:342)
at java.lang.reflect.Method.invoke(Native Method)
at org.greenrobot.eventbus.EventBus.invokeSubscriber(EventBus.java:517)
at org.greenrobot.eventbus.EventBus.postToSubscription(EventBus.java:440)
at org.greenrobot.eventbus.EventBus.postSingleEventForEventType(EventBus.java:421)
at org.greenrobot.eventbus.EventBus.postSingleEvent(EventBus.java:394)
at org.greenrobot.eventbus.EventBus.post(EventBus.java:275)
at org.greenrobot.eventbus.EventBus.postSticky(EventBus.java:316)
at com.steve1316.automation_library.utils.BotService$onCreate$1$onTouch$1.invoke(BotService.kt:136)
at com.steve1316.automation_library.utils.BotService$onCreate$1$onTouch$1.invoke(BotService.kt:120)
at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:30)

HD-Player_Rx87RdPVl9

Button not found

It seems it has troubled finding some buttons like full auto but it works with semi on normal special quest like deluge trial

Screenshot_20210826-131510
Screenshot_20210826-132537

I'm on android 10
I'm using skyleap browser
I tried both standard and lite graphical settings

I'll try on chrome later

Bot is not clicking the "Auto" button after attacking

Not sure why, I just click start and open skyleap, all works fine and it even click the "Attack" Button but not the "Auto" button
but the Overlay color still red so if I finish the battling myself it will try to replay the battle

EDIT:
I'm using bluestack 5 in case you wondering

image

Bot stopping after 1 run on VH Event Raid

Provided the log of it. Hope it helps. Thanks

00:00:00 ####################
00:00:00 ####################
00:00:00 [FARM] Starting Farming Mode for Event (Token Drawboxes).
00:00:00 [FARM] Farming 30x Repeated Runs at VH Event Raid.
00:00:00 ####################
00:00:00 ####################

00:00:00 [EVENT.TOKEN.DRAWBOXES] Now beginning process to navigate to the mission: VH Event Raid...
00:00:03 [WARNING] Failed to confirm the bot location at HOME.
00:00:03 [INFO] Moving back to the Home screen...

00:00:09 [INFO] Screen Width: 1080, Screen Height: 2340, Screen DPI: 420
00:00:14 [WARNING] Failed to find the CLOSE button.
00:00:30 [WARNING] Failed to confirm the bot location at EVENT_DAILY_MISSIONS.
00:00:32 [EVENT.TOKEN.DRAWBOXES] Now hosting Event Raid...
00:00:42 [WARNING] Failed to confirm the bot location at NOT_ENOUGH_AP.

00:00:42 [INFO] AP auto-restore check passed. Continuing to Party Selection...
00:00:42 Summon list: [huanglong, qilin]
00:00:42 Summon Element list: [misc, misc]
00:00:49 [WARNING] Failed to confirm the bot location at CAPTCHA.

00:00:49 [CAPTCHA] CAPTCHA not detected.
00:00:59 [SUCCESS] Selected Group and Party successfully.

00:01:04 ####################
00:01:04 ####################
00:01:04 [COMBAT] Starting Combat Mode.
00:01:04 ####################
00:01:04 ####################
00:01:11 [COMBAT] Bot has processed the entire combat script. Automatically attacking until the battle ends or Party wipes.
00:01:11 [COMBAT] Bot will now attempt to enable Full Auto...
00:01:14 [WARNING] Failed to find the FULL_AUTO button.
00:01:14 [COMBAT] Bot failed to find the "Full Auto" button. Falling back to Semi Auto...
00:01:14 [COMBAT] Bot will now attempt to enable Semi Auto...
00:01:16 [WARNING] Failed to find the SEMI_AUTO_ENABLED button.
00:01:21 [COMBAT] Semi Auto is now enabled.
00:01:33 [COMBAT] Reloading now.
00:01:38 [COMBAT] Waiting for attack to end...

00:01:45 ####################
00:01:45 ####################
00:01:45 [COMBAT] Ending Combat Mode.
00:01:45 ####################
00:01:45 ####################
00:01:46 [WARNING] Failed to confirm the bot location at LOOT_COLLECTED.
00:01:52 [WARNING] Failed to confirm the bot location at LOOT_COLLECTED.

00:01:57 [INFO] Detecting if any user-specified loot dropped this run...

00:01:57 ********************
00:01:57 ********************
00:01:57 [INFO] Farming Mode: Event (Token Drawboxes)
00:01:57 [INFO] Mission: VH Event Raid
00:01:57 [INFO] Summons: [Huanglong, Qilin]
00:01:57 [INFO] # of runs completed: 1 / 30
00:01:57 ********************
00:01:57 ********************

00:01:57 [INFO] Resting period complete.

00:01:58 [INFO] Now beginning process to check for popups...
00:02:00 GAA encountered an Exception: java.io.FileNotFoundException: headers/event_claim_loot_header.webp
	at android.content.res.AssetManager.nativeOpenAsset(Native Method)
	at android.content.res.AssetManager.open(AssetManager.java:881)
	at android.content.res.AssetManager.open(AssetManager.java:858)
	at com.steve1316.granblue_automation_android.utils.ImageUtils.getBitmaps(ImageUtils.kt:433)
	at com.steve1316.granblue_automation_android.utils.ImageUtils.confirmLocation(ImageUtils.kt:665)
	at com.steve1316.granblue_automation_android.utils.ImageUtils.confirmLocation$default(ImageUtils.kt:645)
	at com.steve1316.granblue_automation_android.bot.game_modes.Event.checkEventNightmare(Event.kt:17)
	at com.steve1316.granblue_automation_android.bot.Game.checkForPopups(Game.kt:873)
	at com.steve1316.granblue_automation_android.bot.game_modes.Event.start(Event.kt:294)
	at com.steve1316.granblue_automation_android.bot.Game.startFarmingMode(Game.kt:1078)
	at com.steve1316.granblue_automation_android.utils.BotService$onCreate$1$onTouch$1.invoke(BotService.kt:132)
	at com.steve1316.granblue_automation_android.utils.BotService$onCreate$1$onTouch$1.invoke(BotService.kt:110)
	at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:30)


Now saving Message Log to file named "log @ 2022-10-02 12:06:16" at /storage/emulated/0/Android/data/com.steve1316.granblue_automation_android/files/logs

java.lang exeption

You really need to make a video on how to use this thing, i'm still not clear on how you create combat scripts (n/m i found the wiki)
i can't seem to get it running no matter what i try, i tried running it both on the chrome browser and the skyleap app, also tried both APK's just in case

GAA

Scripts?

Scripts seem to work fine at first, but when the raid finishes the bot crashes.

Here is a screenshot of the error i get. Also one from the script i'm using. Don't know if error is on my part.
Screenshot_20210518-232844_GAA
Screenshot_20210518-233113_Cx File Explorer

Accessibility Service Error

I can't open the app because it says an app obstructed the permission settings, I tried turning off any overlay permissions and floating window apps but none seemed to work, I'm using vivo y91 and I don't know what's the problem

Screenshot_20220408_210642

back again! bluestacks not working??

image

hi ! im using bluestacks 4 and the bot doesn't seem to be working? whenever i try to use it it just moves gbf around and then crashes. before it was because of the scale which i changed from 1.0 to 0.59 like it recommended but now it shows the error in the picture which also happened before i turned on the option to enable home screen test

also it freezes completely at start on bluestacks 5 </3

Bot crash when pressing Stop button

Possibly found the reason why the bot sometimes crashes when the Stop button is pressed using the Flipper debugging tool. Also need to implement solution to the framework as well.

FATAL EXCEPTION: main

java.util.ConcurrentModificationException

FATAL EXCEPTION: main
Process: com.steve1316.granblue_automation_android, PID: 16939
java.util.ConcurrentModificationException
	at java.util.ArrayList$Itr.next(ArrayList.java:860)
	at com.steve1316.granblue_automation_android.utils.MessageLog$Companion.saveLogToFile(MessageLog.kt:92)
	at com.steve1316.granblue_automation_android.utils.BotService.performCleanUp(BotService.kt:234)
	at com.steve1316.granblue_automation_android.utils.BotService.performCleanUp$default(BotService.kt:230)
	at com.steve1316.granblue_automation_android.utils.BotService$onCreate$1.onTouch(BotService.kt:182)
	at android.view.View.dispatchTouchEvent(View.java:15072)
	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3923)
	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:3597)
	at android.view.View.dispatchPointerEvent(View.java:15335)
	at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:7680)
	at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:7453)
	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:6788)
	at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:6845)
	at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:6811)
	at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:7009)
	at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:6819)
	at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:7066)
	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:6792)
	at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:6845)
	at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:6811)
	at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:6819)
	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:6792)
	at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:10220)
	at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:10068)
	at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:10024)
	at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:10352)
	at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:259)
	at android.os.MessageQueue.nativePollOnce(Native Method)
	at android.os.MessageQueue.next(MessageQueue.java:335)
	at android.os.Looper.loopOnce(Looper.java:186)
	at android.os.Looper.loop(Looper.java:313)
	at android.app.ActivityThread.main(ActivityThread.java:8641)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:567)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1133)

Bot failed navigating to Zone Goliath on Arcanum Sanbox

Here's the debug log

00:00:00 ####################
00:00:00 ####################
00:00:00 [FARM] Starting Farming Mode for Arcarum Sandbox.

00:00:00 [FARM] Farming 999x Earth Verum Proof at Vestige of Truth.
00:00:00 ####################
00:00:00 ####################

00:00:00 [ARCARUM.SANDBOX] Now beginning navigation to Zone Goliath...

00:00:00 [DEBUG] Starting process to find the HOME header image...
00:00:01 [DEBUG] Match found with 0.991 >= 0.8 at Point {20.0, 103.0} using scale: 1.0.
00:00:01 [DEBUG] Current location confirmed to be at HOME.
00:00:01 [INFO] Bot is already at the Home screen.

00:00:01 [DEBUG] Starting process to find the HOME_MENU button image...
00:00:03 [DEBUG] Match found with 0.92 >= 0.8 at Point {931.0, 84.0} using scale: 1.0.
00:00:03 [DEBUG] Found the HOME_MENU at {1004.0, 135.0}.
00:00:03 [DEBUG] Now attempting to find and click the "arcarum_banner" button.

00:00:03 [DEBUG] Starting process to find the ARCARUM_BANNER button image...
00:00:05 [DEBUG] Match not found with 0.14 not >= 0.8 at Point {445.0, 1879.0} using scale 1.0.
00:00:05 [WARNING] Failed to find the ARCARUM_BANNER button.
00:00:06 [DEBUG] Now attempting to find and click the "arcarum_banner" button.

00:00:06 [DEBUG] Starting process to find the ARCARUM_BANNER button image...
00:00:07 [DEBUG] Match found with 0.987 >= 0.8 at Point {330.0, 1825.0} using scale: 1.0.
00:00:07 [DEBUG] Found the ARCARUM_BANNER at {542.0, 1856.0}.
00:00:07 [DEBUG] Adding an additional delay of 0.956s...

00:00:10 [DEBUG] Starting process to find the ARCARUM_SANDBOX header image...
00:00:10 [DEBUG] Match not found with 0.352 not >= 0.8 at Point {537.0, 2039.0} using scale 1.0.
00:00:11 [DEBUG] Match not found with 0.352 not >= 0.8 at Point {537.0, 2039.0} using scale 1.0.
00:00:12 [DEBUG] Match found with 0.998 >= 0.8 at Point {369.0, 96.0} using scale: 1.0.
00:00:12 [DEBUG] Current location confirmed to be at ARCARUM_SANDBOX.
00:00:14 [DEBUG] Now attempting to find and click the "arcarum_sandbox_zone_goliath" button.

00:00:14 [DEBUG] Starting process to find the ARCARUM_SANDBOX_ZONE_GOLIATH button image...
00:00:16 [DEBUG] Match not found with 0.79 not >= 0.8 at Point {42.0, 1170.0} using scale 1.0.
00:00:19 [DEBUG] Match not found with 0.79 not >= 0.8 at Point {42.0, 1173.0} using scale 1.0.
00:00:20 [DEBUG] Match not found with 0.79 not >= 0.8 at Point {42.0, 1173.0} using scale 1.0.
00:00:22 [DEBUG] Match not found with 0.79 not >= 0.8 at Point {42.0, 1173.0} using scale 1.0.
00:00:24 [DEBUG] Match not found with 0.79 not >= 0.8 at Point {42.0, 1173.0} using scale 1.0.
00:00:24 [WARNING] Failed to find the ARCARUM_SANDBOX_ZONE_GOLIATH button.
00:00:26 [ARCARUM.SANDBOX] Now determining if bot is starting all the way at the left edge of the Zone...
00:00:26 [DEBUG] Now attempting to find and click the "arcarum_sandbox_left_arrow" button.

00:00:26 [DEBUG] Starting process to find the ARCARUM_SANDBOX_LEFT_ARROW button image...
00:00:28 [DEBUG] Match not found with 0.619 not >= 0.8 at Point {440.0, 1289.0} using scale 1.0.
00:00:28 [ARCARUM.SANDBOX] Left edge of the Zone has been reached.
00:00:28 [ARCARUM.SANDBOX] Now beginning navigation to Vestige of Truth inside Zone Goliath...
00:00:28 [DEBUG] Now attempting to find and click the "arcarum_sandbox_right_arrow" button.

00:00:28 [DEBUG] Starting process to find the ARCARUM_SANDBOX_RIGHT_ARROW button image...
00:00:29 [DEBUG] Match not found with 0.653 not >= 0.8 at Point {473.0, 742.0} using scale 1.0.
00:00:31 [DEBUG] Match not found with 0.653 not >= 0.8 at Point {473.0, 742.0} using scale 1.0.
00:00:32 [DEBUG] Match not found with 0.653 not >= 0.8 at Point {473.0, 742.0} using scale 1.0.
00:00:34 [DEBUG] Match not found with 0.653 not >= 0.8 at Point {473.0, 742.0} using scale 1.0.
00:00:36 [DEBUG] Match not found with 0.653 not >= 0.8 at Point {473.0, 742.0} using scale 1.0.
00:00:36 [WARNING] Failed to find the ARCARUM_SANDBOX_RIGHT_ARROW button.
00:00:37 [DEBUG] Now attempting to find and click the "arcarum_sandbox_right_arrow" button.

00:00:37 [DEBUG] Starting process to find the ARCARUM_SANDBOX_RIGHT_ARROW button image...
00:00:38 [DEBUG] Match not found with 0.653 not >= 0.8 at Point {473.0, 742.0} using scale 1.0.
00:00:40 [DEBUG] Match not found with 0.653 not >= 0.8 at Point {473.0, 742.0} using scale 1.0.
00:00:42 [DEBUG] Match not found with 0.653 not >= 0.8 at Point {473.0, 704.0} using scale 1.0.
00:00:44 [DEBUG] Match not found with 0.653 not >= 0.8 at Point {473.0, 704.0} using scale 1.0.
00:00:45 [DEBUG] Match not found with 0.653 not >= 0.8 at Point {473.0, 704.0} using scale 1.0.
00:00:45 [WARNING] Failed to find the ARCARUM_SANDBOX_RIGHT_ARROW button.

00:00:46 [DEBUG] Starting process to find the HOME_MENU button image...
00:00:48 [DEBUG] Match not found with 0.495 not >= 0.8 at Point {931.0, 49.0} using scale 1.0.
00:00:49 [DEBUG] Match not found with 0.495 not >= 0.8 at Point {931.0, 49.0} using scale 1.0.
00:00:52 [DEBUG] Match not found with 0.54 not >= 0.8 at Point {931.0, 64.0} using scale 1.0.
00:00:54 [DEBUG] Match not found with 0.566 not >= 0.8 at Point {931.0, 64.0} using scale 1.0.
00:00:56 [DEBUG] Match not found with 0.663 not >= 0.8 at Point {931.0, 75.0} using scale 1.0.
00:00:56 [WARNING] Failed to find the HOME_MENU button.
00:00:56 GAA encountered an Exception: java.lang.NullPointerException
at com.steve1316.granblue_automation_android.bot.game_modes.ArcarumSandbox.navigateToM>ission(ArcarumSandbox.kt:95)

at com.steve1316.granblue_automation_android.bot.game_modes.ArcarumSandbox.navigateToMission$default(ArcarumSandbox.kt:75)
at
com.steve1316.granblue_automation_android.bot.game_modes.ArcarumSandbox.navigateToZone(ArcarumSandbox.kt:197)
at com.steve1316.granblue_automation_android.bot.game_modes.ArcarumSandbox.start(ArcarumSandbox.kt:226)
at com.steve1316.granblue_automation_android.b>ot.Game.startFarmingMode(Game.kt:1095)
at com.steve1316.granblue_automation_android.utils.BotService$onCreate$1$onTouch$1.invoke(BotService.kt:132)
at com.steve1316.granblue_automation_android.utils.BotService$onCreate$1$onTouch$1.invoke(BotService.kt:110)
at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:30)

Now saving Message Log to file named "log @ 2022-02-14 20:17:11" at /storage/emulated/0/Android/data/com.steve1316.granblue_automation_android/files/logs

GW not working

Hi, it seems like the app isn't working on current gw possibly because they change the system from using meat to bambo
Screenshot_20220115_211720_6948ba2d6cf6960c4526b24e4863ae4e

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.