Register for your free account! | Forgot your password?

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

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

Advertisement



can you guys help me on this

Discussion on can you guys help me on this within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2011
Posts: 16
Received Thanks: 0
can you guys help me on this

hellow i seem to have problem here
------------------
WinWaitActive
WinSetOnTop
$win =
WinMove($win, "", 0, 0)
$k = 1
Do
_monstersearch()

Until $k = 2 ;Loop Repeated non stop since $k is always 1. So you need to press End key to stop the script
Func _monstersearch()

$w = 1
Do
ControlSend($win, "", "", "1") ;send key 1 for scroll
Sleep(1000) ;stop for 2 sec
ControlSend($win, "", "", "2") ;send key 1 for scroll
Sleep(1000) ;stop for 2 sec
ControlSend($win, "", "", "3") ;send key 1 for scroll
Sleep(1000) ;stop for 2 sec
ControlSend($win, "", "", "4") ;send key 1 for scroll
Sleep(20000) ;stop for 40 secs
Until $w = 2
EndFunc ;==>_monstersearch
------------------------
on the do function when it do 1 2 3 4 key it doesn't spam i wonder what i need to change can you guys help me thanks in advance
sickqweasdzxc is offline  
Old 05/26/2012, 12:39   #2
 
Logtetsch's Avatar
 
elite*gold: 192
Join Date: May 2009
Posts: 2,227
Received Thanks: 3,262
Copy and past is very easy.....
And dafuq is this "WinWaitActive" ? There are no parameters.

Look at this -> <-
and on this -> <-
What is $win ?

Correct it please and send us your full script.
Thanks
Logtetsch is offline  
Old 05/26/2012, 12:41   #3
 
elite*gold: 0
Join Date: May 2012
Posts: 329
Received Thanks: 31
I send you now a PN i can help you
Trrooper[Y] is offline  
Old 05/26/2012, 20:25   #4
 
elite*gold: 0
Join Date: May 2011
Posts: 16
Received Thanks: 0
WinWaitActive("Zebraffe(Strongest) Emerald18(346228)--version:1.0.3.3") ;The script waits for the window named "xxx" to become active.
WinSetOnTop("Zebraffe(Strongest) Emerald18(346228)--version:1.0.3.3", "", 0)
$win = "Zebraffe(Strongest) Emerald18(346228)--version:1.0.3.3"
WinMove($win, "", 0, 0)
$k = 1
Do
_monstersearch()

Until $k = 2 ;Loop Repeated non stop since $k is always 1. So you need to press End key to stop the script
Func _monstersearch()

$w = 1
Do
ControlSend($win, "", "", "1") ;send key 1 for scroll
Sleep(1000) ;stop for 1 sec
ControlSend($win, "", "", "2") ;send key 2 for scroll
Sleep(1000) ;stop for 1 sec
ControlSend($win, "", "", "3") ;send key 3 for scroll
Sleep(1000) ;stop for 1 sec
ControlSend($win, "", "", "4") ;send key 4 for scroll
Sleep(26000) ;stop for 30 sec
Until $w = 2
EndFunc ;==>_monstersearch

WinWaitActive("Zebraffe(Strongest) ama(46228)--version:1.0.3.3") ;The script waits for the window named "xxx" to become active.
WinSetOnTop("Zebraffe(Strongest) ama(46228)--version:1.0.3.3", "", 0)
$win = "Zebraffe(Strongest) ama(46228)--version:1.0.3.3"
WinMove($win, "", 0, 0)
$k = 1
Do
_monstersearch()

Until $k = 2 ;Loop Repeated non stop since $k is always 1. So you need to press End key to stop the script
Func _monstersearch()

$w = 1
Do
ControlSend($win, "", "", "1") ;send key 1 for scroll
Sleep(1000) ;stop for 1 sec
ControlSend($win, "", "", "2") ;send key 2 for scroll
Sleep(1000) ;stop for 1 sec
ControlSend($win, "", "", "3") ;send key 3 for scroll
Sleep(1000) ;stop for 1 sec
ControlSend($win, "", "", "4") ;send key 4 for scroll
Sleep(26000) ;stop for 30 sec
ControlSend($win, "", "", "5") ;send key 5 for scroll
Sleep(10000) ;
Until $w = 2
EndFunc ;==>_monstersearch
the site that i got this code is now dead i did not get the chance to ask questions about it so i just edit it and thank god it works but after i add the number 4 and 5 spam i does not follow the time that i put on to it. so the only problem here is key 4 and key 5 they seem to affect other key and make them delay for quite a long time sorry for my bad english
sickqweasdzxc is offline  
Old 06/17/2012, 13:31   #5
 
genesisVI's Avatar
 
elite*gold: 0
Join Date: Jul 2011
Posts: 796
Received Thanks: 434
Quote:
Originally Posted by sickqweasdzxc View Post
hellow i seem to have problem here
------------------
WinWaitActive
WinSetOnTop
$win =
WinMove($win, "", 0, 0)
$k = 1
Do
_monstersearch()

Until $k = 2 ;Loop Repeated non stop since $k is always 1. So you need to press End key to stop the script
Func _monstersearch()

$w = 1
Do
ControlSend($win, "", "", "1") ;send key 1 for scroll
Sleep(1000) ;stop for 2 sec
ControlSend($win, "", "", "2") ;send key 1 for scroll
Sleep(1000) ;stop for 2 sec
ControlSend($win, "", "", "3") ;send key 1 for scroll
Sleep(1000) ;stop for 2 sec
ControlSend($win, "", "", "4") ;send key 1 for scroll
Sleep(20000) ;stop for 40 secs
Until $w = 2
EndFunc ;==>_monstersearch
------------------------
on the do function when it do 1 2 3 4 key it doesn't spam i wonder what i need to change can you guys help me thanks in advance
while 1
send("1")
sleep("1000")
wend
its looping it will spam 1 over and over until called to stop ^_^
genesisVI is offline  
Reply


Similar Threads Similar Threads
Hi guys, get in.
10/30/2011 - SRO Private Server - 3 Replies
i can make your server from 0 peoples too 500 peoples online at same time in about a month, for free, i dont want cash for that. pm me with your skype and server topic and i will contact you. have a nice day
Guys Elp
08/06/2009 - Grand Chase Philippines - 2 Replies
pa send nmn ng radical engine please [email protected] thx
I need some help guys...
07/31/2009 - Conquer Online 2 - 0 Replies
Does someone know how i can remove that flashing light from all the weapons?(P.S it makes me laggy)



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


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.