The Bytecode Club
Log inJoin the club
Video Game Reverse Engineering

Developing Bot

Started by Antidote · Dec 5, 2014

1,033 replies21,297,466 viewsLocked
Jan 3, 2015#1001

Go view those top players...  Haha ..

And some random search for low player dead base

Can you send me the whole shot of the collector? It'll be hard to look for 'Top' inactive player.

Btw, you also have to look at the pictures upclose. If two pictures are the similar (minor differences/pixel variations) then you only include one. We aim for the variety that is why we have diff ELiX folders and that is why you have to test them each. Also, fill is another thing.

Also, the bot doesn't search all the pictures of all the folders all the time. If it gets a hit then it stops and then search another area.

Jan 3, 2015#1002

What will happen if the file doesn't exist?
Anyway, used to miss out almost full elixir 12. Now it recognise. Think left those boost collector image.
Does the bot match from first folder to bottom or random folder?
What is the point of making so much folders? Speed up search?

By the way, I checked those log. 2 of those not because of 250+ search that coz the hang.

Outside now with bot on. Will test again when back home

Jan 3, 2015#1003

AtoZ and dinobot,

I never got a single hit of a dead base yet so far, a week of testing. I screenshot my own screen to take full elixir collector level 11 and replace the the below bmp file in the images folder, still zero hit.

E11F9 in Elix1 folder
e11f9 in Elix4 folder

I'm using the same pixel size as the original image, saved as 16-bit BMP files.

Jan 3, 2015#1004

What will happen if the file doesn't exist?
Anyway,  used to miss out almost full elixir 12. Now it recognise.  Think left those boost collector image.
Does the bot match from first folder to bottom or random folder?
What is the point of making so much folders? Speed up search?

By the way,  I checked those log. 2 of those not because of 250+ search that coz the hang.

Outside now with bot on.  Will test again when back home

They are actually useless if you put the same pictures of different cuts for each folder like the ones you shared. Oh well, I'll just have to keep on getting screenshots. I already have the boosted collector images.

I started coding the other day for bullymode w/c is supposed to be easier but couldn't match perfectly th7 th6. I'm also not comfortable adding a lot of folders but it still misses.

If the hang/memory problem is caused by the deadbase search we have to search for alternatives.

Jan 3, 2015#1005

Your problem could be due to tolerance same like problem faced by Antidote. Try set the tolerance to 95.

Also I think AtoZ saved the bmp in 24bit.

Jan 3, 2015#1006

@AtoZ
I tried to make them different. I also capture partial of the collector like the top with the elixir and side with the side, horizontal and vertical.

Jan 3, 2015#1007

@k3iroll

What th are you in? Bluestacks version? x86 or x64? what bot version are you using? if ever, do you have the screenshot of the missed deadbase? any errors?

I tested image search and it works with 16bit, 24bit, 32bit bmp and also png files. I'm not sure with the gif.

@dinobot
same cuts will do as long as they are different to each other. I'll post later to clarify. Some same level collectors aren't the same if you look at them closely with the same cuts.

Jan 3, 2015#1008

AtoZ,

TH9. There is no error whatsoever, just that the bot do not recognize full collector, hence do not find any dead base. I've been monitoring the search all along. I tried the first version of your zombie bot up until v5.3, no luck so far.

Bluestack version 0.9.1.4057, x64.

I also tried changing the tolerance between 70 - 120, all I got is false positive, the bot will declare its a dead base with empty collectors.

Jan 3, 2015#1009

it might help you if you put SetLog's above every important step in the deadbase function to see where exactly the bot stops working

Jan 3, 2015#1010

@k3iroll
Does the bot shutdown by itself? You'll get false positives if you go more than 90 for tolerance. Can you tell me your general settings? gold, elix settings, etc.

Have you checked your bluestacks resolution thru autoit window info x64?

I'm asking the resolution because when I tried the bot on a win8 pc, the resolution was a bit distorted even though I manually set it to 860x720 with restart.

This discussion is closed.