So i'm trying to build a bot for PWO (pokemon world online) and my first problem is as most games it blocks virtual keys, so controlsend won't work, postmessage or sendmessage from user32.dll won't work either since they are virtual keys aswel, is there any other way to send keys front the kernel itself with autoit or any other viable solution?
The only way I've found to make it work is send() when the client is active, which is a pain since i can't do anything else while the bot is running.
Same goes for clicks, virtual clicks are blocked so controlclick() and user32.dll functions won't work.
The second part of my problem is that I've been using autoit console to keep track of whats happening,I've been doing something along with this:
I've tried to use an edit on the GUI to make it work without much success, ideas?
The only way I've found to make it work is send() when the client is active, which is a pain since i can't do anything else while the bot is running.
Same goes for clicks, virtual clicks are blocked so controlclick() and user32.dll functions won't work.
The second part of my problem is that I've been using autoit console to keep track of whats happening,I've been doing something along with this:
Code:
$time = @HOUR & ":" & @MIN & ":" & @SEC & ":" &@MSEC ConsoleWrite($time & ": Something goes here" & @LF)