fabian57fabian / archero_bot_57

A bot to farm on Archero mobile game
GNU General Public License v3.0
25 stars 13 forks source link

Just dungeons? #1

Closed leandrogomesmachado closed 4 years ago

leandrogomesmachado commented 4 years ago

He does only dungeons or normal phases?

fabian57fabian commented 4 years ago

For now it just tries to do the Cave (Number 6 dungeon). I'm currently working on it

leandrogomesmachado commented 4 years ago

I've adjusted in terms to my phone (K12+) but I don't know much of sizes for the screen Will make some pull requests later

Em qui, 6 de fev de 2020 5:54 PM, Fabian notifications@github.com escreveu:

For now it just tries to do the Cave (Number 6 dungeon). I'm currently working on it

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fabian57fabian/archero_bot_57/issues/1?email_source=notifications&email_token=AA5GML5I5AGI66LWO5KHZN3RBR2INA5CNFSM4KRDFGD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELAX3PI#issuecomment-583105981, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA5GML2MIXS5TIHIKQP2AYDRBR2INANCNFSM4KRDFGDQ .

fabian57fabian commented 4 years ago

I've calculated locations of buttons taking a few screenshots and then pointing in the center or left/right part of some buttons. Feel free to add code and data.

leandrogomesmachado commented 4 years ago

Fabian, can you explain how you had calculated the points?

If you look here https://github.com/fabian57fabian/archero_bot_57/blob/master/static_bot_cave.py#L16

You have a perfect positioning but I can't use it to my phone that the screen are 720*1440

Have a tutorial?

fabian57fabian commented 4 years ago

I've taken some screenshots and looked at x,y coordinates in the center of the buttons. I'll explain and put some screenshots as soon as possible

fabian57fabian commented 4 years ago

Can you post a screenshot with home state, starting dungeon, selecting on power up and spin state

leandrogomesmachado commented 4 years ago

Thanks, I found how to do with point tracking!

When finish for K12+ I will make a pull request with the name of K12+.

Will try lower dungeon too.

fabian57fabian commented 4 years ago

Added my screenshots on last commit. Fixed #issuecomment-583110739 by adding normalization coordinates before main width and height. Also added coordinates check. you can check your own coordinates now @machado-rev

leandrogomesmachado commented 4 years ago

Thanks brother, I will send a pull request soon!