← Back to team overview

sikuli-driver team mailing list archive

[Question #251847]: Help a noob to run a sikuli script for a flash game

 

New question #251847 on Sikuli:
https://answers.launchpad.net/sikuli/+question/251847

I'm a complete noob to this kind of stuff but I'd greatly apreciate any help. Thank you for your time in advance

I'm on Windows 8.1 and I'm trying to automatize a game called Kancolle by using a script I found here:

https://github.com/amylase/kancolle-auto

The instructions are very basic and it assumes, I suppose, that I know about this stuff. After installing Python and Sikuli, with all the packages, I didn't know what to do so if you know the exact way to run this as the author intended in his instructions, I'd be very helpful.

Having sayed that, I started fidgetting with the stuff it cames in the Kancolle-auto.sikuli folder and directly copied the contents of kancolle-auto.py in the SikuliIDE, added the path to the script and now, with this script: http://pastebin.com/v22CcPUH I'm stuck with  this error:

[error] next.png looks like a file, but not on disk. Assume it's text.
[error] Region.find(text): text search is currently switched off
[error] Region.exists: seems that imagefile could not be found on disk

[error] bokou.png looks like a file, but not on disk. Assume it's text.
[error] Region.find(text): text search is currently switched off
[error] Region.exists: seems that imagefile could not be found on disk

[error] senseki.png looks like a file, but not on disk. Assume it's text.
[error] Region.find(text): text search is currently switched off

[error] script [ Downloads ] stopped with error in line 122
[error] FindFailed ( Text search currently switched off )
[error] --- Traceback --- error source first line: module ( function ) statement 34: main ( go_bokou ) hover("senseki.png")
104: main ( init ) go_bokou()
[error] --- Traceback --- end --------------

Obviously, the path on the pastebin script goes directly where all the images needed are stored and they are there. Any idea how can I make this work? please, take into account that until yesterday I knew nothing about python and sikuli so please, use easy to understand explanations.

thank you for your time



-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.