Jump to content
Sign in to follow this  
nuxil

B.E.C. "Battleye Extended Controls" - Admin Tool

Recommended Posts

BEC scheduler is broken for me. I think changing the timezone somehow fucked up BEC?

Share this post


Link to post
Share on other sites

Everything is working fine for us and we even us our TcAdmin suite to manage BEC. Scheduler works fine to.

Share this post


Link to post
Share on other sites

Sorry all for the delay with the update.

Since so many had problems with the path checking done in bec, its been removed and should no longer cause that issue.

So for your own security . you should not have bec located in your server directory..

Ther was also a BE update. Bec version < 1.44 will not work properly with the new BE update.

so everyone who uses bec needs to upgrade to 1.44 for Bec to work properly.

Also a sidenote. for thouse who had the scheduler system running. you need to update your xml file. a new tag has been added. <day></day>

read the "Setting up the scheduler" page for more info on the new tag.

@ larsiano. i cant reproduce that. any ideas when/how it happens ?

@ zamani532. if you change the time on the server after bec has been started. you willl "fucke up" the schedular.

@ Alderman. not entierly true. everything might seems ok. but they are not.

Share this post


Link to post
Share on other sites

I am trying to get BEC working and it is just getting stuck at "Requesting login on 127.0.0.1:2302"

I have tried using the external IP.

This is my config:

[bec]
Ip = 127.0.0.1
Port = 2302
BePath = C:\Program Files (x86)\Steam\steamapps\common\arma 2 operation arrowhead\ANZ10\BattlEye\
LogDir = ANZ10
Admins = Admins.xml
Commands = Commands.xml

# Optional
[Misc]
ServerExeName = arma2oaserver.exe
NickFilterFile = BadNames.txt
WordFilterFile = BadWords.txt
Color = 0c
Timeout = 180
FloodControl = -1
KickLobbyIdlers = 300
Scheduler = Scheduler.xml

I am using version 1.44 of BEC.

Share this post


Link to post
Share on other sites

check that its not blocked by the firewall

btw,

FloodControl = -1 will not disable it. -1 is same as 1

so to disable it do.

FloodControl = 0

or

#FloodControl = N

or just remove the hole line from the config

Edited by nuxil

Share this post


Link to post
Share on other sites

It isn't a firewall issue I am able to access it using other remote RCON applications however I have managed to now get it to show "Login Failed: Wrong Password!".

Share this post


Link to post
Share on other sites

make sure that the BePath is pointing to the correct Battleye directory.

if it is pointing to the correct directory. make sure there is no extra spaces on the line that says rconpassword.

like:
RConPassword password
not 
RConPassword       password

Share this post


Link to post
Share on other sites

It all looks fine.

Path:

BePath = C:\Program Files (x86)\Steam\steamapps\common\arma 2 operation arrowhead\ANZ10\BattlEye\

BEServer.cfg:

RConPassword XXXX
MaxPing 180

*edit*

Worked it out. There was a space at the end. Thank you for the tip :)

Share this post


Link to post
Share on other sites

Hi I install BEC and it works great thank you. Now i want to use the scheduler function but i need help. I want to restart the server maybe every 8hours and before i want to warn the player on the Server.

Have anyone a working Scheduler.xml and restart script? I think it will be easier for me wenn i see it.

Thanks guys.

Share this post


Link to post
Share on other sites

You should set up both the server and bec to run as a service. and autorestart upon exit/shutdown.

if you already have that you can do something like this.

<?xml version="1.0"?>

<Scheduler>

<!-- INTERNAL COMMANDS -->

<job id="0">

<time>475</time>

<day>1,2,3,4,5,6,7</day>

<loop>0</loop>

<cmd>say -1 Server will Auto restart in 5 min</cmd>

<cmdtype>0</cmdtype>

</job>

<job id="1">

<time>479</time>

<day>1,2,3,4,5,6,7</day>

<loop>0</loop>

<cmd>say -1 Server will Auto restart in 1 min</cmd>

<cmdtype>0</cmdtype>

</job>

<job id="2">

<time>480</time>

<day>1,2,3,4,5,6,7</day>

<loop>0</loop>

<cmd>#shutdown</cmd>

<cmdtype>0</cmdtype>

</job>

</Scheduler>

If you do not run the server and bec as a service you can create a simple bat script and run it as a external command from the scheduler file.

<?xml version="1.0"?>

<Scheduler>

<!-- INTERNAL COMMANDS -->

<job id="0">

<time>475</time>

<day>1,2,3,4,5,6,7</day>

<loop>0</loop>

<cmd>say -1 Server will Auto restart in 5 min</cmd>

<cmdtype>0</cmdtype>

</job>

<job id="1">

<time>479</time>

<day>1,2,3,4,5,6,7</day>

<loop>0</loop>

<cmd>say -1 Server will Auto restart in 1 min</cmd>

<cmdtype>0</cmdtype>

</job>

<job id="2">

<time>480</time>

<day>1,2,3,4,5,6,7</day>

<loop>0</loop>

<cmd>C:\path\to\resart.bat</cmd>

<cmdtype>1</cmdtype>

</job>

</Scheduler>

