Jump to content

Kar

Member
  • Posts

    36
  • Joined

  • Last visited

Posts posted by Kar

  1. Hi again, It worked, it restarted, bec closed and opened again....but it said in red cant find the Myconfig.cfg and disappeared   I'm guessing it means the config.cfg file located in C:\Users\Administrator\Documents\new epoch for changing\Bec\Config

     

    So if I change the last line in the re starter.bat      from       start "" "bec.exe" -f Myconfig.cfg      to       start "" "bec.exe" -f config.cfg

     

    So i just removed the MY, it should work?

     

     

    Cheers

     

    Robbie

    Yes just change the Myconfig.cfg to whatever config is in the BEC folder

  2. Hi, yeah here it is..I got an error when it restarted 'couldnt find arma2server..blah blah make sure you typed the path correctly

     

    Here is the bat file I used before this

    @echo off
    start "arma2" /min /REALTIME "arma2oaserver.exe" -port=2314 "-config=instance_1_Overpoch\config.cfg" "-cfg=instance_1_Overpoch\basic.cfg" "-profiles=instance_1_Overpoch" -name=instance_1_Overpoch -cpuCount=4 -exThreads=1 -maxmem=2047 -noCB "-mod=@DayZOverwatch;@DayZ_Epoch;@DayZ_Epoch_Server;"
    
    
    The re starter  at the moment says

    cd "C:\Users\root\Desktop\Epoch Server"
    @start "arma2" /min "arma2oaserver.exe" -port=2314 "-config=instance_1_Overpoch\config.cfg" "-cfg=instance_1_Overpoch\basic.cfg" "-profiles=instance_1_Overpoch" -name=instance_1_Overpoch -world=Chernarus -cpuCount=12 -exThreads=1 -maxmem=2047 "-mod=@DayZOverwatch;@DayZ_Epoch;@DayZ_Epoch_Server;"
    echo.
    ping 127.0.0.1 -n 15 >NUL
    echo START BEC
    echo.
    :: start bec
    cd "C:\Users\Administrator\Documents\new epoch for changing\Bec"
    start "" "bec.exe" -f Myconfig.cfg 
    
    The messages and warnings and everything else worked though...it just didnt start back up again, nearly there!!

     

     

    Many thanks

     

     

     

    Robbie

    At the top of the restart.bat you need to change the path too,

    cd "C:\Users\root\Desktop\Epoch Server"
  3. I'm guessing you're trying to move an object, just go to the position you want in game, log out to lobby, write down your character's worldspace from the database, wait till next restart. Paste the worldspace into whatever object you want and it will be exactly where you logged out, including the direction you're facing.

  4. Woot, no errors.

     

    Many thanks

     

    So once this is done I just leave the bec window open and it will do everything  itself?

     

    Also does the path in the restart.bat need to be exactly the same as the one that usually starts the server or is the old one useless now?

     

     

     

    Many thanks for this

     

     

    Robbie

    Yes this should work by itself. Can you post your old way of launching your server for me? That .bat file example I gave you was also old.

  5. Hiya, thanks for the help on this, i tried that auto installer ritchie but I couldn't do it!!!

     

    I'm nearly there after following the  instructions above which were awesome by the way :D :D

     

    Im getting this error now though   'start tag missing where id = 0'

     

     

    Here is the scheduler.xml  I left it basically the same as you posted I just changed the restart path

    Any ideas on this please

     

     

    Cheers

     

    Robbie

    Looks like they changed BEC up a bit since I've last used it, I just grabbed that example I gave to you from one of my old backups. Try this

    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    
    <Scheduler>
    
    	<job id='0'>
    		<day>1,2,3,4,5,6,7</day>
    		<start>023000</start>
    		<runtime>023000</runtime>
    		<loop>0</loop>
    		<cmd>say -1 Server Restart in 30 Minutes!</cmd>
    	</job>
    
    	<job id='1'>
    		<day>1,2,3,4,5,6,7</day>
    		<start>024500</start>
    		<runtime>024500</runtime>
    		<loop>0</loop>
    		<cmd>say -1 Server Restart in 15 Minutes!</cmd>
    	</job>
    	
    	<job id='2'>
    		<day>1,2,3,4,5,6,7</day>
    		<start>025000</start>
    		<runtime>025000</runtime>
    		<loop>0</loop>
    		<cmd>say -1 Server Restart in 10 Minutes!</cmd>
    	</job>
    
    	<job id='3'>
    		<day>1,2,3,4,5,6,7</day>
    		<start>025500</start>
    		<runtime>025500</runtime>
    		<loop>0</loop>
    		<cmd>say -1 Server Restart in 5 Minutes!</cmd>
    	</job>
    
    	<job id='4'>
    		<day>1,2,3,4,5,6,7</day>
    		<start>025900</start>
    		<runtime>025900</runtime>
    		<loop>0</loop>
    		<cmd>say -1 Server Restart in 1 Minute!</cmd>
    	</job>
    
    	<job id='5'>
    		<day>1,2,3,4,5,6,7</day>
    		<start>020000</start>
    		<runtime>020000</runtime>
    		<loop>0</loop>
    		<cmd>say -1 Server Restart In 1 Hour!</cmd>
    	</job>
    	
    	<job id='6'>
    		<day>1,2,3,4,5,6,7</day>
    		<start>030005</start>
    		<runtime>030005</runtime>
    		<loop>0</loop>
    		<cmd>#shutdown</cmd>
    	</job>
    	
    	<job id='7'>
    		<day>1,2,3,4,5,6,7</day>
    		<start>030000</start>
    		<runtime>030000</runtime>
    		<loop>0</loop>
    		<cmd>C:\Users\Administrator\Documents\new epoch for changing\overpoch_Restart.bat</cmd>
    	</job>
    	
    	<job id='8'>
    		<day>1,2,3,4,5,6,7</day>
    		<start>001500</start>
    		<runtime>001500</runtime>
    		<loop>-1</loop>
    		<cmd>say -1 MESSAGETHATWILLAPPEAREVERY15MINUTES</cmd>
    	</job>
    	
    	<job id='9'>
    		<day>1,2,3,4,5,6,7</day>
    		<start>001505</start>
    		<runtime>001505</runtime>
    		<loop>-1</loop>
    		<cmd>say -1 MESSAGETHATWILLAPPEAREVERY15MINUTESAND5SECONDS</cmd>
    	</job>
    	
    	<job id='10'>
    		<day>1,2,3,4,5,6,7</day>
    		<start>001510</start>
    		<runtime>001510</runtime>
    		<loop>-1</loop>
    		<cmd>say -1 MESSAGETHATWILLAPPEAREVERY15MINUTESAND10SECONDS</cmd>
    	</job>
    	
    </Scheduler>
  6. Installing BEC isn't too hard, just follow these instructions: http://ibattle.org/install-and-configure/

    Then for the restarts you'll need to make a .bat file containing

    cd "C:\Users\root\Desktop\Epoch Server"
    @start "arma2" /min "arma2oaserver.exe" -port=2302 "-config=Epoch\config.cfg" "-cfg=Epoch\basic.cfg" "-profiles=Epoch" -name=Epoch -world=Chernarus -cpuCount=12 -exThreads=1 -maxmem=2047 "-mod=@DayZ_Epoch;@DayZ_Epoch_Server;"
    echo.
    ping 127.0.0.1 -n 15 >NUL
    echo START BEC
    echo.
    :: start bec
    cd "C:\Users\root\Desktop\Epoch Server\BECC"
    start "" "bec.exe" -f Myconfig.cfg 
    -cpuCount=12 -exThreads=1 -maxmem=2047 are optional, you will also need to correct all of the paths and set the correct mods in it too.

    Name it

    WHATEVERYOUWANT_Restart.bat
    Now to make the server shut down, start up, display messages and display warning messages you need to make a scheduler.xml file and put this in it as an example and you can edit off of it. This scheduler.xml is set to restart every 3 hours, has 3 messages pop up every 15 minutes 5 seconds apart, 1 hour restart warning, 30 minute restart warning, 15 minute restart warning, 10 minute restart warning, 5 minute restart warning, 3 minute restart warning, and finally a 1 minute restart warning.

    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    <?xml-stylesheet href="acs.xsl" type="text/xsl" ?>
    <Scheduler>
    
    <job id="0">
    <time>023000</time>
    <delay>000000</delay>
    <day>1,2,3,4,5,6,7</day>
    <loop>1</loop>
    <cmd>say -1 Server Restart in 30 Minutes!</cmd>
    <cmdtype>0</cmdtype>
    </job>
    
    <job id="1">
    <time>024500</time>
    <delay>000000</delay>
    <day>1,2,3,4,5,6,7</day>
    <loop>1</loop>
    <cmd>say -1 Server Restart in 15 Minutes!</cmd>
    <cmdtype>0</cmdtype>
    </job>
    
    <job id="2">
    <time>025000</time>
    <delay>000000</delay>
    <day>1,2,3,4,5,6,7</day>
    <loop>1</loop>
    <cmd>say -1 Server Restart in 10 Minutes!</cmd>
    <cmdtype>0</cmdtype>
    </job>
    
    <job id="3">
    <time>025500</time>
    <delay>000000</delay>
    <day>1,2,3,4,5,6,7</day>
    <loop>1</loop>
    <cmd>say -1 Server Restart in 5 Minutes!</cmd>
    <cmdtype>0</cmdtype>
    </job>
    
    <job id="4">
    <time>025700</time>
    <delay>000000</delay>
    <day>1,2,3,4,5,6,7</day>
    <loop>1</loop>
    <cmd>say -1 Server Restart in 3 Minutes!</cmd>
    <cmdtype>0</cmdtype>
    </job>
    
    <job id="5">
    <time>025900</time>
    <delay>000000</delay>
    <day>1,2,3,4,5,6,7</day>
    <loop>1</loop>
    <cmd>say -1 Server Restart in 1 Minute!</cmd>
    <cmdtype>0</cmdtype>
    </job>
    
    <job id="6">
    <time>001500</time>
    <delay>000000</delay>
    <day>1,2,3,4,5,6,7</day>
    <loop>1</loop>
    <cmd>say -1 MESSAGETHATWILLAPEAREVERY15MINUTES</cmd>
    <cmdtype>0</cmdtype>
    </job>
    
    <job id="8">
    <time>001500</time>
    <delay>000005</delay>
    <day>1,2,3,4,5,6,7</day>
    <loop>1</loop>
    <cmd>say -1 MESSAGETHATWILLAPPEAREVERY15MINUTESAND5SECONDS</cmd>
    <cmdtype>0</cmdtype>
    </job>
    
    <job id="9">
    <time>001500</time>
    <delay>000010</delay>
    <day>1,2,3,4,5,6,7</day>
    <loop>1</loop>
    <cmd>say -1 MESSAGETHATWILLAPPEAREVERY15MINUTESAND10SECONDS</cmd>
    <cmdtype>0</cmdtype>
    </job>
    
    <job id="10">
    <time>020000</time>
    <delay>000000</delay>
    <day>1,2,3,4,5,6,7</day>
    <loop>1</loop>
    <cmd>say -1 Server Restart In 1 Hour!</cmd>
    <cmdtype>0</cmdtype>
    </job>
    
    <job id="11">
    <time>030000</time>
    <delay>000005</delay>
    <day>1,2,3,4,5,6,7</day>
    <loop>0</loop> 
    <cmd>#shutdown</cmd>    
    <cmdtype>0</cmdtype>            
    </job>   
    	
    <job id="12">
    <time>030000</time>
    <delay>000000</delay>
    <day>1,2,3,4,5,6,7</day>
    <loop>0</loop>
    <cmd>CHANGETHISPATH\restart.bat</cmd>
    <cmdtype>1</cmdtype>
    </job>
    </Scheduler>
  7. When I was developing my mod with ACE and whatnot I found that there was tons of booby traps that the ACE devs set up in their hundreds of PBO's so that it wouldn't work with DayZ. Apparently they really don't like DayZ, and due to the copyright licenses and whatnot you can't edit the PBO's and remove the booby traps then release it without legal complications.

    One of their booby traps:

    if (isClass (configFile >> 'CfgPatches' >> 'dayz') || {isClass (configFile >> 'CfgPatches' >> 'dayz_weapons')}) exitWith {endMission 'LOSER'}
    
  8. are you talking about rcon passwords? i have an rcon passwords in the config but what different one are you talking about?

    re

    There is the config.cfg file in your instance folder then there should be another password somewhere else, I'm not really sure it's been a really long time.

  9. So ive been trying to get Daz mod to work on my PC for 3 days now I have searched through just about every forum/youtube and every other site I can find for an aswer!

    How do I FIX this god damn error.... I have uninstalled Arma 2 + Arma 2 OA 3 times have installed dayz commander 3 times have downloaded Dayz epoch 3 times and still get this error. I have verified all my files in steam I have run both games through steam....

    can anybody just give me a simple answer to how I get this "Addon 'Sauerland' requires addon 'Chernarus'" to stop coming and up and let me play the mod? I am getting very annoyed and about to give up on this!

    bump. Getting the same problem.

     

    I deleted everything, reinstalled arma2, ran it. exit. reinstalled arma2OA, ran it, exit.

    3 times now

     

    downloaded all mods again, still getting the error :/

    Run Arma 2, go to singleplayer, editor, Chernarus. Run Arma 2 OA, singleplayer, editor, Chernarus. Run Arma 2 CO epoch, CTRL + E Chernarus. If you get any errors let me know.

  10. nope, i get Battleye Initilized but thats it.

    I believe when I was with survivalservers I had set passwords on the config.cfg in the cfg's folder and I had a different one somewhere else and it was causing BEC to not start up. I'm not sure if that's your problem here but may aswell check if you have any mismatched passwords

  11. apparently BEC isnt creating a log for me, i change the logdir = server1 to logdir = BEC.log and i created a blank file called BEC.log in the same folder as the config..i started up my server again and no logs are coming in.

    When you first start your server and on your personal computer you're in lobby does it say "BEC initilizing"?

  12. Here is the thing, does #shutdown restart the server or does it shut it down completely and wont start back up till i start it manually?

    #shutdown will shut it down and you have to turn it back on, before I had my dedicated server and used .bat files I had my host setup restarts for me via ticket system. You could make a .bat file to launch the server and have the scheduler launch the bat file 3 seconds before it shuts down the server.

  13. Thanks for your great help, you were totaly right ...

    I just noticed that i should not rely on dayz-commander to check the online-state of my servers.

    So i thought it was offline and stopped at those lines.

     

    But well, i have another problem!

    Whilst it does run perfectly smooth for me, some of my players do get a COMPILE ERROR in the MIDDLE OF THE SCREEN!

     

    Check this out (removed sensible infos):

    21323701.png

     

    Only for certain players! Some (including me) dont get any compile errors.

    That is extremely weird, i feel completely raped from behind by bohemia and also steam.

    You must have -showscripterrors in your launch parameters, just remove them and you'll be fine

  14. there´s a file: "dayz_epoch1051.bikey"

    Is that in the folder: arma2oaserver/keys? Also in that picture whoever is joining is launching with @dayz, they need to launch @dayz_epoch without @dayz

×
×
  • Create New...