shikhar1verma / auto-eatventure

This repo is a try for automating eatventure game. This is done solely to understand game app automation having unity as engine. Exploring paths to game automation with elements.
MIT License
12 stars 3 forks source link

Generic template image for ad boost trigger #2

Closed shikhar1verma closed 1 year ago

shikhar1verma commented 1 year ago

Currently ad boost trigger have template image for 2x boost. If that present then ad boost happens.

We need some generic solution so that no matter its user with 2x permanent boost or no boost all have same behaviour of triggering boost when its not present.

sashaimba13 commented 1 year ago

if i change the template for my boost it ad-looping game :(

shikhar1verma commented 1 year ago

Sorry, to reply so late. Actually I was on holidays.

I thought of a few tricks in which it can work but I didn't find any.

I'll try one more time today and will update you. Just needed a specific group of pixels which tells to boost the game.

And the boost is run for 12 times because that's the number where the boost is on a full time period.

shikhar1verma commented 1 year ago

I have found the solution for non 2x permanent boost users to automatically do boost when required. Now the code will check yellow color pixels where the x2 boost shown under money.

@sashaimba13

sashaimba13 commented 1 year ago

I just bought x2 perm boost and it working fine. The recent problem is that in the beggining of every city it being stuck. I come home and there's opened food upgrade button and it don't lvling up.

shikhar1verma commented 1 year ago

Ummm. Are you using the same emulator type that is written in readme. Because yesterday when I pushed my code. I checked it for an hour. And it moved to another city and the program was working fine.

Provide some more info like screenshot or some other info about emulator and app version.

If it's a problem that persists, we'll create another issue. But we first need more information regarding the problem so that we can accordingly solve it.

sashaimba13 commented 1 year ago

Ummm. Are you using the same emulator type that is written in readme. Because yesterday when I pushed my code. I checked it for an hour. And it moved to another city and the program was working fine.

Provide some more info like screenshot or some other info about emulator and app version.

If it's a problem that persists, we'll create another issue. But we first need more information regarding the problem so that we can accordingly solve it.

I use latest android studio on windows with settings given in readme

app version is 1.10.1

Okay, when i'll come home i'll make screnshots etc :)

shikhar1verma commented 1 year ago

Ummm. Are you using the same emulator type that is written in readme. Because yesterday when I pushed my code. I checked it for an hour. And it moved to another city and the program was working fine.

Provide some more info like screenshot or some other info about emulator and app version.

If it's a problem that persists, we'll create another issue. But we first need more information regarding the problem so that we can accordingly solve it.

I use latest android studio on windows with settings given in readme

app version is 1.10.1

Okay, when i'll come home i'll make screnshots etc :)

I think best is to create another issue for this problem and have this discussion there.