AdriaGual / pokemon-pocket-bot

A computer vision bot made with OpenCV, OCR and ADB.
23 stars 1 forks source link

Open CMD app.py + question #20

Open tomasfcattaneo opened 1 week ago

tomasfcattaneo commented 1 week ago

Hello,

I wanted to comment a problem (I do not know if it is one) where when I run CMD (adm) app.py opens the app.py file in visual studio code and does not advance from there, or maybe I should wait more.

The strange thing is that about 1 hour ago I used it to test something I did and it opened perfectly.

PPB

Another thing I wanted to consult are the fields “weight” and “length” and “X” and “Y”, they must be completed? if so how should I complete them? taking as reference the emulator 1600x1900 (which is how it mentions the use - step 3) or the resolution of my screen/desktop?

The bot is fine and works, although it is in a “beta-test” phase. In my case it never moves a card, it clicks on the screen as if it was going to do something. From what I read in problem #19, it is due to the speed and distance of the cards (?)

Sorry if these are very basic questions, but I am following the project from the beginning and I am quite interested in it. This is one of my first times commenting a project in github, sorry if this is not the way or the method.

Thank you very much for doing this, if I can help in any way please do not hesitate to contact me. Cheers!

AdriaGual commented 1 week ago

@tomasfcattaneo Instead of running app.py on the cmd, use python app.py.

When I said width, height, x and y was from the emulator 1600x900, x=0 y=0 it's the top left corner, you can do some tests.

But i would recommend you to move to the refactor branch and do everything there.

Also if you wanna contribute, you can check this: https://github.com/AdriaGual/pokemon-pocket-bot/issues/19#issuecomment-2476364838

Hope it helps ❤️

tomasfcattaneo commented 1 week ago

Hi, thanks for the quick reply :)

I ran as you mentioned with python app.py and it worked, but apparently there is an error with the emulator that didn't happen before. Could it be due to the emulator I use? PPB2

My little knowledge cannot understand this: But I would recommend you to move to the refactor branch and do everything there, and I apologise for that.

AdriaGual commented 6 days ago

@tomasfcattaneo Check this comment https://github.com/AdriaGual/pokemon-pocket-bot/issues/21#issuecomment-2480160481