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

kancolle-auto randomly closed #168

Closed etcet54 closed 8 years ago

etcet54 commented 8 years ago

Hello, I have an issue where kancolle-auto closed by itself after few hours. I just use it for expedition, most of the times When I see the screen, either it exits when receiving expedition/resupllying page. Tried using kancolleviewer and google chrome but no luck.

I don't know how to log/screen capture it since it closed suddenly at random times. If there's a way to log it please let me know.

Thanks a lot

n0k0m3 commented 8 years ago

If the error is Consistent, can you post here the cmd log?

On Thu, May 19, 2016 at 7:58 PM, etcet54 notifications@github.com wrote:

  • kancolle-auto version (last modified date): release r3 (2016-02-20)
  • Viewer/browser: Kancolleviewer/Google Chrome

    Operating system: Win 7 SP1 x64, resolution 1366x768

    [ x ] Consistent

  • Transient

Hello, I have an issue where kancolle-auto closed by itself after few hours. I just use it for expedition, most of the times When I see the screen, either it exits when receiving expedition/resupllying page. Tried using kancolleviewer and google chrome but no luck.

I don't know how to log/screen capture it since it closed suddenly at random times.

Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/mrmin123/kancolle-auto/issues/168

Sincerely,

Minh Nguyen

etcet54 commented 8 years ago

I wanted to, but where can I find the log file? I can't screenshot it because I don't know when the program suddenly close, it happens randomly after few hours.

edit: I found a way to prevent the command prompt box from auto close on error, I'll screenshot when It happen again.

mrmin123 commented 8 years ago

Yes, the log is required to troubleshoot.

You might also want to consider upgrading to a more recent version of kancolle-auto... I'd say master is pretty stable right now.

etcet54 commented 8 years ago

Hello, here is the log, I finally able to capture it when it happened, hope it helps to find the problem. capture

mrmin123 commented 8 years ago

@etcet54 I'd either say upgrade to the latest version of master (contains improvements to rnavigation, and does not navigate to the shop in general), or remove the menu_top_shop value from the menu_top_options list in the rnavigation function contained in util.py.

etcet54 commented 8 years ago

@mrmin123 Ok, I'll try the master branch version first then. If still happen then I'll try to remove the menu_top_shop value as suggested. Thanks a lot for the help

mrmin123 commented 8 years ago

No problem, hope things are fixed on master branch!

etcet54 commented 8 years ago

Hello, I apologize for reopening the issue again. I've use the latest release (r4, 2 days ago) but the error happens again, this time the menu_top_home.png error.

Here's the log capture

mrmin123 commented 8 years ago

@etcet54 No problem, but could you describe the problem a bit more? Having more of the log leading up to the crash would be helpful, but maybe you can describe what kancolle-auto was doing before then: what action/subroutine was it doing, what screen did it crash on, where was the mouse located when it crashed, etc...

mrmin123 commented 8 years ago

@etcet54 No problem, but could you describe the problem a bit more? Having more of the log leading up to the crash would be helpful, but maybe you can describe what kancolle-auto was doing before then: what action/subroutine was it doing, what screen did it crash on, where was the mouse located when it crashed, etc...

etcet54 commented 8 years ago

ah, ok. The last time it happened, it's ended when receiving expedition, the program ended on this kind of page 4t as for the mouse location, I'm sorry I don't really pay attention on that.

I've run it again for 7 hours now and it's still working fine. I'll try to screenshot the log longer next time it happened again.

mrmin123 commented 8 years ago

Hmm. It sounds like a transient issue. Since it's transient it's less of an issue in the code and more related to other factors/noise in the environment it's running in. The only thing I can recommend is to increase the SleepModifier in the config by 1 or 2. Or you might not see it again. Hard to tell.

I'm going to close this, but if you continue to see this happening even with the above config change, feel free to collect a few more data points and re-open this issue.

etcet54 commented 8 years ago

Hi, luckily it's just happened again, this time it's on this page when receiving expedition kancolle-160524-06182845

Mouse position is on the middle of the screen

I've screenshot longer log too just in case it can help anything capture

alright, I'll try changing the sleepmodifier, but if it's still happen, guess I'm just unlucky for experiencing this, haha. Thanks a lot for your help.