Jump to content
Sign in to follow this  
nuxil

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

Recommended Posts

hehe you made my day!

i can. but thats something i will not spend time on implementing.

if you want something to create vehicles and stuff. i suggest you look into some admin consoles or make your own.. signe it with your own private key and put it on your server.

Edited by nuxil

Share this post


Link to post
Share on other sites

hello,

our team use the bec console.

I'd like to know if there is a possibility in script to check if a player is BEC admin ?

thx

Share this post


Link to post
Share on other sites

No. bec has no api to talk to the game script engine. and most likely never will.

i have thought about making a extension for arma where a namedpiped was used to communicated between bec and the mission. but since the script engine in arma is too easy to exploit, i droped this idea.. you could always check which admins are on by using the command "!ainf" or whatever you have called it.

Share this post


Link to post
Share on other sites

Hi there,

i've tried to configure B.E.C. as you describe in your Documentation, but i will get always the message:

Login failed : Wrong password!

after that i've added the following Sentence to my Config.cfg file:

[bec]

...

Password = xxxxxxx

...

But still i get the error Message that this is the Wrong Password. I tried the inGame Login Password, the RCon Password, do somewhere else another exist i am didn't aware off?

Share this post


Link to post
Share on other sites

Use the online docs,, the readme file may be outdated in some areas..

http://ibattle.org/install-and-configure/configure/

you dont use Password in the config file. it been replaced by BePath.

Minimal Config Example

[bec]

Ip = 127.0.0.1

Port = 2302

BePath = c:\foo\bar\Battleye

LogDir = Server1

Admins = Admins.xml

Commands = Commands.xml

Edited by nuxil

Share this post


Link to post
Share on other sites

Hi guys, need help for this configurations.

I can not run the BEpatch

I created the file, set up.

As specified below:

BEServer.cfg

RConPassword mypass

My start script

@echo off
echo ArmA Restart Script
:TOP
echo Starting Server
start /wait Expansion\beta\arma2oaserver.exe -mod=EXPANSION\beta;EXPANSION\beta\Expansion;EXPANSION;ca;@dayz;@hive -name=cfgdayz -config=cfgdayz\server.cfg -cfg=cfgdayz\arma2.cfg -profiles=cfgdayz -BEpath=C:\Steam\steamapps\common\arma 2 operation arrowhead\cfgdayz\BattlEye -world=Chernarus -exThreads=1 -cpucount=2 -port=2402 -netlog -malloc=tbb4malloc_bi
echo Restarting Server!
goto TOP

I do not really know what to do here, because I see it right.

Thanks for help!

Share this post


Link to post
Share on other sites

New update available : Version 1.420 !! Thx nuxil !!

@ WoODoO: I think your problem is not BEC related. But here is our ACE2 + Lingor server script this works perfectly. Use it to compare it with your config and maybe you'll find your problem? Also remove the -world-=whatever and other params that are clienside only to see if that solves anything.

@echo off

echo Starting: c:\program files (x86)\bohemia interactive\arma 2\expansion\beta\arma2oaserver.exe

echo From: c:\program files (x86)\bohemia interactive\arma 2

echo With params: -port=2309 -config=serCOACE.cfg "-mod=expansion\beta;expansion\beta\expansion;@CBA_A2;@CBA_OA;@CBA;@ACE;@ACEX_SM;@ACEX;@brg_africa;@ibr_plants;@MBG_Buildings2;@csj_snake;@chn_crocodile;@ibr_lcivilians;@Lingor;@ACEX_RU;@ACEX_USNavy"

cd /D "c:\program files (x86)\bohemia interactive\arma 2"

"c:\program files (x86)\bohemia interactive\arma 2\expansion\beta\arma2oaserver.exe" -port=2309 -config=serCOACE.cfg "-mod=expansion\beta;expansion\beta\expansion;@CBA_A2;@CBA_OA;@CBA;@ACE;@ACEX_SM;@ACEX;@brg_africa;@ibr_plants;@MBG_Buildings2;@csj_snake;@chn_crocodile;@ibr_lcivilians;@Lingor;@ACEX_RU;@ACEX_USNavy"

