Jump to content
Sign in to follow this  
aradriel

Server wont load Mission file after restart.

Recommended Posts

Cheers,

ive got a problem with our (self managed) dayz server.

Everything is running fine, beside one issue:

After a regular shutdown and restart with server_start.bat, the server WONT load the mission file automatically. But i CAN load the mission via rcon, this only works if somebody is connected to the server, waiting in the lobby and press continune after the mission has loaded.

So, the server should load the mission file automatically if its correct listed in the server_*.cfg? Maybe the mission start must still be confirmed by the first player who connects after restarts, thats not a deal.

the pitty is the fact that the mission must be loaded manual via rcon to get it started.

somebody got a hint for me? ive got BEC up and running, maybe it matters.

Heres is my server config:

http://pastebin.ca/2207569

(i must use the local ip here, thats some issue with our firewall appliance. but it works fine)

Here is my server_start.bat:

http://pastebin.ca/2207568

(ive blacked things like pass, instance id and mission file number. i have tripple checked this on the server. it fits)

thanks and best wishes

ara

Edited by aradriel

Share this post


Link to post
Share on other sites

Errors would be nice to show. Although you should know that the -ip param is your LAN ip not your gateway's IP.

Edit: I meant LAN not WAN

Edited by icomrade
  • Like 1

Share this post


Link to post
Share on other sites

arma2oa console show no errors. after a restart this is all i get:

16:55:26 Dedicated host created.

16:55:27 BattlEye Server: Initialized (v1.164)

16:55:27 Host identity created.

erm. but i cant find server_console.log, its not it \cfgdayz as mentioned in the server.cfg

Share this post


Link to post
Share on other sites

The .rpt file would be more helpful probably, have you tried downloading a new mission file?? My experience with server_console.log is that it is about 5 minutes behind the real time console.

  • Like 1

Share this post


Link to post
Share on other sites

ok wasnt aware of the rpt file, thanks for the hint.

i crawling through it but until now i havent found any correspoending error/logentry, also no loading message mentioned the mission file.

Share this post


Link to post
Share on other sites

Posting the .rpt would help, make sure a player joins the server and clicks okay (if not stuck at WAIT FOR HOST) before turning it off and posting the .rpt.

Here's my start.cmd or what not.


start /REALTIME Expansion\beta\arma2oaserver.exe -mod=EXPANSION\beta;EXPANSION\beta\Expansion;EXPANSION;ca;@dayz;@hive -ip=192.168.1.122 -profiles=C:\DayZ_CFG -config=C:\DayZ_CFG\Server#######.cfg -cfg=C:\DayZ_CFG\ArmaOA#######.cfg -BEpath=C:\DayZ_CFG\Battleye -name=FR16 -world=Chernarus -maxMem=2047 -cpuCount=4 -exThreads=1 -bandwidthAlg=2 -port=2302 -noSound
timeout 5
EXIT

It's important to note that using this will change your config/profiles folder to C:\DayZ_CFG which is more secure than having it in your OA directory, you must copy your profiles folder to C:\ and then delete it from the OA folder.

Also "Timeout 5" waits 5 seconds, then "EXIT" closes the CMD window so that it does not stay open until the dedicated server is closed. /REALTIME gives it the highest priority while -bandwidthAlg=2 makes use of the new bandwidth/networking implementation you MUST use at least beta 96895 or, better yet, use the latest one and force the latest one.

Edited by icomrade
  • Like 1

Share this post


Link to post
Share on other sites

ok ive got the logs,

the rpt:

http://pastebin.ca/2210562

and the server log:


12:37:37 Dedicated host created.
12:37:38 BattlEye Server: Initialized (v1.164)
12:37:38 Host identity created.
12:40:52 aradriel uses modified data file
12:40:52 Player aradriel connecting.
12:40:53 Player aradriel connected (id=*).
12:40:53 BattlEye Server: Player #0 aradriel (*:2304) connected
12:40:53 BattlEye Server: Player #0 aradriel - GUID:* (unverified)
12:40:54 BattlEye Server: Verified GUID (*) of player #0 aradriel
12:41:02 BattlEye Server: Server admins are urged to start using the new public variable logging/blocking feature to protect against remote code execution exploits. More information: http://forums.bistudio.com/showthread.php?138736-Introducing-Server-side-Event-Logging-Blocking.
12:41:42 BattlEye Server: RCon admin #0 *:55305) logged in
12:41:48 Mission DayZ read from bank.
12:42:24 Roles assigned.
12:42:24 Reading mission ...
12:42:35 Mission read.
12:42:52 Game started.
12:43:55 Player aradriel kicked off by BattlEye: Client not responding
12:43:55 Player aradriel disconnected.

cant get any hint from the logs :(

thanks for posting your startup script, i will move the profiles out of the OA folder.

Share this post


Link to post
Share on other sites

Looks like it loaded fine and then you loaded it using RCON??? Maybe try waiting a little longer, I don't see any problems. P.s. the top of the.rpt contains launch params for your server, you should change anything you don't want people to know now, Location ID doesn't mater.

  • Like 1

Share this post


Link to post
Share on other sites

ups, fixed the launch params ^^...

yeah i loaded the mission file via rcon, cause otherwise no mission will load at all.

all players will just see the (black background) "waiting for host" screen with the red colored player list in the upper right.

server has been running for hours without loading the mission file automatically.

btw, if i just do a rcon restart, the mission is loaded (or still loaded). but i dont think thats the kind of restart you should do "for stability reasons".

Edited by aradriel

Share this post


Link to post
Share on other sites

ups, fixed the launch params ^^...

yeah i loaded the mission file via rcon, cause otherwise no mission will load at all.

all players will just see the (black background) "waiting for host" screen with the red colored player list in the upper right.

server has been running for hours without loading the mission file automatically.

btw, if i just do a rcon restart, the mission is loaded (or still loaded). but i dont think thats the kind of restart you should do "for stability reasons".

Rcon restart doesn't restart the server, it just restarts the mission. The restart you would want to do is shutdown then start the server manually, BEC has a scheduler feature that works quite nicely, there is more info @ ibattle.org

Try this server.cfg, you need to redo your passwords and instance ID. You should know that VON quality can go up to 30, and regular check is set to check all files now, use regularCheck = "{}"; to disable it.

http://pastebin.com/jW6AiBxs

P.s. your Location ID DE#### is not the same as your Instance ID, just so you know.

Edited by icomrade
  • Like 1

Share this post


Link to post
Share on other sites

yay! it worked. dunno what caused this but using your server.cfg fixed it.

have some beans and my thanks :))

and of course, thanks for the tutorial you guide me through along the way :)

have a good time!

Share this post


Link to post
Share on other sites

Hold on there's an error in the first line Change


hostname = "DayZ - DE InstanceID(v1.7.2.6/Beta 96895) [VETERAN|3DP:ON|CH:ON][GMT+2] dayzmod.com - hosted by [BSOD]

To this


hostname = "DayZ - DE InstanceID(v1.7.2.6/Beta 96895) [VETERAN|3DP:ON|CH:ON][GMT+2] dayzmod.com - hosted by [BSOD]";

Edited by icomrade
  • Like 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×