-
Notifications
You must be signed in to change notification settings - Fork 376
WIP: Automap pather. Fix walking to nodes instead of teleporting #867
base: master
Are you sure you want to change the base?
Conversation
So as a proof of concept: it works. Next steps would be to
Video of the current PR Video of Walking CS Test (not part of this PR) |
9399bd0
to
18b8f33
Compare
Dia ready for testing All towns implemented, but A1 town having some issues with layout check of waypoint: requires better templates. i would love to have your data in pressure tests for Diablo. If you would like to support, please 1) delete the content of your log folder 2) run only Diablo (not other bosses), starting from A4 town. 3) maxgamelength of 360s should be fine 4) after having finished your runs, please use utils/diablo_log_parser.py and upload here the file the script created (stored in your botty root folder). Any other feedback and observations are welcome! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indeed this is not the strongest template, A1 town is broken for the north WP. But the matches you see will have a low probability - the alphamapped pictures will have to match with >0.95 threshold. |
Just saying having a lot of alpha in your assets is going to cause problems. I picked the first example of many. We had to revert template matching for an empty merc frame (alpha'd except for border) because people's platforms were interpreting the asset differently. @aeon0 probably remembers. ;) |
Haha, I do remember :D |
Noticed that starting in act 1 and act 3 get stuck and fail game. Haven't tried act 2 yet act 4 and 5 seem to work. |
Can you add info screenshots and logs so I can investigate and provide a fix ? |
Town visit still broken. Not sure how to fix. |
reason is that the automap check does not work properly (see here: https://github.com/bottytools/botty/blob/8856ef8cc8137e90ad6c3ec1324ef3d90905834e/src/automap_finder.py#L48 ). so it does not correctly detect if the minimap is on. so all the functions in a4 town.py need a toggle for automap before and after (see here https://github.com/bottytools/botty/blob/8856ef8cc8137e90ad6c3ec1324ef3d90905834e/src/town/a4.py#L27 ). whilst this works well for routine play, it begins to cause issues once we use cs_town_visits. |
1. Improve route and seal popping 2. Support walking + tp charges
Use automap to locate the char.
To add automap support for other runs / towns: