I get this every 2-6~ hour of botting sessions, even when running the No DX. Also, I am running as admin.
EDIT: No, as far as I know I get no wow errors. I don't actively watch the bot, so I'm not sure, but when I check when I'm aware that it's crashed, there is no wow window.
After a couple of hours of botting, my bot suddenly closes the game and goes idle. Does not relog, does nothing but spew out this " [E] 10:42:48 - System.ComponentModel.Win32Exception (0x80004005): Ugyldig vindues-handle "
Which translates into invalid window handle.
I have installed slim and reinstalled both slim and c++ redist pack, didn't help.
I have attached one example of the error.
1 jul 2016 08H08.log.html
Works fine for my lvl 80 arms warrior, I primarily use it to grind mobs in storm peaks.
I wouldn't advise using this at lower levels, I haven't tested it at all.
Also, thanks to BetterSister, I stole your charge logic from your prot warrior class.