Interlude branch.
This commit is contained in:
36
L2J_Mobius_C6_Interlude/dist/login/startLoginServer.bat
vendored
Normal file
36
L2J_Mobius_C6_Interlude/dist/login/startLoginServer.bat
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
@echo off
|
||||
title L2J Mobius - Login Server Console
|
||||
|
||||
:start
|
||||
echo Starting Login Server.
|
||||
echo.
|
||||
|
||||
java -version:1.8 -server -Dfile.encoding=UTF-8 -Djava.util.logging.config.file=config/others/log.cfg -Xms128m -Xmx256m -cp ./lib/*;LoginServer.jar com.l2jmobius.loginserver.L2LoginServer
|
||||
|
||||
if ERRORLEVEL 2 goto restart
|
||||
if ERRORLEVEL 1 goto error
|
||||
goto end
|
||||
:restart
|
||||
echo.
|
||||
echo Admin Restarted ...
|
||||
ping -n 5 localhost > nul
|
||||
echo.
|
||||
goto start
|
||||
:error
|
||||
echo.
|
||||
echo LoginServer terminated abnormaly
|
||||
ping -n 5 localhost > nul
|
||||
echo.
|
||||
goto start
|
||||
:end
|
||||
echo.
|
||||
echo LoginServer terminated
|
||||
echo.
|
||||
:question
|
||||
set choix=q
|
||||
set /p choix=Restart(r) or Quit(q)
|
||||
if /i %choix%==r goto start
|
||||
if /i %choix%==q goto exit
|
||||
:exit
|
||||
exit
|
||||
pause
|
Reference in New Issue
Block a user