Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 14:46

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



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

Discussion on controlsend alternative (not from user32.dll) and console on GUI within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2007
Posts: 31
Received Thanks: 10
controlsend alternative (not from user32.dll) and console on GUI

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?
xkidra is offline  
Old 03/31/2012, 18:28   #2
 
.SkyneT.'s Avatar
 
elite*gold: 273
Join Date: Sep 2010
Posts: 1,831
Received Thanks: 786



Maybe one of these works..
.SkyneT. is offline  
Old 03/31/2012, 18:39   #3
 
elite*gold: 0
Join Date: Apr 2007
Posts: 31
Received Thanks: 10
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.
xkidra is offline  
Old 04/02/2012, 13:50   #4
 
aj1987's Avatar
 
elite*gold: 1003
Join Date: Feb 2010
Posts: 791
Received Thanks: 709
Try ControlCommand!
ControlCommand("Title","Text","ControlID","SendCommandID", 1)
erase the red thing's...
aj1987 is offline  
Reply


Similar Threads Similar Threads
sending key using user32.dll
02/13/2012 - AutoIt - 18 Replies
can anyone tell me how to do this with user32.dll ? never used dll in autoit before lol but now i rly need it :D wana send keys to cabal game ...
ControlSend-Alternative?
06/04/2011 - AutoIt - 2 Replies
Hi, in den letzten Tagen habe ich vermehrt PNs erhalten, dass es in einer meiner Anwendungen wohl Probleme mit ControlSend gibt, da diese Funktion gerne mal dazu neigt, den Anfang oder das Ende des zu sendenden Strings zu verschlucken. Ich bin wiederrum auf ControlSend angewiesen, weil ich nichts alternatives kenne, um Zeichen an ein Handle / eine PID zu senden. Jemand eine Idee? Opt ("SendKeyDelay", XXX)
Frage zu User32
02/01/2009 - Guild Wars - 7 Replies
hi zusammen ich habe einen bot geschrieben, de rim Hintergrund läuft, alles geht bis auf das Idenden der Dinge. Das idend kit anklicken kann er, aber die Fähigkeit zu Idenden bleibt dann am richtigen Mauszeiger haften, und der bewegt sich ja nicht. Jetzt habe ich gehört, dies müsse man mit user32.dll machen. Könnte mir jemand erkären wie das geht?(bitte in kleinen Schritten) Oder falls es eine Alternative gibt diese zu erklären Danke im vorraus :handsdown::handsdown:
user32
10/08/2007 - Kal Online - 2 Replies
hey , ich bin nog noob am c++ etc , ich war ein tutorial von microsoft volgen und dan wan ich mach build ich bekom diese error: http://aycu36.webshots.com/image/30315/2000187167 438133152_rs.jpg ich bin sjohn suchen am internet aber ich kan gahn nichts vinden :s kan jiemand mich helpfen bitte freundliche grussen



All times are GMT +1. The time now is 14:47.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.