Jump to content
  • 0

BEC


Cedricolp

Question

Hello it's me again :p, 

I need help with BEC .. so i try to make scheduler and for this i need to have BEC working on my server 

So i read some topics here , and i try dunno how much time to let him run .. no results 

Here is my Arma3server root folder

  41973644303e5db86d4459b8a14afec179cca2.j

Like you can see , i have the battleye folder and the BEC folder , but in the TADST i have a other battleye folder (i'm using TADST to lauch the server)

in the config from the BEC folder i set the PATH to my battleye folder into the Arma3 root folder 

but nothing works.. battleye is working to conect with the Rcon but not with all the rest..

i try to lauch the BEC.EXE , i got the message "waiting for the server starting up" when the server start i got the message " Looking for a update" and then BEC disapear ..

can here someone say me the exact install guide to let work BEC with TADST and that the scheduler work to ? 

maybe i'm wrong for the install ! .. so if you guyz can show me the exact install steps i will try it again 

 

Thank you verry much all of you

Link to comment
Share on other sites

24 answers to this question

Recommended Posts

  • 1

I assume that you use windows for your A3 Epoch server:

Then you just create a batch file called "whateveruwant.bat" in you A3 server root directory or wherever you want, and copy and paste this in. Of course you have to edit it for your needs:

@echo off
cls

set wat=Arma3 Epoch

title %wat% Watchdog

:watchdog
echo (%time%) %wat% started.

cd E:\Games\Arma3\A3Epoch\DB
START redis-server.exe redis.conf

cd E:\Games\Arma3\A3Epoch\
start "Epoch"  /high arma3server.exe -enableHT -mod=@Epoch; -serverMod=@EpochHive; -config=E:\Games\Arma3\A3Epoch\sc\server.cfg -port=2323 -profiles=SC -cfg=E:\Games\Arma3\A3Epoch\sc\basic.cfg -name=SC -autoinit

Timeout /t 14400

taskkill /F /IM arma3server.exe

Timeout /t 5

echo (%time%) %wat% closed or crashed, restarting.
cls
goto watchdog


14400 seconds / 60  = 240 minutes / 60 = 4 hours restart cycle

Link to comment
Share on other sites

  • 1

i gave you everything what you need but i dont write the code for you as i did already for the batch file.

Search the web how to init a arma3 variable and the dif between local and global variables. There are a lot of tutorials.

It will help you to understand those things.

Link to comment
Share on other sites

  • 0

So nobody can help me for ce BEC install ? 

battleye is working i can connect with the rcon . but alle what works with BEC like scheduler / Admins ect .. is not working

When i launch the Bec.exe is wiating for a server conection

then when the server is on he is looking for update , after 1 min he just disepear ...

 

 

Link to comment
Share on other sites

  • 0
  On 5/22/2016 at 8:17 AM, rvg?! said:

I dont use BEC, but if you just want to kill/restart your arma 3 task you could use a simple batch file or firedeamon.

Also you could read diag_ticktime/serverTime and popup messages whenever you want.

Expand  

Oh okey , can you help me with this ? sorry i'm pretty new in this :(

Link to comment
Share on other sites

  • 0

OK, 

i think i'm wrong but, where can i put what you write before ? 

i didn't see the countdown

 

  Reveal hidden contents

Realy sorry for the disturb

Link to comment
Share on other sites

  • 0

Oh 

Can i do this ? 

_players = (count playableUnits -1);

 if (_hours == 0 && _minutes == 30) then {systemChat "Server Restart in 30 minutes"};

if (_hours == 0 && _minutes == 20) then {systemChat "Server Restart in 20 minutes"};

if (_hours == 0 && _minutes == 10) then {systemChat "Server Restart in 10 minutes"};

if (_hours == 0 && _minutes == 05) then {systemChat "Server Restart in 5 minutes"};

if (_hours == 0 && _minutes == 01) then {systemChat "Server Restart in 1 minutes"};

 

and what i need to do that the message juste show it 1 time and not every 60 second like you say ?

 

Link to comment
Share on other sites

  • 0

Ok like this then ! 

  Reveal hidden contents

And now the repeat time ... i never did this before

so after if (_hours == 0 && _minutes == 1) then {systemChat "Server Restart in 1 minute"},1,true; ???

to repeat 1 time ?

 

 

Link to comment
Share on other sites

  • 0

It's a bit dificult for a newbi like me :) you are my jedi :)

so for the playestatusbat its ok like this

  Reveal hidden contents

Now i need to go into the init.statusbar.sqf to set a variable for the repeat message ? 

  Reveal hidden contents

Thats my init , where can i put it and can you pleas say me if i'm good for the moment ? 

and can you give me the variable to set ? 

like i say i learn a bit with you now and i will thank you for this again !

Link to comment
Share on other sites

  • 0

Sorry for the late answere..  I falling asleep..  

So, im sorry but I'm really booby in this 

[_halfanhour] execvm "playerbar.sqf"; is this the real code for the 30 min repeat message ? 

Sorry if I disturbe you..  

Can you say me if I'm wrong in the first code statusbar.sqf..  The code like this will work ?

And if you can help me for the ini repeat message so I can save this and try it.. 

Really sorry about that.. But you help me so much. 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...