Nain57 / Smart-AutoClicker

An open-source auto clicker on images for Android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Advanced logic scenarios possible?

colineberly opened this issue · comments

I have a situation where I would like the autoclicker to be able to pick the best option on the screen determined by a few different factors. This one is a little complicated. My example is as follows:

  • Screen has 3 recruitment list boxes, of which only 1 can be checked to proceed.
  • Depending on your level of completion in that round, 1, 2 or all 3 recruitment list boxes are available.
  • Items in each recruitment list box are randomly generated.
  • Sometimes items in each box are from your team, which makes it more valuable to choose these recruitment boxes over the others.
  • Each item in the recruitment boxes also contain a "grade", with the higher grade items being more valuable. Grade is determined by the number printed on the item, meaning higher numbers = more value.

So... What I would like to be able to do is:

  1. Check how many recruitment boxes are available.
  2. Choose the recruitment box with the team item.
  3. If no team item, choose the recruitment box with the most valuable items.

Is there any logical way to determine what box is more valuable? Any way to calculate the numbers that are printed on each item inside a box? I know how I would select the team item, crop the team logo and put it in as a condition. But, is there any way to determine the other factors and have it choose accordingly?

I feel like I'm probably shit out of luck on this, but maybe someone more proficient with the program has some ideas. Thanks for any help!