Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 11:59

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

Advertisement



need some tips on a problem im having

Discussion on need some tips on a problem im having within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2010
Posts: 98
Received Thanks: 10
need some tips on a problem im having

here i leave you a post i made on the auto it forums:

*
*

hi everyone, im quite new at autoit but i still now some basics.

im playing a game called redstone and i wanted auto it to right click or send the button "A" on it
i play the game with sandboxie so i can open multiple clients(window mode).
the three clients are open (not minimized) and i wanted autoit to send the key "A" to each of them every 2min.

here i leave you a screenshot:







as you can see, sandboxie gives the extra windows some strange names.
is it possible to send a key to each window without them popping up?

in the game if you dont click or write anything for 2min you get afk (no exp)
so my idea is to play on an account, while the other 2 leech the exp. so i will need autoit to click/write on the other windows without them interrupting my gameplay.

extra info:
the process is called Red Stone.exe and there are 3 of them (one for each client)

*
*

well im not really looking for a solution to that post in this topic.

im just looking for some inspiration of how may i make an anti afk bot without auto it as it doesnt work.

maybe i could send packages on each window?

help will be apreaciated
nico91nico is offline  
Old 05/28/2010, 01:29   #2
 
elite*gold: 9
The Black Market: 156/0/0
Join Date: Apr 2009
Posts: 10,163
Received Thanks: 3,810
Ehm...with autoit? Use Controlsend or Controlclick.
AllesVergeben is offline  
Old 05/28/2010, 03:08   #3
 
elite*gold: 0
Join Date: May 2010
Posts: 98
Received Thanks: 10
what does that do? a situation example would be awsome.

im quite new sry, still learning
nico91nico is offline  
Old 05/28/2010, 13:56   #4


 
Cholik's Avatar
 
elite*gold: 4
Join Date: Aug 2008
Posts: 6,783
Received Thanks: 4,992
#moved
Cholik is offline  
Old 05/28/2010, 17:42   #5
 
elite*gold: 0
Join Date: May 2010
Posts: 98
Received Thanks: 10
sry for the wrong section

back to the topic, with controlsend i need the control id and other stuff which i dont have.
i use the "AutoIt window info" to check for the control details and they dont appear, as if there is no control in the whole window.

i just want to send a "Q" in any part of the window.
nico91nico is offline  
Old 05/28/2010, 21:03   #6
 
Σternαl.'s Avatar
 
