summaryrefslogtreecommitdiff
path: root/serv.bat
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-05 11:50:32 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-27 23:21:24 +0300
commit5d71a667cd3827dbae00407f70620cdb1ed8a3a2 (patch)
tree3fee047153f9abe1da90e6cfbc64c2d303c15171 /serv.bat
parent1c8399d843d2106f25e4d6f3b17f48d4bb312f1a (diff)
downloadhercules-5d71a667cd3827dbae00407f70620cdb1ed8a3a2.tar.gz
hercules-5d71a667cd3827dbae00407f70620cdb1ed8a3a2.tar.bz2
hercules-5d71a667cd3827dbae00407f70620cdb1ed8a3a2.tar.xz
hercules-5d71a667cd3827dbae00407f70620cdb1ed8a3a2.zip
Move windows and mac run time files into runtime dir.
For usage, need copy it back.
Diffstat (limited to 'serv.bat')
-rw-r--r--serv.bat59
1 files changed, 0 insertions, 59 deletions
diff --git a/serv.bat b/serv.bat
deleted file mode 100644
index cc7d37e20..000000000
--- a/serv.bat
+++ /dev/null
@@ -1,59 +0,0 @@
-@ECHO OFF
-IF "%1"=="" GOTO DIRECT
-IF "%2"=="" GOTO DIRECT
-IF NOT EXIST "%1" GOTO NOTFOUND
-GOTO START
-
-REM == How RESTART_9X and RESTART_NT works =========================
-REM On Windows 9x only the first 8 characters are significant for
-REM labels, and the first matching one is called (RESTART_(9X)).
-REM Windows NT calls the exact named label (RESTART_NT).
-REM Separation between 9X and NT is required, because CHOICE has
-REM different syntax on these platforms or does not exist as all.
-REM ================================================================
-
-REM Windows 95, 98, ME
-:RESTART_9X
-REM Old Ctrl+C in PING does not work, because that only stops ping,
-REM not the batch file.
-CHOICE /C:rc /N /T:R,15 Restarting in 15 seconds, press 'C' to cancel.
-IF NOT ERRORLEVEL 2 GOTO START
-GOTO END
-
-REM Windows 2000, XP, Vista, 7
-:RESTART_NT
-REM There is no CHOICE in 2000 and XP, but you get asked whether to
-REM abort the batch file, when pressing Ctrl+C in PING.
-ECHO Restarting in 15 seconds, press Ctrl+C to cancel.
-PING -n 15 127.0.0.1 > NUL
-
-:START
-%1
-ECHO.
-REM Return value > 1 is exception&~0xC0000000
-IF ERRORLEVEL 2 GOTO CRASHED
-REM Return value 1 is EXIT_FAILURE
-IF ERRORLEVEL 1 GOTO EXIT1
-REM Return value 0 is EXIT_SUCCESS
-ECHO %2 has shutdown successfully.
-GOTO RESTART_NT
-
-:EXIT1
-ECHO %2 has terminated abnormally.
-GOTO RESTART_NT
-
-:CRASHED
-ECHO %2 has crashed!
-GOTO RESTART_NT
-
-:DIRECT
-ECHO Do not run this file directly. It is used by login-server.bat, char-server.bat,
-ECHO and map-server.bat
-GOTO END
-
-:NOTFOUND
-ECHO %1 was not found. Make sure, that you have compiled the %2.
-GOTO END
-
-:END
-PAUSE