then use a bat script something like this one.

@echo off

:: note - this shouls not be used on a server running multiple servers.

taskkill /im arma2oaserver.exe

timeout 1

:: do something here,, example move logs

:: start the server..

set server="C:\Program Files (x86)\Steam\steamapps\common\arma 2\arma2oaserver.exe"

set cfg="-cfg=C:\Server-1\arma2oa.cfg"

set config="-config=C:\Server-1\serveroa.cfg"

set profiles="-profiles=C:\Server-1"

set port="-port=2302"

::set bepath="-bepath=C:\Beconfig"

::set mod="-mod=@somemod;@anothermod"

start "" %server% %cfg% %config% %profiles% %port%

timeout 3

:: start bec

set becpath="C:\ServerTools\Bec\"

cd /d %becpath%

start "" "bec.exe" -f Server1.cfg

ofcource you need to experiment a little with this.

hope it get you going.

Share this post


Link to post
Share on other sites

@nuxil thank you it works great but i have a one more Problem :)

I connect to the Server and BEC see that i am a Admin but wenn i say !info or !sht. It nothing happens. What make i wrong?

Share this post


Link to post
Share on other sites

Okay it is a Day Z Server and with the last patch you only have Groupe Channel, Direkt Channel and the Vehicel Channel.

Share this post


Link to post
Share on other sites

So is there anyway for Admins to issue commands from any channel???? Dayz dont allow you to use Side Chat or Global with the last patch.

Share this post


Link to post
Share on other sites

New version out. V1.45

Changelog

*** V 1.45 ***

- Fixed: Schedule file with none ascii chars causes errors.

- Fixed: !help will only show commands that are availeble for the group the admin is in.

- Added: Parameter DisallowPlayerNameChars. auto kick players with unwanted chars in their nick. example: [ |^m §0 (0ol ]

- Added: Parameter MaxPlayerNameLength. set max lenght of player names. min value is 3. auto kick player connecting with longer than set.

- Added: Run external bat/cmd scripts from the chatline.

- Added: Command uptime to command file. show server uptime.

- Improved: New format for time in the scheduler file. make sure to read up on it.

As usual!.. read the docs for howit it all works

if your are using the scheduler system. make sure to read up on the new way to set time

So is there anyway for Admins to issue commands from any channel???? Dayz dont allow you to use Side Chat or Global with the last patch.

Dayz is a mod for arma with its own setup and rules.

There is nothing i can do about the channels. maybe you can contact the dayz team ask if they can re-enable global/sidechat.

altho i guess you can use vanilla arma admin login to enable global chat. but this will still limit it down to one admin only.

Share this post


Link to post
Share on other sites

Thank you for applying my ideas with the scheduler.

Also global, side and commander chat is disabled by the DayZ mission. It is not allowed to edit these at all per the DayZ policy. Admins who do will end up with blacklisted servers as they are cracking down on the policy violations.

Share this post


Link to post
Share on other sites

I have downloaded the latest version, but when BEC is running and I try to use the commands in game they don't work. What could I be missing? Everything is configured correctly.

Share this post


Link to post
Share on other sites

Then something is not configured correctly. Be careful with your setup of the admins and command file. That can break it all very easily

Share this post


Link to post
Share on other sites

It does not work on DayZ as with recent patches it does not show any chats ingame so it does not catch "the commands" either.

Everything is set correctly and using scheduler to send commands works ok.

Share this post


Link to post
Share on other sites

Sorry nothing i can do about it.

its the arma patch that has fucked some things up. its not only dayz that has this issue.

all you can do is wait for next patch or rollback to a earlyer version that you know worked.

Share this post


Link to post
Share on other sites

Just come across this and tried to run it. every time i try to run it i get "Error :: did not dind BEServer file" and it closes. The BePath is valid and correct as given in the example configs it doesn't seem to want to find it though. Any ideas?

Share this post


Link to post
Share on other sites

the path may be valid. but you are missing files in the path.

double check the path and verify that its the correct one the server is using.

in your bepath you should have 2 files. BeServer.cfg and bans.txt

Share this post


Link to post
Share on other sites

Something is wrong with my BEC. I currently have BEC set up to help manage 4 of my DayZ servers. I have FireDaemon set up to run 4 BEC services for each server. Now when I start BEC up for any of the configs for one of my servers the command prompt window comes up with BEC usage commands such as -help and some other ones and then the command prompt window closes and FireDaemon starts it up again. This then endlessly loops. I can't figure out what's wrong. Any ideas?

Share this post


Link to post
Share on other sites
This then endlessly loops. I can't figure out what's wrong. Any ideas?

yes i know. you have not spesified the config files also you failed to do what was adviced in the readme file.

read the online documentation http://ibattle.org/install-and-configure

if you must. read it 2-3 times.

here is a screenshow of firedaemon

Share this post


Link to post
Share on other sites
the path may be valid. but you are missing files in the path.

double check the path and verify that its the correct one the server is using.

in your bepath you should have 2 files. BeServer.cfg and bans.txt

I have it pointing to the expansion folder in Arma OA and I dont see the BeServer.cfg. But yet I still get the error that the BEServer file is missing

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×