New to Reality. How do i make a diff startserver file

Quarterbreed

Well-Known Member
as I noticed to start the server I have to use restarter.exe but when I open up my navicate theres nothing in the db, do I have to make a new startserver file to make it work
 
I get this when loading my server I noticed
WTaQLXY.png
 
Create a .bat file with the following:

Code:
@echo off
echo Stopping game server...
taskkill /F /IM arma2oaserver.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 x.x.x.x --user dayz_user --pass mypassword --name dayz_chernarus --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 x.x.x.x --user dayz_user --pass mypassword --name dayz_chernarus --port 3306 --cleanup bounds
ping 127.0.0.1 -n 5 >NUL
echo.
echo.
echo.
echo Starting server...
"Expansion\beta\arma2oaserver.exe" -ip=y.y.y.y -port=2302 "-config=dayz_1.chernarus\config.cfg" "-cfg=dayz_1.chernarus\basic.cfg" "-profiles=dayz_1.chernarus" -name=Reality "-mod=@dayz;@reality_1.chernarus" -noPause -noSound -cpuCount=2 -exThreads=1 -maxMem=2048
ping 127.0.0.1 -n 5 >NUL
echo.
echo.
echo.
echo Leaving the launcher...
ping 127.0.0.1 -n 5 >NUL
echo.
echo.
echo.
exit
 
Note if your using more than one server, I generally rename the arma2oaserver.exe to something like map_instance.exe

eg: chernaraus_1.exe

This prevents the .bat from shutting down other servers with the same executable name.
 
=QUACK=.Major.Pain this isn't related to the restarter.exe :) The server isn't working because he still hasn't ran build.pl and all the steps after.
I tried to help but then more of these posts sprang up so i gave up, There are about 5-10 posts all asking the same.
 
Well the title specifically asks for a different way to start the server instead of using Restarter.exe
The way I read it, is that he started the server but there was nothing in the vehicles table because he never ran the vehicle spawn script.

But after reading again, it appears he never installed the db tables.
 
Back
Top