I heard lot of you at a sometimes a bug at the launcher "Another instance of this program is already running."
So I decided to make a very little program that is correcting this bug. I'll ofc give the source because it's very simple.
Code:
Func NoProblemStart()
If FileExists(@ScriptDir & "/EasyStart.ini") Then
Global $path = IniRead("EasyStart.ini", "Path", "LolPath", "")
Else
IniWrite("EasyStart.ini","Path","LolPath", "C:/Riot Games/League of Legends/lol.launcher.exe")
Global $path = IniRead("EasyStart.ini", "Path", "LolPath", "")
EndIf
If ProcessExists("LolClient.exe") Then
ProcessClose("LolClient.exe")
EndIf
If ProcessExists("LoLLauncher.exe") Then
ProcessClose("LoLLauncher.exe")
EndIf
If ProcessExists("rads_user_kernel.exe") Then
ProcessClose("rads_user_kernel.exe")
EndIf
Run($path)
EndFunc
Call("NoProblemStart")
It's really easy to use. If your LoL Path is the basic path (C:/Riot Games/League of Legends/lol.launcher.exe). It'll work at the first time. If it's not your LoL path. You'll start to start the program once and then modify the LoL path in the "EasyStart.ini" that the program creates. I'll give the .exe in the attachement with the league of legends Icon.
I'll give the 2 Virus Scan even if I give the Source Code. (Rules are rules)
does this make "Another instance of this program is already running." never appear?
cuz you can just click 'yes' and start another LoL launcher to reconnect
Originally Posted by nofire
Hi !
I heard lot of you at a sometimes a bug at the launcher "Another instance of this program is already running."
So I decided to make a very little program that is correcting this bug. I'll ofc give the source because it's very simple.
Code:
Func NoProblemStart()
If FileExists(@ScriptDir & "/EasyStart.ini") Then
Global $path = IniRead("EasyStart.ini", "Path", "LolPath", "")
Else
IniWrite("EasyStart.ini","Path","LolPath", "C:/Riot Games/League of Legends/lol.launcher.exe")
Global $path = IniRead("EasyStart.ini", "Path", "LolPath", "")
EndIf
If ProcessExists("LolClient.exe") Then
ProcessClose("LolClient.exe")
EndIf
If ProcessExists("LoLLauncher.exe") Then
ProcessClose("LoLLauncher.exe")
EndIf
If ProcessExists("rads_user_kernel.exe") Then
ProcessClose("rads_user_kernel.exe")
EndIf
Run($path)
EndFunc
Call("NoProblemStart")
It's really easy to use. If your LoL Path is the basic path (C:/Riot Games/League of Legends.launcher.exe). It'll work at the first time. If it's not your LoL path. You'll start to start the program once and then modify the LoL path in the "EasyStart.ini" that the program creates. I'll give the .exe in the attachement with the league of legends Icon.
I'll give the 2 Virus Scan even if I give the Source Code. (Rules are rules)
The malwares found are just because we are using process in the bot.
The virus scans failed to match the file.
Nope, both virus scans worked...
---------- Post added at 08:23 AM ---------- Previous post was at 08:19 AM ----------
Originally Posted by mwoo778
does this make "Another instance of this program is already running." never appear?
cuz you can just click 'yes' and start another LoL launcher to reconnect
Yeah, that's the only thing that this code does. I hate it when it happens, so I made that little script.
Originally Posted by nofire
Nope, both virus scans worked...
---------- Post added at 08:23 AM ---------- Previous post was at 08:19 AM ----------
Yeah, that's the only thing that this code does. I hate it when it happens, so I made that little script.
Be sure you are virus scanning the rar. file.
Originally Posted by Vice-Versa
Be sure you are virus scanning the rar. file.
Oh, I thought we had to scan the .exe file... Wait I'll edit it.
---------- Post added at 12:48 PM ---------- Previous post was at 12:45 PM ----------