Jump to content

Search the Community

Showing results for tags 'BEC'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • General
    • Announcements
  • DayZ
    • Discussion
    • Public Servers
    • DayZ SA Resources
    • Q&A Section
  • ArmA 3
    • Epoch Survival
    • Community Projects
    • Q&A Section
    • Terrain Discussion
    • Resources
  • Arma 3 Resources
  • ArmA 2
    • General Discussion.
    • Q&A Section
    • Resources
    • Legacy Resources
    • A2: Community Projects
    • A2 Community Servers
  • Space Engineers
    • General Discussion.
    • Public Servers
  • Other Games
    • Discussion
  • Off Topic
    • Off Topic

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







Found 40 results

  1. Hey, after last Arma Update, BEC doesn´t work for my Epoch Servers. Did anybody had the same problem and con help me? Thanks Honey Bee
  2. Script from And I just made it 1 .bat file easy to use all you need to do is edit the Config settings section and the command line. Make a new .bat file on your desktop of your windows vps or dedi Paste this in it If you run multiple servers create a file for each server on your desktop all you have to do is change the command lines and the config settings to suit each server on each file. This script will re-run everything from this label :arma2oaserver every time the server cmd box is closed so yes if bec shuts down the server after x amount of hrs the script will backup your sql will re-start Bec & the Server If your server cmd box closes for some unknown reason this will terminate connection with Bec and so Bec shuts down but dont worry the script will backup your database then restart bec and your server (dont believe me try it run this script then close your server cmd box while this script is running and watch the magic lol)
  3. Hello! So, I am not experienced with big server setups like that of ArmA's (so don't expect me to be too computer-smart), but I have come a long way with setting up my ArmA 3 server until I got to my BEC setup. I've gone through everything the instructions say and everything should all be connected and working, but... I keep getting and error saying: BePath is not a valid directory Now, i know this should be a simple fix, but no matter what i do the error won't go away! I'm using TADST for my server setup, so I'm using the Battleye directory stored there. the path I put in the config.cfg for BEC is: C:\Users\andre\Desktop\Arma3_server_stuff\server_files\TADST\SirRapplez\BattlEye (yes I made sure I didn't have an accidental space put in anywhere... I'm not that stupid) I also put a BeServer.cfg file in the same directory as the BeServer.dll with the following: RConPassword password RConPort 2309 If anyone knows what my problem is, please help. I hope my question isn't super dumb, but I'm lost so, again, help would be much appreciated! Thanks.
  4. Hi all :-) I have noticed that my BEC restarts the whole time. Well it closes and my monitoring script starts it again if the process is running. Nothing in the logs why it is closing. I also see that on the website, the service has closed down. Am I the only one having this issue? Are there alternatives?
  5. This is an Autorestart and crash monitor for your Server. (not maded by me, just a lil changes in .bat to make its work on present time) ////You require the bec is installed//// ------------------------------------------------------------------------------------------------------------------------------------------------- ///DOING .BAT FILES/// STEP 1: Do a .bat file called "Monitor" and paste this. (change the paths for your server routes) @echo off cls echo Watching arma2oaserver For Crashes/Restarts... echo If you want to close arma2oaserver and this script, close the arma2oaserver window and type Y depending on your language followed by Enter. title Raklatif's Arma2OA Monitor set becpath="C:\Users\Administrador\Desktop\Dayz Epoch Server\instance_11_Chernarus\BattlEye\Bec" cd /d %becpath% :arma2oaserver start "BattleEye Extended Control" "BEC Control Epoch.bat" echo (%time%) arma2oaserver started. start /wait "arma2" /min /high "C:\Users\Administrador\Desktop\Dayz Epoch Server\arma2oaserver.exe" -cpuCount=2 -maxmem=2047 -exThreads=1 -port=2302 "-config=instance_11_Chernarus\config.cfg" "-cfg=instance_11_Chernarus\basic.cfg" "-profiles=instance_11_Chernarus" -name=instance_11_Chernarus "[email protected]_Epoch;@DayZ_Epoch_Server;" echo (%time%) WARNING: arma2oaserver closed or crashed, restarting. // TIMEOUT /T 180 /NOBREAK goto arma2oaserver ******Now paste this .bat file in your server root. -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Step 2: Do a .bat file called "BEC Control Epoch" and paste this into: (change the paths for your server) :: KILL BATTLEYE taskkill /im Bec.exe timeout 1 TIMEOUT /T 60 /NOBREAK cd\ cd "C:\Users\Administrador\Desktop\Dayz Epoch Server\instance_11_Chernarus\BattlEye\Bec" Bec.exe -f Config.cfg --dsc ***Now paste this .bat file in ...\instance_11_Chernarus\BattlEye\Bec --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- STEP 3: Do a .bat file called "Premod_restart" and paste this into: (change the paths for your server) @echo off echo Stopping server cd C:\Users\Administrador\Desktop\Dayz Epoch Server start /wait Premod_stop.bat echo Backing up database start /wait Premod_backup.bat echo Starting BEC cd C:\Users\Administrador\Desktop\Dayz Epoch Server\instance_11_Chernarus\BattlEye\Bec start Bec.exe -f Config.cfg echo Starting server cd C:\Users\Administrador\Desktop\Dayz Epoch Server start "arma2" /min "C:\Users\Administrador\Desktop\Dayz Epoch Server\arma2oaserver.exe" -port=2302 "-config=instance_11_Chernarus\config.cfg" "-cfg=instance_11_Chernarus\basic.cfg" "-profiles=instance_11_Chernarus" -name=instance_11_Chernarus "[email protected]_Epoch;@DayZ_Epoch_Server;" ping -n 5 >NUL ***Now paste this .bat file in your server root ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- STEP 4: Do a .bat file called "Premod_stop" and paste this into: (change the paths for your server) @echo off taskkill /F /IM arma2oaserver.exe taskkill /F /IM Bec.exe exit ***Now paste this .bat file in your server root ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- /// EDITING YOUR BEC`s Files /// STEP 5: go to YourServerRoot\instance_11_Chernarus\BattlEye\Bec\Config and open whit Note++ your Shedule.xml ***Now u needs add this at every last shedule id job: <cmd>C:\Users\Administrador\Desktop\Dayz Epoch Server\Premod_restart.bat</cmd> (change for ur server paths) This is my example: <Scheduler> <!-- 12:00 AM restart --> <job id="0"> <time>23:45:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 This server will restart in 15 minutes</cmd> <cmdtype>0</cmdtype> </job> <job id="1"> <time>23:55:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 This server will restart in 5 minutes</cmd> <cmdtype>0</cmdtype> </job> <job id="2"> <time>23:59:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 This server will restart in 1 minute, Log out now!</cmd> <cmdtype>0</cmdtype> </job> <job id="3"> <time>00:00:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>#shutdown</cmd> <cmdtype>0</cmdtype> </job> <job id="4"> <time>00:00:10</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>C:\Users\Administrador\Desktop\Dayz Epoch Server\Premod_restart.bat</cmd> <cmdtype>1</cmdtype> </job> <!-- End 12:00 AM restart --> ***Do the same for each job id group. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- STEP 6: Now go to YourServerRoot\instance_11_Chernarus\BattlEye\Bec\Config\ and open whit note++ your Config.cfg Ip = Port = 2302 BePath = C:\Users\Administrador\Desktop\Dayz Epoch Server\instance_11_Chernarus\BattlEye (Here put your Bec Path) Admins = Admins.xml Commands = Commands.xml ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Nothing more. Launch your server whit "Monitor.bat" tnks ChukyN for help!
  6. Hey all, got a pretty odd and serious issue. About 4 times now, during the middle of a session, BEC will spam "no valid response- trying to reconnect". The game server is still running and each individual can carry on playing the game, but nothing is being saved and each player can't see any other players actions if that makes sense. It's very weird Basiclly bec is screwing something up and doesn't appear to get fixed without restarting the entire dedi box. Even closing the arma server window and Bec, then using my restart Bat doesn't always fix it, I have to fully restart Windows on the dedi box. An even odder thing is, it just happened on one of my servers, but the other was fine. The main server had 20 ish people and I was also playing. I could tell something was wrong as dart lost connection on the main server, yet was fine on the other server. I checked on the dedi box and sure enough, Bec was spamming the message on the main server , yet I could still run around and was still being attacked by zombies, but no side chat was coming through and every other player was frozen. For them, they could still run around and every other player was frozen. Something is crashing or something and it's pretty much ruining my server as people get pissed off and leave, but I just don't know what's happening or why. Anyone had a similar issue? This isn't the usual Bec isn't working post, it has been working fine for 6 months, only in the last few weeks has this started happening.
  7. Hi, I'm trying to do a force save all on DB before the server restarts. The best situation is make Bec starts the save process 1 minute before restart. There is any way to make Bec run a server scipt? Thankyou!
  8. Hey guys, I'm working on an Arma 3 server and set up correctly a lot BEC exceptions so far. Proceeded well but actually I'm stuck on one kick I can't get rid off what ever I try: SetVariable Restriction #0 #0 "slx_xeh_playable" = true 2:4163 Exile_Unit_GhostPlayer Any suggestions for this? Thanks in advance!
  9. shote

    BEC Messages Restart

    Hello all, So i have my server 99% done, so the last thing i have to make work is SCHEDULER.XML . The custom messages I have made to anounce the server restart and some "rules". So, the auto server restart its working very good, I have make it restart every 4 Hours and is good. So the thinng i want to make work is the Battleye messages (BEC/Config/ SCHEDULER.xml) Im going to past here all my SCHEDULE.XML and if someone see somemistake I will apreciate it a lot if share with me. SCHEDULER.xml - http://pastebin.com/rpt9dBMU same here SCHEDULER Thanks for help. shote
  10. So after playing arma 2 epoch for a few 100+ hours i thought it was time to start my own server, its been going great so far no major issues, but you will probably see me around asking a few more questions. So on to my problem my scheduler in bec wont run at all, cant see messages and restart dont work either im using the one that comes with the bec install, im not too experienced with all of this also i dont get any errors in the logs. Someone got any ideas? here is my scheduler: <?xml version='1.0' encoding='UTF-8' standalone='yes' ?> <Scheduler> <job id='0'> <day>1,2,3,4,5,6,7</day> <start>00090</start> <runtime>000600</runtime> <loop>-1</loop> <cmd>say -1 This server will restart every 3 hours!</cmd> </job> <job id='1'> <day>1,2,3,4,5,6,7</day> <start>000120</start> <runtime>000600</runtime> <loop>-1</loop> <cmd>say -1 Maintain base every 25 day!</cmd> </job> <job id='2'> <day>1,2,3,4,5,6,7</day> <start>05:45:00</start> <runtime>000000</runtime> <loop>0</loop> <cmd>say -1 This server will restart in 15 minutes</cmd> </job> <job id='3'> <day>1,2,3,4,5,6,7</day> <start>05:55:00</start> <runtime>000000</runtime> <loop>0</loop> <cmd>say -1 This server will restart in 5 minute, log out now to prevent item loss!</cmd> </job> <job id='4'> <day>1,2,3,4,5,6,7</day> <start>05:59:00</start> <runtime>000000</runtime> <loop>0</loop> <cmd>say -1 This server will restart in 1 minute, Log out now!</cmd> </job> <job id='5'> <day>1,2,3,4,5,6,7</day> <start>06:00:00</start> <runtime>000000</runtime> <loop>0</loop> <cmd>#shutdown</cmd> </job> <job id='6'> <day>1,2,3,4,5,6,7</day> <start>06:00:10</start> <runtime>000000</runtime> <loop>0</loop> <cmd>>#restart</cmd> </job> <job id='7'> <day>1,2,3,4,5,6,7</day> <start>08:45:00</start> <runtime>000000</runtime> <loop>0</loop> <cmd>say -1 This server will restart in 15 minutes</cmd> </job> <job id='8'> <day>1,2,3,4,5,6,7</day> <start>08:55:00</start> <runtime>000000</runtime> <loop>0</loop> <cmd>say -1 This server will restart in 5 minute, log out now to prevent item loss!</cmd> </job> <job id='9'> <day>1,2,3,4,5,6,7</day> <start>08:59:00</start> <runtime>000000</runtime> <loop>0</loop> <cmd>say -1 This server will restart in 1 minute, Log out now!</cmd> </job> <job id='10'> <day>1,2,3,4,5,6,7</day> <start>09:00:00</start> <runtime>000000</runtime> <loop>0</loop> <cmd>#shutdown</cmd> </job> <job id='11'> <day>1,2,3,4,5,6,7</day> <start>09:00:10</start> <runtime>000000</runtime> <loop>0</loop> <cmd>#restart</cmd> </job> <job id='12'> <day>1,2,3,4,5,6,7</day> <start>11:45:00</start> <runtime>000000</runtime> <loop>0</loop> <cmd>say -1 This server will restart in 15 minutes</cmd> </job> <job id='13'> <day>1,2,3,4,5,6,7</day> <start>11:55:00</start> <runtime>000000</runtime> <loop>0</loop> <cmd>say -1 This server will restart in 5 minute, log out now to prevent item loss!</cmd> </job> <job id='14'> <day>1,2,3,4,5,6,7</day> <start>11:59:00</start> <runtime>000000</runtime> <loop>0</loop> <cmd>say -1 This server will restart in 1 minute, Log out now!</cmd> </job> <job id='15'> <day>1,2,3,4,5,6,7</day> <start>12:00:00</start> <runtime>000000</runtime> <loop>0</loop> <cmd>#shutdown</cmd> </job> <job id='16'> <day>1,2,3,4,5,6,7</day> <start>12:00:10</start> <runtime>000000</runtime> <loop>0</loop> <cmd>#restart</cmd> </job> <job id='17'> <day>1,2,3,4,5,6,7</day> <start>14:45:00</start> <runtime>000000</runtime> <loop>0</loop> <cmd>say -1 This server will restart in 15 minutes</cmd> </job> <job id='18'> <day>1,2,3,4,5,6,7</day> <start>14:55:00</start> <runtime>000000</runtime> <loop>0</loop> <cmd>say -1 This server will restart in 5 minute, log out now to prevent item loss!</cmd> </job> <job id='19'> <day>1,2,3,4,5,6,7</day> <start>14:59:00</start> <runtime>000000</runtime> <loop>0</loop> <cmd>say -1 This server will restart in 1 minute, Log out now!</cmd> </job> <job id='20'> <day>1,2,3,4,5,6,7</day> <start>15:00:00</start> <runtime>000000</runtime> <loop>0</loop> <cmd>#shutdown</cmd> </job> <job id='21'> <day>1,2,3,4,5,6,7</day> <start>15:00:10</start> <runtime>000000</runtime> <loop>0</loop> <cmd>#restart</cmd> </job> <job id='22'> <day>1,2,3,4,5,6,7</day> <start>17:45:00</start> <runtime>000000</runtime> <loop>0</loop> <cmd>say -1 This server will restart in 15 minutes</cmd> </job> <job id='23'> <day>1,2,3,4,5,6,7</day> <start>17:55:00</start> <runtime>000000</runtime> <loop>0</loop> <cmd>say -1 This server will restart in 5 minute, log out now to prevent item loss!</cmd> </job> <job id='24'> <day>1,2,3,4,5,6,7</day> <start>17:59:00</start> <runtime>000000</runtime> <loop>0</loop> <cmd>say -1 This server will restart in 1 minute, Log out now!</cmd> </job> <job id='25'> <day>1,2,3,4,5,6,7</day> <start>18:00:00</start> <runtime>000000</runtime> <loop>0</loop> <cmd>#shutdown</cmd> </job> <job id='26'> <day>1,2,3,4,5,6,7</day> <start>18:00:10</start> <runtime>000000</runtime> <loop>0</loop> <cmd>#restart</cmd> </job> <job id='27'> <day>1,2,3,4,5,6,7</day> <start>20:45:00</start> <runtime>000000</runtime> <loop>0</loop> <cmd>say -1 This server will restart in 15 minutes</cmd> </job> <job id='28'> <day>1,2,3,4,5,6,7</day> <start>20:55:00</start> <runtime>000000</runtime> <loop>0</loop> <cmd>say -1 This server will restart in 5 minute, log out now to prevent item loss!</cmd> </job> <job id='29'> <day>1,2,3,4,5,6,7</day> <start>20:59:00</start> <runtime>000000</runtime> <loop>0</loop> <cmd>say -1 This server will restart in 1 minute, Log out now!</cmd> </job> <job id='30'> <day>1,2,3,4,5,6,7</day> <start>21:00:00</start> <runtime>000000</runtime> <loop>0</loop> <cmd>#shutdown</cmd> </job> <job id='31'> <day>1,2,3,4,5,6,7</day> <start>21:00:10</start> <runtime>000000</runtime> <loop>0</loop> <cmd>#restart</cmd> </job> <job id='32'> <day>1,2,3,4,5,6,7</day> <start>23:45:00</start> <runtime>000000</runtime> <loop>0</loop> <cmd>say -1 This server will restart in 15 minutes</cmd> </job> <job id='33'> <day>1,2,3,4,5,6,7</day> <start>23:55:00</start> <runtime>000000</runtime> <loop>0</loop> <cmd>say -1 This server will restart in 5 minute, log out now to prevent item loss!</cmd> </job> <job id='34'> <day>1,2,3,4,5,6,7</day> <start>23:59:00</start> <runtime>000000</runtime> <loop>0</loop> <cmd>say -1 This server will restart in 1 minute, Log out now!</cmd> </job> <job id='35'> <day>1,2,3,4,5,6,7</day> <start>00:00:00</start> <runtime>000000</runtime> <loop>0</loop> <cmd>#shutdown</cmd> </job> <job id='36'> <day>1,2,3,4,5,6,7</day> <start>00:00:10</start> <runtime>000000</runtime> <loop>0</loop> <cmd>#restart</cmd> </job> <job id='37'> <day>1,2,3,4,5,6,7</day> <start>02:45:00</start> <runtime>000000</runtime> <loop>0</loop> <cmd>say -1 This server will restart in 15 minute, log out now to prevent item loss!</cmd> </job> <job id='38'> <day>1,2,3,4,5,6,7</day> <start>02:55:00</start> <runtime>000000</runtime> <loop>0</loop> <cmd>say -1 This server will restart in 5 minute, log out now to prevent item loss!</cmd> </job> <job id='39'> <day>1,2,3,4,5,6,7</day> <start>02:59:00</start> <runtime>000000</runtime> <loop>0</loop> <cmd>say -1 This server will restart in 1 minute, Log out now!</cmd> </job> <job id='40'> <day>1,2,3,4,5,6,7</day> <start>03:00:00</start> <runtime>000000</runtime> <loop>0</loop> <cmd>#shutdown</cmd> </job> <job id='41'> <day>1,2,3,4,5,6,7</day> <start>03:00:10</start> <runtime>000000</runtime> <loop>0</loop> <cmd>#restart</cmd> </job> </Scheduler> Update: Got the scheduler working by updating to newest version!
  11. so basically my issue is all the bec messages come up right, exept for the repeated messages, im trying to get one message to repeat every 15 min or some time that can be edited. I want it to run every restart infinitely, also im trying to make the server lock with 5 minutes to restart to stop people from loading in right b4 restart #lock or some shit. I have been told multiple times by CEN, to do it a certain way but it isnt working, any help would be appreciated. http://pastebin.com/HpvRXefG
  12. Resolved What I did was replaced my Bec.exe and Bec.lib with ones that I found online. Which is Bec.exe V 1.608. As soon as I started the server ALL Scheduling Task loaded. Let the server run and the restart came and happened . The server restarted without a problem.
  13. I am running 2 servers on the same box a cherno and a atlis. Cherno is fine but every few restarts the atlis Bec just stops working and wont start the server back up after a restart if i keep cherno off there are no problems. Anyone have this issue and what did you do to fix it?
  14. hello i setup my server with bec but if bec sends a msg its white not red can someone help me thanks
  15. Hey guys, I kept the Battleye Extended Controls folder untouched and it stopped connecting on latest version of Arma 2 Epoch server 1.63.125402. Is it working for you? Here is what I get Bec, Arma 2/3 Server Tool V.1.597 Copyright (C) by Stian Mikalsen Email : [email protected] Web : http://www.ibattle.org Remember to donate for more great updates! --------------------------------------------- 19:07:37 : Config Error : WhiteListFile path is not Valid 19:08:04 : Waiting for server startup | Last line is animating for about 10 seconds then times out.
  16. Okay so here is my issue. I have Epoch running on my dedicated server. I have one instance that runs just fine.. My bat file starts the server.. starts BEC.. it runs for 3 hours then the scheduler in BEC runs my restart bat... So I wanted to make a new instance...Which i did.. then I made a copy of my BEC folder.. renamed it..went in and changed everything to reflect the new instance... I run my server start bat.. server starts up fin.. waits the 30 sec time out... then starts BEC.. BEC sits there then says to make sure the server is running. Which it is and players can join... The console has no errors at all.. nor does the log. Please help.. thank yoU!! RP
  17. Hi, I have installed Bec on a private server and i can see that it runs, so when i connect to the server i can see that i am the super admin. but my scheduler.xml and commands.xml are not loading This is my Config.cfg
  18. i have got a problem connecting with the bercon.exe to our new epoch server. we do have another epoch 1.0.3 server running on the same machine(strato server) and the bercon is working with it. both use battleye extendended controls (bec), they have different ports and one is able join them. until now i couldnt find anything in the forums about a similar problem. the new epoch server seems to be working, except for the bercon issue. bec is connecting and the beserver.cfg and config files are in place. the schedular.xml is running too. battleye is up to date. bercon.exe: couldn`t connect to server bec error log: Error with encoding in queued data list! bec, config.cfg: schedular.xml: start.bat: bec guide: http://www.ibattle.org/install-and-configure i followed their instruction and double checked everything i could. did anyone experience issues like this and how would you try to solve these?
  19. is there a video or a place to learn how to put exceptions into your bec files. seems like anything i do to my server am i getting kicked for this or for that. no one seems to put the modifications to the filters in the instructions/ thread for them. i dont want to go all noob and be like give me the bec filters. i would like to actually learn what i need to look for and how to put them in on my own when i goto add something. Thanks Psy
  20. Im wondering if anyone else is renting a server from GTX and if so, if they know how to set up BEC. Im trying to set up and use the admin panel but keep getting kick because of not having BEC or something. Does anyone know if it is supposed to be set up on the setup of my server or if I have to install it myself. I tried uploading BEC.exe to the server and it said bec.exe access denied. so if im not allowed to set it up myself how do I do it. Thanks for the help
  21. oSoDirty


    It seems as BEC is running properly aside from no messages or restarts. I have no errors. It logs chat and i get the super admin- osodirty connected message. i have tried running with admin priv. as well. my sceduler.xml am i missing something? thanks in advance.
  22. I've gone through everything and in theory it should work fine as it starts up and runs fine but it doesn't restart the server or display any messages defined in Scheduler.xml
  23. So I'm not sure that this is the correct place to put this, as I couldn't really find a spot for it. If this is in the wrong place, please move it. As the title states, I cannot type into the console window. It connects to the server just fine, etc. But it will not let me type. This is the text I see in the console: Bec, Arma OA/3 Server Tool V.1.602 Copyright © by Stian Mikalsen Email : [email protected] Web : http://www.ibattle.org Remember to donate for more great updates! --------------------------------------------- 11:04:27 : Checking for new Bec version... 11:04:31 : Bec is running latest version! : 1.602 11:04:31 : Connecting to Battleye server 11:04:31 : RCon admin #0 ( logged in Any ideas/thoughts? Thanks in advance!
  24. So I successfully set up auto restarts earlier on my Vilayer.com hosted server. My automated server emssages however wont show up... my Scheduler.xml <?xml version="1.0"?> <Scheduler> <job id="0"> <time>034500</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>1</loop> <cmd>say -1 Server will Auto restart in 15 minutes</cmd> <cmdtype>0</cmdtype> </job> <job id="1"> <time>035000</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>1</loop> <cmd>say -1 Server will Auto restart in 10 minutes</cmd> <cmdtype>0</cmdtype> </job> <job id="2"> <time>035500</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>1</loop> <cmd>say -1 Server will Auto restart in 5 minutes. Log out early to ensure gear saved</cmd> <cmdtype>0</cmdtype> </job> <job id="3"> <time>035800</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>1</loop> <cmd>say -1 Server will Auto restart in 1 minute. Log out now to ensure gear saved</cmd> <cmdtype>0</cmdtype> </job> <job id="4"> <time>035930</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>1</loop> <cmd>say -1 Server restarting now</cmd> <cmdtype>0</cmdtype> </job> <job id="5"> <time>001000</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>1</loop> <cmd>say -1 Server restarts are every 4 hours starting 9:00am GMT </cmd> <cmdtype>0</cmdtype> </job> </Scheduler> My config.cfg file #---------------------------------------------------- [Misc] #---------------------------------------------------- # Set the color,height and with on bec's console window ConsoleColor = 0f ConsoleHeight = 30 ConsoleWidth = 100 #AsciiNickOnly = True #DisallowPlayerNameChars = [](){}<>/\^|§!#%&@£¤¨ #MaxPlayerNameLength = 16 #Warnings = 4 #AsciiChatOnly = True #IgnoreChatChars = æøå ChatChannelFiles = true #KickLobbyIdlers = 300 #WordFilterFile = BadWords.txt #WhiteListFile = WhiteList.txt #NickFilterFile = BadNames.txt # Set the amount of time Bec will wait on the server on startup - DO NOT EDIT Timeout = 60 # Set the amount of Normal players who can connect. Set it to -1 to disable it. # If set to 0 it means only players who are listed in the Admins.xml will be able to connect to the server. # Quick Example 1: server can hole 50 players. and you want to reserve 5 slots for admins. then set SlotLimit to 45. # Quick Example 2: server can hole 50 players. and you want to reserve 5 slots for admins and 5 slots for friends. # then set SlotLimit to 40. and edit your admins.xml. add in all your frineds and put them in group example 100. SlotLimit = -1 # Flood control system. There are 2 types of flood control and only one can be in use. # Type 1 is based on how many players are in the lobby. # If the player count is greater than what FloodControl is set to the server will autolock until the number of players are less that what FloodControl is set to. # Type 2 is based on the number of connection within given time. The server will also be locked for given time. # Quick Examples: # Type 1 #FloodControl = 5 # Locks the server when there is 5 or more players in the lobby. # Type 2 . #FloodControl = 10 #FloodSampleTime = 3 #FloodLockTime = 5 # Locks the server if 10 or more players connect within 3 sec. the server will be locked for 5 seconds. # Set the path to the Scheduer.xml file. Scheduler = Scheduler.xml
  25. Hi guys Kumari here I am the developer of for the aCw community many of you may not have heard of us because we are No-CD.Now we do use a legit copy of the game for hosting but I digress.I have made this quite interesting I think batch file that I call the All-In-One It takes several functions from all over different forums and combines them in to one batch file.Well a batch file and a vb script but this is still mostly all in one really.Now what this dose is you run it from the BEC or any other program you use for restarts ect. I have tried my best to make this as user friendly as possible so its really simple to use.I probly will redo this tho to have all config in one section now this has not been used yet but has been tested a lot so you can consider this a 1.0 beta if you will if you guys find this useful I will improve it add more to it ect. Once this file is activated by the BEC what it dose is it will start by shutting down the server and the BEC now the BEC normally shuts its self down but in the event that it dose not this will do that for you. Then it dose a check to see if you have debug set to 1 this will tell you step by step what its doing and allow you to walk thew it to find errors.Then it shuts down the server and BEC.The BEC almost allays shuts its self down but in the event it dose not this will make sure its down so that way you don't end up with two BECs running at once.Then you come to the clean up this uses the log rotation but may change there are configs for this and I will show you soon.What it dose it makes a back up of the ArmA II logs and removes the original to keep it clean and running smooth it allso backs up and removes infiSTAR anti-hack logs don't worry if you don't have this because the batch also looks to see if you have it installed of you dont it just continues on to the next part.Now here comes the fun part the vb script if you want this you can use it if not you can remove it.What this dose it takes the Hiveext.ini and randomizes day/night.I implemented this because we have players from all over any they say "Every time I play its night" now this was because I use local time so that it marches that of real life I could have set it to be day all the time but what fun is that so this is ware the vb caomes in.Next it will boot up the server and BEC the cool thing it dose this all in a few seconds.Now I will show the code and how to configure this now like I said I make make this more simple to config at a later date. All-In-One.bat :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::: DayZ all-in-one batch by Kumari Ashamaki :::::::::::::::::::::::: ::::::::::::::::: Rotate logs by r4z0r49 and Sykotix ::::::::::::::::::::::::::: ::::::::::::::::::: Rotate infiSTAR logs by Kumari ::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: @Echo OFF TITLE DayZ all-in-one batch by Kumari Ashamaki :: Debug Mode Settings set debug=0 if %debug% == 1 ( echo Booting in debug mode. ) :: Welcome Text if %debug% == 1 ( echo To use this for restarts this batch shuld be called from BEC or echo whatever program you use for restarts. echo If you use something else for restarts just comment out or remove echo The taskkill for BEC and the server EXEs. echo leaveing the code wont hurt but you will see "task missing" errors pause ) :: Shuts down the server and BEC if %debug% == 1 ( echo Shuttingdown The Instence ) taskkill /f /im ACWEPRESCHER.exe timeout /t 1 > nul if %debug% == 1 ( echo Shuttingdown The BEC pause ) taskkill /im BEC_Chernarus.exe timeout /t 1 > nul :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::: LOG ROTATION START ::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Info and starting messages for debug :: Back up logs and remove them :: Message if %debug% == 1 ( echo Starting Rotation pause ) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::::::::::::::::::::::::: CONFIG ::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Message if %debug% == 1 ( echo loading configs pause ) :: Set The path to your server. set arma2srvpath=C:\ACWEPRESCHER :: Set the Instence name EX instance_11_chernarus or dzcfg or what ever you call it set srvname=instance_11_chernarus :: Delete Original log files after they have been backed up? This keeps your server from being boged down with old logs. set deloriglogs=1 :: Set path to infiSTAR Dlls if you do not have infiSTAR comment this out do not remove it set infiSTARDllPath=C:\ACWEPRESCHER :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::::::::::::::::: ADVANCED CONFIG CONFIG ::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Message if %debug% == 1 ( echo loading advanced configs pause ) :: Setting Server Profile to Use IF "%1"=="" ( set servername=%srvname% ) else ( set servername=%1 ) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::::::::::::: END OF CONFIG RUNNING SCRIPTS :::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Messages if %debug% == 1 ( echo Running scripts pause ) SET HOUR=%time:~0,2% SET dtStamp9=%date:~-4%%date:~4,2%%date:~7,2%_0%time:~1,1%%time:~3,2%_%time:~6,2% SET dtStamp24=%date:~-4%%date:~4,2%%date:~7,2%_%time:~0,2%%time:~3,2%_%time:~6,2% ::Make Date Stamp if "%HOUR:~0,1%" == " " (SET dtStamp=%dtStamp9%) else (SET dtStamp=%dtStamp24%) ECHO Todays Date and time (%date%)(%time%) / %dtStamp% :: Message if %debug% == 1 ( echo Createing Directories pause ) :: Make the Rotated Log Directorys if exist "%arma2srvpath%\%servername%\ServerManagement\RotatedLogs" goto maketsdir mkdir "%arma2srvpath%\%servername%\ServerManagement\RotatedLogs" :maketsdir if exist "%arma2srvpath%\%servername%\ServerManagement\RotatedLogs\%dtStamp%" goto makebedir mkdir "%arma2srvpath%\%servername%\ServerManagement\RotatedLogs\%dtStamp%" :makebedir if exist "%arma2srvpath%\%servername%\ServerManagement\RotatedLogs\%dtStamp%\BattlEye" goto makebedir mkdir "%arma2srvpath%\%servername%\ServerManagement\RotatedLogs\%dtStamp%\BattlEye" :: Checks for infiSTAR Log DLLs :makebedir IF EXIST "%arma2srvpath%\AdminLog.dll" ( echo infiSTAR Log Dlls found if exist "%arma2srvpath%\%servername%\ServerManagement\RotatedLogs\%dtStamp%\infiSTAR_Logs" goto rotatelogs mkdir "%arma2srvpath%\%servername%\ServerManagement\RotatedLogs\%dtStamp%\infiSTAR_Logs" ) ELSE ( echo infiSTAR log Dlls not found! ) :rotatelogs :: Starting Log Rotation. If there are any other logs, just follow the format below, and make sure to NOT touch any of the varibles. copy "%arma2srvpath%\%servername%\ACWEPRESCHER.RPT" "%arma2srvpath%\%servername%\ServerManagement\RotatedLogs\%dtStamp%\ACWEPRESCHER.RPT" copy "%arma2srvpath%\%servername%\ACWEPRESCHER.mdmp" "%arma2srvpath%\%servername%\ServerManagement\RotatedLogs\%dtStamp%\ACWEPRESCHER.mdmp" copy "%arma2srvpath%\%servername%\ACWEPRESCHER.bidmp" "%arma2srvpath%\%servername%\ServerManagement\RotatedLogs\%dtStamp%\ACWEPRESCHER.bidmp" copy "%arma2srvpath%\%servername%\server_log.txt" "%arma2srvpath%\%servername%\ServerManagement\RotatedLogs\%dtStamp%\server_log.txt" copy "%arma2srvpath%\%servername%\HiveExt.log" "%arma2srvpath%\%servername%\ServerManagement\RotatedLogs\%dtStamp%\HiveExt.log" copy "%arma2srvpath%\%servername%\BattlEye\scripts.log" "%arma2srvpath%\%servername%\ServerManagement\RotatedLogs\%dtStamp%\BattlEye\scripts.log" copy "%arma2srvpath%\%servername%\BattlEye\createvehicle.log" "%arma2srvpath%\%servername%\ServerManagement\RotatedLogs\%dtStamp%\BattlEye\createvehicle.log" copy "%arma2srvpath%\%servername%\BattlEye\mpeventhandler.log" "%arma2srvpath%\%servername%\ServerManagement\RotatedLogs\%dtStamp%\BattlEye\mpeventhandler.log" copy "%arma2srvpath%\%servername%\BattlEye\publicvariable.log" "%arma2srvpath%\%servername%\ServerManagement\RotatedLogs\%dtStamp%\BattlEye\publicvariable.log" copy "%arma2srvpath%\%servername%\BattlEye\publicvariableval.log" "%arma2srvpath%\%servername%\ServerManagement\RotatedLogs\%dtStamp%\BattlEye\publicvariableval.log" copy "%arma2srvpath%\%servername%\BattlEye\remoteexec.log" "%arma2srvpath%\%servername%\ServerManagement\RotatedLogs\%dtStamp%\BattlEye\remoteexec.log" copy "%arma2srvpath%\%servername%\BattlEye\setdamage.log" "%arma2srvpath%\%servername%\ServerManagement\RotatedLogs\%dtStamp%\BattlEye\setdamage.log" copy "%arma2srvpath%\%servername%\BattlEye\setpos.log" "%arma2srvpath%\%servername%\ServerManagement\RotatedLogs\%dtStamp%\BattlEye\setpos.log" copy "%arma2srvpath%\%servername%\BattlEye\setvariable.log" "%arma2srvpath%\%servername%\ServerManagement\RotatedLogs\%dtStamp%\BattlEye\setvariable.log" copy "%arma2srvpath%\%servername%\BattlEye\addmagazinecargo.log" "%arma2srvpath%\%servername%\ServerManagement\RotatedLogs\%dtStamp%\BattlEye\addmagazinecargo.log" :: infiSTAR Copy logs IF EXIST "%arma2srvpath%\SurveillanceLog.txt" ( echo infiSTAR Logs found! copy "%infiSTARDllPath%\AdminLog.txt" "%arma2srvpath%\%servername%\ServerManagement\RotatedLogs\%dtStamp%\infiSTAR_Logs\AdminLog.txt" copy "%infiSTARDllPath%\HackLog.txt" "%arma2srvpath%\%servername%\ServerManagement\RotatedLogs\%dtStamp%\infiSTAR_Logs\HackLog.txt" copy "%infiSTARDllPath%\ban.txt" "%arma2srvpath%\%servername%\ServerManagement\RotatedLogs\%dtStamp%\infiSTAR_Logs\ban.txt" copy "%infiSTARDllPath%\SurveillanceLog.txt" "%arma2srvpath%\%servername%\ServerManagement\RotatedLogs\%dtStamp%\infiSTAR_Logs\SurveillanceLog.txt" copy "%infiSTARDllPath%\logUnlockLock.txt" "%arma2srvpath%\%servername%\ServerManagement\RotatedLogs\%dtStamp%\infiSTAR_Logs\logUnlockLock.txt" copy "%infiSTARDllPath%\SafeZone.txt" "%arma2srvpath%\%servername%\ServerManagement\RotatedLogs\%dtStamp%\infiSTAR_Logs\SafeZone.txt" ) ELSE ( echo infiSTAR logs not found! ) echo (%date%) (%time%) Logs are backed up now... echo (%date%) (%time%) Removing original log files. del /Q /F "%arma2srvpath%\%servername%\ACWEPRESCHER.RPT" del /Q /F "%arma2srvpath%\%servername%\ACWEPRESCHER.mdmp" del /Q /F "%arma2srvpath%\%servername%\ACWEPRESCHER.bidmp" del /Q /F "%arma2srvpath%\%servername%\server_log.txt" del /Q /F "%arma2srvpath%\%servername%\HiveExt.log" del /Q /F "%arma2srvpath%\%servername%\BattlEye\scripts.log" del /Q /F "%arma2srvpath%\%servername%\BattlEye\createvehicle.log" del /Q /F "%arma2srvpath%\%servername%\BattlEye\mpeventhandler.log" del /Q /F "%arma2srvpath%\%servername%\BattlEye\publicvariable.log" del /Q /F "%arma2srvpath%\%servername%\BattlEye\publicvariableval.log" del /Q /F "%arma2srvpath%\%servername%\BattlEye\remoteexec.log" del /Q /F "%arma2srvpath%\%servername%\BattlEye\setdamage.log" del /Q /F "%arma2srvpath%\%servername%\BattlEye\setpos.log" del /Q /F "%arma2srvpath%\%servername%\BattlEye\setvariable.log" del /Q /F "%arma2srvpath%\%servername%\BattlEye\addmagazinecargo.log" :: infiSTAR Remove Logs IF EXIST "%infiSTARDllPath%\SurveillanceLog.txt" ( echo Removeing infiSTAR logs! del /Q /F "%infiSTARDllPath%\infiSTAR_Logs\AdminLog.txt" del /Q /F "%infiSTARDllPath%\infiSTAR_Logs\HackLog.txt" del /Q /F "%infiSTARDllPath%\infiSTAR_Logs\ban.txt" del /Q /F "%infiSTARDllPath%\infiSTAR_Logs\SurveillanceLog.txt" del /Q /F "%infiSTARDllPath%\infiSTAR_Logs\logUnlockLock.txt" del /Q /F "%infiSTARDllPath%\infiSTAR_Logs\SafeZone.txt" ) ELSE ( echo No infiSTAR logs to remove! ) if %debug% == 1 ( echo Logs rotated? pause ) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::::::::::::::::::: LOG ROTATION END ::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Randomize day/night if %debug% == 1 ( echo Randomizing day/night pause ) pushd %~dp0 start /b "" cscript TimeChange.vbs timeout /t 1 > nul :: Start server if %debug% == 1 ( echo Starting server. pause ) cd "C:\ACWEPRESCHER" start /high .\Expansion\beta\ACWEPRESCHER.exe -port=2302 "-config=instance_11_Chernarus\config.cfg" "-cfg=instance_11_Chernarus\basic.cfg" "-profiles=instance_11_Chernarus" -name=instance_11_Chernarus "[email protected]_Epoch;@DayZ_Epoch_Server;" "-world=Chernarus" "-noPause" "-noSound" "-cpuCount=4" "-maxMem=4096" "-bandwidthAlg=2" "-exThreads=7" "-noCB" :: Start BEC if %debug% == 1 ( echo Starting BEC pause ) cd "C:\ACWEPRESCHER\instance_11_Chernarus\ServerManagement\Bec" start /MIN C:\ACWEPRESCHER\instance_11_Chernarus\ServerManagement\Bec\BEC_Chernarus.exe -f Config.cfg :: Check if is in debug mode if %debug% == 1 ( echo you are in debug mode this stops the code before exit echo and waits so that you can see whats happening. pause ) Exit :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::: Credits ::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::: Script :::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::: Kumari Ashamaki ::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::: Rotate Logs ::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::: r4z0r49 ::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::: Sykotix ::::::::::::::::::::::::::::::::::::::::: ::::::::::::::::::::::::::: antiHACK Logs :::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::: infiSTAR.de ::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: TimeChange.vbs 'All-In-One time change by Geryon Option Explicit 'Create an instance of the FileSystemObject object Dim objFSO Dim objTextStream Dim objString Dim objNum Set objFSO = CreateObject("Scripting.FileSystemObject") Set objTextStream = objFSO.OpenTextFile("C:\ACWEPRESCHER\instance_11_Chernarus\HiveExt.ini", 1) objString = objTextStream.ReadAll objTextStream.Close Randomize objNum = Int(3 * Rnd + 1) 'Don't repeat night time if objNum = 1 and instr(objString, "Hour = 22") = 0 then objString = Replace(objString,"Hour = 12", "Hour = 22") wscript.echo "Night Time!" else objString = Replace(objString,"Hour = 22", "Hour = 12") wscript.echo "Day Time!" end if Set objTextStream = objFSO.OpenTextFile("C:\ACWEPRESCHER\instance_11_Chernarus\HiveExt.ini", 2) objTextStream.WriteLine objString objTextStream.Close Now this is just to show what I am using I will also attach the files that are ready to be configed Now how do we make all this work for us? Lets start with the shutdown as you can see I use custom names because we run two servers on one system so I only want this to run on on server at a time you can do the same if you have two in one server. Now for the log rotation. Here you need to set your server path server insistence if you want the original logs removed and if you have infiSTAR ware your Dlls are located now I use default for this because I can never get the AHconfig to use the path I give it to the Dlls. Now unlike the original code you can see I have the logs back up to ServerManagement\RotatedLogs you can change this if you like but I like it that way to be neat. now this next bit will look for the infiSTAR Dlls. Then it dose the rotation. Next it dose the Day/Night now for this to work you need to right click the vb and edit it and give it the path to your hive ini and set under time Type static and the hour to 12 or 22 I tried to make this work in a way that you don't need to change that and the code dose it on its own but failed this may be fixed if I can figure it out now it needs to look like this. [Time] ;Possible values: Local, Custom, Static ;You cannot use Static on OFFICIAL Hive, it will just revert to Local Type = Static ;If using Custom type, offset from UTC in hours (can be negative as well) ;Offset = -8 ;If using Static type (Hour value always the same on every server start), the value (0-24) to set the Hour to Hour = 22 Now back to the batch file It will then run your server and BEC this works the same what way ever batch you are useing you need to set your port config path ect.Thats really basic stuff so I am not going over that. Then it will start BEC same rules apply. and thats about it really I have as you can see given credit ware do ect "I hope" and added lots of comments to help out the Epoch community has helped me alot and I hope you guys will accept this as a thank you I wanted to give back to those who have helped me rather you know it or not.I really dont even know if this will be any good to you geniuses lol but maybe it will I have packed them in a .Zip you may need 7z or win rar but I dont know.Bat_Files.ZIP HAVE FUN!!
  • Create New...