Welcome to The Forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies and more


Battle Eye Adding filters / exceptions Question.


Shadow Moses

Recommended Posts

After you add exception or filters to Battle Eye .txt files. Do I need to restart the server or just reload the scripts via RCon command ? 

 

We are trouble shooting Setvariable Script Restriction #0 or about a week now and we cannot figure out what the issue is. 

 

06.10.2015 20:50:51: - #0 "r3f_log_remorque" = 4abc0100# 1814153: hatchback_01_f.p3d 2:505 Exile_Car_Strider

 

 

 

We are setting up R3F Towing for Exile. 

 

Any help would be appreciated.

 

I posted on the Exile forums and I didn't get a single reply.

 

Am I missing something? 

Share this post


Link to post
Share on other sites

Any time I need to add any BE filters I stop the server. I use Filezilla as my FTP program to upload them. Close that down after it's done. Start my server. Then after it's refreshed and running I restart it for good measure. Never had 1 problem.

Share this post


Link to post
Share on other sites

  • 4 weeks later...

FTP into the server and go into /admin/battleye and look in setvariable.log and the last entry in that file will tell you what exactly you are getting kicked for. if you post it here so we can take a look at it. BE filters are easy once you understand them.

Share this post


Link to post
Share on other sites

  • 1 month later...

This is a short tutorial on how to fix BattlEye filters.

Scripts.log Example:

First find what type of error it was. For example, if it says: 

Defent (X) XX - #43 "To _playerUID)exitWith
{
_playerObject = _x;
};
} 
forEach allPlayers
;
_playerObject"

You simply put a \ infront of every ". So a backslash before every quotation mark. 

Then you put \n where the there is a new row. Backslash n. So it would look like this:

"To _playerUID)exitWith
\n{
\n_playerObject = _x;
\n};
\n}
\nforEach allPlayers;
\n_playerObject\"

As you can see here, I have removed my nickname, my single X which represents my IP and the XX that represents my GUID.

Now when you've done it like this, we can format it abit to make it look neater and easier to read. 

Then it would look like this:

!="To playerUID)exitWith\n{\n_playerObject = x;\n};\n} \nforEach allPlayers;\n_playerObject"

Notice how I have added != in front of the first quotation mark. This is to make this line of code an exception and make it so that it does not kick you.

How to add it to Scripts.txt

As you may have noticed, when being kicked a number is mentioned. #43 in this case. This represents the line of code you need to edit inside the scripts.txt.

However if you use the latest BattlEye filters you will have to add +2 to #43. Meaning that you will have to modify line #45!

Now open scripts.txt, find line #45 and add the exception we made above to the end of that line!

 

CreateVehicle.log Example:

Defent (X) XXX - #0 "R_TBG32V_F" 16:102 2:2956 Exile_Unit_Player [13757,19530,23] [-26,137,5]

As you can see here, I got kicked for trying to spawn an item that was not whitelisted. To white list this I would simply take the item within the quotation marks and do:

!="R_TBG32V_F"

Then open createVehicle.txt and add that to line number #2! Becase we apply the same logic here if we use new BattlEye filters. #0 + 2 = 2!

How do I know if I use new filters?

Quite simple, if the .txt file contains this on line 1 then it is new. 

//new

 

Footnote and another example:

As an example from the other thread here:

#58 "line 1 "mpmissions\__CUR_MP.Altis\VEMFclient\fn_vemfClientInit.sqf"
if (isServer) then {
uiNamespace setVariable ["vemfClientMsg"

You will have to add another quotation mark " infront and in the end of the restriction message:

!=""\mpmissions\__CUR_MP.Altis\VEMFclient\fn_vemfClientInit.sqf\"
\n
if (isServer) then {\nuiNamespace setVariable ["vemfClientMsg\""

 

How do I apply my changes?

It's simple. You save the file and you DO NOT HAVE TO RESTART your server. You can simply open the rcon tool of your choice and click "Refresh Scripts". This will refresh the scripts.txt file and the exceptions will be added. All done neatly and fast! No problems here.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...