Edited by larsiano

Share this post


Link to post
Share on other sites

Was putting in a PM to Nuxil for the [Reporting] Ban Account to use for my newly installed BEC service for my DayZ Servers... then realized I needed at least a 2 post count to send the request PM to Nuxil. So rather than PM spam some other people, or the forum, I figured I'd keep it in the thread.

So far so good on this install/setup... just took about 30 minutes.

Share this post


Link to post
Share on other sites

Was putting in a PM to Nuxil for the [Reporting] Ban Account to use for my newly installed BEC ...

Yeah. forum setup. I'll guess its to reduce the number of spammers.

i'll send you info on what to do to enable the Reporting function.

Share this post


Link to post
Share on other sites

New version available. 1.43

Changelog

*** V 1.43 ***
- Security: Bec will no longer be able to run from inside the server directory due to recurity reasons
- Security: Warn on starup if the admin file is pointed to the server directory/subdir..
- Security: Warn on starup if the command file is pointed to the server directory/subdir..
- Fixed: Minor bug in flood control..
- Fixed: if arguments to !sht (shutdown) was misspelled. "abort & info" the server would instant shutdown.
- Added: Scheduler system. define schedules : http://ibattle.org/install-and-configure/setting-up-the-scheduler/

mainly the new feature is the scheduler system.

it can be used to do timed shutdowns, run loadscript at intervals, run writebans at intervals to remove expired bans,

used as a motd system, having diffrent motd run at different time interval, run external stuff through a bat/cmd file. etc etc.

if you want to create schedules. read the online docs about it: http://ibattle.org/install-and-configure/setting-up-the-scheduler/

Edited by nuxil

Share this post


Link to post
Share on other sites

Download link gives us a

Sorry, it seems you were trying to access a page that doesn't exist.

Please check the spelling of the URL you were trying to access and try again.

Share this post


Link to post
Share on other sites

Hello,

we have installed this tool today on our servers.

The BEServer.cfg is in the expansion/battleeye dir, also wie have verifiyed it and the admins too.

So now when we want to login over the Arma2 RCon 1.8.3 it say "Could not connect"

Are there something we have made wrong?

Share this post


Link to post
Share on other sites

not sure what you meant by

So now when we want to login over the Arma2 RCon 1.8.3 it say "Could not connect"

you dont log into bec with other rcons.

but if you get "Could not connect" with the Arma2 RCon 1.8.3 tool, its most likely that your server is using the wrong BEServer.cfg

check your mod line of the server. if you see something called -profiles=C:\somedir go to c:\somedir\Battleye and edit/create the BEServer.cfg file

or if it has -bepath=C:\somepath do same here.

you can also check out the wiki http://community.bistudio.com/wiki/BattlEye

Share this post


Link to post
Share on other sites
@Donny:

-This is the BEC department not the RCon dep.!

-Make sure BE is running and you can access it with a password > How to

-Make sure the BEC runs your config: shortcut link: "C:\Program Files (x86)\Bohemia Interactive\BEC\Bec.exe" -f yourserverconfig.cfg ,it has a password setup and is pointed to the right folder

Tip: Scheduler = Scheduler.xml is not yet in the example config. but i was able to find on the 'Configure Bec' page.

question: Is there an easy way to start B.E.C. with the A2 server true a script of some kind etc.?

Share this post


Link to post
Share on other sites

Thank you, will try it out :)

We thought that we can use Rcon to login, but it seems like we have to be on the server right?

Share this post


Link to post
Share on other sites
question: Is there an easy way to start B.E.C. with the A2 server true a script of some kind etc.?

i think you can use a bat script.

im not a expert on bat. but heres a quick and dirty methode

create a dir. E.g A2startup

make a shortcut for you arma server into the directory

make a shortcut for your bec into the directory

create a bat file. E.e startup.bat.

put this in it.

@echo off
start "" "server.lnk"
start "" "bec.lnk"

Share this post


Link to post
Share on other sites

What exactly does this mean as I cannot get the latest build running. When I move the executable out of the directory I have setup and try to start it up with -f nothing happens.

