|
Post by zeeksi on Dec 24, 2018 13:18:33 GMT
Thanks for replying, just wasn't sure what was being talked.
Is it possible for you to create a few new vids of how you run the current bot in various scenarios? Unless you're planning large changes soon.
No rush with that, just interested to see how you run things down to the clicks.
|
|
|
Post by derudi on Dec 25, 2018 18:28:20 GMT
hello, is there a way to change the timings/delays of the script? click delays etc i run azur lane on a high end pc + ssd and i think i could fasten up the whole thing quite a lot uwu thanks for the awesome script, i'll be testing 1.3 now *3* 2nd thing, is it possible to spamm the event map with the script? greetings <3 edit: Bug report: Platform: Noxplayer, Android 4, 4 Cores + 4gb ram Script version: 1.3
Description: Farm3-4, Auto-Pvp,Auto-Mission,Auto-Commission Bug: When the bot goes trough missions etc and click on Attack and a map is loaded, the following error appears:
edit2:
where exactly do i need to start when i want a custom map to be done? clicking on the map when there is the "go" button or where ?
|
|
zouna
Contributors
Posts: 109
|
Post by zouna on Dec 25, 2018 21:02:01 GMT
hello, is there a way to change the timings/delays of the script? click delays etc i run azur lane on a high end pc + ssd and i think i could fasten up the whole thing quite a lot uwu thanks for the awesome script, i'll be testing 1.3 now *3* 2nd thing, is it possible to spamm the event map with the script? greetings <3 edit: Bug report: Platform: Noxplayer, Android 4, 4 Cores + 4gb ram Script version: 1.3
Description: Farm3-4, Auto-Pvp,Auto-Mission,Auto-Commission Bug: When the bot goes trough missions etc and click on Attack and a map is loaded, the following error appears:
edit2:
where exactly do i need to start when i want a custom map to be done? clicking on the map when there is the "go" button or where ?
hello there, First of all. Thank you so much for using the actual bug form. I think you're the first one to use it, haha. Sadly, although that's the perfect example to report a bug, v.1.3 is just broken currently. v1.2.6 has just been added and is the only true stable version of the script as of now. Regarding the performance, I know exactly what you mean and I might try to add a "high spec" option to reduce some delays perfomed by clicks, but the image recognition is the cause of the "slow" move of actions. Everytime the script is looking for a button to press or an image to pop up it'll make a check for those images. That takes up to 3 seconds each. For example if your bot is going to fight an enemy, things like ambushes can happen, I'll have to check if it's currently in the battle screen or if an evade is present. That movement from A to B takes some animation time. What if your fleet is running from A1 to 4H ? That's a long way which will take up to 7 or 8 seconds on it's own. What if you get ambushed right before the enemy? I haven't found the best way to tackle that timing issue yet, but I sure as hell will try to think of something for it! For the event question: Well yes and no. The auto_fight script had been sloppily written by me just to help people out on the grind from 1-1 to 3-4. It doesn't work consistently, but I am on the way to fix that. I'm currently rewriting the whole function to work on every map in the future and I'm very sure that my theory will work on all maps once I get it down. Once that new scan protocol is written it could be used on event maps, too. Right now it's a matter of if the maps grids size is up to 4H (columns and rows). Now on how to use the auto_fight script. First you go to the precombat attack screen where you can select your map. When the combat mode popup comes up you have to select AutoFight. If you want it to run endlessly check the checkbox below it. I'd recommend to not use any other features with it, but they don't cause any problems either (It's just faster that way). When you start the script your screen will turn yellow. That means it's ready to recieve your map selection. Click on the percentage you want to have a Clear! on. Try to click as center to the orange circle as possible. After that you can let the bot take control and let it do it's, super wonky and not stable, job. Once I get v.1.3 stable it should fix the autofight issues and I think alot of users will be happy with that. I think that should answer all your questions for now. I love to hear all feedback wether it's good or bad and I'm trying my best to fix issues and make ideas work as fast as I can. I wish you all happy holidays!
|
|
|
Post by derudi on Dec 26, 2018 0:38:43 GMT
thanksu hehe, about the ambush issue, in 1.3 it was a problem the bot hanged sometimes a bit after every 12-15 fights for just one time (on 3-4)
tweaks: -for tweaking mouseclicks i just used the settings from ankulua with custom clicks and lower clickdelays+lower delays after clicking (the process of the script felt quite a bit faster especially at start when it collected all)
-1 more thing that could be tweaked imo is that when the bot takes first screenshot and then collects Oil & gold (i think at this point the scripts takes 2 screenshots for both gold And oil) but tbh u would collect both anyway so why making 2 screenshots (or if not 2 screenshots then just drastically lower delay for high end mode)
auto_fight: ty for the infos, that helped a lot
ill continue to report and test with the free version of anku (got no paypal UwU!) merry christmas to you too :3 x3 thanks again for taking so much time
|
|
zouna
Contributors
Posts: 109
|
Post by zouna on Dec 26, 2018 14:38:25 GMT
thanksu hehe, about the ambush issue, in 1.3 it was a problem the bot hanged sometimes a bit after every 12-15 fights for just one time (on 3-4) tweaks: -for tweaking mouseclicks i just used the settings from ankulua with custom clicks and lower clickdelays+lower delays after clicking (the process of the script felt quite a bit faster especially at start when it collected all) -1 more thing that could be tweaked imo is that when the bot takes first screenshot and then collects Oil & gold (i think at this point the scripts takes 2 screenshots for both gold And oil) but tbh u would collect both anyway so why making 2 screenshots (or if not 2 screenshots then just drastically lower delay for high end mode) auto_fight: ty for the infos, that helped a lot ill continue to report and test with the free version of anku (got no paypal UwU!) merry christmas to you too :3 x3 thanks again for taking so much time I changed the collect function in v.1.2.6 to work 3 seconds faster each, that's why it is faster, but if your settings improved that even more I'm glad to hear that! The bot doesn't take screenshots of the oil or gold. It just checked for it to still be there even after it was clicked. That would mean you're full of oil or gold and it would not need to collect those anymore. I've removed it in the v.1.2.6. I've added a cooldown before each collecting. Currently it's set to 6 runs but I will add a custom number input from the user once I get the time for it. (got so many things to doooooo~ (☍﹏⁰) ) I will think about the gold and oil collecting again. It might really just collect each time without any extra checks. (overthinking things can be a bad thing...) You know what, I'm gonna make that adjustment now and upload it to 1.2.7 BETA to see if it works better. Check back in 15 minutes or so! ALSO NEWS: Made a new video showing the v.1.2.6 in full action and I added a little autofight tutorial(how to setup) UPDATE: Got the v.1.2.7 beta up. Check it out
|
|
|
Post by zeeksi on Dec 26, 2018 23:08:26 GMT
Thank for the updated video. I've got some adjustments to make.
New thing that has been frustrating me but I'm not sure if it's a bug or what, it'll get to the last stage of the event (boss spawn) then retreat(as in I'm trying to grind B4), I've watched it do this several times, it'll command around my 2nd squad fine until they get no ammo, boss spawns, and gone. My first squad hasn't moved and is full ammo.
Any idea what'd be causing this, as I'd simply like it to ask me before retreating from a map like that but I'm curious as to what it might be and if it's beneficial behaviour?
|
|
zouna
Contributors
Posts: 109
|
Post by zouna on Dec 26, 2018 23:55:32 GMT
That's a safety mechanism I've added if the bot gets stuck in a situation where all the actions it's taken still leave it stuck. If that scenario happens it'll retry to maybe not get into a situation where it's stuck again. I could add an option to deactivate the retry and/or make an popup appear which lets the bot stop until the user presses ok...
Regarding what your fleets are doing, it sounds broken to me (゚д゚;) I mean your second fleet is the boss killer in the AutoFight mode. It shouldn't be the one trying to clear the mobs.
You are using AutoMode + endless right? Maybe there is something I'm not seeing in the code ? :
while (not searchRegion:exists(boss)) do fightTarget(lv) if(fleetFights == 5) then switchFleet() end wait(0.5) end if(fleetSwitched == false) then switchFleet() end fightTarget(boss) Basicly runs the fightTarget until your boss spawns. If the fleetFights are at 5 it'll switch. If the fleet already switched it'll go straight to the boss. The only thing I can imagine causing your problem would be if your fleetFights went to 6 instead of 5! If you had 4 fights already and you somehow got 2 fights instead of one... I will fix the if statement to see if that'll fix your issue. Wait for my UPDATE on v.1.2.8 BETA
UPDATE: Fixed your issue in the BETA version. Please download it and see if it works better now. Didn't change the retry factor though. I will add that to the todo list.
|
|
azb
New Member
Posts: 15
|
Post by azb on Dec 27, 2018 0:57:32 GMT
Bug Report Title: Commission error Version: v.1.2.6 Description: Just commission collection, all other features off, not sure when the bot gave an error cause when I woke up it was there. (maybe timestamp added? ) imgur.com/a/H7HmIDt
|
|
azb
New Member
Posts: 15
|
Post by azb on Dec 27, 2018 0:58:53 GMT
What about being ambushed? Is it calculated as a fight? That's a safety mechanism I've added if the bot gets stuck in a situation where all the actions it's taken still leave it stuck. If that scenario happens it'll retry to maybe not get into a situation where it's stuck again. I could add an option to deactivate the retry and/or make an popup appear which lets the bot stop until the user presses ok... Regarding what your fleets are doing, it sounds broken to me (゚д゚;) I mean your second fleet is the boss killer in the AutoFight mode. It shouldn't be the one trying to clear the mobs. You are using AutoMode + endless right? Maybe there is something I'm not seeing in the code ? : while (not searchRegion:exists(boss)) do fightTarget(lv) if(fleetFights == 5) then switchFleet() end wait(0.5) end if(fleetSwitched == false) then switchFleet() end fightTarget(boss) Basicly runs the fightTarget until your boss spawns. If the fleetFights are at 5 it'll switch. If the fleet already switched it'll go straight to the boss. The only thing I can imagine causing your problem would be if your fleetFights went to 6 instead of 5! If you had 4 fights already and you somehow got 2 fights instead of one... I will fix the if statement to see if that'll fix your issue. Wait for my UPDATE on v.1.2.8 BETA UPDATE: Fixed your issue in the BETA version. Please download it and see if it works better now. Didn't change the retry factor though. I will add that to the todo list.
|
|
zouna
Contributors
Posts: 109
|
Post by zouna on Dec 27, 2018 3:36:06 GMT
azb You said you left it running over the night? Did your router reset? I have currently no way to detect the "network error" popup of azurlane when the bot runs... Yup the ambush is adding to the fleet fights but not mobs cleared. A normal fight adds both. if the mobs cleared are 3 or more it will check for the boss on 3-4 runs but not on AutoFight so I don't think that's it. I will run it when I work on the script and see if I can reproduce the error. In the future, could you make a screenshot of the screen and not just the error message? Just make sure to censor your username. I'm often able to tell what went wrong by simply looking at where the bot was at, when it crashed.
|
|
vaan
New Member
Posts: 39
|
Post by vaan on Dec 27, 2018 20:39:35 GMT
|
|
zouna
Contributors
Posts: 109
|
Post by zouna on Dec 27, 2018 21:47:53 GMT
That error is not caused by the size of the searching region. It's caused by the toast message you see in your second picture. It says "Superuser granted". That toast is blocking the last "Go" button. That is why I recommended to inject daemon instead of using root. ankulua is for some reason spamming those toasts which block the view.
I've just tested the same scenario and it works without root.
|
|
vaan
New Member
Posts: 39
|
Post by vaan on Dec 28, 2018 18:36:18 GMT
|
|
zouna
Contributors
Posts: 109
|
Post by zouna on Dec 28, 2018 19:13:53 GMT
It seems that ankulua + daemon does not support the dragDrop function in android 7. Is it possible for you to downgrade nox app player to v 4.x? I'm running it on 4.4.2 That's the right daemon installation guide. I'll report this issue and see if ankuluaUser has a solution for this.
|
|
vaan
New Member
Posts: 39
|
Post by vaan on Dec 28, 2018 19:19:43 GMT
zounaInstalled Daemon on android 7 and all works good now
|
|