Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problems with kancolle-auto.py #3

Open
Bararun opened this issue Jul 19, 2014 · 124 comments
Open

problems with kancolle-auto.py #3

Bararun opened this issue Jul 19, 2014 · 124 comments

Comments

@Bararun
Copy link

Bararun commented Jul 19, 2014

I've managed to run kancolle-auto.py on Sikuli 1.0.1 and the expeditions run well whe they are sent for the first time. The problem comes when one of the expeditions return.

the script receives the expedition, ressuplies it but then it starts trying to send all the expeditions again, with the consequence that it can't find decision.png in any of the exeditions that haven't returned already.

this iss the log I'm receiving:

[log] CLICK on L(49,307)@s(0)[0,0 1366x768]

[log] CLICK on L(57,272)@s(0)[0,0 1366x768]

[log] CLICK on L(154,168)@s(0)[0,0 1366x768]

[log] CLICK on L(99,169)@s(0)[0,0 1366x768]

[log] CLICK on L(680,489)@s(0)[0,0 1366x768]

[log] CLICK on L(183,169)@s(0)[0,0 1366x768]

[log] CLICK on L(99,169)@s(0)[0,0 1366x768]

[log] CLICK on L(680,489)@s(0)[0,0 1366x768]

[log] CLICK on L(214,168)@s(0)[0,0 1366x768]

[log] CLICK on L(99,169)@s(0)[0,0 1366x768]

[log] CLICK on L(680,489)@s(0)[0,0 1366x768]

[log] CLICK on L(49,307)@s(0)[0,0 1366x768]

[log] CLICK on L(175,308)@s(0)[0,0 1366x768]

[log] CLICK on L(651,287)@s(0)[0,0 1366x768]

[log] CLICK on L(120,484)@s(0)[0,0 1366x768]

[log] CLICK on L(276,248)@s(0)[0,0 1366x768]

[error] script [ kancolle_auto ] stopped with error in line 122
[error] FindFailed ( can not find decision.png on the screen. )
[error] --- Traceback --- error source first line: module ( function ) statement 49: main ( shutsugeki ) click("decision.png")
114: main ( main ) running_ensei_list += shutsugeki()
107: main ( init ) main()
[error] --- Traceback --- end --------------

@Bararun
Copy link
Author

Bararun commented Jul 19, 2014

I'm running windows 8.1 (6.3) and Sikuli 1.0.1

@amylase
Copy link
Owner

amylase commented Jul 24, 2014

Sorry for late response, because I went on a trip and I could not have the Internet access there.

As mentioned in README.md, I developed and tested kancolle-auto only on Ubuntu, so I'm not sure kancolle-auto runs on windows.
I will briefly check my source code.
Please wait, or debug and send patch :)

@ghost
Copy link

ghost commented Aug 6, 2014

Hello amylase. I have found what appears to be the cause of this issue. You may have already found the cause too, but please let me explain to Bararun.

Let me give you an example. Imagine you are running expedition no.1 and no.2. When expedition no.1 returns, the script resupplies every fleet, even including the fleet running expedition no.2, which has not returned. The script then goes to the expedition sortie screen, and successfully sends a fleet to expedition no.1 again.

However, here is where the problem is. The script also tries to send out expedition no.2 again, even though it has not yet returned. It looks for decision.png, which looks like this.
decision

But because expedition no.2 is actually still in progress, we see this image instead.
expedition_cancel

This button has been added in a previous update, and allows you to cancel the expedition. Before this function was added, there was only a grayed out button indicating that the fleet is already on this expedition and cannot be sent out. This grayed out button looks like this.
ensei_enable


Currently, there are 2 solutions.

  1. Update how the script functions so it sends out ONLY the fleet which has returned and been resupplied, instead of trying to send out all fleets again, even if they are currently in the middle of an expedition.
  2. Remove the dependency on the built-in timer and make it so that this script is able to use the timer on LOGBOOK or KanColleViewer (KCV). This would possibly eliminate the problem described above and have the same effects of Solution 1, with this script sending out only fleets which have returned from their expedition, as according to the Logbook/KCV timer.

As always, there is always more than one way to fix things. I await your response, amylase. Thank you for your hard work.

@ghost
Copy link

ghost commented Aug 7, 2014

In addition, there are two other forks of this script. It appears that silfumus has the same problem as this version, but does not rely on the built in timer. Yukariin appears to be somewhat updated.

@Yukariin
Copy link

Yukariin commented Aug 7, 2014

In my fork I resupply and restart only returned fleet, not all.

@ghost
Copy link

ghost commented Aug 8, 2014

Yes, I see. It was working wonderfully (exp 5, 21, 38). Also, Yukariin, which version of Sikuli are you currently running? In addition, just out of curiosity, why is it recommended to use 1.0.x instead of 1.1.x?

