startLoginServer.bat 416 B

1234567891011121314151617181920212223
  1. @echo off
  2. title Login Server Console
  3. :start
  4. echo Starting L2J Login Server.
  5. echo.
  6. java -Xms128m -Xmx128m -cp ./../libs/*;l2jlogin.jar com.l2jserver.loginserver.L2LoginServer
  7. if ERRORLEVEL 2 goto restart
  8. if ERRORLEVEL 1 goto error
  9. goto end
  10. :restart
  11. echo.
  12. echo Admin Restart ...
  13. echo.
  14. goto start
  15. :error
  16. echo.
  17. echo Server terminated abnormaly
  18. echo.
  19. :end
  20. echo.
  21. echo server terminated
  22. echo.
  23. pause