WARNING: The forum is now in read-only mode as we will soon be transitioning to different forum software. Feel free to join our Discord server in the meantime.
User avatar
MAGIC
Posts:1303
Joined:Wed Dec 26, 2012 4:44 am
Location:Germany/Frankfurt
Contact: Website Twitter
Re: Server starting Error

Mon Oct 13, 2014 4:02 pm

What's your startscript? Put it in [code][/code] tags
Image

User avatar
L3TG3AR
Posts:11
Joined:Sat Sep 27, 2014 9:09 am

Re: Server starting Error

Mon Oct 13, 2014 4:14 pm

MAGIC wrote:What's your startscript? Put it in tags


Code: Select all

@echo off

::Edit the following parameters

::Enter your Serverinstancefolder (e.g. bc2)
set instancefolder=instances
::Only change this, when you want to run a Vietnamserver (1 - enabled; 0 - disabled
set vietnam=0
::Change this to set your serverlocation (e.g. EU)
set region=EU
::Change this to set a title for the commandprompt (e.g. Bad Company 2: Best Maps)
set title=Bad Company 2: Best Maps



:: Do not touch anything after that, unless you know what you do!
title %title%
:server
echo Starting server...
cd bin\
Frost.Game.Main_Win32_Final.exe -serverInstancePath "instances\%instancefolder%" -mapPack2Enabled %vietnam% -timeStampLogNames -region %region% -heartBeatInterval 20000 -displayErrors 0 -displayAsserts 0 -plasmalog 1
echo.
echo Server is restarting in 5 seconds...
ping -n 5 127.0.0.1 > nul
goto server

User avatar
MAGIC
Posts:1303
Joined:Wed Dec 26, 2012 4:44 am
Location:Germany/Frankfurt
Contact: Website Twitter

Re: Server starting Error

Mon Oct 13, 2014 4:18 pm

Well either you edit the startscript or you move all files in a new folder called 'bin' (except instances folder)
Image

User avatar
L3TG3AR
Posts:11
Joined:Sat Sep 27, 2014 9:09 am

Re: Server starting Error

Mon Oct 13, 2014 4:31 pm

MAGIC wrote:Well either you edit the startscript or you move all files in a new folder called 'bin' (except instances folder)


Yes BFBC2 server files are in bin

User avatar
MAGIC
Posts:1303
Joined:Wed Dec 26, 2012 4:44 am
Location:Germany/Frankfurt
Contact: Website Twitter

Re: Server starting Error

Mon Oct 13, 2014 4:36 pm

Can't see a bin folder there:
Image
Image

User avatar
L3TG3AR
Posts:11
Joined:Sat Sep 27, 2014 9:09 am

Re: Server starting Error

Mon Oct 13, 2014 4:37 pm

MAGIC wrote:Can't see a bin folder there:
Image


Is it but the instance folder are in the BFBC2 server files too http://prntscr.com/4vt5i2

User avatar
MAGIC
Posts:1303
Joined:Wed Dec 26, 2012 4:44 am
Location:Germany/Frankfurt
Contact: Website Twitter

Re: Server starting Error

Mon Oct 13, 2014 8:06 pm

rename Instances folder to instances and check your actual folder in the instances folder
Image

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 29 guests