@Yukariin
Copy link

Yukariin commented Aug 8, 2014

I use 1.0.1 (as I said in readme). By my sense 1.1.x is very unstable, so I use 1.0.1 and it worked great for me.

@ghost
Copy link

ghost commented Aug 9, 2014

Hello, Yukariin. I have encountered a new problem while using your fork. Instead of opening a new issue I'll just put it in this thread. I have been running exp 5, 21, 38.

Here is the last part of the log. As you can see, it is still functioning correctly until the second half there:

[log] CLICK on L(452,246)@s(0)[0,0 1366x768]

[log] CLICK on L(625,573)@s(0)[0,0 1366x768]

ensei id = 38, end time = 2014-08-09 20:58:30.661999 successfully started

[log] CLICK on L(275,564)@s(0)[0,0 1366x768]

[log] CLICK on L(290,420)@s(0)[0,0 1366x768]

[log] CLICK on L(677,571)@s(0)[0,0 1366x768]

Try ensei id = 21, end time = 2014-08-09 20:23:43.634000
Try to use fleet 2

[log] CLICK on L(625,573)@s(0)[0,0 1366x768]

ensei id = 21, end time = 2014-08-09 20:23:50.971999 successfully started

Restart expedition
[log] App.focus KanColleTool Viewer(0) #0
[error] App.focus failed: KanColleTool Viewer not found
[log] App.focus KanColleViewer(0) #0

[log] CLICK on L(71,386)@s(0)[0,0 1366x768]

[log] CLICK on L(77,351)@s(0)[0,0 1366x768]

[error] script [ *kancolle_auto ] stopped with error in line 137
[error] FindFailed ( can not find fleet_3.png on the screen. )
[error] --- Traceback --- error source first line: module ( function ) statement 111: main ( supply ) kc_window_region.click(fleet_name)
[error] --- Traceback --- end --------------


This problem has occurred several times, all while I am AFK or asleep. As such, I cannot see what the script is doing as it logs those errors. I was wondering if you had ever encountered the same errors, and whether you have a fix or workaround for them or not.

However, I have a hunch. It may be because the script handles expeditions individually. As such, it may encounter problems when expeditions finish at the same time. What do you think, Yukariin? I patiently await your response.

@Yukariin
Copy link

Yukariin commented Aug 9, 2014

Seems like this happening in resupply stage.
First click - go to home screen.
Second click - go to resupply screen.
But after first click it should start receiving expedition rewards. So, after first click we see award received screen that not contain fleet_number icon (lol).
I did some fixes (more verbose restarting message and homescreen load checking).
You can try this.

Also, you use any viewers? I see that script say's [error] App.focus failed: KanColleTool Viewer not found but after [log] App.focus KanColleViewer(0) #0 I not see any errors - window switching working fine for you?

However, I have a hunch. It may be because the script handles expeditions individually. As such, it may encounter problems when expeditions finish at the same time. What do you think, Yukariin? I patiently await your response.

Nope, after script sees that one of expeditions ends - script pausing checkings and do resupply-restart stages.

@ghost
Copy link

ghost commented Aug 10, 2014

Thank you for finding the issue and making the changes! I have just began using the new script and will report any problems if there are any after testing it for today.

About the viewer, yes, I use KanColleViewer on Windows 8. I actually do not know why Sikuli is giving me this report on App Focusing. However, this viewer has a function which makes the viewer's window always stay on top, even if I switch to another application, like my browser, file explorer or even just the desktop. I enable this feature on purpose to make sure that Sikuli can focus on just the KancolleViewer window when I am away or asleep.

I found the problem regarding the viewer. It seems the app focus is centered around KCTV, not KCV. I will make some slight adjustments.

@Yukariin
Copy link

I found the problem regarding the viewer. It seems the app focus is centered around KCTV, not KCV. I will make some slight adjustments.

Yep, because sikuli use window title for focusing on that window. And KCV have title on Japanese, I tried focus on window with japanese letters in title and it seems like not working.
If you can found any workaround for this problem, please tell me - I'll try fix it.

@ghost
Copy link

ghost commented Aug 10, 2014

I have found the cause of the problem and found a workaround. The cause is a bug in Sikuli, specifically versions pre-1.1.x only. It appears that App.focus() does not work for non-ASCII characters in versions pre-1.1.x. Japanese characters do not count as ASCII and would not work as a result. Here is the thread with the developer's response. However, this issue is related with Chinese characters (but is the same problem: non-ASCII characters do not work in App.focus): https://answers.launchpad.net/sikuli/+question/162050

It appears the developer fixed it in 1.1.x:https://bugs.launchpad.net/sikuli/+bug/1008113

However, because Sikuli 1.1.x is more unstable, I prefer not to use it. And I have found easy solution to described problem above. I found an English fork of the original KCV here: https://github.com/Yuubari/KanColleViewer