elite*gold: 20
Join Date: Dec 2009
Posts: 1,850
Received Thanks: 484
PHP Code:
ControlSend(WinGetHandle("Red Stone - The Lunatic Story"), ""0"{Q}"
Σternαl. is offline  
Old 05/28/2010, 21:58   #7
 
elite*gold: 0
Join Date: May 2010
Posts: 98
Received Thanks: 10
ill try that, what does that do?
nico91nico is offline  
Old 05/28/2010, 23:23   #8
 
Σternαl.'s Avatar
 
elite*gold: 20
Join Date: Dec 2009
Posts: 1,850
Received Thanks: 484
It sends "Q" to the window of Red Stone
Σternαl. is offline  
Old 05/29/2010, 14:33   #9
 
elite*gold: 0
Join Date: May 2010
Posts: 98
Received Thanks: 10
well its not working, seems a bit complicated that command.

any more simplier?
nico91nico is offline  
Old 05/29/2010, 15:08   #10
 
| Moep |'s Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,079
Received Thanks: 438
U need the Class attribut of the window, u will get this attribute from the Autoit window info tool (Autoit Dir).

U can using this Parameter like this:

Code:
ControlSend(("[CLASS:[COLOR="Red"]PutYourClassAttributeHere[/COLOR]]"), "", 0, "{Q}")
if it doesnt work, only try a little bit. I know that it working, because with other games i running with sandboxie, i can use that method.

Press thx if i helped u
| Moep | is offline  
Old 05/29/2010, 15:13   #11
 
Σternαl.'s Avatar
 
elite*gold: 20
Join Date: Dec 2009
Posts: 1,850
Received Thanks: 484
PHP Code:
#include <GUIConstantsEx.au3>

GUICreate("Q-send Bot"20050)
GUISetState(@sw_show)

sleep(500)
WinActivate("Red Stone - The Lunatic Story")
ControlSend("Red Stone - The Lunatic Story"""0"{Q}")

while 
1
    
Do
        
sleep(10)
    
Until GUIGetMsg() = $GUI_EVENT_CLOSE
    
Exit
WEnd 
€: Moep is thx geil
Ich bezweifle, dass nico überhaupt weiß, wie man ne GUI macht (auch wenns nicht nötig ist).
Deswegen hab ich ihm mal den ganzen code gepostet.

@nico
Wenn das nicht klappt, mach:
PHP Code:
#include <GUIConstantsEx.au3>

GUICreate("Q-send Bot"20050)
GUISetState(@sw_show)

sleep(500)
$wh WinGetHandle("Red Stone - The Lunatic Story")
WinActivate($wh)
ControlSend($wh""0"{Q}")

while 
1
    
Do
        
sleep(10)
    
Until GUIGetMsg() = $GUI_EVENT_CLOSE
    
Exit
WEnd 
Σternαl. is offline  
Old 05/29/2010, 15:57   #12
 
| Moep |'s Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,079
Received Thanks: 438
Quote:
Originally Posted by FooFightah View Post
[php]
€: Moep is thx geil
Ich bezweifle, dass nico überhaupt weiß, wie man ne GUI macht (auch wenns nicht nötig ist).
Wo hab ich was von ner GUI stehen? o.O
| Moep | is offline  
Reply


Similar Threads Similar Threads
[Tips]For GCPH patcher problem.
06/20/2010 - Grand Chase Philippines - 0 Replies
:mofo:Tips for problem in patching your GCPH client using patcher: If the downloading process of the patcher is not moving: 1. End the processing of the GCPH MF Patcher by using Task Manager(use CTRL+ALT+Del in viewing the Task Manager) then go to Performance Tab and select GCPatcher.exe. Click End Process. 2. Restart you Internet connection by plugging out your Internet or Modem socket outlet. Wait for 10seconds then plug in your Internet socket again. 3. Wait for the internet to...
Tips for +9 nek or ank
08/24/2009 - Grand Chase Philippines - 8 Replies
1st Step: Pnta ka gaikoz magfarm ka mga 9 tyms. Ung drops ibili mo gem. iups mo necklace mo sa +1 100% yon dba.. 2nd Step: +2 to +6 napakadali lng non may 30% chance ka kc non gnto gawin mo press P.up then ok tpos paglumabas na c elena press ESC.,Enter at left click sa mouse mo at itapat mo sa P.up...Gwin mo yan hangan +6.. 3rd Step: Kung may +6 kana.. dapat ang gem mo 60 at galing sa Bermesiah box lng dapat... mas malaki chance mo kung galing sa bermesiah box na gem.. kc ang gp...
fb tips pls?
04/07/2009 - Cabal Online - 4 Replies
hi im lvl 29 fb and im wonderin what skills i shud focus on XD i heard stories of focusing on buff skills and such. but some ppl say focus on magic attacks so im confused lol also extra help on combo'ing its like freakin hard 2 combo :mad: any tips from the pros?
lab tips
01/05/2007 - CO2 Guides & Templates - 2 Replies
well just to tell if some of ya dont know everyone know that if u bot,lvl ur armor,coro,necky,boot dura gonna lose faster than ur weapons ring that is arround 8-10 hours botting but if u have some soc's that DONT have super gems u can simply put kylin gems in ur soc's that can bot for 4 times the time u bot/lvl without kylin gems that is like 40 hours botting/lvling in lab without getting out lab to repair. im writing this because im not sure if the met zone bug thing still work or not so this...
Need some tips about a shitty little problem-.-
05/19/2006 - Conquer Online 2 - 1 Replies
Well this is my problem: 1. i made a hotkey 2.i tried to delete 3.i tried to restore 4.it wont get reseted No matter what i do to remove the hotkey , it wont disapear. anyone help me fix this ?



All times are GMT +1. The time now is 11:59.


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.