ryahn 112 Posted August 9, 2012 (edited) e_eYes the server has to be running in order for BEC to work Edited August 9, 2012 by Ryahn Share this post Link to post Share on other sites
ryahn 112 Posted August 9, 2012 I have now made an installer for the system. It also now makes its own log directories.We are now at 1.34 1 Share this post Link to post Share on other sites
DarkEnergy 4 Posted August 9, 2012 Ha nice just god my dedicated installed with bec this makes an excellent addition.now i see that you have uploaded a new version with an installer great ! Share this post Link to post Share on other sites
BadNewz 1 Posted August 9, 2012 great work Ryahn, it is much appreciated. Beans for you! Share this post Link to post Share on other sites
DarkEnergy 4 Posted August 9, 2012 Sadly i cannot get it to work.the server and bec are functioning properly.I suspect i either did something wrong on the pid part, or it is a pathting issue.#Please read the readme.txt before messing with these settings.#Title of Programtitleserv= xxxxxx Log Rotation#Locationsberoot2=SET beroot="C:\Program Files (x86)\Steam\steamapps\common\arma 2 operation arrowhead\cfgdayz\BattlEye"startdayz=SET dayz="C:\Program Files (x86)\Steam\steamapps\common\arma 2 operation arrowhead"LID= xxxxxxpidfile=C:\Program Files (x86)\Steam\steamapps\common\pidinstall=C:\Program Files (x86)\Steam\steamapps\common#Required File Names To Be Killedbeckill=Bec.exeheartkill=heartbeat.exe#Custom Task Kills#task1 //Cannot be used until next release#task2 //Cannot be used until next release#task3 //Cannot be used until next release#task4 //Cannot be used until next release#task5 //Cannot be used until next release#task6 //Cannot be used until next release#task7 //Cannot be used until next release#Timout Settings (All times are in SECONDS)timetask=2timelog=5timebec=30timewarm=5timerunning=45timereset=5# Dayz Configurationsname=-name=cfgdayz_derpconfig=-config=cfgdayz\server_derp.cfgcfg=-cfg=cfgdayz\arma2.cfgprofile=-profiles=cfgdayzipserv=-ip=xxx.xxx.xxx.102port=-port=2302world=-world=Chernaruscpu=-cpuCount=3threads=-exThreads=1#What ever is set here, Must be set at pidfilepid=-pid=C:\Program Files (x86)\Steam\steamapps\common\pid\pid.txtnocb=-noCBmaxmem=-maxMem 2047nosound=-noSound#Can be set with - Realtime, High, AboveNormal, Normal, BelowNormal, Lowpriority=/Realtime #DayZ Serverpriorityh=/Realtime #Heart Beatprioritys=/Realtime #Server Toolspriorityb=/Realtime #BEC# Becbecpath=C:\Program Files (x86)\Steam\steamapps\common\BECbeccfg=Config.cfg#What ever is set here, must be set in beckillbecexe=Bec.exe Share this post Link to post Share on other sites
ryahn 112 Posted August 9, 2012 (edited) I am making an adjustment. I made a mistake when doing thisThis#Can be set with - Realtime, High, AboveNormal, Normal, BelowNormal, Lowpriority=/Realtime #DayZ Serverpriorityh=/Realtime #Heart Beatprioritys=/Realtime #Server Toolspriorityb=/Realtime #BECNeeds to be#Can be set with - Realtime, High, AboveNormal, Normal, BelowNormal, Low#DayZ Serverpriority=/Realtime#Heart Beatpriorityh=/Realtime#Server Toolsprioritys=/Realtime#BECpriorityb=/RealtimeI have uploaded the new install Edited August 9, 2012 by Ryahn Share this post Link to post Share on other sites
juhaownn 0 Posted August 9, 2012 He saves the PID in my Armao OA Root directory :( Share this post Link to post Share on other sites
DarkEnergy 4 Posted August 9, 2012 alright ill adjust it and report back thanks for the quick response Share this post Link to post Share on other sites
juhaownn 0 Posted August 9, 2012 I Give you my Bec and the other Configs.# Config file for Bec.# Enable/disable a parameter by Comment/Uncomment it with a ## You can also delete all parameters that are not in use.# If you are unsure how to configure this file read the online docs.# http://ibattle.org/install-and-configure/#Replace the exe file[Bec]Ip = xxx.xx.xxx.xPort = 2302BePath = E:\Steam\steamapps\common\arma 2 operation arrowhead\cfgdayz\BattlEyeLogDir = C:\tools\Admins = Admins.xmlCommands = Commands.xml## Optional ##[Misc]#AsciiNickOnly = TrueAsciiChatOnly = True#IgnoreChars = £æøåServerExeName = arma2oaserver.exeNickFilterFile = BadNames.txt#WordFilterFile = BadWords.txtWarnings = 3Color = 0a#Timeout = 40#FloodControl = 6#KickLobbyIdlers = 300Scheduler = Scheduler.xml#MaxPlayerNameLength = 18#DisallowPlayerNameChars = [](){}<>/\^¨|§!"'#¤%&@£$€## Optional ## -1 is same as disabled#[ChatRestriction]#Global = -1#Side = -1#Group = -1#Vehicle = -1#Command = -1#Commander = -1#Direct = -1## Optional ##[Reporter]User = iReporterPassword = warrock232And yours.#Please read the readme.txt before messing with these settings.#Title of Programtitleserv=DE LID Log Rotation#Locationsberoot2=SET beroot="E:\Steam\steamapps\common\arma 2 operation arrowhead\cfgdayz\BattlEye"startdayz=SET dayz="E:\Steam\steamapps\common\arma 2 operation arrowhead"LID=xx xxxxpidfile=C:\tools\pidinstall=C:\tools#Required File Names To Be Killedbeckill=Bec.exeheartkill=heartbeat.exe#Custom Task Kills#task1 //Cannot be used until next release#task2 //Cannot be used until next release#task3 //Cannot be used until next release#task4 //Cannot be used until next release#task5 //Cannot be used until next release#task6 //Cannot be used until next release#task7 //Cannot be used until next release#Timout Settings (All times are in SECONDS)timetask=2timelog=5timebec=18timewarm=5timerunning=45timereset=5# Dayz Configurationsname=-name=cfgdayzconfig=-config=cfgdayz\server_f89g9sfg760.cfgcfg=-cfg=cfgdayz\arma2.cfgprofile=-profiles=cfgdayzipserv=-ip=xxx.xx.xxx.xport=-port=2302world=-world=Chernaruscpu=-cpuCount=4threads=-exThreads=4#What ever is set here, Must be set at pidfilepid=-pid=C:\tools\pid\pid.txtnocb=-noCBmaxmem=-maxMem=8000nosound=-noSound#Can be set with - Realtime, High, AboveNormal, Normal, BelowNormal, Low#DayZ Serverpriority=/Realtime#Heart Beatpriorityh=/Realtime#Server Toolsprioritys=/Realtime#BECpriorityb=/Realtime# Becbecpath=C:\tools\Becbeccfg=Config.cfg#What ever is set here, must be set in beckillbecexe=Bec.exeRegards Share this post Link to post Share on other sites
ryahn 112 Posted August 9, 2012 I Give you my Bec and the other Configs.# Config file for Bec.# Enable/disable a parameter by Comment/Uncomment it with a ## You can also delete all parameters that are not in use.# If you are unsure how to configure this file read the online docs.# http://ibattle.org/install-and-configure/#Replace the exe file[Bec]Ip = xxx.xx.xxx.xPort = 2302BePath = E:\Steam\steamapps\common\arma 2 operation arrowhead\cfgdayz\BattlEyeLogDir = C:\tools\Admins = Admins.xmlCommands = Commands.xml## Optional ##[Misc]#AsciiNickOnly = TrueAsciiChatOnly = True#IgnoreChars = £æøåServerExeName = arma2oaserver.exeNickFilterFile = BadNames.txt#WordFilterFile = BadWords.txtWarnings = 3Color = 0a#Timeout = 40#FloodControl = 6#KickLobbyIdlers = 300Scheduler = Scheduler.xml#MaxPlayerNameLength = 18#DisallowPlayerNameChars = [](){}<>/\^¨|§!"'#¤%&@£$€## Optional ## -1 is same as disabled#[ChatRestriction]#Global = -1#Side = -1#Group = -1#Vehicle = -1#Command = -1#Commander = -1#Direct = -1## Optional ##[Reporter]User = iReporterPassword = warrock232And yours.#Please read the readme.txt before messing with these settings.#Title of Programtitleserv=DE LID Log Rotation#Locationsberoot2=SET beroot="E:\Steam\steamapps\common\arma 2 operation arrowhead\cfgdayz\BattlEye"startdayz=SET dayz="E:\Steam\steamapps\common\arma 2 operation arrowhead"LID=xx xxxxpidfile=C:\tools\pidinstall=C:\tools#Required File Names To Be Killedbeckill=Bec.exeheartkill=heartbeat.exe#Custom Task Kills#task1 //Cannot be used until next release#task2 //Cannot be used until next release#task3 //Cannot be used until next release#task4 //Cannot be used until next release#task5 //Cannot be used until next release#task6 //Cannot be used until next release#task7 //Cannot be used until next release#Timout Settings (All times are in SECONDS)timetask=2timelog=5timebec=18timewarm=5timerunning=45timereset=5# Dayz Configurationsname=-name=cfgdayzconfig=-config=cfgdayz\server_f89g9sfg760.cfgcfg=-cfg=cfgdayz\arma2.cfgprofile=-profiles=cfgdayzipserv=-ip=xxx.xx.xxx.xport=-port=2302world=-world=Chernaruscpu=-cpuCount=4threads=-exThreads=4#What ever is set here, Must be set at pidfilepid=-pid=C:\tools\pid\pid.txtnocb=-noCBmaxmem=-maxMem=8000nosound=-noSound#Can be set with - Realtime, High, AboveNormal, Normal, BelowNormal, Low#DayZ Serverpriority=/Realtime#Heart Beatpriorityh=/Realtime#Server Toolsprioritys=/Realtime#BECpriorityb=/Realtime# Becbecpath=C:\tools\Becbeccfg=Config.cfg#What ever is set here, must be set in beckillbecexe=Bec.exeRegardsLooks good. Everything working good? Share this post Link to post Share on other sites
juhaownn 0 Posted August 9, 2012 Looks good. Everything working good?Not Really :DBec dont Start... THan Hearbeat fails and so on.regards Share this post Link to post Share on other sites
ryahn 112 Posted August 9, 2012 Not Really :DBec dont Start... THan Hearbeat fails and so on.regardsI can teamviewer you if you like and help you set it up Share this post Link to post Share on other sites
juhaownn 0 Posted August 9, 2012 I can teamviewer you if you like and help you set it upoh ok :D When you want ^^ Share this post Link to post Share on other sites
juhaownn 0 Posted August 9, 2012 Teamviewer directly on root or on my desktop PC? Share this post Link to post Share on other sites
ryahn 112 Posted August 9, 2012 Teamviewer directly on root or on my desktop PC?I can do either or. If you have skype, look at my profile and add me Share this post Link to post Share on other sites
DarkEnergy 4 Posted August 9, 2012 reporting back in.it boots the server :)haven't checked if heartbeat works properly.it seems that bec exits after sigma triggers it i have increased the timeout to see if that was it.does your program add the parameter -f config.cfg to bec.exe when it boots it ? Share this post Link to post Share on other sites
ryahn 112 Posted August 9, 2012 Yes it does write the -f to it when it starts:: Start BECstart "" "%becexe%" -f %beccfg% Share this post Link to post Share on other sites
DarkEnergy 4 Posted August 9, 2012 (edited) well if you are still up for an remote session to see what is up that would be great.it seems bec launched correctly but then either crashes or ?also it seems when it checks heartbeat it does not see the active server and launches another instance. Edited August 9, 2012 by DarkEnergy Share this post Link to post Share on other sites
ryahn 112 Posted August 9, 2012 If you can Dark, add me on skype Share this post Link to post Share on other sites
DarkEnergy 4 Posted August 9, 2012 If you can Dark, add me on skypeready when you are :) Share this post Link to post Share on other sites
ryahn 112 Posted August 10, 2012 Everyone should be fixed now Share this post Link to post Share on other sites
ryahn 112 Posted August 10, 2012 Currently working on a fix for the arma crash. For some reason when the server crashes, it likes to leave the pid.txt behind. I am making a temp file that will store the task list and search for the arma server .exe. The only issue with this right now, is it wont with multiple servers. Reason is the task list will show the same arma .exe and will be tricked into that its running when that specifc server might have crashed. I am currently working on trying to rename the process of each arma server to have a specific name. Share this post Link to post Share on other sites
DarkEnergy 4 Posted August 10, 2012 Hey Ryahn,I have to thank you again for this great addition to my server.And to report that everything is running as intended except for one thing.The way we set up the restarts by starting servertools.exe is not working.Firstly is that BEC does not allow .exe but i created a .bat file that it does allow.START /REALTIME C:\tools\servertools.exesadly when executing it gives me this.maybe i need to add parameters to the .batBut i am now using #shutdown again to do the restarts.Heartbeat.exe picks everything up nicely and reboots the server. Share this post Link to post Share on other sites
ryahn 112 Posted August 10, 2012 Hey Ryahn,I have to thank you again for this great addition to my server.And to report that everything is running as intended except for one thing.The way we set up the restarts by starting servertools.exe is not working.Firstly is that BEC does not allow .exe but i created a .bat file that it does allow.START /REALTIME C:\tools\servertools.exesadly when executing it gives me this.maybe i need to add parameters to the .batBut i am now using #shutdown again to do the restarts.Heartbeat.exe picks everything up nicely and reboots the server.I will look into. I am surprised that BEC doesnt support .exe Share this post Link to post Share on other sites