vaan
New Member
Posts: 39
|
Post by vaan on Jan 1, 2019 12:52:53 GMT
zouna version: 1.4.2 runtime: 54min Bug: Bot get stuck on this screen after lock new ship. www.dropbox.com/s/745zap522kg1wzc/stuck2.jpg?dl=0Settings: farm 3-4, auto commission, auto mission, auto daily hard, automatic retry, collecting cooldown 10 After manual click on "Confirm" this error pop up: www.dropbox.com/s/uus6dupobwcx6sm/errormessage.jpg?dl=0Edit: Second run 23min Bot get stuck, when main fleet go in boss position and ambush appear. ( Main fleet not ready in boss spawn point ) Main fleet 5/5 ammo, Second fleet 2/5 ammo. www.dropbox.com/s/x0utoorl98ccxqg/stuckambush.jpg?dl=0Edit2: Interesting, bot thinks, its on after battle screen in second run. When I manual evade ambush and go to fight boss, after fight bot start continue again.
|
|
azb
New Member
Posts: 15
|
Post by azb on Jan 1, 2019 15:15:17 GMT
azb Fixed the getY problem in stuck. I made a wrong call there. Thanks for reporting it. The view is not stuck there it's the new scan function I've implemented to prevent your fleet from beeing stuck too often. It'll try to clear a map from top to bottom and always reset the view to upper left corner. So that's okay. vaan that should have been fixed in v.1.4.1. UPDATE: v.1.4.2 - fix for the getY call and perfromance improvements. Goes quite quickly now (*≧∀≦*) Big thank you to all the BETA Testers, everything you guys report helps me alot, because I won't have to go out and test it myself ¯\_༼ ಥ ‿ ಥ ༽_/¯ Ver 1.4.2 Autofight - Yes Endless - Yes Auto retry if stuck - Yes Happy New Year to you and thanks for the fix, however would like to report that bot is still stuck after passing through a "?" Item on the way to fight an enemy, no error message this time. Bot stuck, not moving or scanning after that.
|
|
zouna
Contributors
Posts: 109
|
Post by zouna on Jan 1, 2019 21:01:33 GMT
vaanI'll take a look into those problems. Added to "Known Issues" azbOh wait, Your fleet wanted to move from A to B but there was an item in the way? Uh... so I need to check for the possibility that your fleet can pick up items on accident? (ノдヽ) That'll slow down the bot by ALOT. I'll see how I can fix that... Added to "Known Issues"
|
|
vaan
New Member
Posts: 39
|
Post by vaan on Jan 1, 2019 21:26:24 GMT
zounaMaybe an easy fix ? point. Check it if appears after the battle and then go to first at ? to avoid this bug: just passing through it. But here is possible ? point is besieged by enemies from each side. o.O
|
|
azb
New Member
Posts: 15
|
Post by azb on Jan 2, 2019 1:53:13 GMT
vaan I'll take a look into those problems. Added to "Known Issues" azb Oh wait, Your fleet wanted to move from A to B but there was an item in the way? Uh... so I need to check for the possibility that your fleet can pick up items on accident? (ノдヽ) That'll slow down the bot by ALOT. I'll see how I can fix that... Added to "Known Issues" Yeah, there's a map that spawn 2-3 ? item after 3-4 fights and sometimes the bot accidentally picks up the item by passing through it from A to B. After the item accidental pickup, point B was just a random place and not the original target it was suppose to go.
|
|
zouna
Contributors
Posts: 109
|
Post by zouna on Jan 2, 2019 5:09:41 GMT
vaan I've already build in a check for "?" items. It checks them before searching for enemies. Each time before hand actually. So I'm a bit confused on how that happened... It also checks all nearby enemies around the target, which would be the "?" item. Azb said it happens on 2-3. I'll look into it. UPDATE: I think I've fixed the issue with the boss fight at 3-4. I made it always click on the boss and not check any further. My mistake. I thought that your main fleet would ALWAYS be at those coordinates but I guess there can be scenarios to when the main fleet is not on the 4H coordinate. v.1.4.3 is out and can be tested. I've had 10 runs with no issue so far. Let me know how it runs for you guys. UPDATE2: Fixed the item pickup issue. Thank you for the 2-3 suggestion helped alot to test it. v.1.4.4 is up
|
|
vaan
New Member
Posts: 39
|
Post by vaan on Jan 2, 2019 8:15:52 GMT
zouna Testing 1.4.4 Test on map 6-2 Bug: Bot uses only main fleet and badly centering on larger map Settings: autofight + endless Edit: Tested 3-4 Settings: 3-4farm, commision, mission, collecting 10, auto retry Bug: Main fleet get stuck between three enemy ships. www.dropbox.com/s/mos6dtbodpm98n1/stuck%203.jpg?dl=0
|
|
zouna
Contributors
Posts: 109
|
Post by zouna on Jan 3, 2019 2:32:27 GMT
vaan Your video is not available. Otherwise I'm currently out of oil but I will try to rush to 6-2 as soon as I can I'm currently at 4-4. I haven't really progessed in that regard (´・ω・`) Still need 2 more akagis and 1 more kaga (◞‸◟) How... how is your shit at B4 and not H4 ?! I don't understand why it sometimes gets stuck between B4 and H4 somewhere. Your fleet was stuck at B4 that doesn't make any sense. Here is what the bot does: function positionFleetAtFourH() setRegion("all") searchRegion:click(fourB) --PART 1 if(searchRegion:exists(battle, 10)) then fight(true) else if(searchRegion:existsClick(evade)) then if(searchRegion:exists(battle, 4)) then fight(false) else searchRegion:click(fourB) end else searchRegion:click(fourB) if(searchRegion:exists(battle, 5)) then fight(true) end end end searchRegion:click(fourH) --PART 2 if(searchRegion:exists(battle, 10)) then fight(true) else if(searchRegion:existsClick(evade)) then if(searchRegion:exists(battle, 4)) then fight(false) else searchRegion:click(fourH) end else searchRegion:click(fourH) end end end PART 1 simply moves your fleet to fourB. Checks if it encouters a battle. If not, it's checking if you got ambushed and tries to evade (either successfully or a fight(false) (false meaning that it's not a mob counted towards the mobs cleared)) If no battle appears or no evade button, it'd mean you got airstriked. So move again to fourB. There is just NOWAY you can get ambushed twice in a row in such a short distance... PART 2 does the same thing but with the coordinate fourH. except it doesnt check for a fight if you reach your destination because NO mobs spawn at 3H or 4H. So how in the heck did your bot get stuck in 4B? Am I missing any scenarios that can happen in the game?
|
|
azb
New Member
Posts: 15
|
Post by azb on Jan 3, 2019 6:01:38 GMT
Hi zouna,
Beta 1.4.4 and Stable 1.2.6
Could you try to test run a commission only overnight? I kept being show the disconnection window with the yellow Confirm button when i ran in overnight twice. Woke up with a disconnection notice and asks me if I would like to try to reconnect.
Would like the bot to auto try to reconnect for a disconnected session. Thanks!
|
|
zouna
Contributors
Posts: 109
|
Post by zouna on Jan 3, 2019 6:49:18 GMT
azb Update v.1.4.5. Added connection check. Should work with commissions and/or missions feature checked. Other features are not supported. I'd recommend not using a combat mode when leaving it run overnight. Just use the commission collector and mission collector. Luckily it's just a confirm dialog and should work if your connection get's back up. EDIT: the reason to why it's propably not going to work in combat mode is that there are just too many scenarios that can happen over night. What if your bot was in combat when it happened? Or what if the fleet was in the victory/defeat screen. Or maybe the bot was sorting excess ships... I'd have to add so many new checks into the script... Sorry but I don't think I'll add combat support for the reconnect feature any time soon.
|
|
azb
New Member
Posts: 15
|
Post by azb on Jan 3, 2019 17:33:07 GMT
azb Update v.1.4.5. Added connection check. Should work with commissions and/or missions feature checked. Other features are not supported. I'd recommend not using a combat mode when leaving it run overnight. Just use the commission collector and mission collector. Luckily it's just a confirm dialog and should work if your connection get's back up. EDIT: the reason to why it's propably not going to work in combat mode is that there are just too many scenarios that can happen over night. What if your bot was in combat when it happened? Or what if the fleet was in the victory/defeat screen. Or maybe the bot was sorting excess ships... I'd have to add so many new checks into the script... Sorry but I don't think I'll add combat support for the reconnect feature any time soon. Hi, Thanks for the update! Unfortunately v1.4.5 i believe autostuck still have some issues. Map 2-3 & 4-2 Commission - yes Autofight - Yes Endless - Yes 6 rounds pickup commission Automatic Retry if Stuck - Yes The map of 4-2 spawns a "?" on bottom right F6. Bot went to pick it up, click it to close the window, then it retires out of the map.
|
|
zouna
Contributors
Posts: 109
|
Post by zouna on Jan 4, 2019 1:47:46 GMT
azb I'm working on it. Adding a bit more logic to the stuck function, my bot has become quite the monster ༼ꉺɷꉺ༽ 1018 lines of code. I'm always trying to refactor and imporve most of the code, but still... that's alot of code for a bot that was supposed to be a 3-4 afk farm tool ( ̄ω ̄) If you're curious what's wrong with the stuck method for item pickup. It wasn't targeting the region correctly. Will be patched in v.1.4.6. I've also fixed an issue with the daily. It appears, that your dock can be full when you do dailies ☜╮(´ิ∀´ิ☜╮) UPDATE: v.1.4.6 beta is up. EDIT: vaan Ahhhhhh, I see your problem in the video now. Wow that's tricky but I can fix that. The bot is always looking for the LV. of the enemy fleet and your fleet blocked the LV. right when it got ambushed. What shitshow ❐‿❑ luckily I can use something from AnkuLua that allows me to click the last location clicked. Added to know issues and will be a big fix for v.1.4.7. I'm dropping everything else to do this, because that's a big no no. Thank you for reporting! (☍﹏⁰) UPDATE 2: v.1.4.8 beta is up. Correct me if I'm wrong but this thing runs rock solid. Will update stable branch to this once I'm past 10+ runs... Those last 2 fixes (3-4 positioning at 4H and clicking last know position of an enemy) have made the bot super stable. I've also added a new setting called Debugger. If you have a problem and you can reproduce it, tick this badboy and report to me which function call was started or called. Will be able to fix things so much easier this way. Just for now, will do a log file in future. *added to todo list*
|
|
azb
New Member
Posts: 15
|
Post by azb on Jan 4, 2019 5:39:54 GMT
azb I'm working on it. Adding a bit more logic to the stuck function, my bot has become quite the monster ༼ꉺɷꉺ༽ 1018 lines of code. I'm always trying to refactor and imporve most of the code, but still... that's alot of code for a bot that was supposed to be a 3-4 afk farm tool ( ̄ω ̄) If you're curious what's wrong with the stuck method for item pickup. It wasn't targeting the region correctly. Will be patched in v.1.4.6. I've also fixed an issue with the daily. It appears, that your dock can be full when you do dailies ☜╮(´ิ∀´ิ☜╮) UPDATE: v.1.4.6 beta is up. EDIT: vaan Ahhhhhh, I see your problem in the video now. Wow that's tricky but I can fix that. The bot is always looking for the LV. of the enemy fleet and your fleet blocked the LV. right when it got ambushed. What shitshow ❐‿❑ luckily I can use something from AnkuLua that allows me to click the last location clicked. Added to know issues and will be a big fix for v.1.4.7. I'm dropping everything else to do this, because that's a big no no. Thank you for reporting! (☍﹏⁰) UPDATE 2: v.1.4.8 beta is up. Correct me if I'm wrong but this thing runs rock solid. Will update stable branch to this once I'm past 10+ runs... Those last 2 fixes (3-4 poisitioning at 4H and clicking last know position of an enemy) have made the bot super stable. I've also added a new setting called Debugger. If you have a problem and you can reproduce it, tick this badboy and report to me which function call was started or called. Will be able to fix things so much easier this way. Just for now, will do a log file in future. *added to todo list* Thank you!! I was testing 1.4.6 autofight when I ran into a stuck problem. Fleet 1 unable to get the "?" item due to blocked by a row of enemies and it can't reach the destination. Then the bot stopped with error code. Will try 1.4.8 and see if it has the same issue.
UPDATE:
Bot still having stuck error. Picked up "?", heading to fight first enemy, got airbombed, retreat and exit to map. Then came out with this error.
|
|
vaan
New Member
Posts: 39
|
Post by vaan on Jan 4, 2019 5:50:11 GMT
starting to test the version 1.4.8
|
|
zouna
Contributors
Posts: 109
|
Post by zouna on Jan 4, 2019 7:43:59 GMT
UPDATE: Hey guys v.1.4.9 is out. Added a runtime counter feature and a finish detection(pro2 only). If you press volume up or down on the android device you'll tell the bot to finish what he is doing and stop.
|
|