diff options
author | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-11-22 12:36:39 +0000 |
---|---|---|
committer | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-11-22 12:36:39 +0000 |
commit | a21bc85c2316d2ecbb1d1b2f6bdcc055928faf60 (patch) | |
tree | 25869eebefe23b0e339bf41d00e41d8481691c65 /charserv-sql.bat | |
parent | 7dc7a1fc2071ca796ca1cbb091a6b97d412a41f1 (diff) | |
download | hercules-a21bc85c2316d2ecbb1d1b2f6bdcc055928faf60.tar.gz hercules-a21bc85c2316d2ecbb1d1b2f6bdcc055928faf60.tar.bz2 hercules-a21bc85c2316d2ecbb1d1b2f6bdcc055928faf60.tar.xz hercules-a21bc85c2316d2ecbb1d1b2f6bdcc055928faf60.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/trunk@14484 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'charserv-sql.bat')
-rwxr-xr-x | charserv-sql.bat | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/charserv-sql.bat b/charserv-sql.bat index 90b58b205..c88168475 100755 --- a/charserv-sql.bat +++ b/charserv-sql.bat @@ -1,9 +1,2 @@ -@echo off -rem Writen by Jbain -:end -char-server_sql.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_sql.exe Char-Server |