new getRound function etc... - #80
Conversation
It reads the round value directly from the memory so it is 100% reliable unlike ocr which breaks often in some maps. I didn't test every possible scenario, but it was working fine (starting,/restarting games)
|
Looking good 👀 why I didn’t implement something like this in the beginning I wonder. However, it is likely that it will break during the next update due to patches or maybe not. Have you looked at pattern scanning and how that works in Python? |
|
Idk if it will break, but it is easy to update tho... |
|
I have some really old cheat engine tables (coded for v28) and they still read the round in the latest game version, so I hope that it won't break with future updates. Anyway you can get the memory addresses in a couple of minutes. |
this worked on 2 different computers
whi was it even changed back to Hard?
added "new" hero skins and updated insta-monkey screen
Mouse cursor may end up covering important areas of the screen (i.e. insta-monkey end screen in chimps). In that case the bot will fail to match the image from /assets and it will hang up. To fix this we just move the mouse to the bottom right corner every time we are done clicking something.
- Check if game is open, if so focus its window automatically - If game is not open try to launch it using steam - Check if in game is in the "start" screen TODO: check if game is installed on steam or epicgames and start it accordingly
renamed "easter" to "event" since there are many events during the year
|
The failing check happens because pywin32 can't be installed on linux obviously, you should change the workflow to use windows since the bot currently runs only on windows |
this can also be used to check if the user got a legit copy of the game TODO: epic games check
(optional) we can exit the program if the user is using a cracked copy of the game
added new "water park" map and new brickell skin
|
latest game update broke the memory address I was using |
It reads the round value directly from the memory so it is 100% reliable unlike ocr which breaks often in some maps. I didn't test every possible scenario, but it was working fine (starting,/restarting games)