This is an English fork with translations and some added features. The important thing is that this KCV version has all the features of the original KCV, but the title is no longer in Japanese. Though it is harsher to read in English, it appears that it retains the Japanese translations so I can read in Japanese again. It is simply "KanColleViewer!" right now. It is holding up fine but I will continue to monitor any errors if occurring and check the log each use.

Here I have attached a portion of the log to show that it is working:

[log] CLICK on L(176,248)@s(0)[0,0 1366x768]

[log] CLICK on L(116,251)@s(0)[0,0 1366x768]

[log] CLICK on L(702,569)@s(0)[0,0 1366x768]

[log] App.focus KanColleViewer!(0) #0

[log] CLICK on L(71,386)@s(0)[0,0 1366x768]

[log] CLICK on L(199,396)@s(0)[0,0 1366x768]


Here is the portion in my version of your script regarding App.focus():

def check_window():
global kc_window_region

switchApp("KanColleViewer")

I cut if off here. It's just that one line of switchApp() which has its contents changed. Try it if you wish, and let's see if it works!

@Yukariin
Copy link

I cut if off here. It's just that one line of switchApp() which has its contents changed. Try it if you wish, and let's see if it works!

I can just add one more string with switchApp() that will contain additional viewer title.
And currently I no have windows on my laptop and I can't test it. I update the script, so you can test it.

@ghost
Copy link

ghost commented Aug 11, 2014

It is working very well. Running expeditions 2, 5, 21 non stop and no problems so far. Thank you very much!

@Yukariin
Copy link

No problem :3

@Yukariin
Copy link

Yep, I saw this. In most cases this happen on screen that makes request to KanColle API (high ping to API) or just animation lagging.
If you tell me places in that you stuck - I can raise waiting time.

@ghost
Copy link

ghost commented Aug 14, 2014

I see! I will do some more examination to see where exactly it is slow and report soon. Thank you.

@ghost
Copy link

ghost commented Aug 15, 2014

So far, the logs often tell me that it cannot find sortie.png and expedition.png. Thus, I believe that it is lagging after it finishes resupply and clicks home.png, and also after it clicks sortie.png.

@Yukariin
Copy link

Ok, I increase waiting time for sortie.png and expedition.png in few places in script.

@ghost
Copy link

ghost commented Aug 15, 2014

Thanks! I leave this running for a while and will report what happened in a few hours.

@ghost
Copy link

ghost commented Aug 17, 2014

It fixed it! It is able to run continuously without interruption now. Thank you.

@babatk
Copy link

babatk commented Aug 17, 2014

I had a same problem with the sortie.png,
For me, adjusting the similarity like this made it working.
kc_window_region.hover(Pattern("senseki.png").similar(0.74))
My guess is that the Sikuli was coufusing between "sortie"(戦績表示) and "pictorial book"(図鑑表示)

And for the "expedition.py" you could subtract a minute from each expedition timedelta.
e.g.for ensei id3, datetime.timedelta(minutes=19))
Cuz every expedition ends a minute earlier than it says.

@Yukariin
Copy link

Oh, thanks, I forgot about it...
I fix timedeltas in expedition.py.

2014-08-17 15:03 GMT+08:00 babatk notifications@github.com:

I had a same problem with the sortie.png,
For me, adjusting the similarity like this made it working.
kc_window_region.hover(Pattern("senseki.png").similar(0.74))
My guess is that the Sikuli was coufusing between "sortie"(戦績表示) and
"pictorial book"(図鑑表示)

And for the "expedition.py" you could subtract a minute from each
expedition timedelta.
e.g.for ensei id3, datetime.timedelta(minutes=19))
Cuz every expedition ends a minute earlier than it says.


Reply to this email directly or view it on GitHub
#3 (comment).

@kevin01523
Copy link

sometimes i see that the ships not properly supplied but sent to expedition

it happend in this part by the way i used yukarins latest commit

Expedition #3 ends, restarting
[log] App.focus KanColleTool Viewer(0) #0
[log] App.focus KanColleViewer!(0) #0
[error] App.focus failed: KanColleViewer! not found
[log] CLICK on L(330,335)@s(0)[0,0 1366x768]
[log] CLICK on L(429,232)@s(0)[0,0 1366x768]
[log] CLICK on L(369,235)@s(0)[0,0 1366x768]
[log] App.focus KanColleTool Viewer(0) #0
[log] App.focus KanColleViewer!(0) #0
[error] App.focus failed: KanColleViewer! not found
[log] CLICK on L(324,370)@s(0)[0,0 1366x768]
[log] CLICK on L(893,142)@s(0)[0,0 1366x768]
[log] CLICK on L(1016,555)@s(0)[0,0 1366x768]
[log] CLICK on L(1016,555)@s(0)[0,0 1366x768]
[log] CLICK on L(452,380)@s(0)[0,0 1366x768]
[log] CLICK on L(926,350)@s(0)[0,0 1366x768]
[log] CLICK on L(395,547)@s(0)[0,0 1366x768]
[log] CLICK on L(552,342)@s(0)[0,0 1366x768]
[log] CLICK on L(930,555)@s(0)[0,0 1366x768]
Try ensei id = 3, end time = 2014-08-26 23:32:52.358999
Try to use fleet 2
[log] CLICK on L(878,557)@s(0)[0,0 1366x768]
ensei id = 3, end time = 2014-08-26 23:52:57.101000 successfully started

