League of Legends Auto-Login Script

Ask gaming related questions (AHK v1.1 and older)
omled
Posts: 1
Joined: 04 Jun 2019, 23:46

League of Legends Auto-Login Script

04 Jun 2019, 23:49

I'm having trouble with my code. When I start the script and open LoL, the script works (haven't tested auto-accept though). The problem is I have to reload my script every time afterwards in order for it to work at all again. Can anyone tell me why and how I can fix it? I am using ImageSearch to find images that matched with the LoL client to perform certain actions, but that doesn't seem to be the issue.
Last edited by omled on 17 Jul 2019, 00:00, edited 3 times in total.
User avatar
YoucefHam
Posts: 372
Joined: 24 Aug 2015, 12:56
Location: Algeria
Contact:

Re: League of Legends Auto-Login Script

05 Jun 2019, 20:25

post your script without your logging information
:wave: There is always more than one way to solve a problem. ;)
User avatar
fkrause
Posts: 2
Joined: 01 Aug 2019, 21:57
Contact:

Re: League of Legends Auto-Login Script

01 Aug 2019, 22:02

Like this?
Work for me

Code: Select all

#IfWinActive ahk_exe LeagueClientUx.exe

XButton1 & WheelDown::
{
   Send XXXXXXXXXXXXXX <------ Your username
   Sleep 10
   Send {Tab}
   Sleep 10
   Send XXXXXXXXXXXXXX <------ Your password
   Send {Enter}
}
return


; /////////////////
; //  2nd Acc    //
; /////////////////


XButton1 & WheelUp::
{
   Send XXXXXXXXXXXXXX <------ Your username
   Sleep 10
   Send {Tab}
   Sleep 10
   Send XXXXXXXXXXXXXX <------ Your password
   Send {Enter}
}
return
Image

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 128 guests