Error :: For security reasons Bec will not work from inside the server directory

.

You need to move Bec out from the server directory for it to be operational.

BEC is currently setup as c:\BEC

Share this post


Link to post
Share on other sites

i have same problem, looks like we need new hotfix :)

Share this post


Link to post
Share on other sites

sorry guys. I made a mistake in the code

will fix it asap

only workaround for now is e.g. c:\tools\bec\

Share this post


Link to post
Share on other sites

Workaround is not working for me :(

Share this post


Link to post
Share on other sites

You know what would be cool, if you could make commands and be able to set a group that all players can use, for example group @

Share this post


Link to post
Share on other sites

I dont know if the following error both our ArmA2 and Combined Ops. had this morning are related:

Both servers run on the same machine but BEC crashed at two different but almost identical times 07:39 & 07:24 with latest version (Bec, Arma2 Server Tool V.1.430)! After i restarted the BEC tool it has run fine for the rest of the day!

Arma2 crash:

07:39:25 : Verified GUID (f199245f9c516526453e647b4f929865) of player #0 SebasUnhandled error in Deferred:

Unhandled Error

Traceback (most recent call last):

File "twisted\internet\base.pyo", line 1169, in run

File "twisted\internet\base.pyo", line 1178, in mainLoop

File "twisted\internet\base.pyo", line 800, in runUntilCurrent

File "twisted\internet\task.pyo", line 215, in __call__

--- <exception caught here> ---

File "twisted\internet\defer.pyo", line 134, in maybeDeferred

File "Bec.py", line 2763, in sendqueue

File "Bec.py", line 2791, in sendCmd

File "Bec.py", line 2804, in sendData

File "twisted\internet\udp.pyo", line 167, in write

socket.error: [Errno 10022] An invalid argument was supplied

Unhandled error in Deferred:

Unhandled Error

Traceback (most recent call last):

File "twisted\internet\base.pyo", line 800, in runUntilCurrent

File "twisted\internet\task.pyo", line 217, in __call__

File "twisted\internet\defer.pyo", line 312, in addErrback

File "twisted\internet\defer.pyo", line 290, in addCallbacks

--- <exception caught here> ---

File "twisted\internet\defer.pyo", line 551, in _runCallbacks

File "twisted\internet\task.pyo", line 212, in eb

exceptions.AttributeError: 'NoneType' object has no attribute 'errback'

CO crash:

07:24:27 : Player #0 U×ivatel (85.70.171.232:16668) connectedUnhandled error in Deferred:

Unhandled Error

Traceback (most recent call last):

File "twisted\internet\base.pyo", line 1169, in run

File "twisted\internet\base.pyo", line 1178, in mainLoop

File "twisted\internet\base.pyo", line 800, in runUntilCurrent

File "twisted\internet\task.pyo", line 215, in __call__

--- <exception caught here> ---

File "twisted\internet\defer.pyo", line 134, in maybeDeferred

File "Bec.py", line 2763, in sendqueue

File "Bec.py", line 2791, in sendCmd

File "Bec.py", line 2804, in sendData

File "twisted\internet\udp.pyo", line 167, in write

socket.error: [Errno 10022] An invalid argument was supplied

Unhandled error in Deferred:

Unhandled Error

Traceback (most recent call last):

File "twisted\internet\base.pyo", line 800, in runUntilCurrent

File "twisted\internet\task.pyo", line 217, in __call__

File "twisted\internet\defer.pyo", line 312, in addErrback

File "twisted\internet\defer.pyo", line 290, in addCallbacks

--- <exception caught here> ---

File "twisted\internet\defer.pyo", line 551, in _runCallbacks

File "twisted\internet\task.pyo", line 212, in eb

exceptions.AttributeError: 'NoneType' object has no attribute 'errback'

Edited by larsiano

Share this post


Link to post
Share on other sites

I'm not able to get the new version working either; I've tried putting the BEC folder pretty much in every location possible.

Is there something else I should be moving 'out of the server directory'? I never had BEC in there to begin with though...

Share this post


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

×