SubEclipse 22 Posted July 24, 2012 (edited) No such luck... here is my current Scheduler.xml file, which still does not work:<?xml version="1.0"?><Scheduler><!--*** INTERNAL COMMANDS ***--><!--Heart Beat Check--><job id="0"><time>000020</time><day>1,2,3,4,5,6,7</day><loop>1</loop><cmd>say -1 Testing scheduler</cmd><cmdtype>0</cmdtype></job></Scheduler> Edited July 24, 2012 by SubEclipse Share this post Link to post Share on other sites
ryahn 112 Posted July 24, 2012 Send me your info and I will take a look at it Share this post Link to post Share on other sites
ElRolle 97 Posted July 24, 2012 (edited) Try removing the absolute path to scheduler.xml and use Scheduler = Scheduler.xml Edited July 24, 2012 by Rolle Share this post Link to post Share on other sites
SubEclipse 22 Posted July 24, 2012 Send me your info and I will take a look at itWill send in PM soon, thanks.Try removing the absolute path to scheduler.xml and use<code>Scheduler = Scheduler.xml</code>This is what I have set currently... I removed the absolute path last night after realizing the Admins.xml file was working properly with the relative path. Share this post Link to post Share on other sites
SubEclipse 22 Posted July 24, 2012 I figured it out!My problem was simple... I hadn't uncommented [misc]I bet this is the same solution for the op. 1 Share this post Link to post Share on other sites
ebianbluefox 29 Posted July 24, 2012 Yes you have to uncomment [misc] and [bec] for it to work 1 Share this post Link to post Share on other sites
jackwhitter 22 Posted August 2, 2012 OH, good catch! this was my problem as well! i was going crazy trying to figure out why i could not get it to read a simple schedule (one repeating message) Share this post Link to post Share on other sites
Lith 80 Posted August 2, 2012 Boom! Thanks guys. I had to uncomment [Misc] myself. Share this post Link to post Share on other sites
Distance 29 Posted August 3, 2012 how do i know when i got bec running??? seriously this is killing me! in need of big help! i have done everything as they told me on their site, but no luck... im losing my mind. Share this post Link to post Share on other sites
Distance 29 Posted August 3, 2012 this is how my config file looks like. i have a rented dedicated server from Multigamers.no [bec]i have changed the names of the folders from config_example.cfg to Config.cfg same goes for the schedule.xml or what the name was. what is wrong? how do i find my BePath on the server? i have tried everything. plz help plz... all i want is a message 5 min before server restart for my players and its gona be as hard as this.... damn... Ip = 81.166.125.84 Port = 20100 BePath = C:\Users\JonnyBoy\AppData\Local\ArmA 2 OA\BattlEye LogDir = Northern Villains server log Admins = Admins.xml Commands = Commands.xml Scheduler = E:\bec\Config\Scheduler.xml## Optional settings for misc functions#[Misc]#AsciiNickOnly = True#AsciiChatOnly = True#IgnoreChatChars = £æøå#ServerExeName = A2Server_1.exe#NickFilterFile = BadNames.txt#WordFilterFile = BadWords.txt#Warnings = 3#Color = 0c#Timeout = 40#KickLobbyIdlers = 300#Scheduler = E:\bec\Config\Scheduler.xml#MaxPlayerNameLength = 18#DisallowPlayerNameChars = [](){}<>/\^¨|§!"'#¤%&@£$€#ChatChannelFiles = true####################FloodControl1 = 5# Or#FloodControl2 = 5#FloodSampleTime = 5#FloodLockTime = 10########################################################################## Optional settings related to Chat restriction#[ChatRestriction]#Global = 3#Side = -1#Group = -1#Vehicle = -1#Command = -1#Commander = -1#Direct = -1####################################################### Optional settings related to Reporting function#[Reporter]#User = Donald Duck#Password = 313###################################################### Optional settings related to Heartbeat#[Heartbeat]#BanFile0 = C:\SERVER2\BattlEye\bans.txt#BanFile1 = C:\SERVER3\BattlEye\bans.txt Share this post Link to post Share on other sites
SubEclipse 22 Posted August 3, 2012 (edited) You have a few issues... scheduler shouldn't be moved up to BEC, and you should use relative paths... You may want to use a log path w/o spaces as well.For the uncommented lines, you should use:[Bec]Ip = 81.166.125.84Port = 20100BePath = C:\Users\JonnyBoy\AppData\Local\ArmA 2 OA\BattlEyeLogDir = NVLOGAdmins = Admins.xmlCommands = Commands.xml[Misc]Scheduler = Scheduler.xmlThen launchbec.exe -f Myconfig.cfgIf the program opens and then quickly closes, you probably have set the path to your config file incorrectly... otherwise it will display the error in the command prompt window. Edited August 3, 2012 by SubEclipse Share this post Link to post Share on other sites
SubEclipse 22 Posted August 3, 2012 P.S. Guessing based on your file paths and port that this is a private server... I've only set this up on my public server, so I have no idea what else you may run into, but I would expect it should behave the same way. Share this post Link to post Share on other sites
Distance 29 Posted August 3, 2012 ok thx m8 :) ill give it a shot :) i have access to the server files and the config.cfg file on the server has this path above may that be the right one? or should it be on my computer? 9443792/BattlEye/BEServer.cfg Share this post Link to post Share on other sites
SubEclipse 22 Posted August 3, 2012 The config file you need to point BEC to is the BEC config file (which must be in the Config folder with your xml files for admins, scheduler, etc). For instance... I have my BEC config file named "Myconfig.cfg" which is in the Config folder. The command I use to launch BEC is: bec.exe -f Myconfig.cfgOne last thing, from your last post it sounded like maybe you were trying to run BEC on your PC, pointing it to a different server. I've never actually tried this scenario myself, and I'm not really sure if that's possible. I have BEC installed on my DayZ server. Share this post Link to post Share on other sites
Distance 29 Posted August 3, 2012 ok so the cmd window is now up and running and dont close, i had to write e:\bec\bec.exe to make it run now i have some options here like -H for help and -f for filename, is it running now? Share this post Link to post Share on other sites
Distance 29 Posted August 3, 2012 (edited) hmm, maby thats why i dont get it to run :S is there any other way to display som MOTD server restart messages? maby with Arma 2 Rcon or something?i have rented this server from a company in norway. www.multigamer.no Edited August 3, 2012 by Distance Share this post Link to post Share on other sites
SubEclipse 22 Posted August 3, 2012 If it's running, the first few lines in the window will look like this:---------------------------------Bec, Arma2 Server Tool V.1.460Copyright (C) by Stian MikalsenEmail: stianmikalsen@hotmail.com---------------------------------11:51:18 : Checking for updates...11:51:23 : Bec is running latest version!11:51:25 : Requesting login on 81.166.125.84:2010011:51:26 : RCon admin #0 (81.166.125.84:63217) logged in11:51:26 : RCon admin #0: (Global) Initializing Bechmm, maby thats why i dont get it to run :S is there any other way to display som MOTD server restart messages? maby with Arma 2 Rcon or something?If all you want to do is display some MOTD text, put them in the server.cfg file... ex: motd[] = {"DayZ is in alpha and as such bugs and frequent server restarts may occur!",};motdInterval = 1; // Time interval (in seconds) between each message Share this post Link to post Share on other sites
Distance 29 Posted August 3, 2012 its not showing this 11:51:18 : Checking for updates...11:51:23 : Bec is running latest version!11:51:25 : Requesting login on 81.166.125.84:2010011:51:26 : RCon admin #0 (81.166.125.84:63217) logged in11:51:26 : RCon admin #0: (Global) Initializing Becso im gona guess its becus i dont have it installed on the server computer as i cant do that i guess ill have to contact the company i rented it from. yes i only want to show a warning 5 min before server restart and maby a count down from 10 sec to sero, server restart is scheduled to every 4th hour. so any good ideas on how to do that? should i make my own script and upload it to the server or should i just use that intervall command u posted, gona be hard to time it right tho :S Share this post Link to post Share on other sites
Distance 29 Posted August 3, 2012 ---------------------------------Bec, Arma2 Server Tool V.1.460Copyright © by Stian MikalsenEmail: stianmikalsen@hotmail.com---------------------------------Usage: bec.exe [options]Options: -h, --help show this help message and exit -f FILENAME, --file=FILENAMEC:\Users\JonnyBoy>this is all that shows in my cmd window. Share this post Link to post Share on other sites
SubEclipse 22 Posted August 3, 2012 Yeah, that's a little different than a MOTD... You'll want to use something like BEC for those warnings (that's exactly what I do).If it's a server rental, they may not allow you to execute files on your server as you could with a dedicated server.Asking your server host is definitely the next step. Share this post Link to post Share on other sites
SubEclipse 22 Posted August 3, 2012 ---------------------------------Bec, Arma2 Server Tool V.1.460Copyright © by Stian MikalsenEmail: stianmikalsen@hotmail.com---------------------------------Usage: bec.exe [options]Options: -h, --help show this help message and exit -f FILENAME, --file=FILENAMEC:\Users\JonnyBoy>this is all that shows in my cmd window.This looks like it's not finding your BEC config file Share this post Link to post Share on other sites
Distance 29 Posted August 3, 2012 guess thats becus its on a computer in stavanger and im on a poor island far east xD hehe. well thx for fast replies you been a great help m8 :) ill give u some beans :) Share this post Link to post Share on other sites
SubEclipse 22 Posted August 3, 2012 guess thats becus its on a computer in stavanger and im on a poor island far east xD hehe. well thx for fast replies you been a great help m8 :) ill give u some beans :)No prob... good luck. Share this post Link to post Share on other sites
domistyle 221 Posted August 3, 2012 (edited) Is there a proper way to restart the server by the way?Do I have to use #restart or #shutdown?From what I have seen #restart only reloads the mission, but I would like to shutdown the server and start it again.I configured BEC to use #shutdown for now but I were not able to test if it restarts it after shutting it down yet.Is it possible like this or do I have to use a batch file for this? Edited August 3, 2012 by DomiStyle Share this post Link to post Share on other sites
Lith 80 Posted August 3, 2012 I just use a batch file to restart the service I have created. I used to use a batch file to kill the process before I decided to make it a service. 1 Share this post Link to post Share on other sites