Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 04:27

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

Advertisement



LOL autoit combo bot script

Discussion on LOL autoit combo bot script within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
king-kongs's Avatar
 
elite*gold: 10
Join Date: Aug 2010
Posts: 608
Received Thanks: 66
LOL autoit combo bot script

hello , i need some help with making a combo bot, i need a hotkey to start the combo and and a hotkey to pause it , anyone can help me with this, ty.

here is the script:

While 1

send ("qqqq")


sleep(200)

send ("wwww")

sleep (200)
send ("eee")



WEnd
king-kongs is offline  
Old 12/18/2013, 06:38   #2
 
lolkop's Avatar
 
elite*gold: 280
Join Date: May 2007
Posts: 2,818
Received Thanks: 3,483
Quote:
Originally Posted by king-kongs View Post
hello , i need some help with making a combo bot, i need a hotkey to start the combo and and a hotkey to pause it , anyone can help me with this, ty.

here is the script:

While 1

send ("qqqq")


sleep(200)

send ("wwww")

sleep (200)
send ("eee")



WEnd
Code:
HotKeySet('{F1}', 'Pause')
Global $run
While True
	If $run	Then
		send ("qqqq")
		sleep(200)
		send ("wwww")
		sleep (200)
		send ("eee")
	EndIf
WEnd
Func Pause()
	$run = Not $run
EndFunc
lolkop is offline  
Thanks
1 User
Old 12/18/2013, 08:16   #3
 
king-kongs's Avatar
 
elite*gold: 10
Join Date: Aug 2010
Posts: 608
Received Thanks: 66
how i can put a start func in it?
i copied your script but now it doesnt work , no q,w,e, pressed now.
king-kongs is offline  
Old 12/18/2013, 08:41   #4
 
lolkop's Avatar
 
elite*gold: 280
Join Date: May 2007
Posts: 2,818
Received Thanks: 3,483
Quote:
Originally Posted by king-kongs View Post
how i can put a start func in it?
i copied your script but now it doesnt work , no q,w,e, pressed now.
f1 is used to run/pause the script...

you can simply set the key in the hotkeyset on top of the script
lolkop is offline  
Old 12/18/2013, 09:42   #5
 
king-kongs's Avatar
 
elite*gold: 10
Join Date: Aug 2010
Posts: 608
Received Thanks: 66
i put like this in script but then it doesnt start, like the old version at top it did press q,w,e, but i need a button for run/stop, but with your script it didnt work, maybe i need change something?

HotKeySet('{F1}', 'Pause')
Global $run
While True
If $run Then
send ("qqqq")
sleep(200)
send ("wwww")
sleep (200)
send ("eee")
EndIf
WEnd
Func Pause()
$run = Not $run
EndFunc
king-kongs is offline  
Old 12/18/2013, 11:09   #6
 
elite*gold: 1000
Join Date: Apr 2012
Posts: 1,003
Received Thanks: 208
What about a sleep method call after the 'End If' ?
qkuh is offline  
Old 12/18/2013, 11:28   #7
 
mlukac89's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 473
Received Thanks: 104
try this
when you start script its paused
when you press F1 it start when you press F1 again it pause
F3 turn off script

and if you have problem with "Send" function use "ControlSend"

Code:
HotKeySet('{F1}', '_start')
HotKeySet('{F3}', '_quit')

Global $run

While 1
	Sleep(100)
WEnd

; start / pause script
Func _start()

	$run = Not $run

While True
	If $run Then
		send ("qqqq")
		sleep(200)
		send ("wwww")
		sleep (200)
		send ("eee")
	EndIf
WEnd

EndFunc

; exits script
Func _quit()
	Exit
EndFunc
mlukac89 is offline  
Thanks
1 User
Old 12/18/2013, 19:57   #8
 
king-kongs's Avatar
 
elite*gold: 10
Join Date: Aug 2010
Posts: 608
Received Thanks: 66
it doesnt work , i tried also with controlsend but when i press F1 it doesnt do anything, maybe i need put something in the script with League of Legends.exe?
king-kongs is offline  
Old 12/18/2013, 20:09   #9
 
mlukac89's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 473
Received Thanks: 104
Try to put

Code:
Send("{w}", 1) ; or change 1 to 0 test it
Sleep(200)
Send("{w}", 1)
Sleep(200)
Send("{w}", 1)
Sleep(200)
Send("{w}", 1)
Sleep(200)
if that not work try to add

Code:
$winTitle = WinGetHandle("LOL - blabla") ; name of game window

ControlSend($winTitle, "", "", "{w}", 0)
open notepad and try to run script you will see that it send keys, but maybe is LOL blocking send or controlsend
mlukac89 is offline  
Thanks
1 User
Old 12/18/2013, 21:49   #10
 
BitOfHope's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 71
Received Thanks: 11
Add in #RequireAdmin to the script mlukac89 posted. It would be:

Code:
#RequireAdmin
HotKeySet('{F1}', '_start')
HotKeySet('{F3}', '_quit')

Global $run

While 1
	Sleep(100)
WEnd

; start / pause script
Func _start()

	$run = Not $run

While True
	If $run Then
		send ("qqqq")
		sleep(200)
		send ("wwww")
		sleep (200)
		send ("eee")
	EndIf
WEnd

EndFunc

; exits script
Func _quit()
	Exit
EndFunc
BitOfHope is offline  
Thanks
1 User
Old 12/18/2013, 21:50   #11
 
king-kongs's Avatar
 
elite*gold: 10
Join Date: Aug 2010
Posts: 608
Received Thanks: 66
tried this too but dont work .

this script only works but i dont know how i can put a start and pause button.
While 1

send ("qqqq")


sleep(200)

send ("wwww")

sleep (200)
send ("eee")



WEnd

Quote:
Originally Posted by BitOfHope View Post
Add in #RequireAdmin to the script mlukac89 posted. It would be:

Code:
#RequireAdmin
HotKeySet('{F1}', '_start')
HotKeySet('{F3}', '_quit')

Global $run

While 1
	Sleep(100)
WEnd

; start / pause script
Func _start()

	$run = Not $run

While True
	If $run Then
		send ("qqqq")
		sleep(200)
		send ("wwww")
		sleep (200)
		send ("eee")
	EndIf
WEnd

EndFunc

; exits script
Func _quit()
	Exit
EndFunc
sec i try your script.
edit, doesnt work TT.
king-kongs is offline  
Old 12/18/2013, 22:01   #12
 
mlukac89's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 473
Received Thanks: 104
HotKeySet('{F1}', '_start')

this is start/pause button
when you run script its paused you must press F1 to start and F2 to pause
F1 start <> pause
i dont know how it dont works, but for what is it that script to fire skills or to move ?

try this too i find it in help file

Single keys can also be repeated, e.g.
Send("{DEL 4}") ;Presses the DEL key 4 times
Send("{S 30}") ;Sends 30 'S' characters

so in your case Send("{W 5}") ; sending W 5 times

here you go try copy paste, compile x64, and right click -> run as admin
i tried now in notepad it sends keys no problem

Code:
#RequireAdmin
HotKeySet('{F1}', '_start')
HotKeySet('{F3}', '_quit')

Global $run

While 1
	Sleep(100)
WEnd

; start / pause script
Func _start()

	$run = Not $run

While True
	If $run Then
		Send("{q 4}")
		Sleep(200)
		Send("{w 4}")
		Sleep(200)
		Send("{e 3}")
		Sleep(200)
	EndIf
WEnd

EndFunc

; exits script
Func _quit()
	Exit
EndFunc
mlukac89 is offline  
Thanks
1 User
Old 12/18/2013, 22:09   #13
 
king-kongs's Avatar
 
elite*gold: 10
Join Date: Aug 2010
Posts: 608
Received Thanks: 66
it is just a single keys hit combo in the game but it can be for every champion player different combo, but i dont know why it doesnt work with the function buttons script.
like you use w first for stun enemy, then use q for damage , e for damage, and r for ulti damage.

#RequireAdmin
HotKeySet('{F1}', '_start')
HotKeySet('{F3}', '_quit')



While 1

send ("qqqq")


sleep(200)

send ("wwww")

sleep (200)
send ("eee")



WEnd


sec i try this script.

this script works but the f1 /f3 functions no work, it does continuosly w,e,q.
your script above works on note but not on the game.
king-kongs is offline  
Old 12/18/2013, 22:51   #14
 
mlukac89's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 473
Received Thanks: 104
So if that dont works you need to use ControlSend because it send keys to specified window.

But i think problem is that u dont use {} in send ("qqqq")

and you have a while only outside of function so script run all time that is problem and hotkey search for function to use it

Told you open new script -> make it empty and copy all that code i wrote you then save and try. Start game run script and press F1
mlukac89 is offline  
Old 12/18/2013, 23:07   #15
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
No, using "{eeee}" would be wrong because there is no keyboard that has an eeee-key.
{e}{e}{e}{e} would be right, or just "eeee" but if you use the last one then it's send as plain text instead of pushing the keys.
alpines is offline  
Reply


Similar Threads Similar Threads
Combo boot with AutoIT ??
05/17/2008 - Cabal Online - 1 Replies
hallo ich habe ne frage ob jemand ein combo bot hat der selber die tasten drückt in der richtigen zeit wen jemand hat pls bescheid sagen danke :D:rolleyes:;):cool::D:)



All times are GMT +1. The time now is 04:28.


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.