Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2
You last visited: Today at 13:53

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

Advertisement



problem with autoIT

Discussion on problem with autoIT within the Metin2 forum part of the Popular Games category.

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
 
ProImba's Avatar
 
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

 
°Remus°'s Avatar
 
elite*gold: 2
Join Date: Mar 2008
Posts: 8,541
Received Thanks: 4,539
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




All times are GMT +1. The time now is 13:54.


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.