Jump to content
Sign in to follow this  
nuxil

B.E.C. "Battleye Extended Controls" - Admin tool for dedicated servers

Recommended Posts

it shows you with a unknown channel. why it does this im not sure.

can you see if its also shows you as unknown in other rcons.

its most likely because you are in a "unknown" channel that the commands dont work.

16:16:35 : (Unknown) Foosie: !help

should have been

16:16:35 : Global: Foosie: !help

Edited by nuxil
typos

Share this post


Link to post
Share on other sites

Ok... how doe's one get on an unknown channel? I'm not seeing any hits in Google.

Global chat is Side Channel, right?

Does BEC.exe and/or Steam need to be running as admin?

What else should I check? How do I test this in Arma3 using Altis Life mod? I'm not making any headway :(

Share this post


Link to post
Share on other sites

i dont know why you get it. "unknown".

try updating your BEServer.dll

global chat is not side chat.

global is grey|white, while side is blue.

and yes, run Bec as admin or with admin permission if you can. unless you are using --dsc startup option.

about steam. i guess it too should be run as admin, since arma3 should be.

Edited by nuxil

Share this post


Link to post
Share on other sites

I think I have it working now.

In needed to modify the description.exe file located in the mpmissions sub folder of Altis_Life.Altis. I stubbed out this line:

/* disableChannels[]={0,1,2}; */

I'm not sure which channel it needed 0,1,2 so I enabled all three. Perhaps you know what each is all used for? One of the enabled channels is a Command Channel. Not sure what is is. This is probably a Tonic question.

Anyway, thanks for your help... you lead me in the right direction.

Share this post


Link to post
Share on other sites
I think I have it working now.

In needed to modify the description.exe file located in the mpmissions sub folder of Altis_Life.Altis. I stubbed out this line:

/* disableChannels[]={0,1,2}; */

I'm not sure which channel it needed 0,1,2 so I enabled all three. Perhaps you know what each is all used for? One of the enabled channels is a Command Channel. Not sure what is is. This is probably a Tonic question.

Anyway, thanks for your help... you lead me in the right direction.

Command is 2. Check the wiki:

https://community.bistudio.com/wiki/description.ext#disableChannels

Hello nuxil, thanks for keeping up this awesome program. I am having an issue with the ScriptBan plugin. I'm using the newest version of Bec and ScriptBan from: http://ibattle.org/downloads/

The log shows ScriptBan plugin started successfully, but when I get kicked for restrictions that I have set rules for it does not ban me. Here is my reason.py:

*snip* - resolved on next page

I tried with different times of 0, 1440, 99999999999999 and -1. I also made sure to save in encoding UTF-8 and my folder structure is:

Bec\Plugins\__init__.py

Bec\Plugins\ScriptBan\__init__.py

I intentionally get myself kicked for MPEventHandler #0, but it just doesn't ban me at all. Not sure why. I've tried everything I can think of.

Thanks

Edited by ebay

Share this post


Link to post
Share on other sites

hmm, sounds strange.

you should set time to 0 if you want permban.

but anyway, can you send me the logs to: support@ibattle.org, so i can check whats goings on.

Share this post


Link to post
Share on other sites

For anyone reading the last few posts, it turns out you can not leave the server config list blank. At the top of the reason.py file you must have your config added on this line:

SERVERS = ["Config.cfg"]

The comment at the top of the file was misleading. Thanks nuxil for figuring it out! ;)

Share this post


Link to post
Share on other sites

Hi.

For me !raf and !rcf commands are not working. Also !bid and !kid works only for myself and only with standart <text></text> even if i change it in Commands.xml.

What am i doing wrong?

Share this post


Link to post
Share on other sites

Hello.

Are you using Bec V 1.601 ?

I dont know why !raf or !rcf dosent work for you.

Make sure the <cmd> tag has loadadmins & loadcommands in it and that you are in the correct group.

Altho i suggest you use the watchdog plugin instead. that plugin will auto reloade files when they get changes.

!kid & !bid should normaly not be used, you need to know the BE id of the player when using this command,.

Ie: !kid 3

So to get the id of the players use: #BeClient Players

You should avoid using !kid & !bid but rather use !kpl name or !bpl name if you can.

Also as long as the text in <text> tag for kid & bid is in ascii [a-z, 0-9] it should give you your custom text.

Share this post


Link to post
Share on other sites

Hello all,

i ha ve a small issue with my BEC annocenement in game.

I want to change the annoncement color in red but they stay in grey :'(

how to change in-game annoncement color ??

here is my config.cfg :

[bec]

Ip = XXXXXXXXXXXXXXXXXX

Port = 2302

BePath = E:\Steam\SteamApps\common\Arma 3\wasteland\BattlEye

LogDir = E:\Steam\SteamApps\common\Arma 3\wasteland

Admins = A3_Admins.xml

Commands = Commands.xml

Color = 04

ConsoleColor = 04

[Misc]

ServerExeName = arma3server.exe

color = 04

ConsoleColor = 04

ConsoleHeight = 65

ConsoleWidth = 125

Timeout = 60

KickLobbyIdlers = 500

Scheduler = Scheduler.xml

thx

Share this post


Link to post
Share on other sites

Hey, nuxil!

Are you using Bec V 1.601 ?

Yep.

Make sure the <cmd> tag has loadadmins & loadcommands in it and that you are in the correct group.

I'm pretty sure about this.

Altho i suggest you use the watchdog plugin instead.

Didn't work for me either: Error Parsing Command file. Dunno where i messed this thing up... :(

Also as long as the text in <text> tag for kid & bid is in ascii [a-z, 0-9] it should give you your custom text.

