Hello there, about six months ago i started my personal project for a bot, i thought i was doing fine until i got to call attack and target functions.
I have just these six months of experience with software developing in c++ and absolutely zero experience or knowledge about assembly but i managed to make it work for others functions like move, movepet and loot, by copy-paste the function found with cheat engine and passing the right value.
Sadly this didn't work for target and attack functions, for the first it work well, but the name shown above is incorrect, i get the name of the last manually-target and if there is none it show just "name".
The attack function does not work at all, or well, it just work at random so at least i know i'm in the right function.
It can not work sometimes, then i restart the system or the game and then it work perfectly.
These are the functions.
Someone more experienced can help me please?






