Closed Zylphex closed 8 years ago
Also would like to add when I run the script with the same settings on PC it works completely fine.
@Zylphex That's a very specific case, so I probably won't be able to help much with it.
Try replacing this line in kancolle_auto.py
:
# debug_find('dmg_critical.png', 'Chrome', 0.75) # For debugging purposes only!
to (notice it's not a comment anymore)
debug_find('repair_start.png', 'Chrome', 0.8) # For debugging purposes only!
and try running the script again on the laptop. If you're getting a match there, then dunno what to say...
Thanks for the help mrmin, It did find a match and I still got the error. I'll continue tweaking the script and maybe I'll figure it out.
Aug 22, 2016 10:29:55 AM java.util.prefs.WindowsPreferences
[error] script stopped with error in line 382 [error] Could not evaluate error source nor reason. Analyze StackTrace! [error] Traceback (most recent call last): File "C:\kancolleauto\kancolle_auto.sikuli\kancolle_auto.py", line 382, in <mo dule> debug_find('repair_start_confirm.png', 'Chromium', 0.8) # For debugging pu rposes only! File "C:\kancolleauto\kancolle_auto.sikuli\util.sikuli\util.py", line 627, in debug_find raise SystemExit
@Zylphex yea I can't really help you there. Closing this as I don't think it's a kancolle-auto problem.
Hello,
I've been having a consistent issue that's exclusive when I try to run the auto script on my laptop. Everything works fine except when it reaches the repair menu and I always get find failed errors on repair_start_confirm. I've tried replacing the image with one I've taken with a laptop. I've tried adjusting sleep modifier variable to various settings and it has had no effect. The script has run fine in every other screen. Sorties/Expeditions/etc. http://i.imgur.com/naOYoyv.png A picture for reference at the moment of the script crash. Any assistance at all would be greatly appreciated.
Environment details
Issue
Is the issue consistent (can be reproduced consistently) or is it transient (only happens sometimes)? Please check one of the boxes:
[replace this line with a description of issue, along with any screenshots and/or videos. Please be descriptive as possible, describing step by step what is happening in the game]
Console log (if applicable)
Relevant config snippet (if applicable)