Version: 1.10 (27.11.2014)
In preparation for the release of Rek'Sai
http://na.leagueofle...e-void-burrower
I decided to update the script and indeed the character list.
Improvements:
As many have asked for and indeed worked themselves into their scripts,
AutoComplete function
Lane Caller
has been added to the script.
Full hero list, including upcoming one Rek'Sai.
Sleep Timers increased to a minimum of 40 for slower loading PC's.
F7 Added to Reload script and repick if you change your mind before picking phase.
Lanes you can automatically call(default):
ADC
Support
Top
Jungle
Mid
How it works:
- Pick hero you want to be automatically selected for you once you join a game.
- Make sure you own that hero or it resides here http://euw.leagueofl...ampion-rotation
- Pick a lane you want to call or not
- Click 'OK'
- Popup Messagebox will appear to verify which hero you picked.
- Look for game, join game, as you normally would.
- Once at hero selection phase the program will type the hero name you selected and pick it.
- It will continue to try to pick it until it finds a gray color where the hero icon is suppose to be.
- If at anytime you want to close the program simply press F8.
#SingleInstance force Menu, Tray, Tip, League of Legends Auto Picker v1.10`nMade by Sanctus myGui("x860 y400", "League of Legends AHK AutoPicker") myGui(position, title) { global thatVar global thisVar gui, new gui, Default gui, +LastFound +LabelMyGui gui, add, groupbox, w200 h150, LOL AutoPicker gui, font, s8, Arial gui, add, text, xm12 ym20 section gui, add, text, yp center, Choose the hero to play.. gui, Add, ComboBox, vthisVar w120 r10 gAC, Aatrox|Ahri|Akali|Alistar|Amumu|Anivia|Annie|Ashe|Azir|Blitzcrank|Brand|Braum|Caitlyn|Cassiopeia|Cho'Gath|Corki|Darius|Diana|Dr. Mundo|Draven|Elise|Evelynn|Ezreal|Fiddlesticks|Fiora|Fizz|Galio|Gangplank|Garen|Gnar|Gragas|Graves|Hecarim|Heimerdinger|Irelia|Janna|Jarvan IV|Jax|Jayce|Jinx|Kalista|Karma|Karthus|Kassadin|Katarina|Kayle|Kennen|Kha'Zix|Kog'Maw|LeBlanc|Lee Sin|Leona|Lissandra|Lucian|Lulu|Lux|Malphite|Malzahar|Maokai|Master Yi|Miss Fortune|Mordekaiser|Morgana|Nami|Nasus|Nautilus|Nidalee|Nocturne|Nunu|Olaf|Orianna|Pantheon|Poppy|Quinn|Rammus|Rek'Sai|Renekton|Rengar|Riven|Rumble|Ryze|Sejuani|Shaco|Shen|Shyvana|Singed|Sion|Sivir|Skarner|Sona|Soraka|Swain|Syndra|Talon|Taric|Teemo|Thresh|Tristana|Trundle|Tryndamere|Twisted Fate|Twitch|Udyr|Urgot|Varus|Vayne|Veigar|Vel'Koz|Vi|Viktor|Vladimir|Volibear|Warwick|Wukong|Xerath|Xin Zhao|Yasuo|Yorick|Zac|Zed|Ziggs|Zilean|Zyra gui, add,text, yp+25 center, Choose the lane to call.. gui, Add, ComboBox, vthatVar w120 r10 gAC, ADC|Support|Top|Jungle|Mid gui, add, button, yp+30 gDone, OK gui, add, button, xp+30 gmyguiclose, Cancel gui, add, text, yp+40 center, F8 TO CRASH PROGRAM gui, add, text, yp+15 xp+17.5, Made by Sanctus gui, add, link, yp+15 xp-45, <a href="http://euw.leagueoflegends.com/news/champion-rotation">Click here to see Champion Rotation.</a> gui, font, s10, Verdana gui, add, text, yp+15 xp+3, Version: 1.10 (27.11.2014) gui, show, % position, % title return AC: AutoComplete(A_GuiControl) Return Done: { gui,submit,nohide gui, destroy msgbox Hero that will automatically be picked : %thisVar% msgbox Position that will be automaticly called: %thatVar% Loop { WinWaitActive ahk_class ApolloRuntimeContentWindow { PixelSearch, FoundaX, FoundaY, 912, 130, 996, 142, 0xFFFFFF, 0, Fast ;Find Search Box if ErrorLevel = 0 { BlockInput, On MouseClick, left, 930, 135 Sleep 40 Send, %thisVar% Sleep, 200 MouseClick, Left, 325, 212 Sleep 40 MouseClick, left, 355, 737 Sleep 40 Send, %thatVar% Sleep 40 MouseClick, left, 922, 735 BlockInput, Off Sleep, 2000 } PixelSearch, FoundbX, FoundbY, 296, 180, 350, 233, 0x303030, 0, Fast ;Exit Script if ErrorLevel = 0 { ExitApp } } } return } myguiclose: { ExitApp return } } ;AutoComplete Section AutoComplete(ctrl) { static lf = "`n" If GetKeyState("Delete") or GetKeyState("Backspace") Return SetControlDelay, -1 SetWinDelay, -1 GuiControlGet, h, Hwnd, %ctrl% ControlGet, haystack, List, , , ahk_id %h% GuiControlGet, needle, , %ctrl% StringMid, text, haystack, pos := InStr(lf . haystack, lf . needle) , InStr(haystack . lf, lf, false, pos) - pos If text != { if pos != 0 { ControlSetText, , %text%, ahk_id %h% ControlSend, , % "{Right " . StrLen(needle) . "}+^{End}", ahk_id %h% } } } ;Reload Script / Repick Hero F7::Reload ;Crash Script F8::ExitApp
I will ofc continually update this and try to improve it, as well are any suggestions welcome.
I do though on the other hand not play League of Legends regularly,
if at any time the program stops working or another hero is added, please comment on this thread,
I will be notified and I will update it