Start_Server.bat problem

Keleg

New Member
I'v already installed mysql, so i wanted to edit the mysql paths. I copied the mysql.bat into mysql folder too. But when im starting this bat it shows me the following errors:

1. The system cant find the entered path

2. The command "." is wrong or can not be found!

3. The command "." is wrong or can not be found!

4. The command "." is wrong or can not be found!


Would someone please explain me what's wrong here... and how to fix it? Maybe someone would explain me how this bat scripts are working and which commands i need to know? And i want to add BEC Starter here... how do i add this? My BEC is @ "D:\GAMES\dayz\9447487\Bec\Bec.exe -f Config.cfg"
And how can i add a auto restart on crash into this bat?



@echo off
echo Die MySQL-Datenbank wird gestartet, bitte warte 5-10 Sekunden.
start /D. D:\xampp\MySQL\MySQL.bat
ping 127.0.0.1 -n 5 >NUL
. D:\xampp\MySQL\cecho {0A} OK.{07}
echo.
echo.
echo.
echo Führe das Spawnscript aus...
. D:\xampp\mysql\bin\mysql.exe --user=XXX --password=XXX --host=XXX --port=3306 --database=XXX --execute="call pMain(1)"
ping 127.0.0.1 -n 5 >NUL
. D:\xampp\MySQL\cecho {0A} OK.{07}
echo.
echo.
echo.
echo Starte den Server...
start .\Expansion\beta\arma2oaserver.exe -mod=Expansion\beta;Expansion\beta\expansion;ca;@hive;@dayz -name=cfgdayz -config=cfgdayz\server.cfg -cfg=cfgdayz\basic.cfg -profiles=cfgdayz -noSplash -cpuCount=8 -high -maxMem=8192
. D:\xampp\MySQL\cecho {0A} OK.{07}
echo.
echo.
echo.
. D:\xampp\MySQL\cecho {0B}Launcher läuft...{07}
ping 127.0.0.1 -n 5 >NUL
echo.
echo.
echo.
.D:\xampp\mysql\MySQL\cecho {0A}Launcher wird geschossen.{07}
ping 127.0.0.1 -n 5 >NUL
exit
 
Back
Top