Very good idea, and it will be better if you added a little

around, And for your known problem you can Detour OnPacketRecv and Check if the character spawned if so allow the user to start the bot by a ImGui button, and this is also will help you to know what skills are available to attack with, And try to use

as much as possible it will make your life easier then getting into really low level things such as asm and memcpy everywhere!
But yeah still good job at the end, Keep going!
Have a Nice Life!