Takes long time to find picture - using while and exists
This makes me go crazy, seriosly.
This code stops working proprerly after removing some lines.
The problem is that the function
lucha.luchar() doesn't starts.
Every script works well standalone, but it looks like imposible to make it to work together.
As I said, it works with only one import, but after the second import, it stop working, and i can't understand why.
Here is the code
myScriptPath = "E:\My Dropbox\Sikuli"
# all systems
if not myScriptPath in sys.path: sys.path.
import lucha
#import dofus_login
mapa=
ejecuciones=0
level_up=
lucha.luchar()
while True:
# if exists(
# dofus_login.login()
click( )
sleep(0.2)
segar=exists( )
if segar:
click( )
if (ejecuciones % 15)==0:
sleep(5)
lucha.mata( )
else:
sleep(8)
if exists(level_up):
click(level_up)
ejecuciones+=1
if mapa.exists( ):
lucha.luchar()
mapa.
if exists(
click(
All the pictures are perfectly founded, but the scripts does't starts. WHY?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply: