|
You last visited: Today at 02:49
Advertisement
LOL autoit combo bot script
Discussion on LOL autoit combo bot script within the AutoIt forum part of the Coders Den category.
12/18/2013, 05:53
|
#1
|
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
|
|
|
12/18/2013, 06:38
|
#2
|
elite*gold: 280
Join Date: May 2007
Posts: 2,818
Received Thanks: 3,483
|
Quote:
Originally Posted by king-kongs
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
|
|
|
12/18/2013, 08:16
|
#3
|
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.
|
|
|
12/18/2013, 08:41
|
#4
|
elite*gold: 280
Join Date: May 2007
Posts: 2,818
Received Thanks: 3,483
|
Quote:
Originally Posted by king-kongs
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
|
|
|
12/18/2013, 09:42
|
#5
|
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
|
|
|
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' ?
|
|
|
12/18/2013, 11:28
|
#7
|
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
|
|
|
12/18/2013, 19:57
|
#8
|
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?
|
|
|
12/18/2013, 20:09
|
#9
|
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
|
|
|
12/18/2013, 21:49
|
#10
|
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
|
|
|
12/18/2013, 21:50
|
#11
|
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
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.
|
|
|
12/18/2013, 22:01
|
#12
|
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
|
|
|
12/18/2013, 22:09
|
#13
|
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.
|
|
|
12/18/2013, 22:51
|
#14
|
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
|
|
|
12/18/2013, 23:07
|
#15
|
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.
|
|
|
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 02:50.
|
|