Register for your free account! | Forgot your password?

You last visited: Today at 19:17

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


problem with autoIT

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2007
Posts: 78
Received Thanks: 8
problem with autoIT

Hi i try to make a fishingbot, but i have little problem. Me bot don't push the buttons. :/ this is code:

Code:
Func Start()
	Send ("{R down}")
	Sleep ( 1000 )
	Send ("{R up}{G down}")
	Sleep ( 1000 )
	Send ("{G up}")
	Sleep ( 2000 )
	
	While 1
		Sleep ( 500 )
		Send ( "{F1}")
		Sleep ( 500 )
		Send ( "{F4}")
		
		Branie()
		
		Send ( "{F2}")
		Sleep ( 500 )
		Send ( "{F4}")
		
		Branie()
		
		Send ( "{F3}")
		Sleep ( 500 )
		Send ( "{F4}")
		
		Branie()
	WEnd
	
EndFunc



KlopEK is offline  
Old 07/14/2009, 20:39   #2
 
elite*gold: 0
Join Date: Jul 2009
Posts: 88
Received Thanks: 32
I think you should do something with PixelGetColour look at this
I hope i could help u
Greetz ProImba


ProImba is offline  
Old 07/15/2009, 11:45   #3
 
elite*gold: 0
Join Date: Nov 2007
Posts: 78
Received Thanks: 8
I use pixelGetColor with function "Branie()" but me bot sometimes don't push F1, F4.... stuppid bot ;p
KlopEK is offline  
Old 07/15/2009, 11:53   #4
 
elite*gold: 2
Join Date: Mar 2008
Posts: 8,539
Received Thanks: 4,534
its because the keystrokes are not long enough, if you replace them with sth. like this it should work

Code:
send("{F4 down}")
Sleep(50)
send("{F4 up}")
but you also can change the sendkeydowndelay
Code:
Opt("SendKeyDownDelay", 50)      ;50 millisecond


°Remus° is offline  
Old 07/15/2009, 12:08   #5
 
elite*gold: 0
Join Date: Nov 2007
Posts: 78
Received Thanks: 8
Oh Remus you'r right ;] i try this method. This should help. Thanx ;]


KlopEK is offline  
Reply



« Bozkurt Hackerteam [SAMMLETHERAD?!] | chicano71 Hacker »



All times are GMT +1. The time now is 19:17.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.