summaryrefslogtreecommitdiff
path: root/charserv.bat
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-11-22 12:36:39 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-11-22 12:36:39 +0000
commit1d5a74a95d692da014348b66c47f3c357796bd66 (patch)
treef1925bce4a84497d570342fb4d1f62c50f49dafb /charserv.bat
parent45118f66b0e5604373672ea7dff0a844b3d57c27 (diff)
downloadhercules-1d5a74a95d692da014348b66c47f3c357796bd66.tar.gz
hercules-1d5a74a95d692da014348b66c47f3c357796bd66.tar.bz2
hercules-1d5a74a95d692da014348b66c47f3c357796bd66.tar.xz
hercules-1d5a74a95d692da014348b66c47f3c357796bd66.zip
* Batch files (Windows) now detect whether the server crashed, aborted or shutdown cleanly (Ctrl+C or @mapexit) and print appropriate message, instead of always assuming, that the server crashed (bugreport:3476, since r1818).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14484 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'charserv.bat')
-rwxr-xr-xcharserv.bat11
1 files changed, 2 insertions, 9 deletions
diff --git a/charserv.bat b/charserv.bat
index cda0f4eb4..b21efac35 100755
--- a/charserv.bat
+++ b/charserv.bat
@@ -1,9 +1,2 @@
-@echo off
-rem Writen by Jbain
-:end
-char-server.exe
-echo .
-echo .
-echo Char server crashed! restarting in 15 seconds! press ctl+C to cancel restart!
-PING -n 15 127.0.0.1 >nul
-goto end \ No newline at end of file
+@ECHO OFF
+CALL serv.bat char-server.exe Char-Server