frank
New Member
Posts: 2
|
Post by frank on Oct 24, 2016 17:20:39 GMT
Hello guys,
please someone can help me to convert in AnkuLua the following script?
z=Region(1078,110,58,565)
r=Region(1319,135,34,574)
r2=Region(955,171,374,482)
r3="1476868064257.png"
rfatto = Region(1333,160,16,18)
rinvita = Region(1085,183,148,31)
rtop=Region(957,74,400,641)
while x==0:
while not rfatto.exists(Pattern("1476884310936.png").similar(0.90),1):
if rinvita.exists("1476876784262.png"):
break
mouseMove(Location(1338,153))
mouseDown(Button.LEFT)
wait(1)
mouseUp(Button.LEFT)
wait(1)
click(Location(1277,98))
click(Pattern("1476875782603.png").targetOffset(135,10))
r.wait(Pattern("1476884310936.png").similar(0.90),FOREVER)
wait(1)
r.click(Pattern("1476884310936.png").similar(0.90))
wait(2)
rf=Region(1317,642,42,44)
if rf.exists("1476873806697.png"):
rf.click("1476873806697.png")
else:
doubleClick(Location(1298,298))
wait(2)
#type(Key.DOWN)
wheel(WHEEL_DOWN,50)
wait(1)
click(Location(1298,298))
while z.exists(Pattern("1476869691288.png").similar(0.85)):
click(Pattern("1476869691288.png").similar(0.85))
wait(2)
mouseMove(Location(1298,298))
i =0
while i < 10:
if z.exists(Pattern("1476869691288.png").similar(0.85)):
click(Pattern("1476869691288.png").similar(0.85))
wait(1)
click(Location(1298,298))
#type(Key.UP)
wheel(WHEEL_UP,3)
i=i+1
click("1476868843950.png")
wait(1)
Thanks Frank
|
|
cloudwp
New Member
Stay High
Posts: 23
|
Post by cloudwp on Oct 29, 2016 13:57:51 GMT
For what game is this script and would u share the image folder then i think i would do that for u
|
|