Hier habe ich mal eine Server Starter.bat -> Damit wirst du keine Probleme haben ->
PHP Code:
@echo off
:commands
cls
color 0f
echo --------------------
echo Commands:
echo --------------------
echo - Start
echo - Restart
echo - Stop
echo --------------------
echo Please type your commmand below:
set /p command=
if '%command%' == 'Start' goto Start
if '%command%' == 'start' goto Start
if '%command%' == 'Restart' goto Restart
if '%command%' == 'restart' goto Restart
if '%command%' == 'Stop' goto Stop
if '%command%' == 'stop' goto Stop
goto commands
:Start
Color 4f
echo --------------------
echo Starting Account Server...
start /min AccountServer.exe
ping 1.1.1.1 -n 1 -w 10000>nul
echo Starting Database Server...
start /min DatabaseServer.exe
ping 1.1.1.1 -n 1 -w 7000>nul
echo Starting Core Server...
start /min CoreServer.exe
ping 1.1.1.1 -n 1 -w 7000>nul
echo Starting Cache Server...
start /min CacheServer.exe
ping 1.1.1.1 -n 1 -w 7000>nul
echo Starting Certifier...
start /min Certifier.exe
ping 1.1.1.1 -n 1 -w 7000>nul
echo Starting Login Server....
start /min LoginServer.exe
ping 1.1.1.1 -n 1 -w 23000>nul
echo Starting World Server...
start /min WorldServer.exe
ping 1.1.1.1 -n 1 -w 10000>nul
color 2f
echo --------------------
echo Server files loaded.
echo --------------------
ping 1.1.1.1 -n 1 -w 2000>nul
goto commands
:Restart
Color 4f
echo --------------------
taskkill /im AccountServer.exe
taskkill /im DatabaseServer.exe
taskkill /im CoreServer.exe
taskkill /im CacheServer.exe
taskkill /im Certifier.exe
taskkill /im LoginServer.exe
taskkill /im WorldServer.exe
echo --------------------
echo Server files closed.
echo --------------------
goto start
:stop
Color 4f
echo --------------------
taskkill /im AccountServer.exe
taskkill /im DatabaseServer.exe
taskkill /im CoreServer.exe
taskkill /im CacheServer.exe
taskkill /im Certifier.exe
taskkill /im LoginServer.exe
taskkill /im WorldServer.exe
echo --------------------
echo Server files closed.
echo --------------------
ping 1.1.1.1 -n 1 -w 2000>nul
goto commands
Einfach Textdokument machen, dass hier Copy & Pasten und dann umbenen in .Bat .
Die Bat packst du dann in den Programm Order zu den Server exen und machst doppel Klick drauf. Nun gibst du Start ein und die Server starten Problemlos.
Du kannst damit übrings auch den Server restarten.
Es gibt 3 Befehle -> Start,Stop & Restart.
Hoffe soweit verständlich.
MfG Armageddon