Closed MohamadHajjRabee closed 1 year ago
Can you change the display size of your computer to 1920x1080 and try again?
sadly i tried to do it but i couldn't cuz thats the maximum resolution my laptop display support
Try replacing line 35 in screen_coords.py with this:
ROUND_POS: Vec4 = Vec4(GameWindow(760, 4, 870, 34))
In addition, if you can take screenshots of the screens for stages 1-x and 2-x and upload them here (remember to blur out the player names), it would be a great help to me.
Delete those screenshot because you didnt blur your game name!!!
Oopsie I deleted the whole comment Did you get the screenshots or do u want me to send them again ?
anyways i updated the screenshots
I got it, could you run the bot with original screen_coords.py and see if the bot can recognize stage 3-x and later stages? It seems the screen capture function crop the boder of the number and makes ocr malfunction. Give me some times to edit the screen coords.
i will try again later and let you know is it ok if i play during 2-x ? or should i stay afk all time ?
Yes you can, just check the bot window show the stages number or not It's like pvp round 3-1 pve round 4-6
try this:
ROUND_POS: Vec4 = Vec4(GameWindow(767, 10, 870, 34))
ROUND_POS_ONE: Vec4 = Vec4(GameWindow(2, 0, 42, 24), use_screen_offset=False)
ROUND_POS_TWO: Vec4 = Vec4(GameWindow(57, 0, 96, 24), use_screen_offset=False)
Hi i can confirm that the bot is now working good on all rounds 1-x 2-x 3-x 4-x and even 5-x with those new cords you provided i played a full match and it was working all time thank you for your help
the bot runs perfect until round 1-4 he buys from the shop and after that it does nothing
here is the full code on terminal:
As you can see my screen size is 1366x768.