and is your server using that battleye path then? no it does not!
please check where -profiles or -bepath is pointing too.
http://ibattle.org/install-and-configure/configure/#Bec
and is your server using that battleye path then? no it does not!
please check where -profiles or -bepath is pointing too.
http://ibattle.org/install-and-configure/configure/#Bec
Last edited by nuxil; Jul 16 2012 at 14:01.
if you see this.
its usualy because one of two reason....
...
Usage: Bec [options]
Options:
-h, --help show this help message and exit
-f FILENAME, --file=FILENAME
1. you didnt spesify the -f argument
2. you have misstyped the filename. Ie. -f server.cf instead of -f server.cfg
Last edited by nuxil; Jul 17 2012 at 02:22.
Yes, that is the message I am seeing. That message comes up in command prompt and it then closes about 5 seconds after appearing. This then loops infinitely.
This is how my FireDaemon is setup for BEC.
This is my config folder inside the BEC folder.
As you can see I have specified the -f argument with correct filenames. Anything I might be missing?
hmm that is verry strange.
it should work.
maybe you have double extension names on the files in the config dir ??
example its ConfigDayZ1.cfg.cfg intead of ConfigDayZ1.cfg same for all the other files.
else i have no idea. it should work.
what version of FD are you using??
did you try disable the console appication checkbox . altho it should not matter.
can you verify that it works in cmd.exe ??
Last edited by nuxil; Jul 17 2012 at 03:14.
I am having an issue where it says it cannot connect to server. I have it running right in the directory where the server is and I have the program added to the firewall white list.
You should not have bec located in the same dir as the server. use something like c:\ArmaTools\Bec\
Verify that you can login with BERcon to the server.
If this fails, it because you have not setted up BE properly on the server.
if you can login with BERcon. check the config settings for bec.
Trying to make Bec autostart with ArmA2server.exe true a batch file does not want to work for me: with your suggestion i get no responce and if i use the method of the server.bat it will only load Bec after the server is shut down.:
start "" ""C:\Program Files (x86)\Bohemia Interactive\BEC\Bec.exe" -f 2302.cfg"
@echo off
echo Starting: c:\program,,,,,,,,,,,,
echo: c:\Program Files (x86)\bohemia interactive\bec\bec.exe
echo From: C:\program files (x86)\bohemia interactive\bec
echo With params: "-f 2309.cfg"
cd /D "c:\program files (x86)\bohemia interactive\bec"
"c:\program files (x86)\bohemia interactive\bec\Bec.exe" -f 2309.cfg"
What am i doing wrong here? Note that: with the shortcut /targetline method Bec works fine!
Not sure what was wrong with my example bat file.
it should work.
a little edited..@echo off
:: -------------------------------------------------------------------------------------
:: Server Exe path
set server="C:\Program Files (x86)\Steam\steamapps\common\arma 2\arma2oaserver.exe"
:: Server cfg file.
set cfg="-cfg=C:\Server-1\arma2oa.cfg"
:: Server config file
set config="-config=C:\Server-1\serveroa.cfg"
:: Server profile directory
set profiles="-profiles=C:\Server-1"
:: Server port
set port="-port=2302"
:: Battleye custom path
set bepath="-bepath=C:\Beconfig"
:: Mods
set mod="-mod=@somemod;@anothermod"
:: Start the server..
start "" %server% %cfg% %config% %profiles% %port% %bepath% %mod%
:: Set path to bec and cd to this directory.
set becpath="C:\ServerTools\Bec\"
cd /d %becpath%
:: start bec
start "" "bec.exe" -f Server1.cfg
:: -------------------------------------------------------------------------------------
Last edited by nuxil; Jul 22 2012 at 05:15.