Atnas666 6 Posted November 7, 2018 Hay guys i know its been asked before. But how do i get my server to auto restart ? I have tried on of the below threads using battleeye but it just does not seem to work. Thanks for you help in advance Share this post Link to post Share on other sites
philippj 103 Posted November 7, 2018 You have some options for doing this. (All require you to have an auto start/restart script) 1. Windows Tasks to automatically kill your server at certain times 2. Install BEC and setup the scheduler 3. Other tools that can issue a server restart Share this post Link to post Share on other sites
Atnas666 6 Posted November 7, 2018 Hi thanks for the reply. I tried BEC with peoples scripts and followed readme but just did not work Share this post Link to post Share on other sites
philippj 103 Posted November 7, 2018 1 hour ago, Atnas666 said: Hi thanks for the reply. I tried BEC with peoples scripts and followed readme but just did not work Have you tried following this guide? Share this post Link to post Share on other sites
Atnas666 6 Posted November 7, 2018 yeah thats the one i tried. Came up with error battle eye not running if i remember right Share this post Link to post Share on other sites
Atnas666 6 Posted November 8, 2018 OH seems i got it working this time with above method, Ill be back if it all fails lol, Thanks Share this post Link to post Share on other sites
Atnas666 6 Posted November 8, 2018 Haha nope not working lol This is the video of what it does, I get no in game messages or a restart. Share this post Link to post Share on other sites
Atnas666 6 Posted November 8, 2018 And here is the schedule <?xml version="1.0" encoding="UTF-8" standalone="true"?> -<Scheduler> <!-- Repeating messages every 15 minutes --> -<job id="0"> <time>000900</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>1</loop> <cmd>say -1 Welcome PLay Nice</cmd> <cmdtype>0</cmdtype> </job> -<job id="1"> <time>001800</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>1</loop> <cmd>say -1 Say HI</cmd> <cmdtype>0</cmdtype> </job> -<job id="2"> <time>004500</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>1</loop> <cmd>say -1 This server restarts every 3 hours</cmd> <cmdtype>0</cmdtype> </job> <!-- End repeat messages --> <!-- 06:00 restart --> -<job id="3"> <time>05: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="4"> <time>05: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</cmd> <cmdtype>0</cmdtype> </job> -<job id="5"> <time>06: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> <!-- End 06:00 restart --> <!-- 09:00 restart --> -<job id="6"> <time>08: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="7"> <time>08: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</cmd> <cmdtype>0</cmdtype> </job> -<job id="8"> <time>09: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> <!-- End 09:00 restart --> <!-- 12:00 restart --> -<job id="9"> <time>11: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="10"> <time>11: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</cmd> <cmdtype>0</cmdtype> </job> -<job id="11"> <time>12: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> <!-- End 12:00 restart --> <!-- 15:00 restart --> -<job id="12"> <time>14: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="13"> <time>14: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</cmd> <cmdtype>0</cmdtype> </job> -<job id="14"> <time>15: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> <!-- End 15:00 restart --> <!-- 18:00 restart --> -<job id="15"> <time>17: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="16"> <time>17: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</cmd> <cmdtype>0</cmdtype> </job> -<job id="17"> <time>18: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> <!-- End 18:00 restart --> </Scheduler> Share this post Link to post Share on other sites
philippj 103 Posted November 8, 2018 (edited) You put a domain name or localhost as ip value. BEC doesnt support that Edited November 8, 2018 by philippj Share this post Link to post Share on other sites
Atnas666 6 Posted November 8, 2018 i have changed that to actual ip has not made a difference :( Share this post Link to post Share on other sites
philippj 103 Posted November 8, 2018 Just now, Atnas666 said: i have changed that to actual ip has not made a difference :( Still the same issue? Share this post Link to post Share on other sites
philippj 103 Posted November 8, 2018 (edited) 28 minutes ago, Atnas666 said: yep :( There is an "#ADD YOUR IP" behind your ip address in the configuration file. Remove that Edited November 8, 2018 by philippj Share this post Link to post Share on other sites
Atnas666 6 Posted November 8, 2018 https://www.dropbox.com/s/4ntbkavgl48gfjc/Battleye.zip?dl=0 here is a copy my folder. If you have a chance and don't mind i would really appreciate it if you take a look Share this post Link to post Share on other sites
philippj 103 Posted November 8, 2018 [Bec] Ip = 81.102.82.49 #ADD YOUR IP. Port = 2302 Remove the "#ADD YOUR IP" and you should set a new RCon password since you uploaded your current one Share this post Link to post Share on other sites
Atnas666 6 Posted November 8, 2018 duh lol Now i get https://ibb.co/duhcvA Share this post Link to post Share on other sites
Atnas666 6 Posted November 8, 2018 ok so changing it back to local ip works to a certain agree Bec, Arma2 Server Tool V.1.496 Copyright (C) by Stian Mikalsen Email : stianmikalsen@hotmail.com Web : http://www.ibattle.org Remember to donate for more great updates! --------------------------------------------- 20:14:08 : Checking for new Bec version... 20:14:08 : Requesting login on 192.168.1.224:2302 20:14:13 : RCon admin #0 (192.168.1.224:57227) logged in 20:14:13 : RCon admin #1 (192.168.1.224:57228) logged in 20:14:13 : RCon admin #1: (Global) Initializing Bec 20:14:13 : Player #0 Bicketybam (203.206.242.30:2304) connected 20:14:14 : Player #0 Bicketybam - BE GUID: 9dc551305e2c3318f0efb457d3c19e93 20:14:15 : Could not check for updates! Share this post Link to post Share on other sites
Atnas666 6 Posted November 8, 2018 So im now seeing bec say messages from the file.. on the bec screen (server) But no 1 see's them in the game Share this post Link to post Share on other sites
philippj 103 Posted November 8, 2018 15 minutes ago, Atnas666 said: So im now seeing bec say messages from the file.. on the bec screen (server) But no 1 see's them in the game BI set the default value for displaying server values to false. Your players have to manually enable them again. 1 Share this post Link to post Share on other sites
EinfachRobin_ 2 Posted November 8, 2018 1 minute ago, philippj said: BI set the default value for displaying server values to false. Your players have to manually enable them again. Do you know how to add the messages when a players joins the server? I think it was called motd or something similar. Share this post Link to post Share on other sites
philippj 103 Posted November 8, 2018 Just now, EinfachRobin_ said: Do you know how to add the messages when a players joins the server? I think it was called motd or something similar. MOTD=Message of the day => Messages being displayed in an interval after the player has joined (Done via server configuration) Player announcements => Sent to all players when player connects (RCON tools) Welcome messages => Private message when player has connected (RCON tools) Sooo. Which one? Share this post Link to post Share on other sites
Atnas666 6 Posted November 10, 2018 thanks for all your help @philippj Could ask u another question off of this topic. Would you know where persistent settings are on the server. Server restarted last night as expected thanks to you. But ada4x4 we had parked next to us has vanished? any thoughts? Share this post Link to post Share on other sites
philippj 103 Posted November 10, 2018 48 minutes ago, Atnas666 said: thanks for all your help @philippj Could ask u another question off of this topic. Would you know where persistent settings are on the server. Server restarted last night as expected thanks to you. But ada4x4 we had parked next to us has vanished? any thoughts? DayZServer\mpmissions\dayzOffline.chernarusplus\db\economy.xml Modify dynamic, building and vehicles to your liking Share this post Link to post Share on other sites
Atnas666 6 Posted November 10, 2018 (edited) <economy> <dynamic init="1" load="1" respawn="1" save="1"/> <animals init="1" load="0" respawn="1" save="0"/> <zombies init="1" load="0" respawn="1" save="0"/> <vehicles init="1" load="1" respawn="1" save="1"/> <randoms init="0" load="0" respawn="1" save="0"/> <custom init="0" load="0" respawn="0" save="0"/> <building init="0" load="0" respawn="0" save="0"/> <player init="1" load="1" respawn="1" save="1"/> </economy> Edited November 10, 2018 by Atnas666 Share this post Link to post Share on other sites