|
Post by sivajirao on Dec 18, 2018 9:46:48 GMT
Hello, I have tried to automate daily dungeons and Wagon deliveries using 'snap and play' in 'Art of Conquest'. Need help with few things here:
1. After once clicking main activity log button it fades away and new dialog box with two new buttons appear. But instead of clicking any of new buttons 'Pillage' or 'attack' it again finds and clicks the faded one and this goes on forever.
2. All dungeons buildings have an exclamation mark on top, its much easier for bot to find the exclamation mark as its the only common thing in all. Instead of clicking on found snap, Is there any way i can somehow click below it ( like 10 pixels below).
Thanks in Advance:)
|
|
|
Post by Exilereven on Dec 18, 2018 11:27:54 GMT
Hello, I have tried to automate daily dungeons and Wagon deliveries using 'snap and play' in 'Art of Conquest'. Need help with few things here: 1. After once clicking main activity log button it fades away and new dialog box with two new buttons appear. But instead of clicking any of new buttons 'Pillage' or 'attack' it again finds and clicks the faded one and this goes on forever. 2. All dungeons buildings have an exclamation mark on top, its much easier for bot to find the exclamation mark as its the only common thing in all. Instead of clicking on found snap, Is there any way i can somehow click below it ( like 10 pixels below). Thanks in Advance:) You will want to use targetOffset() Example: --this is telling ankulua that when it does find boss.png image, go ahead and make the actual click 0 (no x movement) and down 10 (positive for down, negative for up, same with x negative to go left, positive right.) local boss = Pattern("boss.png"):targetOffset (0,10) If existsClick(boss) then print ("yay clicked correctly") else print ("need to adjust targetOffset") end
|
|