mrmin123 / kancolle-auto

Kantai Collection (Kancolle) bot/automation tool - DEPERECATED - see kcauto-kai:
https://github.com/mrmin123/kcauto-kai
54 stars 22 forks source link

LBAS assignment hangs #293

Closed mrmin123 closed 7 years ago

mrmin123 commented 7 years ago

I've been encountering it today and behavior was confirmed by @tigurand and @waicool20 in #274

Most likely a timer issue.

mrmin123 commented 7 years ago

@tigurand @waicool20 can you update master and check if this fixes the bum LBAS assignment issue? I tested it on one iteration and the second squadron assignments went through fine. Heading to sleep now so I'll continue debugging if needed tomorrow.

mrmin123 commented 7 years ago

Oh there's another issue here... After pressing the green button for the first LBAS squad, as the mouse moves back to the desired node, it'll trigger the LBAS panel to move and cover up the node. As far as Sikuli knows it saw the node and ordered a click, but in-game the node was never clicked because the click happened on the LBAS screen.

waicool20 commented 7 years ago

The assignment worked fine for me ever since you added the Node I cleared images.

I'd suggest checking for the green button, if it doesn't see it, the script should try to redo the assignment.

mrmin123 commented 7 years ago

@waicool20 that won't be necessary. Issue has been fixed in latest master by adding a rejigger mouse to the middle-top of screen after LBAS assignment.

Do note that the issue you were having prior with the lack of Node I cleared images is completely different: it was just the lack of proper images to match against. No amount of added logic would have helped in that regard.

Closing ticket.