btd6farmer
btd6farmer copied to clipboard
new getRound function etc...
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.
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
latest game update broke the memory address I was using