Jump to content
Sign in to follow this  
nuxil

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

Recommended Posts

I am getting a python error when trying to start up BEC on my new dedicated server.

C:\BEC>bec.exe -f config.cfg
Traceback (most recent call last):
 File "Bec.py", line 4341, in <module>
 File "Bec.py", line 4336, in Main
 File "Bec.py", line 4330, in startReactor
 File "Bec.py", line 2820, in __init__
 File "Bec.py", line 493, in __init__
AttributeError: 'bool' object has no attribute 'split'

Here is the most basic config.cfg file I put together when trying to get it going for the first time.

[bec]
Ip = 127.0.0.1
Port = 2302
BePath = C:\epoch_server\instance_11_Chernarus\BattlEye
Admins = Admins.xml
Commands = Commands.xml

I moved all the included plugin directories from the from the plugins folder thinking that might have been the issue but still no luck. I'm running on a Hyper-V server Running Windows Server 2008 Standard R2. Anyone have any ideas?

Share this post


Link to post
Share on other sites

Make sure you have all prerequisite requirements.

Quote Ibattle.org

Requirement(s)

Arma2 or OA or CO or Arma3 Dedicated server running on Windows.

You might also need Microsoft Visual C++ 2008 Redistributable Package.

Share this post


Link to post
Share on other sites

Well I'm definitely running on windows and it is an ARMA 2 CO server which is up and running with BE and RCON enabled as I am looking at it through an RCON tool from my desktop right now.

I have the C++ 2008 redist installed, which I didn't previously (before this error) and it gave something about a VC90 side-by-side error.

This is some sort of python error that I suspect has to do with running on Windows Server 2008 R2, because it is running in an Hyper V VPS, or because this is all being run over remote desktop.

Make sure you have all prerequisite requirements.

EDIT:

I found I had a copy of 1.58 sitting in my download directory. I copied that over to a new directory on the server and it works fine so there is some change between 1.58 and 1.592 that appears to be causing the error.

Edited by Phyrstorm
Further testing

Share this post


Link to post
Share on other sites

Im sorry about it. i forgot to include a check on a setting.

The error is caused by IgnoreChatChars settings.

I'll put up a quick hotfix for it.

meanwhile just have your as IgnoreChatChars = £

Share this post


Link to post
Share on other sites

Hi Nuxil

Come across some strange things lately and the past month but not very frequent ( names have been changed to protect )

In the belog i find this

09:36:19 : kick was issued by admin : happy

09:36:19 : Player #1 example ( edited to protect <guid no >) has been kicked by BattlEye: Admin Kick (Admins Decision!)

which would tell me that happy kicked the person

if I look in the chat log i find this

09:36:19 : Side: mod3: !kick example

This would tell me that happy did not kick him but an admin called mod3 or did happy kick him ?

Now looked further and yes we had a admin mod3 on the server that kicked him, but what i am asking is why is the logs telling me that happy kicked him ?

Share this post


Link to post
Share on other sites

Hey ballou

I might be able to answer this,

What comes to mind is that in Admins.xml the name of admin mod3 might be happy.

Share this post


Link to post
Share on other sites

So I had a quick question regarding BEC. It may have been answered before but I still don't understand.

I'm running BEC on a DayZ server. It works great, I love it, etc.

Sometimes when I am ingame, I would like to use the !say command to make sure everyone sees the message I'm broadcasting.

Now the best way I've seen to do this is to go to Global Chat, and type !say Message blah blah here.

When I do this, it shows a double copy of the message, which I don't want. I don't want people to know who typed the message. It looks like this:

BLUFOR: Me: !say Everyone meet at Cherno in 10 minutes!

BattlEye Global: Admin: Everyone meet at Cherno in 10 minutes!

Or something like that. Is there a way to only show the second message? Like only show the red battleye message without everyone knowing who typed it?

I have seen other people do it, I just never asked how.

Thanks.

Share this post


Link to post
Share on other sites

ballou i never seen this before. i find it verry strange. can you email me the logs both chat and belog. i'd like to take a closer look at it.

a few lines of the logs dosent help me much here.

rocky123xo the say command is a command i implemented by request. and to be honest. i find it stupid to use ingame.

there is no way to prevent it from showing up double. well. to do that you need to use another Rcon.

only tip i can give you is to find a friend ingame and use the driect chat. this way only you and your friend will see the message twise.

Share this post


Link to post
Share on other sites
the say command is a command i implemented by request. and to be honest. i find it stupid to use ingame.

there is no way to prevent it from showing up double. well. to do that you need to use another Rcon.

only tip i can give you is to find a friend ingame and use the driect chat. this way only you and your friend will see the message twise.

So using an Rcon tool such as DaRT should work?

Thank you.

Share this post


Link to post
Share on other sites

Sup@hKing

What comes to mind is that in Admins.xml the name of admin mod3 might be happy.

This was the first port of call i checked to see if they possibly changed there name no joy

nuxil have emailed you both chat and belog for that day

Share this post


Link to post
Share on other sites

ok, thanks.

maybe some delay but nothing received yet tho.

Share this post


Link to post
Share on other sites

