|
@@ -14,14 +14,8 @@ REM -XX:+AggressiveOpts
|
|
REM Use this parameters carefully, some of them could cause abnormal behavior, deadlocks, etc.
|
|
REM Use this parameters carefully, some of them could cause abnormal behavior, deadlocks, etc.
|
|
REM More info here: http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html
|
|
REM More info here: http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html
|
|
|
|
|
|
-if ERRORLEVEL 1 goto error
|
|
|
|
if ERRORLEVEL 2 goto restart
|
|
if ERRORLEVEL 2 goto restart
|
|
-goto end
|
|
|
|
-
|
|
|
|
-:error
|
|
|
|
-echo.
|
|
|
|
-echo Game Server Terminated Abnormally!
|
|
|
|
-echo.
|
|
|
|
|
|
+if ERRORLEVEL 1 goto error
|
|
goto end
|
|
goto end
|
|
|
|
|
|
:restart
|
|
:restart
|
|
@@ -30,6 +24,11 @@ echo Admin Restarted Game Server.
|
|
echo.
|
|
echo.
|
|
goto start
|
|
goto start
|
|
|
|
|
|
|
|
+:error
|
|
|
|
+echo.
|
|
|
|
+echo Game Server Terminated Abnormally!
|
|
|
|
+echo.
|
|
|
|
+
|
|
:end
|
|
:end
|
|
echo.
|
|
echo.
|
|
echo Game Server Terminated.
|
|
echo Game Server Terminated.
|