-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRELOLADER PBE.bat
116 lines (97 loc) · 2.51 KB
/
RELOLADER PBE.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
@echo off
@title RELOLADER for PBE
set APP=RELOLADER
set AUTHOR=POMBO
set AVATAR=\Õ/
set MADE_BY=MADE BY:
set SPACE=
set KEY=@2024
echo %APP%%SPACE%%MADE_BY%%SPACE%%SPACE%%AUTHOR%%SPACE%%SPACE%%AVATAR%%SPACE%%KEY%
COLOR 0F
echo.
echo: ******************** RELOLADER for PBE ********************
echo.
echo RELOLADER for PBE is a version of RELOLADER dedicated to the PBE server!
echo.
echo RELOLADER is a script that restart your League of Legends if it's crashed, does not affect Vanguard!
echo.
echo.
echo Attention! This script only works for conventional installation of League of Legends in "C:\Riot Games\Riot Client", if your client is installed in another path or this path was changed in future updates, this will not work!
timeout /t 2 /nobreak >nul
echo.
echo Attempting to close PBE. . .
taskkill /f /im RiotClientServices.exe /t
if %errorlevel% neq 0 (
COLOR 0C
echo Error: Processes not found!
)
taskkill /f /im LeagueClient.exe /t
if %errorlevel% neq 0 (
echo.
echo Predicted error: Processes not found!
timeout /t 2 /nobreak >nul
)
cls
COLOR 0F
echo.
echo Waiting to validate if PBE has ended. . .
timeout /t 2 /nobreak >nul
echo.
echo Searching for remaining executable processes. . .
timeout /t 2 /nobreak >nul
taskkill /f /im LeagueClient.exe /t
if %errorlevel% neq 0 (
echo.
echo Predicted error: Processes not found!
timeout /t 2 /nobreak >nul
)
timeout /t 2 /nobreak >nul
taskkill /f /im RiotClientServices.exe /t
if %errorlevel% neq 0 (
echo.
echo Predicted error: Processes not found!
timeout /t 2 /nobreak >nul
cls
COLOR 0B
echo.
echo Success: No additional processes detected!
echo.
echo Success: PBE has been closed!
timeout /t 2 /nobreak >nul
)
cls
COLOR 0F
echo.
echo Attempting to start League of Legends in PBE patchline. . .
cd "C:\Riot Games\Riot Client\"
if %errorlevel% neq 0 (
COLOR 0C
echo Error: Unable to access the Riot Games client directory at "C:\Riot Games\Riot Client\"
echo.
echo Error: Can't open PBE!
echo.
echo Press any key to exit!
pause >nul
exit /b %errorlevel%
)
timeout /t 2 /nobreak >nul
start RiotClientServices.exe --launch-product=league_of_legends --launch-patchline=pbe
if %errorlevel% neq 0 (
COLOR 0C
echo Error: Failed to start "RiotClientServices.exe"
echo.
echo Error: Can't open PBE!
echo.
echo Press any key to exit!
pause >nul
exit /b %errorlevel%
)
echo.
echo Loading. . .
timeout /t 15 /nobreak >nul
cls
COLOR 0B
echo.
echo Done!
timeout /t 2 /nobreak >nul
exit