+ [Source Code] NoBug Launcher

Posts 17 of 7 · Page 1 of 1
+ [Source Code] NoBug Launcher
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/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)

Virus Scan 1
Virus Scan 2

The malwares found are just because we are using process in the bot.
LolEasyStart_mpgh.net.zip276 KB · 147 downloads Scanning…
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
Quote Originally Posted by nofire View Post
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)

Virus Scan 1
Virus Scan 2

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 ----------

Quote Originally Posted by mwoo778 View Post
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.
Quote Originally Posted by nofire View Post
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.
Quote Originally Posted by Bernard View Post


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 ----------

Here it is. New Virus Scans
Looks good.

/Approved
Posts 17 of 7 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?