[ Azur Lane ] Bot to Farm 3-4, Commissions&Missions and more
Dec 13, 2018 3:14:01 GMT
majinek, Exilereven, and 11 more like this
Post by zouna on Dec 13, 2018 3:14:01 GMT
Hey community,
I wanted to share my script for the tedious grind for Akagi and Kaga in AzurLane. This has some features which will help you farm the 3-4 grid while doing something else. Fully afk.
I will continue working on it and add more supported grids and features to it. Let me know what you want the most! If you enjoy the bot leave a like up there!
You need to make some things sure before you can use it though:
1. Have a resolution of 1280x720
2. Have 2 strong fleets that can carry you through. Second fleet will clear 3 mobs then the first fleet will aim for the boss.
3. Install daemon from here ankulua.boards.net/thread/3/daemon-installation
4. Have AnkuLua installed, duh...
Recommended things:
-Make sure your dock is as empty as it can get, because the sort process will increase the run time alot before each fight.
-Have 2 fleets with good evasion and low cost (not like in my demo)
-Try running it on pc with an android emulator. Just make sure you give it enough resources to run smoothly. I personally use Nox App Player on high to run the script.
[STATUS]
AzureLaneScriptBETA v.1.6.0 - Has issues but works.
[WORKING ON]
[UPDATES]
26.03.2019 - v.1.6.0 beta update. Item pickups are optional now.
19.02.2019 - v.1.5.9 beta update. Added clear all mobs to auto fighter and semi clear all mobs to 3-4(will clear all mobs with mob clearing fleet)
15.01.2019 - v.1.5.7 beta is now stable. Update official version to it.
14.01.2019 - v.1.5.7 beta update. Fixed sort excess bug, removed status box (blocked important parts of the screen) (ಥ﹏ಥ)
11.01.2019 - v.1.5.6 beta update. Fixed sort excess over the limit bug, fixed commission collecting bug
11.01.2019 - v.1.5.5 beta update. Added more settings, "status" box and "working on" box
05.01.2019 - v.1.5.1 beta update. Added urgent commissions option.
05.01.2019 - v.1.5 beta update. Added fleet selector
04.01.2019 - v.1.4.9 added run counter, added finish detection(pro2 only)
04.01.2019 - v.1.4.8 beta update. Rewrote 3-4 behaviour. Pretty fast and stable now. Added debugger function for those who want to help me even further!
04.01.2019 - v.1.4.6 beta update. Added support for items in the anti stuck function. Added a check for sort excess in dailies
03.01.2019 - v.1.4.5 beta update. Changed touch events to always to the same action EACH TIME. Added anti disconnected function for the commissions and mission collector
02.01.2019 - v.1.4.3 beta update. Fixed 3-4 boss encounter missbehaviour. Fixed item pickup issue.
01.01.2019 - v.1.4.2 beta live. Fixed several problems, random fleet switch should be fixed.
29.12.2018 - v.1.4 beta live! need testers for following features: new anti stuck(in autoFight mode), auto retry if your fleet looses a fight, item pickups... boi that's a big update! (゜Д゜*)
28.12.2018 - v.1.3 beta update, added new search pattern to the autofighter, should now be able to find most/all enemies or the boss. I need lot's of testing and bug reports for this one!
28.12.2018 - v.1.2.81 beta update, changed dragDrop to manualTouch function
26.12.2018 - v.1.2.7 beta update, added number input to determin the cooldown on collecting the commissions(in runs, example: 6 runs = 6 maps cleared before checking again)
25.12.2018 - v.1.2.6 stable, fixed some click and timing issues.
23.12.2018 - v.1.2.5 stable, added settings menu to let the user choose to use highlights
21.12.2018 - v.1.2 stable, way better than before. I'm a bit proud of myself (¯﹃¯*)
21.12.2018 - v.1.1 stable, added end condition to AutoFight mode, select the percentage on a unfinished map and try to click into the center of the orange circle when your screen turns yellow
20.12.2018 - v.1.0 stable
20.12.2018 - Added option to activate/deactivate the use of oil costing commissions
19.12.2018 - v.0.9 stable
19.12.2018 - Added map selector for auto_fighter script(simply go the attack screen and start it, when the screen turn yellow select your map, that's it)
18.12.2018 - Auto pvp will now select the weakest enemy to fight, changed switch icon to make it more reliable
17.12.2018 - Added new feature: Auto pvp (goes to pvp and fights until you're out of exercises rounds and will deactivate the feature when done)
17.12.2018 - Beta now is now stable with 10+ runs.
16.12.2018 - Added version number to the dialog
16.12.2018 - Changed 3-4 farm and auto_fighter to radio buttons, due to the incompatibility
16.12.2018 - Increased performance a bit, yay! reduced 6 min best run to 4:30 ^_^, beta is now stable (10+ runs no problems on 3-4)
16.12.2018 - Bot can now resume the battle field if it's stopped by the user or crashes, simply go to the grid (if 3-4 farm is on) or into the battlefield and restart the bot, added BETA access(might be less stable, but often new features or performance increase)
15.12.2018 - Added select features, which allows you to select the features when starting the bot
[FIXES]
20.02.2019 - Fixed 3-4 mode bug
19.02.2019 - Fixed 3-4.png due to font size change in the game
14.01.2019 - Fixed sort excess bug caused by status box
11.01.2019 - Fixed messed up status box and working on box
11.01.2019 - Fixed commission problems with low level not enough oil etc... v.1.5.5, fixed sort excess problem in v.1.5.6
08.01.2019 - Fixed images for third and fourth fleet
07.01.2019 - Fixed urgent commissions position 1
04.01.2019 - Fixed urgent commissions position 3
04.01.2019 - Fixed anti stuck search region, Fixed an issue with getting the last position of an know enemy.
02.01.2019 - Fixed itempickup behaviour
02.01.2019 - Fixed the way the bot is going on about to get to the boss in 3-4.
01.01.2019 - Fixed wrong use of getY() in the stuck function.
30.12.2018 - Fixed 3-4 farm wrong behaviour
29.12.2018 - Fixed new scan function clicking on map when enemy spawned in upper left corner
28.12.2018 - Fixed dragDrop error on android 7.x, increased performance by reducing delays
27.12.2018 - Fixed AutoFight switch condition.
25.12.2018 - Commission collector fix. Small performance improvements.
21.12.2018 - Removed highlights to fix the slowdown of the ankulua app. Way more stable now. I love it. (´・ω・`)
21.12.2018 - Fixed sort behaviour... again, I swear! I really broke that one with my previous "fix" haha
20.12.2018 - Fixed sort behaviour
20.12.2018 - Fixed behaviour of commission clearer when you have no commissions running
19.12.2018 - Fixed the Go button on commission, should now function as before
19.12.2018 - Confirm button on new ship screen will now be found and clicked
18.12.2018 - Fixed switch timing issues and made the calls more reliable, sort had a confirm button error, changed it a bit
17.12.2018 - Finally got to fix the confirm button bug where he sometimes just didn't click it, HOW THE HELL DID HE MISTAKE COMMISSION AND CONFIRM?! similarity rate was at 0.8... and the colors were different... oof no idea how why it recognized it as the confirm button but I got it working now
16.12.2018 - Fixed commission and mission collector behaviour when your storage is full and made it more compatible with auto_fighter
16.12.2018 - Fixed stuck2 loop into clearBlockers <- how the hell did I even find that?!
16.12.2018 - Timeout problem on victory screen has been fixed
14.12.2018 - Fixed missbehaviour of commission clearer, added auto_fight feature
13.12.2018 - Fixed missbehaviour of 3-4 farm, fight() function didnt check correctly for beeing stuck()
[KNOWN ISSUES]
-emergency repait kit screen has no protocol
-bot recognizes something on the screen as the boss icon...
[FEATURES]
-3-4Farm:
the bread and butter of this script, just start it and let the script take over
-AutoFight:
with map selector and endless option, simply click on the map percentage(center of the orange circle), super wonky, you better check on it regulary
-Dock sort
removes low rarity excess first
-New ship lock:
recognizes if you got a new ship and will lock it for you
-Auto commissions:
collecting and starting new ones (with choice whether you want to use those commissions that cost oil or not...)
-Auto mission collecting
-Auto pvp/exercises:
will choose the enemy with the lowest total power
-Auto daily:
hard and medium
-Item pickup
-Auto retry if stuck or defeated
[TODO]
Things I will work on next:
-auto commision
-auto collect mission rewards
-auto pvp
-auto daily
-empty commissions protocol
-commission clearer, option to not go for the oil costing commissions
-map selector for auto_fighter script
-new recenter function to work better with autoFight mode
-add option to let the user decide if the bot should retry or wait for user input if it gets stuck
-items pickup
-new anti-stuck
-fleet selector
-urgent commissions first
-commissions cant start when lvl or oil is not enough
-defeat protocol
-Item pick up option
-Repair item pickup fix.
-someway to handle ambushes better
-SecondFleet.png not found error
[DEMO]
Bot in full action v1.2.6:
AutoFight Tutorial:
If you encounter a bug or if the bot does something it propably shouldn't have, please comment it below with the following format:
[BUG]
Title: Super short summary of the bug (Fleet 2 got stuck in upper left corner)
Version: v.X.X
Description:
Which mode did you run, which features, can you reproduce it and if you do can you screenshot or record it?
--img-- --video--
[DOWNLOAD]
DownloadBETA v.1.6.0
I wanted to share my script for the tedious grind for Akagi and Kaga in AzurLane. This has some features which will help you farm the 3-4 grid while doing something else. Fully afk.
I will continue working on it and add more supported grids and features to it. Let me know what you want the most! If you enjoy the bot leave a like up there!
You need to make some things sure before you can use it though:
1. Have a resolution of 1280x720
2. Have 2 strong fleets that can carry you through. Second fleet will clear 3 mobs then the first fleet will aim for the boss.
3. Install daemon from here ankulua.boards.net/thread/3/daemon-installation
4. Have AnkuLua installed, duh...
Recommended things:
-Make sure your dock is as empty as it can get, because the sort process will increase the run time alot before each fight.
-Have 2 fleets with good evasion and low cost (not like in my demo)
-Try running it on pc with an android emulator. Just make sure you give it enough resources to run smoothly. I personally use Nox App Player on high to run the script.
[STATUS]
AzureLaneScriptBETA v.1.6.0 - Has issues but works.
[WORKING ON]
[UPDATES]
26.03.2019 - v.1.6.0 beta update. Item pickups are optional now.
19.02.2019 - v.1.5.9 beta update. Added clear all mobs to auto fighter and semi clear all mobs to 3-4(will clear all mobs with mob clearing fleet)
15.01.2019 - v.1.5.7 beta is now stable. Update official version to it.
14.01.2019 - v.1.5.7 beta update. Fixed sort excess bug, removed status box (blocked important parts of the screen) (ಥ﹏ಥ)
11.01.2019 - v.1.5.6 beta update. Fixed sort excess over the limit bug, fixed commission collecting bug
11.01.2019 - v.1.5.5 beta update. Added more settings, "status" box and "working on" box
05.01.2019 - v.1.5.1 beta update. Added urgent commissions option.
05.01.2019 - v.1.5 beta update. Added fleet selector
04.01.2019 - v.1.4.9 added run counter, added finish detection(pro2 only)
04.01.2019 - v.1.4.8 beta update. Rewrote 3-4 behaviour. Pretty fast and stable now. Added debugger function for those who want to help me even further!
04.01.2019 - v.1.4.6 beta update. Added support for items in the anti stuck function. Added a check for sort excess in dailies
03.01.2019 - v.1.4.5 beta update. Changed touch events to always to the same action EACH TIME. Added anti disconnected function for the commissions and mission collector
02.01.2019 - v.1.4.3 beta update. Fixed 3-4 boss encounter missbehaviour. Fixed item pickup issue.
01.01.2019 - v.1.4.2 beta live. Fixed several problems, random fleet switch should be fixed.
29.12.2018 - v.1.4 beta live! need testers for following features: new anti stuck(in autoFight mode), auto retry if your fleet looses a fight, item pickups... boi that's a big update! (゜Д゜*)
28.12.2018 - v.1.3 beta update, added new search pattern to the autofighter, should now be able to find most/all enemies or the boss. I need lot's of testing and bug reports for this one!
28.12.2018 - v.1.2.81 beta update, changed dragDrop to manualTouch function
26.12.2018 - v.1.2.7 beta update, added number input to determin the cooldown on collecting the commissions(in runs, example: 6 runs = 6 maps cleared before checking again)
25.12.2018 - v.1.2.6 stable, fixed some click and timing issues.
23.12.2018 - v.1.2.5 stable, added settings menu to let the user choose to use highlights
21.12.2018 - v.1.2 stable, way better than before. I'm a bit proud of myself (¯﹃¯*)
21.12.2018 - v.1.1 stable, added end condition to AutoFight mode, select the percentage on a unfinished map and try to click into the center of the orange circle when your screen turns yellow
20.12.2018 - v.1.0 stable
20.12.2018 - Added option to activate/deactivate the use of oil costing commissions
19.12.2018 - v.0.9 stable
19.12.2018 - Added map selector for auto_fighter script(simply go the attack screen and start it, when the screen turn yellow select your map, that's it)
18.12.2018 - Auto pvp will now select the weakest enemy to fight, changed switch icon to make it more reliable
17.12.2018 - Added new feature: Auto pvp (goes to pvp and fights until you're out of exercises rounds and will deactivate the feature when done)
17.12.2018 - Beta now is now stable with 10+ runs.
16.12.2018 - Added version number to the dialog
16.12.2018 - Changed 3-4 farm and auto_fighter to radio buttons, due to the incompatibility
16.12.2018 - Increased performance a bit, yay! reduced 6 min best run to 4:30 ^_^, beta is now stable (10+ runs no problems on 3-4)
16.12.2018 - Bot can now resume the battle field if it's stopped by the user or crashes, simply go to the grid (if 3-4 farm is on) or into the battlefield and restart the bot, added BETA access(might be less stable, but often new features or performance increase)
15.12.2018 - Added select features, which allows you to select the features when starting the bot
[FIXES]
20.02.2019 - Fixed 3-4 mode bug
19.02.2019 - Fixed 3-4.png due to font size change in the game
14.01.2019 - Fixed sort excess bug caused by status box
11.01.2019 - Fixed messed up status box and working on box
11.01.2019 - Fixed commission problems with low level not enough oil etc... v.1.5.5, fixed sort excess problem in v.1.5.6
08.01.2019 - Fixed images for third and fourth fleet
07.01.2019 - Fixed urgent commissions position 1
04.01.2019 - Fixed urgent commissions position 3
04.01.2019 - Fixed anti stuck search region, Fixed an issue with getting the last position of an know enemy.
02.01.2019 - Fixed itempickup behaviour
02.01.2019 - Fixed the way the bot is going on about to get to the boss in 3-4.
01.01.2019 - Fixed wrong use of getY() in the stuck function.
30.12.2018 - Fixed 3-4 farm wrong behaviour
29.12.2018 - Fixed new scan function clicking on map when enemy spawned in upper left corner
28.12.2018 - Fixed dragDrop error on android 7.x, increased performance by reducing delays
27.12.2018 - Fixed AutoFight switch condition.
25.12.2018 - Commission collector fix. Small performance improvements.
21.12.2018 - Removed highlights to fix the slowdown of the ankulua app. Way more stable now. I love it. (´・ω・`)
21.12.2018 - Fixed sort behaviour... again, I swear! I really broke that one with my previous "fix" haha
20.12.2018 - Fixed sort behaviour
20.12.2018 - Fixed behaviour of commission clearer when you have no commissions running
19.12.2018 - Fixed the Go button on commission, should now function as before
19.12.2018 - Confirm button on new ship screen will now be found and clicked
18.12.2018 - Fixed switch timing issues and made the calls more reliable, sort had a confirm button error, changed it a bit
17.12.2018 - Finally got to fix the confirm button bug where he sometimes just didn't click it, HOW THE HELL DID HE MISTAKE COMMISSION AND CONFIRM?! similarity rate was at 0.8... and the colors were different... oof no idea how why it recognized it as the confirm button but I got it working now
16.12.2018 - Fixed commission and mission collector behaviour when your storage is full and made it more compatible with auto_fighter
16.12.2018 - Fixed stuck2 loop into clearBlockers <- how the hell did I even find that?!
16.12.2018 - Timeout problem on victory screen has been fixed
14.12.2018 - Fixed missbehaviour of commission clearer, added auto_fight feature
13.12.2018 - Fixed missbehaviour of 3-4 farm, fight() function didnt check correctly for beeing stuck()
[KNOWN ISSUES]
-emergency repait kit screen has no protocol
-bot recognizes something on the screen as the boss icon...
[FEATURES]
-3-4Farm:
the bread and butter of this script, just start it and let the script take over
-AutoFight:
with map selector and endless option, simply click on the map percentage(center of the orange circle), super wonky, you better check on it regulary
-Dock sort
removes low rarity excess first
-New ship lock:
recognizes if you got a new ship and will lock it for you
-Auto commissions:
collecting and starting new ones (with choice whether you want to use those commissions that cost oil or not...)
-Auto mission collecting
-Auto pvp/exercises:
will choose the enemy with the lowest total power
-Auto daily:
hard and medium
-Item pickup
-Auto retry if stuck or defeated
[TODO]
Things I will work on next:
-
-
-
-
-
-
-
-
-
-
-Item pick up option
-Repair item pickup fix.
-someway to handle ambushes better
-SecondFleet.png not found error
[DEMO]
Bot in full action v1.2.6:
AutoFight Tutorial:
If you encounter a bug or if the bot does something it propably shouldn't have, please comment it below with the following format:
[BUG]
Title: Super short summary of the bug (Fleet 2 got stuck in upper left corner)
Version: v.X.X
Description:
Which mode did you run, which features, can you reproduce it and if you do can you screenshot or record it?
--img-- --video--
[DOWNLOAD]
DownloadBETA v.1.6.0