Server is starting but in commander it shows diff version

Quarterbreed

Well-Known Member
heres my start server file, I do have ports opened but it doesn't show up on commander,

Code:
@echo off
echo Stopping game server...
taskkill /F /IM arma2oaserver.exe
taskkill /F /IM BEC.exe
ping 127.0.0.1 -n 5 >NUL
echo.
echo.
echo.
echo Cleaning dead from database older than 7 days...
perl db_utility.pl cleandead 7 --host 127.0.0.1 --user --pass  --name dayz --port 3306
ping 127.0.0.1 -n 5 >NUL
echo.
echo.
echo.
echo Executing spawn script...
db_spawn_vehicles.pl --instance 1 --limit 900 --host 127.0.0.1 --user --pass --name dayz --port 3306 --cleanup bounds
ping 127.0.0.1 -n 5 >NUL
echo.
echo.
echo.
echo Starting server...
"Expansion\beta\arma2oaserver.exe" -ip=127.0.0.1 -port=2302 "-config=dayz_1.tavi\config.cfg" "-cfg=dayz_1.tavi\basic.cfg" "-profiles=dayz_1.tavi" -name=Reality "-mod=@dayz;@reality_1.tavi" -noPause -noSound -cpuCount=2 -exThreads=1 -maxMem=2048
ping 127.0.0.1 -n 5 >NUL
echo.
echo.
echo.
echo Starting BEC
start C:\ServerTools\dayzbec.bat
ping 127.0.0.1 -n 5 >NUL
echo.
echo.
echo.
exit
 
Well now you publish your database info and passwords.
Hope your change your password if that is it.
You should always hide any vital info so the hackers don't attack your db.
ip=x.x.x.x
pass=pw or such
user=dbuser or such

Change the ip from 127.0.0.1 to your actualy servers ip.
127.0.0.1 is local and won't go global.
 
I did change it, but i always used 127.0.0.1, since my box is on ny network, if i use my real ip it wont start the server
 
You need to change the version inside of the config file, thats what is read for version number.
 
I did in the server name, unless theres a diff spot, i got it to work now with a taskkill and a script, seems to wrk fine now
 
Back
Top