|
Post by tinotk on Jan 5, 2017 2:05:18 GMT
Glad it works now but the Rain region issue is still bugging me. Judging from the log it did calculate correct coordinates but when you run it the region's marked wrong, the only thing I can think of is because declaring the region and calculating coordinates together in 1 line, I guess need to separate them. If you can share your custom path, many people (including me!!) would really appreciate that, but it's up to you though.
|
|
eleck
New Member
Posts: 20
|
Post by eleck on Jan 5, 2017 2:34:18 GMT
Glad it works now but the Rain region issue is still bugging me. Judging from the log it did calculate correct coordinates but when you run it the region's marked wrong, the only thing I can think of is because declaring the region and calculating coordinates together in 1 line, I guess need to separate them. If you can share your custom path, many people (including me!!) would really appreciate that, but it's up to you though. If you manage to find a solution, I will look forward to your next build. I absolutely plan on sharing the path. I have a path that technically works right now but is complicated by the fact that Dwarf Forge Exploration has many areas that put Rain so far to the left or right of the screen that a findmove fails because he falls outside the search boundary. I am making do by using some short swipes to move him back into the boundary to find his position, but it's been inefficient. I am going to try to rework much of it tonight to take better advantage of diagonal swipes which often address the problem that would otherwise require stepping. EDIT - I'm discovering some odd and unpredictable behavior regarding diagonal swipes and whether Rain collides and sticks to a wall, or whether he slides along the wall. I've run the exact same path several times and seen a pretty even distribution of cases where Rain hits a wall at a diagonal and stops, or hits the wall and slides. I've tried both swipe methods to the same result, and the direction Rain is "facing" doesn't matter (even though it's just a sprite). My guess is that this is something game-related, a race condition in the game code. A little testing shows that if I start Rain alongside the wall and move diagonally, he always slides along the wall, so my workaround to this behavior is to always move him to position beside a wall if I wish him to slide along it, or simply repeat the diagonal movement I want to make twice so if the first attempt sticks him, the second attempt will slide him. It's also worth noting that once Rain has slid on a wall, any subsequent walls he hits he will also slide against. Also; a handy trick I found. You can save the map images from Exviuswiki (such as exviuswiki.com/images/d/da/Treasure_Map-Dwarves_Forge.png for example) and upload them at sporkforge.com/imaging/grid.php, set the line spacing to 9 px and adjust the x/y translation a pixel at a time until the grid is aligned (Dwarve's Forge, for example, is just x translated 3 px). Now you can plan out your path in advance, stepping exactly as far as you need to without actually having to walk the Exploration yourself. Rain also seems to travel about 8 squares per second during a swipe, so by counting squares you can ballpark your swipe times pretty well, though it's always good to add a second for good measure. EDIT 2 - tinotk , I have completed several runs of Dwarve's Forge Exploration using swipe method 2 and a lag multiplier of 1.0 using the following path: Dwarf_Forge_Exploration:right,1000|ur,4000|down,3000|up,3000|dl,1000|dl,5000|up,6000|ur,3000|up,4000|left,1000|up,5000|battle,ud,3204,up|right,1000|down,4000|left,1|down,1000|left,6000|left,4000|ul,4000|down,5000|dr,2000|dr,2000|right,5000|down,1|down,3000|left,3000|down,1000|left,1000|up,1000|left,3000|ur,2000|left,4000|up,1000|right,5000|ur,1000|right,4000|right,8000|right,4000|right,4000|dl,3000|left,5000|up,1|up,3000|right,4000|ul,2000|up,6000|right,1000|up,2000|ul,2000|up,3000|ur,2000|battle,ud,7888,up|ul,2000|up,2000|ur,2000|up,2000|up,4000|right,3000|down,2000|left,3000|down,1000|right,3000|down,3000|left,1000|dl,2000|left,5000|up,1000|ur,3000|ul,2000|up,4000|left,4000|up,1000|left,3000|ur,4000|down,1000|dl,5000|right,4000|up,1000|ur,5000 I'm pretty happy with it at this point; I'd consider the path complete unless anyone else has trouble with it.
|
|
|
Post by tinotk on Jan 5, 2017 23:09:33 GMT
eleck thank you for grid trick, it's extremely helpful in making paths. Allow me to update first post with a link to your post for reference. Can you test this version when you have a chance, need to make sure it's working fine before posting an update: www.dropbox.com/s/dx3bb4ambzikxdb/ffbet.zip?dl=0I noticed you mention Rain being off the region boundary sometimes, if it occurs too often then I might need to introduce an additional var to control the Rain region when starting the script. There is a little trick that I haven't mention before in the first post, it might be useful when dealing with long paths: you can put a comment at any directions to make it easier to track the path. For example:
|
|
eleck
New Member
Posts: 20
|
Post by eleck on Jan 6, 2017 2:49:15 GMT
eleck thank you for grid trick, it's extremely helpful in making paths. Allow me to update first post with a link to your post for reference. Can you test this version when you have a chance, need to make sure it's working fine before posting an update: www.dropbox.com/s/dx3bb4ambzikxdb/ffbet.zip?dl=0I noticed you mention Rain being off the region boundary sometimes, if it occurs too often then I might need to introduce an additional var to control the Rain region when starting the script. There is a little trick that I haven't mention before in the first post, it might be useful when dealing with long paths: you can put a comment at any directions to make it easier to track the path. For example: As soon as the run I'm doing right now completes, I'll download that version and give it a try. Thanks for your continued support! The comments in the path will be extremely useful. Whenever the wife or kids interrupted me while working on the path, it was often difficult to figure out where I'd left off. For a period of time I did use |findmove| as a place-holder for battle lap locations as well as collection points, and simply removed them when done, but I still would have to count the findmoves and work through several other moves until I found the one I needed to adjust. This will work much better! Ultimately I completed Dwaves Forge Exploration's path with only 2 steps performed, and thus never needed to have to use the findmove. Those two steps were actually just a bit of a trick when Rain was diagonal from a ladder I wanted him to step onto but he was outside of the Rain region boundary; having the step action click on the middle of the screen was sufficient to get him to mount the ladder so that I could swipe up or down. An option to allow a tap-to-move click at a location provided in x,y coordinates seems like a cool idea as an alternative, but I'm not sure how you could address the movement being interrupted by a battle before the destination is reached. Allowing findmove to accept a set of coordinates for the Rain region box could be an excellent solution for edge cases like Dwarves Forge Exploration where Rain spends quite a lot of time on the very edge of the screen. EDIT - Damn, just looked over and found my Rain wandering around the wrong section of the map. First time my path has steered me wrong. Looks like I still have a bit of additional work to do! EDIT 2 - tinotk , I've done a number of runs on your new build and had no issues. I've also not had any other issues with my path! Maybe a cat stepped on my phone... I also had the good luck of pulling Santa Roselia recently, and I've found that she's the perfect exploration companion. A LB heal + all status ailments removed means I can finally put Cat's Bell and Angel Ring away. EDIT 3 - I did make a minor change to my path using one additional step to correct a condition which seemed to be particularly sensitive to lag. It should be more reliable now. My original post containing the path was updated accordingly.
|
|
|
Post by tinotk on Jan 10, 2017 2:00:39 GMT
Thanks for the update. I will try to tweak findmove a little bit to make it more flexible. There's a catch with using x-y coordinates directly since Ankulua has its own mechanism for handling coordinates with different screen resolutions.
|
|
epyon
New Member
Posts: 12
|
Post by epyon on Jan 10, 2017 4:18:00 GMT
Hello guys. I'm new to this forum and have just discovered Ankulua. Recently Ive been trying to get this app to work on my Memu so I can do Earth Shrine TMR farming but I keep getting this weird message when I try to extract the script zip file to the Ankulua folder. When I use ES File Explorer or Winzip, it will either say that the file is corrupt, or that my system forbids to write on an external SD? Is there anyway I can solve this? I really want to try out this Ankulua app for my farming, as the manual script creating method I used with the Memu emulator will lag and choose Earth Shrine Exploration after a couple runs.
|
|
eleck
New Member
Posts: 20
|
Post by eleck on Jan 10, 2017 17:51:08 GMT
Hello guys. I'm new to this forum and have just discovered Ankulua. Recently Ive been trying to get this app to work on my Memu so I can do Earth Shrine TMR farming but I keep getting this weird message when I try to extract the script zip file to the Ankulua folder. When I use ES File Explorer or Winzip, it will either say that the file is corrupt, or that my system forbids to write on an external SD? Is there anyway I can solve this? I really want to try out this Ankulua app for my farming, as the manual script creating method I used with the Memu emulator will lag and choose Earth Shrine Exploration after a couple runs. I'm not sure why you're getting this; sounds like a permissions issue on your device. You might have more luck posting in one of the parent AnkuLua forum threads, perhaps someone will have experienced what you're describing. tinotk, any plans to bring back the Colosseum schedule?
|
|
epyon
New Member
Posts: 12
|
Post by epyon on Jan 11, 2017 1:34:57 GMT
I was actually able to figure out the problem and get it to work. However, the new problem is when I pick a dungeon and start the script, it will only do like one click and won't even start the battles? Is this a common issue? And if it is, what is a good solution for it?
|
|
eleck
New Member
Posts: 20
|
Post by eleck on Jan 11, 2017 21:08:46 GMT
I was actually able to figure out the problem and get it to work. However, the new problem is when I pick a dungeon and start the script, it will only do like one click and won't even start the battles? Is this a common issue? And if it is, what is a good solution for it? Make sure your script overlay isn't on the Auto button. Move it off somewhere to the side out of the way of any buttons and it should work. Some actions can also take up to 30 seconds so I recommend patience.
|
|
|
Post by tinotk on Jan 12, 2017 0:29:45 GMT
epyon did you start the script at the dungeon selection screen? If so there's a couple of things to check, first thing is to move that play button above the control region (where the AUTO, MENU buttons are), second is to disable su notification messages. When such msg popup and overlay the button the script won't able to detect it, you can go to Superuser setting to disable it. Another thing to check is make sure that your game is in English. Those problems has been addressed before in the thread comments a couple of pages ago. If you are still having problem, please record a clip running the script so I can take a look. eleck Ever since FFBE changes Colosseum to Arena I haven't dig in further yet. I do plan to work on the new Arena but can't promise anything atm.
|
|
epyon
New Member
Posts: 12
|
Post by epyon on Jan 12, 2017 5:01:46 GMT
epyon did you start the script at the dungeon selection screen? If so there's a couple of things to check, first thing is to move that play button above the control region (where the AUTO, MENU buttons are), second is to disable su notification messages. When such msg popup and overlay the button the script won't able to detect it, you can go to Superuser setting to disable it. Another thing to check is make sure that your game is in English. Those problems has been addressed before in the thread comments a couple of pages ago. If you are still having problem, please record a clip running the script so I can take a look. eleck Ever since FFBE changes Colosseum to Arena I haven't dig in further yet. I do plan to work on the new Arena but can't promise anything atm. Yeah I did everything that you've told me and have been able to start the dungeon. But as soon as the battle starts. All the units just stand there for some odd reason. sendvid.com/33zflebk?secret=62dd69e4-18e2-417c-8e51-b8eb489ee038vid.me/j2NZI also wanted to give you a heads up that I did open up a thread regarding this issue as I didn't realize that you had responded until now lol.
Heres the link to the video and what I'm experiencing: vid.me/j2NZ
Here is the link: ankulua.boards.net/thread/266/ankulua-ffbe-error?page=1&scrollTo=2937
|
|
|
Post by tinotk on Jan 12, 2017 6:05:21 GMT
Can you advise what is your resolution setting in Memu? I can see in the video the pictures look a little bit flat. Also, please turn Debug on and run "Dungeon finder", then attach me the run.log file in the script folder so I can take a look.
|
|
epyon
New Member
Posts: 12
|
Post by epyon on Jan 12, 2017 7:01:02 GMT
Can you advise what is your resolution setting in Memu? I can see in the video the pictures look a little bit flat. Also, please turn Debug on and run "Dungeon finder", then attach me the run.log file in the script folder so I can take a look. My screen resolution setting in memu: Width: 1024 Height:1280 DPI (Idk what this is): 191 As for running with Debug and Dungeon Finder, the script actually stops and gives me this message in this pic down below:
|
|
|
Post by tinotk on Jan 12, 2017 20:33:39 GMT
Switch W & H in your Memu setting to make pictures come back in their correct ratio. Set width 1280 & height 1024.
|
|
epyon
New Member
Posts: 12
|
Post by epyon on Jan 12, 2017 23:04:58 GMT
Switch W & H in your Memu setting to make pictures come back in their correct ratio. Set width 1280 & height 1024. I've tried this and unfortunately, the same issue happens no matter what ratio that I set it to. Including the one that you've recommended.
|
|