i think the problem is the script tried to resupply the fleet before getting the result of the expediton it only happens once in a while

this 2nd error i recieved when it tried to resupply but sent to claim the results of the expedition

Expedition #6 ends, restarting
[log] App.focus KanColleTool Viewer(0) #0
[log] App.focus KanColleViewer!(0) #0
[error] App.focus failed: KanColleViewer! not found
[log] CLICK on L(614,346)@s(0)[0,0 1366x768]
[log] CLICK on L(620,311)@s(0)[0,0 1366x768]
[error] script stopped with error in line 138
[error] FindFailed ( can not find fleet_4.png on the screen. )
[error] --- Traceback --- error source first
line: module ( function ) statement
112: main ( supply ) kc_window_region.click(fleet_name)
[error] --- Traceback --- end --------------

@Yukariin
Copy link

sometimes i see that the ships not properly supplied but sent to expedition

Yeeep, sometimes select all checkbox not checking (i don't know why) and fleet not resupplied.
I'll try make some checking, before send fleet to expedition.

this 2nd error i recieved when it tried to resupply but sent to claim the results of the expedition

It's very strange, I already fix it in #3 (comment)
You use my fork, right? You use latest version?

@ghost
Copy link

ghost commented Aug 26, 2014

For select all error, it is because sometimes sikuli clicks before the cursor is placed on top of the select all checkbox. Possible fix is to add pause. Move cursor, pause for 1 second, click.

@Yukariin
Copy link

For select all error, it is because sometimes sikuli clicks before the cursor is placed on top of the select all checkbox.

Not sure, I have this error when I manually resupply my fleets -___-
Anyway, I'll make some fixes.

@kevin01523
Copy link

yes i use your latest version it happens after continous use ok i tried to rerun this night i deleted and redowload the script to be sure and i run it on debug and save a log on a txt file

im running 3 fleets 3,5,21

here is the one of the common errors i encounter

it stopped this morning

but it continued without stop from 1am to 8 am +8:00

happend on this segment

log on txt file

[log] CLICK on L(1109,512)@s(0)[0,0 1366x768]
[debug] waiting for ensei_start.png to appear
[debug] ensei_start.png has appeared.
[log] CLICK on L(1057,514)@s(0)[0,0 1366x768]
[debug] waiting for exp_started.png to appear
[debug] exp_started.png has not appeared.
[error] script stopped with error in line 140
[error] FindFailed ( can not find exp_started.png on the screen. )
[error] --- Traceback --- error source first
line: module ( function ) statement
78: main ( run_expedition ) kc_window_region.wait("exp_started.png")
[error] --- Traceback --- end --------------

log on cmd

ensei id = 3, end time = 2014-08-27 06:52:39.427000 successfully started
Expedition #3 ends, restarting
Try ensei id = 3, end time = 2014-08-27 06:52:39.427000
Try to use fleet 2

the errors i encounter does always not happen i don't know why it happens

the 2nd error i posted last night happen when it went to the home screen but instead of claiming the the results it tried to resupply(tried to click the ressupply button) the returned fleet but because if a fleet has returned you are forced to claim the results so it went to the claim the results page instead that's when the script stopped.

the last error i encountered happens when it finished sending a fleet

@Yukariin
Copy link

Well, I update script.
I tested it in this night and it working fine without any errors...

@kevin01523
Copy link

ok ill try to run it today overnight ill post if i encounter an error

@vSwifty
Copy link

vSwifty commented Feb 10, 2015

@Yukariin Pinging 203.104.209.55 results in alot of time out errors but the game itself loads fine and quick for me.

image

After looking at it for a bit, I realized the majority of the times it's worked perfectly for me is when I launch all expeditions at once rather than launching them when 1 or 2 of the other fleets are already out, Because of that the timers would be off.

So for example Fleet 1 is 5mins till completion and you launch Fleet 2 while Fleet 1 is still out, The script will take the current time and add the max duration of the expedition to its timer rather than checking the time remaining which causes the results to pile up at main screen. What ends up happening is that the script goes through one of the reward screens and then tries to go straight into resupply without clearing remaining reward screens. Which resulted in the error that I received.

At Least that's what I'm seeing, I'll try running it over night for a bit fresh all fleets launched together by the script and see if that runs into the same issue.

@Yukariin
Copy link

@vSwifty we can't get remain time for already launched exp.
After go to main screen script will check if exp notificaton is exists and get reward, and after that script check main screen again.
So no matter how many fleets are returned and how many notification you have script will get all of them.

@Yukariin
Copy link

@vSwifty you can run 3 and 6 exps and see how it's working.

@vSwifty
Copy link

vSwifty commented Feb 10, 2015

@Yukariin Ah okay, I see. I'll run it for a little while and report any issues.

@kevin01523
Copy link

D:\sikuli>runScript -d 2 -r kancolle_auto.sikuli
+++ running this Java
java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot(TM) Client VM (build 24.65-b04, mixed mode)
+++ trying to start Sikuli Script
+++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar
D:\sikuli\sikuli-script.jar -d 2 -r kancolle_auto.sikuli
[debug] Running on Java 7 (1.7.0_67-b01)
[debug] ResourceLoaderBasic: check: we are running on arch: x86
[debug] ResourceLoaderBasic: check: using Java at: C:/Program Files/Java/jre7/
[debug] Screen: initScreens: basic initialization (1 Screen(s) found)
[log] App.focus KanColleTool Viewer(0) #0
[log] App.focus KanColleViewer!(0) #0
[error] App.focus failed: KanColleViewer! not found
[debug] waiting for senseki.png to appear
[debug] senseki.png has appeared.
[debug] waiting for senseki.png to appear
[debug] senseki.png has appeared.
[debug] waiting for sortie.png to appear
[debug] sortie.png has appeared.
[debug] waiting for senseki.png to appear
[debug] senseki.png has appeared.
[debug] waiting for senseki.png to appear
[debug] senseki.png has appeared.
[debug] waiting for supply.png to appear
[debug] supply.png has appeared.
[log] CLICK on L(360,362)@s(0)[0,0 1366x768]
[debug] waiting for supply_screen.png to appear
[debug] supply_screen.png has appeared.
[debug] waiting for fleet_3.png to appear
[debug] fleet_3.png has appeared.
[debug] waiting for fleet_3.png to appear
[debug] fleet_3.png has appeared.
[log] CLICK on L(488,259)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(401,260)@s(0)[0,0 1366x768]

kinda stuck here idk what happened but its a one time thing just reporting it did run normaly when i tried again

@Yukariin
Copy link

@kevin01523 yep, script press supply all checkbox in while statement until successfully checked. This is a bit dirty but sometimes this stupid checkbox are bugged and script send unsupplied fleets in expedition >_<

@kevin01523
Copy link

yeah kinda noticed that too on earlier versions it happens once in a while but rarely but now it seems it happens more recently

by the way i noticed this bug well it seems connected in a way it did resupply 2 of the fleets but not fleet 4 then when sending the expeds the scripted saw that fleet 4 was not supplied then it clicked area 1 then thats it it got stuck there happens once in a while.

D:\sikuli>runScript -d 2 -r kancolle_auto.sikuli
+++ running this Java
java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot(TM) Client VM (build 24.65-b04, mixed mode)
+++ trying to start Sikuli Script
+++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar
D:\sikuli\sikuli-script.jar -d 2 -r kancolle_auto.sikuli
[debug] Running on Java 7 (1.7.0_67-b01)
[debug] ResourceLoaderBasic: check: we are running on arch: x86
[debug] ResourceLoaderBasic: check: using Java at: C:/Program Files/Java/jre7/
[debug] Screen: initScreens: basic initialization (1 Screen(s) found)
[log] App.focus KanColleTool Viewer(0) #0
[log] App.focus KanColleViewer!(0) #0
[error] App.focus failed: KanColleViewer! not found
[debug] waiting for senseki.png to appear
[debug] senseki.png has appeared.
[debug] waiting for senseki.png to appear
[debug] senseki.png has appeared.
[debug] waiting for sortie.png to appear
[debug] sortie.png has appeared.
[debug] waiting for senseki.png to appear
[debug] senseki.png has appeared.
[debug] waiting for senseki.png to appear
[debug] senseki.png has appeared.
[debug] waiting for supply.png to appear
[debug] supply.png has appeared.
[log] CLICK on L(413,359)@s(0)[0,0 1366x768]
[debug] waiting for supply_screen.png to appear
[debug] supply_screen.png has appeared.
[debug] waiting for fleet_3.png to appear
[debug] fleet_3.png has appeared.
[debug] waiting for fleet_3.png to appear
[debug] fleet_3.png has appeared.
[log] CLICK on L(541,256)@s(0)[0,0 1366x768]
[debug] waiting for fleet_2.png to appear
[debug] fleet_2.png has appeared.
[debug] waiting for fleet_2.png to appear
[debug] fleet_2.png has appeared.
[log] CLICK on L(512,256)@s(0)[0,0 1366x768]
[debug] waiting for supply_all.png to appear
[debug] supply_all.png has appeared.
[log] CLICK on L(454,257)@s(0)[0,0 1366x768]
[debug] waiting for supply_available.png to appear
[debug] supply_available.png has appeared.
[debug] waiting for supply_available.png to appear
[debug] supply_available.png has appeared.
[log] CLICK on L(1038,577)@s(0)[0,0 1366x768]
[debug] waiting for supply_not_available.png to appear
[debug] supply_not_available.png has appeared.
[debug] waiting for fleet_4.png to appear
[debug] fleet_4.png has appeared.
[debug] waiting for fleet_4.png to appear
[debug] fleet_4.png has appeared.
[log] CLICK on L(572,255)@s(0)[0,0 1366x768]
[log] App.focus KanColleTool Viewer(0) #0
[log] App.focus KanColleViewer!(0) #0
[error] App.focus failed: KanColleViewer! not found
[debug] waiting for senseki.png to appear
[debug] senseki.png has appeared.
[debug] waiting for home.png to appear
[debug] home.png has appeared.
[log] CLICK on L(407,394)@s(0)[0,0 1366x768]
[debug] waiting for senseki.png to appear
[debug] senseki.png has appeared.
[debug] waiting for sortie.png to appear
[debug] sortie.png has appeared.
[debug] waiting for senseki.png to appear
[debug] senseki.png has appeared.
[debug] waiting for senseki.png to appear
[debug] senseki.png has appeared.
[debug] waiting for sortie.png to appear
[debug] sortie.png has appeared.
[debug] waiting for sortie.png to appear
[debug] sortie.png has appeared.
[log] CLICK on L(535,404)@s(0)[0,0 1366x768]
[debug] waiting for expedition.png to appear
[debug] expedition.png has appeared.
[debug] waiting for expedition.png to appear
[debug] expedition.png has appeared.
[log] CLICK on L(1009,374)@s(0)[0,0 1366x768]
[debug] waiting for expedition_screen_ready.png to appear
[debug] expedition_screen_ready.png has appeared.
[debug] waiting for ensei_area_01.png to appear
[debug] ensei_area_01.png has appeared.
[log] CLICK on L(471,571)@s(0)[0,0 1366x768]
[debug] waiting for ensei_name_06.png to appear
[debug] ensei_name_06.png has appeared.
[log] CLICK on L(632,459)@s(0)[0,0 1366x768]
[debug] waiting for decision.png to appear
[debug] decision.png has appeared.
[log] CLICK on L(1013,579)@s(0)[0,0 1366x768]
Try ensei id = 6, end time = 2015-04-26 14:06:54.857000
Try to use fleet 3
[debug] waiting for fleet_3.png to appear
[debug] fleet_3.png has appeared.
[log] CLICK on L(757,255)@s(0)[0,0 1366x768]
[debug] waiting for ensei_start.png to appear
[debug] ensei_start.png has appeared.
[log] CLICK on L(961,581)@s(0)[0,0 1366x768]
[debug] waiting for senseki.png to appear
[debug] senseki.png has appeared.
[debug] waiting for exp_started.png to appear
[debug] exp_started.png has appeared.
ensei id = 6, end time = 2015-04-26 14:07:12.200000 successfully started
[debug] waiting for ensei_area_05.png to appear
[debug] ensei_area_05.png has appeared.
[log] CLICK on L(703,572)@s(0)[0,0 1366x768]
[debug] waiting for ensei_name_38.png to appear
[debug] ensei_name_38.png has appeared.
[log] CLICK on L(630,456)@s(0)[0,0 1366x768]
[debug] waiting for decision.png to appear
[debug] decision.png has appeared.
[log] CLICK on L(1013,579)@s(0)[0,0 1366x768]
Try ensei id = 38, end time = 2015-04-26 16:22:24.809999
Try to use fleet 2
[debug] waiting for ensei_start.png to appear
[debug] ensei_start.png has appeared.
[log] CLICK on L(961,581)@s(0)[0,0 1366x768]
[debug] waiting for senseki.png to appear
[debug] senseki.png has appeared.
[debug] waiting for exp_started.png to appear
[debug] exp_started.png has appeared.
ensei id = 38, end time = 2015-04-26 16:22:37.450000 successfully started
[debug] waiting for ensei_area_03.png to appear
[debug] ensei_area_03.png has appeared.
[log] CLICK on L(592,572)@s(0)[0,0 1366x768]
[debug] waiting for ensei_name_21.png to appear
[debug] ensei_name_21.png has appeared.
[log] CLICK on L(626,428)@s(0)[0,0 1366x768]
[debug] waiting for decision.png to appear
[debug] decision.png has appeared.
[log] CLICK on L(1013,579)@s(0)[0,0 1366x768]
Try ensei id = 21, end time = 2015-04-26 15:47:49.982000
Try to use fleet 4
[debug] waiting for fleet_4.png to appear
[debug] fleet_4.png has appeared.
[log] CLICK on L(788,254)@s(0)[0,0 1366x768]
No fleets were aveilable for this expedition.
[debug] waiting for ensei_area_01.png to appear
[debug] ensei_area_01.png has appeared.
[log] CLICK on L(471,571)@s(0)[0,0 1366x768]

@kevin01523
Copy link

heres my fleet setup
expedition_id_fleet_map = {6: 3,
21: 4,
38: 2}

@kevin01523
Copy link

ok im just asking if is it possible for a fleet to run different expedition for example fleet number 2 runs on exped 2 but i want to run it on exped 6 next then exped 2 again and so on since fleet 2 satisy the requirements need for both exped 6 and 2 if this is possible it would be a great help and it is good for the script to be more flexible

@Yukariin
Copy link

Yukariin commented May 4, 2015

@kevin01523 this looks as very unusual usecase and I'm not sure that we really need this feature.

Also I'm currently working on porting script on pure Java and make some GUI for it. But I'm stuck on jar packing because of SikuliX bug (Sikuli's lib doesn't see bundled into jar images and can't search them on screen).
28

@kevin01523
Copy link

@Yukariin i've read some topics on your problem and i think most of them encounter the same bug well i guess you need to store the images in a directory on the users computer if on windows on the user directory like in kct well in other platform well i dont have any idea but in linux i guess in usr directory or a dirtectory that has fewer restrictions well i guess i just want to get buckets and baux and rsc at the same time without changing fleet setup or something like that

@Yukariin
Copy link

Yukariin commented May 5, 2015

@kevin01523 yep, I know about that, but this is very dirty solution and Sikuli should work with bundled into jar images -___-

@kevin01523
Copy link

@Yukariin have you tested it w/ the latest 1.1.0 nightly builds of sikuli it might have a working solution for that.as it is a requested to implemented solution as i has read.well i guess its not implemented and does nothing in 1.0.1
https://bugs.launchpad.net/sikuli/+bug/1220640
https://answers.launchpad.net/sikuli/+question/235137

@Yukariin
Copy link

Yukariin commented May 6, 2015

Yep, I tested it on 1.1.0. May be this be fixed on 1.2.x or may be not...

@Danielosama
Copy link

Hello, I keep getting this error with the script

[error] script [ kancolle_auto ] stopped with error in line 120
[error] FindFailed ( can not find ensei_area_01.png on the screen. )
[error] --- Traceback --- error source first line: module ( function ) statement 43: main ( shutsugeki ) click(ensei.area_pict)
112: main ( main ) running_ensei_list += shutsugeki()
105: main ( init ) main()
[error] --- Traceback --- end --------------

I run expeditions 2, 11 and 21.
Any solution?
Thanks a lot for the script btw.

@kevin01523
Copy link

https://github.com/tantinevincent/Onegai-ooyodosan i found a similar project w/ extras it works but need improvements

@mrmin123
Copy link

I picked this game up recently and developed my own fork of this project as another alternative: https://github.com/mrmin123/kancolle-auto

@kevin01523
Copy link

@mrmin123 ill test it on windows and ill post errors here

@mrmin123
Copy link

@kevin01523 Thanks; if you find anything feel free to report it on my fork. I just opened up the Issues section of it.

@kevin01523
Copy link

@mrmin123 ok noted ill test first the exped for 1 day

@AppleBoi86
Copy link

Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.

C:\Windows\system32>call C:\SikuliX\runIDE.cmd -r C:\SikuliX\kancolle_auto.sikul
i
'Files' is not recognized as an internal or external command,
operable program or batch file.
+++ Java not found in standard places C:\Program Files or C:\Program Files (x86)

+++ JAVA_HOME not specified
+++ ended with some errors

C:\Windows\system32>java -version
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) Client VM (build 25.60-b23, mixed mode, sharing)


Can anyone help me with this? It was running fine until I did a system restore.
I've uninstall and reinstall the latest Java version and got the error above.

@kevin01523
Copy link

@AppleBoi86 try installing java 7 jre

@AppleBoi86
Copy link

@kevin01523 Thank you very much. I got it to work again.
Still why can't we use Java 8 for this? I got a program that requires Java 8, now unusable cause using Java 7 for this. Is there anyway we can have both at the same time? I'm trying not to mess up my PC again. I would like your input on that.

Sorry if this is OT.
I'm trying to run "JPEXS Free Flash Decompiler". It comes with an error stating that it requires Java Runtime Environment 1.8.0

@kevin01523
Copy link

well theres a workaround for java 8 you need to edit runsetup for sikuli for java 8 so youn need to resetup sikuli again for that

@kevin01523
Copy link

@AppleBoi86 ah i forgot about this one http://stackoverflow.com/questions/27927332/sikuli-java-not-found-error

well you can do this if you want sikuli to use java 8 instead of 7

@kevin01523
Copy link

i know java 8 and 7 can be installed side by side thats how it is on my pc now

@AppleBoi86
Copy link

With the latest update, resupply all will not work anymore. We can solve it by changing the supply_all.png but it will get stuck if your other fleet is supply is full.

@kevin01523
Copy link

its fixed on latest update on this repo https://github.com/mrmin123/kancolle-auto

@AppleBoi86
Copy link

Thanks for that kevin01523. I ran into a problem and would like some help.
I couldn't use "java -jar C:\Sikuli\sikuli-script.jar -r C:\mrmin123\kancolle_auto.sikuli" cause I need Java 1.8. Does that affect anything?

Here's the problem I encounter.

�C:\Windows\system32>call C:\Sikuli\runIDE.cmd -r C:\mrmin123\kancolle_auto.sikul
i
+++ running this Java
java version "1.7.0_80"
Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)
+++ trying to start Sikuli IDE
+++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar
C:\Sikuli\sikuli-ide.jar -r C:\mrmin123\kancolle_auto.sikuli
�[94m[2015-10-11 02:40:10] Reading config file�[0m
�[92m[2015-10-11 02:40:10] Config loaded!�[0m
�[92m[2015-10-11 02:40:10] Starting kancolle_auto�[0m
�[94m[2015-10-11 02:40:10] Focus on KanColle!�[0m
[log] App.focus KanColleViewer(0) #0
�[92m[2015-10-11 02:40:16] At Home!�[0m
�[94m[2015-10-11 02:40:16] Are there returning expeditions to receive?�[0m
�[94m[2015-10-11 02:40:20] No, no fleets to receive!�[0m
�[92m[2015-10-11 02:40:20] Refreshing Home!�[0m
[log] CLICK on L(926,69)@s(0)[0,0 1600x900]
[log] CLICK on L(821,472)@s(0)[0,0 1600x900]
�[92m[2015-10-11 02:40:35] At Home!�[0m
�[94m[2015-10-11 02:40:35] Are there returning expeditions to receive?�[0m
�[94m[2015-10-11 02:40:39] No, no fleets to receive!�[0m
�[94m[2015-10-11 02:40:39] Navigating to Expedition menu!�[0m
[log] CLICK on L(963,286)@s(0)[0,0 1600x900]
[log] CLICK on L(1437,256)@s(0)[0,0 1600x900]
�[94m[2015-10-11 02:40:43] Let's send an expedition out!�[0m
[log] CLICK on L(899,453)@s(0)[0,0 1600x900]
[log] CLICK on L(1063,248)@s(0)[0,0 1600x900]
[log] CLICK on L(1441,461)@s(0)[0,0 1600x900]
�[94m[2015-10-11 02:40:53] Trying to send out fleet 3 for expedition 3�[0m
[log] CLICK on L(1185,137)@s(0)[0,0 1600x900]
�[91m[2015-10-11 02:40:55] Fleet not available. Check back later!�[0m
�[94m[2015-10-11 02:40:55] Focus on KanColle!�[0m
[log] App.focus KanColleViewer(0) #0
�[94m[2015-10-11 02:41:04] Going Home!�[0m
[log] CLICK on L(835,276)@s(0)[0,0 1600x900]
�[92m[2015-10-11 02:41:07] At Home!�[0m
�[94m[2015-10-11 02:41:07] Are there returning expeditions to receive?�[0m
�[94m[2015-10-11 02:41:10] No, no fleets to receive!�[0m
�[94m[2015-10-11 02:41:10] Let's send an expedition out!�[0m
[error] script stopped with error in line 320
[error] FindFailed ( can not find ensei_area_01.png on the screen. )
Exception in thread "main" java.lang.IllegalStateException: No match found
at java.util.regex.Matcher.group(Unknown Source)
at org.sikuli.scriptrunner.JythonScriptRunner.findErrorSourceWalkTrace(J
ythonScriptRunner.java:326)
at org.sikuli.scriptrunner.JythonScriptRunner.findErrorSource(JythonScri
ptRunner.java:290)
at org.sikuli.scriptrunner.JythonScriptRunner.runPython(JythonScriptRunn
er.java:200)
at org.sikuli.scriptrunner.JythonScriptRunner.runScript(JythonScriptRunn
er.java:162)
at org.sikuli.basics.SikuliScript.main(SikuliScript.java:181)
at org.sikuli.ide.SikuliIDE.main(SikuliIDE.java:212)


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests