nuxil 2 Posted July 16, 2012 (edited) 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 Edited July 16, 2012 by nuxil Share this post Link to post Share on other sites
kilo1-1 1 Posted July 16, 2012 yes i know. you have not spesified the config files also you failed to do what was adviced in the readme file. read the online documentation http://ibattle.org/install-and-configure if you must. read it 2-3 times. here is a screenshow of firedaemon But I have specified the config files. If you actually read my post you would see that I already have done that and have everything setup correctly on FireDaemon's side. Share this post Link to post Share on other sites
nuxil 2 Posted July 16, 2012 (edited) if you see this. ... ... Usage: Bec [options] Options: -h, --help show this help message and exit -f FILENAME, --file=FILENAME its usualy because one of two reason. 1. you didnt spesify the -f argument 2. you have misstyped the filename. Ie. -f server.cf instead of -f server.cfg Edited July 17, 2012 by nuxil Share this post Link to post Share on other sites
kilo1-1 1 Posted July 17, 2012 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? Share this post Link to post Share on other sites
nuxil 2 Posted July 17, 2012 (edited) 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 ?? Edited July 17, 2012 by nuxil Share this post Link to post Share on other sites
kilo1-1 1 Posted July 18, 2012 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 ?? Messed around some more with it and got it working correctly. Just doesn't connect to my servers correctly but that's not related to BEC and to something else entirely. Once I figure that out it should work fine. Share this post Link to post Share on other sites
ryahn 1 Posted July 21, 2012 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. Share this post Link to post Share on other sites
nuxil 2 Posted July 21, 2012 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. Share this post Link to post Share on other sites
larsiano 12 Posted July 22, 2012 (edited) 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! Edited July 22, 2012 by larsiano Share this post Link to post Share on other sites
nuxil 2 Posted July 22, 2012 (edited) Not sure what was wrong with my example bat file. it should work. @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 :: ------------------------------------------------------------------------------------- a little edited.. Edited July 22, 2012 by nuxil Share this post Link to post Share on other sites
ryahn 1 Posted July 22, 2012 I havent been able to use BERcon for a couple of days now. After patching to 95208, all my rcon disappeared Share this post Link to post Share on other sites
nuxil 2 Posted July 22, 2012 Well you need to sort out your Battleye problems before i can help you with Bec. maybe you can try manually replace the Battleye dll files found on www.battleye.com Share this post Link to post Share on other sites
ryahn 1 Posted July 22, 2012 Got it all sorted. I am still getting the same error with BEC. I also disabled the firewall and its not that. Share this post Link to post Share on other sites
nuxil 2 Posted July 23, 2012 Available Version. 1.46 Note. some things might not work with arma2oa 1.60 *** V 1.46 *** - Fixed: Some typos. - Added: Support for command #reassign and #mission to scheduler system. - Added: Text "BEC" as part of the kick text on all automated kick functions - Added: New tag to admin file called groupname, check admin example file - Added: Parameter ChatChannelFiles, takes a bool. will create one additional file for each channel, check config example file - Added: Warnings to lobbplayers when about 30 sec remaining. will only work if KickLobbyIdles is in use - Added: New ways to use flood control. there are now two types to select from. check docs for more info - Changed: IngoreChars to IngoreChatChars. edit your configs if you use this. - Improved: some code improved in general for many functions.. Thanks to Dwarden, the famous PAIN IN THE ASS tester :D As usual!.. read the online docs for howit it all works. Enjoy Share this post Link to post Share on other sites
tynmanz 1 Posted August 2, 2012 "Your Config file has not a valid format" In my Config.cfg I only have the connection info not commented out. ##################################################### #[bec] Ip = xxx.xxx.xxx.xx Port = 2302 BePath = C:\Program Files (x86)\Steam\steamapps\common\arma 2 operation arrowhead\cfgdayz\BattlEye LogDir = c:\ServerTools\Bec\Log\BElog.log Admins = Admins.xml Commands = Commands.xml Any guidance is appreciated. Share this post Link to post Share on other sites
jackwhitter 1 Posted August 2, 2012 This tool is awesome! i have it configured and working great manually, however, i can not get it to work using scheduled task or as a service. when installed as a service, it errors out with an untimely response (in less than 10 seconds though). when i try to run it as a scheduled task, it kicks of the task and then closes out of BEC. i am able to run the arma 2 server as a scheduled task, which is why i'm trying to run BEC as a scheduled task (as part of the same schedule). i can do scheduled restarts that way. does the BEC graphic that pops up when you first run the program need an interactive desktop? or how do i configure BEC as a service if you have successfully configured it as a service? i'll just set it to auto restart if i can do it that way. Share this post Link to post Share on other sites
OCNDayZ 1 Posted August 5, 2012 I just wanted to say thank you, great tool you have here. This is what separates servers from being overrun with cheaters. This tool is awesome! i have it configured and working great manually, however, i can not get it to work using scheduled task or as a service. when installed as a service, it errors out with an untimely response (in less than 10 seconds though). when i try to run it as a scheduled task, it kicks of the task and then closes out of BEC.i am able to run the arma 2 server as a scheduled task, which is why i'm trying to run BEC as a scheduled task (as part of the same schedule). i can do scheduled restarts that way. does the BEC graphic that pops up when you first run the program need an interactive desktop? or how do i configure BEC as a service if you have successfully configured it as a service? i'll just set it to auto restart if i can do it that way. There's two ways you can go about this.. The easiest way is give BEC a service, then set it to restart on exit. Eventually it'll log itself in without issue. The next way to do it is combine it in your startup, take a look at r4z0r49's files. Share this post Link to post Share on other sites
XmarksTheScot 1 Posted August 6, 2012 "Your Config file has not a valid format" In my Config.cfg I only have the connection info not commented out. ##################################################### #[bec] Ip = xxx.xxx.xxx.xx Port = 2302 BePath = C:\Program Files (x86)\Steam\steamapps\common\arma 2 operation arrowhead\cfgdayz\BattlEye LogDir = c:\ServerTools\Bec\Log\BElog.log Admins = Admins.xml Commands = Commands.xml Any guidance is appreciated. Hey folks just thot id finally jump in on a thread here as it seems no1 has come back to him. Your LogDir is wrong mate, it shoudl just be the dir not the file as BEC creates the files with timestamps etc so just change it to LogDir = c:\ServerTools\Bec\Log and all your logs will be created in that folder. Share this post Link to post Share on other sites
nuxil 2 Posted August 8, 2012 (edited) Sorry for late reply. but as XmarksTheScot sais. your LogDir is wrong. it should not be a file, but instead it should be a name. a name thats related to the server. Ie. LogDir = Dayz_XXX this will then create a dirctory in ..\Bec\Log\Dayz_XXX where all the logs related to that server is stored. Keep in mind that. if the server is running multiple server. LogDir can not have the Same name in them. do not do it like ______________ conf1.cfg ... LogDir = bec ______________ conf2.cfg ... LogDir = bec this will result in all servers to log to the same files. leading to problems and confusion. but rather do it like ______________ conf1.cfg ... LogDir = bec1 ______________ conf2.cfg ... LogDir = bec2 @ tynmanz you should also uncommint out #[bec] . it needs to be [bec], its a block section of the config Edited August 8, 2012 by nuxil Share this post Link to post Share on other sites
WoODoO 10 Posted August 8, 2012 Error: Schedule with job id=4 has a invalid file defined <!-- EXTERNAL COMMANDS --> <job id="4"> <time>060025</time> <day>1,2,3,4,5,6,7</day> <loop>1</loop> <cmd>C:\Servidores\Combined Operations\arma 2 operation arrowhead\dayz_servers.bat</cmd> <cmdtype>1</cmdtype> </job> where being wrong? Share this post Link to post Share on other sites
nuxil 2 Posted August 9, 2012 your path is wrong. Recheck the path. Share this post Link to post Share on other sites
WoODoO 10 Posted August 11, 2012 your path is wrong. Recheck the path. this path is exactly where the files Share this post Link to post Share on other sites
nuxil 2 Posted August 11, 2012 ok.. i'll have a look at the function that checks the filepath. meanwhile you can try and place the file elsewhere. example C:\Bec\Bat\foobar.bat Share this post Link to post Share on other sites
shinfo 1 Posted August 14, 2012 What do I use in the Bepath if my server is hosted by a provider? Share this post Link to post Share on other sites
Mikweb 1 Posted August 20, 2012 What do I use in the Bepath if my server is hosted by a provider? Same question... Need BEC, but can't install it on server where Arma2 server run. We need Rcon for remote connection. Share this post Link to post Share on other sites