controlsend alternative (not from user32.dll) and console on GUI

03/31/2012 18:25 xkidra#1
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:

Code:
$time = @HOUR & ":" & @MIN & ":" & @SEC & ":" &@MSEC
ConsoleWrite($time & ": Something goes here" & @LF)
I've tried to use an edit on the GUI to make it work without much success, ideas?
03/31/2012 18:28 .SkyneT.#2
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]

Maybe one of these works..
03/31/2012 18:39 xkidra#3
They come from user32.dll so I don't think they'll work.

I'll give it a go anyway, thanks

EDIT: It didn't work.
04/02/2012 13:50 aj1987#4
Try ControlCommand!
ControlCommand("Title","Text","ControlID","SendCommandID", 1)
erase the red thing's...