@echo off
title L2JOneoRus:  Login Server Console
:start
echo Starting L2JOneoRus Login Server.
echo.
java -Dfile.encoding=UTF-8 -Xmx64m -cp lib/javolution.jar;lib/mmocore.jar;lib/c3p0-0.9.1.2.jar;lib/mysql-connector-java-5.1.10-bin.jar;lib/core.jar net.sf.l2j.loginserver.L2LoginServer
if ERRORLEVEL 2 goto restart
if ERRORLEVEL 1 goto error
goto end
:restart
echo.
echo Admin Restarted ...
echo.
goto start
:error
echo.
echo LoginServer terminated abnormaly
echo.
:end
echo.
echo LoginServer terminated
echo.
pause
