perryhuynh / kcauto

kcauto, the successor to kancolle-auto, a Kantai Collection (Kancolle) bot/automation tool
GNU General Public License v3.0
68 stars 22 forks source link

node find failed #428

Closed JamesHayden closed 4 years ago

JamesHayden commented 4 years ago

Please make sure you are on the latest version of kcauto, and that there is not already a ticket open for your issue.

Please remove sections of this template you do not find relevant when creating your ticket.

Environment details

Issue variability

Is the issue consistent (can be reproduced consistently) or is it intermittent (only happens sometimes)?:

intermittent

Issue

Please provide a thorough description of the issue. Screenshots, videos, or at least a step-by-step description of what is happening in the game is typically necessary to debug.

can't find current and next node 

Log


[2019-12-24 23:08:28] Starting sortie.
[2019-12-24 23:08:28] Going to Node C
[2019-12-24 23:08:37] Going to Node D
[2019-12-24 23:08:46] Combat at node D.
[2019-12-24 23:08:46] Selecting formation Combined Fleet 1.
--
[2019-12-24 23:09:43] Continuing sortie.
[2019-12-24 23:09:44] Going to Node E
[2019-12-24 23:09:46] Spinning compass.
[2019-12-24 23:09:57] Combat at node E.
[2019-12-24 23:09:57] Selecting formation Combined Fleet 1.

above log is the sortie log in normal operation.

but log below is intermittent problems can't find the current node and the next node.


[2019-12-24 23:11:58] Starting sortie.
[2019-12-24 23:11:59] Going to Node C
[2019-12-24 23:12:08] Going to Node D
[2019-12-24 23:12:15] Combat at node D.
[2019-12-24 23:12:15] Selecting formation Combined Fleet 1.
--
[2019-12-24 23:13:11] Continuing sortie.
[2019-12-24 23:13:16] Spinning compass.
[2019-12-24 23:13:28] Combat at node D.
[2019-12-24 23:13:28] Selecting formation Combined Fleet 1.

Probably, the process of finding the next node(F->G) to go to is skipped.

Config

[insert relevant config sections here; remove section if irrelevant]
mrmin123 commented 4 years ago

I need additional information to even begin debugging this. Enable debug logs in kcauto and provide updated relevant logs. Also, I'd need to see the payload from the kcsapi/api_req_map/next (or whatever the game is getting node results from) when this happens, which is accessible from the Chrome Dev Console's network tab.

JamesHayden commented 4 years ago

normal normal

abnormal abnormal

C->D->E /