diff options
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/char-server.bat | 2 | ||||
-rw-r--r-- | runtime/db2sql.bat | 45 | ||||
-rw-r--r-- | runtime/dbghelp.dll | bin | 0 -> 1213200 bytes | |||
-rw-r--r-- | runtime/libmysql.dll | bin | 0 -> 1449984 bytes | |||
-rw-r--r-- | runtime/login-server.bat | 2 | ||||
-rw-r--r-- | runtime/mac.start.scpt | bin | 0 -> 10742 bytes | |||
-rw-r--r-- | runtime/map-server.bat | 2 | ||||
-rw-r--r-- | runtime/pcre3.dll | bin | 0 -> 159744 bytes | |||
-rw-r--r-- | runtime/run-server.bat | 8 | ||||
-rw-r--r-- | runtime/script-checker.bat | 45 | ||||
-rw-r--r-- | runtime/serv.bat | 59 | ||||
-rw-r--r-- | runtime/zlib1.dll | bin | 0 -> 81920 bytes |
12 files changed, 163 insertions, 0 deletions
diff --git a/runtime/char-server.bat b/runtime/char-server.bat new file mode 100644 index 000000000..b21efac35 --- /dev/null +++ b/runtime/char-server.bat @@ -0,0 +1,2 @@ +@ECHO OFF +CALL serv.bat char-server.exe Char-Server diff --git a/runtime/db2sql.bat b/runtime/db2sql.bat new file mode 100644 index 000000000..9bad06ef2 --- /dev/null +++ b/runtime/db2sql.bat @@ -0,0 +1,45 @@ +@ECHO OFF + +REM This file is part of Hercules. +REM http://herc.ws - http://github.com/HerculesWS/Hercules +REM +REM Copyright (C) 2013-2015 Hercules Dev Team +REM +REM Hercules is free software: you can redistribute it and/or modify +REM it under the terms of the GNU General Public License as published by +REM the Free Software Foundation, either version 3 of the License, or +REM (at your option) any later version. +REM +REM This program is distributed in the hope that it will be useful, +REM but WITHOUT ANY WARRANTY; without even the implied warranty of +REM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +REM GNU General Public License for more details. +REM +REM You should have received a copy of the GNU General Public License +REM along with this program. If not, see <http://www.gnu.org/licenses/>. + +REM Base Author: Mumbles @ http://herc.ws + +COLOR 0F + +ECHO. +ECHO Hercules Development Team presents +ECHO _ _ _ +ECHO ^| ^| ^| ^| ^| ^| +ECHO ^| ^|_^| ^| ___ _ __ ___ _ _^| ^| ___ ___ +ECHO ^| _ ^|/ _ \ '__/ __^| ^| ^| ^| ^|/ _ \/ __^| +ECHO ^| ^| ^| ^| __/ ^| ^| (__^| ^|_^| ^| ^| __/\__ \ +ECHO \_^| ^|_/\___^|_^| \___^|\__,_^|_^|\___^|^|___/ +ECHO. +ECHO Database to SQL Converter +ECHO http://herc.ws/board/ +ECHO. +ECHO. + +ECHO Exporting databases to 'sql-files' folder... +PING -n 3 -w 1 127.0.0.1 > nul + +map-server.exe --load-plugin db2sql --db2sql +ECHO. + +PING -n 10 -w 1 127.0.0.1 > nul diff --git a/runtime/dbghelp.dll b/runtime/dbghelp.dll Binary files differnew file mode 100644 index 000000000..9f52a5d41 --- /dev/null +++ b/runtime/dbghelp.dll diff --git a/runtime/libmysql.dll b/runtime/libmysql.dll Binary files differnew file mode 100644 index 000000000..f86e8ef5b --- /dev/null +++ b/runtime/libmysql.dll diff --git a/runtime/login-server.bat b/runtime/login-server.bat new file mode 100644 index 000000000..a36e07f17 --- /dev/null +++ b/runtime/login-server.bat @@ -0,0 +1,2 @@ +@ECHO OFF +CALL serv.bat login-server.exe Login-Server diff --git a/runtime/mac.start.scpt b/runtime/mac.start.scpt Binary files differnew file mode 100644 index 000000000..3275246ca --- /dev/null +++ b/runtime/mac.start.scpt diff --git a/runtime/map-server.bat b/runtime/map-server.bat new file mode 100644 index 000000000..fc6235092 --- /dev/null +++ b/runtime/map-server.bat @@ -0,0 +1,2 @@ +@ECHO OFF +CALL serv.bat map-server.exe Map-Server diff --git a/runtime/pcre3.dll b/runtime/pcre3.dll Binary files differnew file mode 100644 index 000000000..f4fa1ea2e --- /dev/null +++ b/runtime/pcre3.dll diff --git a/runtime/run-server.bat b/runtime/run-server.bat new file mode 100644 index 000000000..3d09ba318 --- /dev/null +++ b/runtime/run-server.bat @@ -0,0 +1,8 @@ +@echo off +rem This is and auto-restart script for the Server Emulator. +rem It will also keep the map server OPEN after it crashes to that errors may be +rem more easily identified +rem Writen by Jbain +start cmd /k login-server.bat +start cmd /k char-server.bat +start cmd /k map-server.bat diff --git a/runtime/script-checker.bat b/runtime/script-checker.bat new file mode 100644 index 000000000..327ea7cf5 --- /dev/null +++ b/runtime/script-checker.bat @@ -0,0 +1,45 @@ +@ECHO OFF + +REM This file is part of Hercules. +REM http://herc.ws - http://github.com/HerculesWS/Hercules +REM +REM Copyright (C) 2013-2015 Hercules Dev Team +REM +REM Hercules is free software: you can redistribute it and/or modify +REM it under the terms of the GNU General Public License as published by +REM the Free Software Foundation, either version 3 of the License, or +REM (at your option) any later version. +REM +REM This program is distributed in the hope that it will be useful, +REM but WITHOUT ANY WARRANTY; without even the implied warranty of +REM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +REM GNU General Public License for more details. +REM +REM You should have received a copy of the GNU General Public License +REM along with this program. If not, see <http://www.gnu.org/licenses/>. + +REM Base Author: Mumbles @ http://herc.ws + +COLOR 0F + +ECHO. +ECHO Hercules Development Team presents +ECHO _ _ _ +ECHO ^| ^| ^| ^| ^| ^| +ECHO ^| ^|_^| ^| ___ _ __ ___ _ _^| ^| ___ ___ +ECHO ^| _ ^|/ _ \ '__/ __^| ^| ^| ^| ^|/ _ \/ __^| +ECHO ^| ^| ^| ^| __/ ^| ^| (__^| ^|_^| ^| ^| __/\__ \ +ECHO \_^| ^|_/\___^|_^| \___^|\__,_^|_^|\___^|^|___/ +ECHO. +ECHO Script Syntax Checker +ECHO http://hercules.ws/board/ +ECHO. +ECHO Drag and drop or input manually +ECHO. +ECHO. + +:LOOP + SET /P SCRIPT="Enter path/to/your/script.txt: " %=% + map-server.exe --script-check --load-script %SCRIPT% + ECHO. +GOTO LOOP diff --git a/runtime/serv.bat b/runtime/serv.bat new file mode 100644 index 000000000..cc7d37e20 --- /dev/null +++ b/runtime/serv.bat @@ -0,0 +1,59 @@ +@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 diff --git a/runtime/zlib1.dll b/runtime/zlib1.dll Binary files differnew file mode 100644 index 000000000..a05e41e1c --- /dev/null +++ b/runtime/zlib1.dll |