As spare2 said more then once.
After a patch u most likely have to search the new memory addresses
for ur wanted bot options.
For example, the new addresses, where the MaxHP or CurrentHP is saved in.
Do this with CheatEngine 5.5. (Google for tutorials)
When u have found the addresses, replace them in the marked
area in the SourceCode and recompile the Code with AutoIt3.
Tata .. now u have a working bot again ...
btw Thanks to spare2 & Jax for the inspiring code

If wanted i could upload my slightly enhanced version of the bot.
(no recompile needed - change addresses in a extra tab
On/Off Button - that turns on/off all wanted hacks at once.
slightly enhanced Pickup & AoE/Buffing routine
MoveSpeed hack integrated
Zoom hack integrated
Show Level option
AutoShutdown - on movement or mapchange)