Hello I have a problem with the BEC, when I run it with the -f Config.cfg target it runs until it says "Bec is running latest version 1.595" and it closes himself doing nothing.

Share this post


Link to post
Share on other sites

well. thats not much to go on..

can you check your Logs ?

in Bec\Log\XX\BeLog\Be_2014_mm_dd.log do you see.

xx:xx:xx : Rcon client logging in

xx:xx:xx : RCon admin #X (IP:PORT) logged in

xx:xx:xx : ...

xx:xx:xx : ...

xx:xx:xx : Closing socket & exiting!

??

can you verify with other Rcon's that you are able to login and keep a stable connection ?

check your log file in Bec\Log\XX\ Error\BecError_2014-mm-dd.log.

see if there is any errors produced.

Are you running some misconfigured scheduler setup ?

Are you running some custom plugin that causes it to shutdown?

Edited by nuxil

Share this post


Link to post
Share on other sites
well. thats not much to go on..

can you check your Logs ?

in Bec\Log\XX\BeLog\Be_2014_mm_dd.log do you see.

xx:xx:xx : Rcon client logging in

xx:xx:xx : RCon admin #X (IP:PORT) logged in

xx:xx:xx : ...

xx:xx:xx : ...

xx:xx:xx : Closing socket & exiting!

??

can you verify with other Rcon's that you are able to login and keep a stable connection ?

check your log file in Bec\Log\XX\ Error\BecError_2014-mm-dd.log.

see if there is any errors produced.

Are you running some misconfigured scheduler setup ?

Are you running some custom plugin that causes it to shutdown?

Yes here is the log from the BeLog Folder

http://pastebin.com/8qLnF50h

And there is nothing in the error folder. And by the way, if I dont run it with that target it says "missing -f switch, need a config file to startup" (and the config file it is where it should be).

I didn't edited the scheduler.

And I didnt added Addons, all files are the same as downloaded.

I've connected with the DarT Rcon succesfully.

Share this post


Link to post
Share on other sites

i see its not connecting at all..

verify that the settings in your config are correct. evt. try using the --dsc flag

also it could be a corrupt download you got.

Share this post


Link to post
Share on other sites

Hello can some please help. my server crashed and I was using the BECLOOP to see the chat in the game.

I get these errors when I run it says

BEC "ERROR :: BE Bans.txt does not exsist

how can I fix this? I tried to add a bans file and bans.txt in there it aint work still asking for a bans.txt

Share this post


Link to post
Share on other sites

simply create a new bans file in the directory where BePath is pointing to.

Share this post


Link to post
Share on other sites

Hey Guys,

I am trying to setup my Scheduler.xml. I am trying to restart my server twice a day, 3am and 3pm. I have them counting down to the restart which is working, but the server is not restarting. The last 2 jobs I have are #shutdown and #restart. Any ideas?

Share this post


Link to post
Share on other sites

without looking at your file its hard to tell what the issue is like. double check job ids.

example:

<Scheduler>

<job id="0">

<time>03: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>

<job id="1">

<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>

<job id="2">

<time>02:55:00</time>

<delay>000000</delay>

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

<loop>0</loop>

<cmd>say -1 restarting in 5 min</cmd>

<cmdtype>0</cmdtype>

</job>

<job id="3">

<time>14:55:00</time>

<delay>000000</delay>

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

<loop>0</loop>

<cmd>say -1 restarting in 5 min</cmd>

<cmdtype>0</cmdtype>

</job>

</Scheduler>

post your file if you still have issues..

Share this post


Link to post
Share on other sites
without looking at your file its hard to tell what the issue is like. double check job ids.

example:

<Scheduler>

<job id="0">

<time>03: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>

<job id="1">

<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>

<job id="2">

<time>02:55:00</time>

<delay>000000</delay>

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

<loop>0</loop>

<cmd>say -1 restarting in 5 min</cmd>

<cmdtype>0</cmdtype>

</job>

<job id="3">

<time>14:55:00</time>

<delay>000000</delay>

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

<loop>0</loop>

<cmd>say -1 restarting in 5 min</cmd>

<cmdtype>0</cmdtype>

</job>

</Scheduler>

post your file if you still have issues..

Ops, ya forgot to post the file http://pastebin.com/ExuK4Z0S

Share this post


Link to post
Share on other sites

i dont see any #shutdown in your file. #restart will only restart current mission, not the server.

you have to use #shutdown to restart the server or use a external bat script.

Share this post


Link to post
Share on other sites
i dont see any #shutdown in your file. #restart will only restart current mission, not the server.

you have to use #shutdown to restart the server or use a external bat script.

Does #shutdown need to go before #restart?

Share this post


Link to post
Share on other sites

if you want to restart the server there is no need to use #restart. as i said #restart will only restart current mission, not the server.

Share this post


Link to post
Share on other sites
if you want to restart the server there is no need to use #restart. as i said #restart will only restart current mission, not the server.

OK I got it. Thanks again

---------- Post added at 01:42 ---------- Previous post was at 00:22 ----------

OK I got it. Thanks again

btw When Battleye scrolls on the screen, it is in White Color, is there a way to change it to Red Color?

Share this post


Link to post
Share on other sites

No. sorry you cant do that anymore. red is system and error messages.

Share this post


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

×