!kpl works just fine in utf-8 (russian).

I would be grateful for your help

Share this post


Link to post
Share on other sites

Hello,

i installed BEC on a windows2008 r3 server, all is working fine,

but when it add a schedule.xml i got this error.

i googled and searched the web without any luck.

can someone please help/point me the direction how to fix it.

greetings and thanks in advance.

ryker

9:39:26 : Checking for new Bec version...
19:39:30 : Connecting to Battleye server 127.0.0.1:2302
19:39:30 : Scheduling 23 tasks
19:39:30 : RCon admin #0 (127.0.0.1:62114) logged in
19:39:30 : Bec is running latest version! : 1.601
Unhandled Error
Traceback (most recent call last):
 File "threading.pyo", line 504, in __bootstrap

 File "threading.pyo", line 532, in __bootstrap_inner

 File "threading.pyo", line 484, in run

--- <exception caught here> ---
 File "twisted\python\threadpool.pyo", line 191, in _worker

 File "twisted\python\context.pyo", line 118, in callWithContext

 File "twisted\python\context.pyo", line 81, in callWithContext

 File "Lib\Bec_Scheduler.pyo", line 246, in setup

 File "apscheduler\scheduler.pyo", line 98, in start

 File "apscheduler\scheduler.pyo", line 230, in _real_add_job

 File "apscheduler\job.pyo", line 74, in compute_next_run_time

 File "apscheduler\triggers\cron\__init__.pyo", line 117, in get_next_fire_time

 File "apscheduler\triggers\cron\__init__.pyo", line 89, in _increment_field_value

exceptions.ValueError: year is out of range

Edit:

Example job that is running:

<job id="0">

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

<start>000000</start>

<runtime>000200</runtime>

<loop>0</loop>

<cmd>say -1 Scheduler active</cmd>

</job>

this one fails:

<job id="39">

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

<start>23:59:00</start>

<runtime>000000</runtime>

<loop>0</loop>

<cmd>say -1 restart in about 1 minute</cmd>

</job>

Edited by iamryker

Share this post


Link to post
Share on other sites

@ twartayeule : its not possible to change color. The color you see ingame is set by arma itself. not Bec

@ Islander : hmm. to be honest i have no idea whats causing your problem. does the error log say anything.?

@ iamryker : i never had this error myself. are you changing (Os/System) time between schedule jobs.?

Share this post


Link to post
Share on other sites
does the error log say anything.?

Error Parsing Command file :

__init__() takes exactly 2 arguments (1 given)

Share this post


Link to post
Share on other sites
Error Parsing Command file :

__init__() takes exactly 2 arguments (1 given)

Sorry for my late reply..

1st thing you need to do it fix your command file.

2nd. error i dont get,. there is too little info. are you running some plugins ?

that error should not happend when you run Bec with no plugins.

It could be that your download is corrupt ? did you verify the md5 or sha sum of the zip file you downloaded ?

Share this post


Link to post
Share on other sites

Hey,

so I see that there are two commands: loadcommands and loadadmins, that load changes to these files during server uptime (if I understand it correctly). I wonder if there is any way to do this to the whitelist file, so that you can update the whitelist without restarting BEC?

Thanks!

Share this post


Link to post
Share on other sites

1st thing you need to do it fix your command file.

It's original, so there is nothing to fix.

2nd. error i dont get,. there is too little info. are you running some plugins ?

that error should not happend when you run Bec with no plugins.

Of course. Watchdog plugin.

It could be that your download is corrupt ? did you verify the md5 or sha sum of the zip file you downloaded ?

Checked sums, dl several times.

Share this post


Link to post
Share on other sites

@Steaker you can use the watchdog plugin. it will auto-reloade the file when its changed. so you do not need to restart Bec.

@Islander I am sorry, but i am at a bit of a loss here. what i suggest you do now is make a clean install of Bec.

remove all old instance of Bec, config files, xml files etc and build them up from scratch again.

update/re-download all the plugins your are running aswell.

Share this post


Link to post
Share on other sites
@Steaker you can use the watchdog plugin. it will auto-reloade the file when its changed. so you do not need to restart Bec.

Thanks! Worked like a charm.

Share this post


Link to post
Share on other sites

If a server admin that uses the BEC banlist unbans somebody, will he get removed from all shared servers?

Share this post


Link to post
Share on other sites

Well. that depends.

Bec will not activly go and remove bans from servers when a admin sets a ban inactive on bansys.

If a player has connected to several servers during the time this ban was active, the player also needs to contact all those servers to get his ban removed from their ban file.

Let it also be said that a bansys user can set their bansys account to use inactive bans. (this is set off by default & along with manual bans).

Also if you are not in control of the ban on bansys. you can set an exception on the banned player so he be allowed onto your server but this only works for your account/server(s).

Edited by nuxil

Share this post


Link to post
Share on other sites

When using the ban commands from commands.xml or creating our own ban commands, I was under the impression that what is in the <text></text> container that it would place that in the bans.txt.

Currently, when someone bans someone using bec, BEC places the GUID in the bans.txt but nothing more.

Is this how it is suppose to work?

Share this post


Link to post
Share on other sites

Hello.

I tested out myself and noticed a small bug in the code.

If i didnt specify the _name_ or _time_ in the <text> tag it would set a empty reason.

I updated the code so this should not happen anymore.

Get version 1.604 if you dont want to use _name_ or _time_ in your <text> tag for your ban command.

Edited by nuxil

Share this post


Link to post
Share on other sites

Ever since I got BEC running on our server direct/vehicle and potentially side chat does not appear on RCon or in the logs, is this a BEC issue or something else?

Share this post


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

×