Jump to content
  • 0
Rezusty

BE RemoteExec Restriction

Question

Hi everyone,

I'm trying to learn how to deal with Battleye filters, i've been looking at several posts but i just don't get it

Everytime I try to join my server I get kicked by the following in remotexec.log

#1 "bis_fnc_execvm [[C Alpha 1-1:1 (playername) REMOTE,true],"initPlayerServer.sqf"]"

Share this post


Link to post
Share on other sites

8 answers to this question

Recommended Posts

  • 0

Thanks for your answer but I'm still getting kicked for the same reason, by the way I can't find initPlayerServer.sqf anywhere on my server files.

Don't know if I missed it while searching or if I have to add it somewhere.

Share this post


Link to post
Share on other sites
  • 0

I didn't add anything myself to cfgRemoteExec but I added SPK_CfgRemoteExec for the ESVP mod that adds the line: #include "SPK_CFGRemoteExec.hpp"" at the end.

Here's my remoteexec.txt:

5 "" !="bis_fnc_execvm \[.+\]",\"initPlayerServer.sqf\"]" !="bis_fnc_effectkilled(airdestruction|secondaries) \[.+\]" !="epoch_server_checkplayer \[[A-Z]{1} [A-Za-z]{4,10} [0-9]{1,3}-[0-9]{1,3}:[0-9]{1,3}( \(.+\)|) REMOTE\]" !="epoch_server_(save(_vehicles|building)|(lock|pack)Storage|(upgrade|remove|paint|maint)build) \[.+\]" !="epoch_server_((load|respawn|dead|invite|revive|teleport)Player|(upgrade|updateplayer|create|delete)Group) \[.+\]" !="epoch_server_(deadplayerdetonate|triggerantagonist|playersetvariable|missioncomms|make(marker|SP)|removemarker) \[.+\]" !="epoch_server_(knockDownTree|mineRocks|lootAnimal|handle_(say3d|switchmove|sapperObjs)) \[.+\]" !="epoch_server_((repair|fill|lock)Vehicle|(loot|fill)Container|(store|take)Crypto|make(NPC|)Trade) \[.+\]" !="epoch_server_(paycrypto|tradeRequest|equippeditem|packJack|create(object|AirDrop)|airDropCrate|destroytrash|unpackBackpack) \[.+\]" !="epoch_(localcleanup|fnc_saveplayer|client_bitePlayer|serverlootobject) \[.+\]"
5 "" !"spk_fnc_esvp_logincheck" !"spk_fnc_esvp_plrcheckpos" !"spk_fnc_esvp_securetp"

And my cfgRemoteExec:

Spoiler
*
	Author: Aaron Clark - EpochMod.com

    Contributors: Andrew Gregory

	Description:
	RemoteExec whitelist for Epoch Survival gamemode. This also blacklists default A3 remoteExec commands.

    Licence:
    Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike

    Github:
    https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_config/Configs/CfgRemoteExec.hpp
*/
/*[[[cog from arma_config_tools import *; json_to_arma()]]]*/
/*
    @author = "Aaron Clark - https://EpochMod.com";
    @contributors[] = {"Andrew Gregory"};
    @description = "RemoteExec whitelist for Epoch Survival gamemode. This also blacklists default A3 remoteExec commands.";
    @licence = "Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike";
    @github = "https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_config/Configs/CfgRemoteExec.hpp";
*/
class CfgRemoteExec
{
    class Functions
    {
        mode = 1;
        jip = 0;
        class EPOCH_server_paycrypto
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_server_save_vehicles
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_server_saveBuilding
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_server_upgradeBUILD
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_server_removeBUILD
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_server_paintBUILD
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_server_maintBUILD
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_server_loadPlayer
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_server_checkPlayer
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_server_deadPlayer
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_server_destroyTrash
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_server_knockDownTree
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_server_mineRocks
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_server_lootAnimal
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_server_handle_say3D
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_server_handle_switchMove
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_client_bitePlayer
        {
            allowedTargets = 1;
            jip = 0;
        };
        class EPOCH_server_upgradeGroup
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_server_updatePlayerGroup
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_server_createGroup
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_server_deleteGroup
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_server_invitePlayer
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_server_lootContainer
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_server_revivePlayer
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_server_storeCrypto
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_server_tradeRequest
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_server_makeTrade
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_server_makeNPCTrade
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_server_takeCrypto
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_server_repairVehicle
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_server_fillVehicle
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_server_lockVehicle
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_server_equippedItem
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_server_lockStorage
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_server_packStorage
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_server_packJack
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_localCleanup
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_server_teleportPlayer
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_server_fillContainer
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_server_handle_sapperObjs
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_Server_createAirDrop
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_server_airDropCrate
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_Server_createObject
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_fnc_savePlayer
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_server_unpackBackpack
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_server_triggerAntagonist
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_server_deadPlayerDetonate
        {
            allowedTargets = 2;
            jip = 0;
        };
        class epoch_server_playersetvariable
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_spawn_vehicle
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_Server_missionComms
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_serverLootObject
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_server_makeMarker
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_server_removeMarker
        {
            allowedTargets = 2;
            jip = 0;
        };
        class EPOCH_server_makeSP
        {
            allowedTargets = 2;
            jip = 0;
        };
		
		#include "SPK_CFGRemoteExec.hpp"
    };
    class Commands
    {
        mode = 0;
    };
};

/*[[[end]]]*/

 

 

Share this post


Link to post
Share on other sites
  • 0

Add the exceptions from your second line to the end of the first line as the second 5 "" is in effect, invalidating the first one and would cause a kick for everything that you already allowed on the first line.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Content

    • By npploveyou
      Hi,
      I' using the plm script. When moving and releasing a crate, users are being kicked by SetPos #0. The log is as below:
      xxxx - #0 2:1469 USOrdnanceBox [6329,7782,306] xxxx - #0 2:535 USVehicleBox [1897,9119,289] I tried to add those box names to SetPos.txt under 5 line:
      5 !="RUVehicleBox" !="USVehicleBox" But it doesn't seem to work, users are still being kicked.
      Can you please provide some help how to add these boxes names (or actions) into BE filter?
      Thanks.
       
       
    • By XxPRkickassxX
      So I've tried many many times already to update my Battleye and nothing happens. I've uninstalled it and deleted the files and then gone to steam and verified the integrity of game files and still nothing! Whenever I try to join a game its starts downloading the mission files then I get kicked and in the bottom left side of my screen it says Server requiring Battleye version 1.239 up-to-date. I don't know what to do. This is not the first time that this has happened. In the past I used to to just be able to download it from the Battleye website but they no longer have the downloads. I'm trying to play Overwatch and Epoch. Those two mods are up to date. I've verified them like 10 times already. Maybe someone could share with me their battleye folders?
      Anyways please help and thanks in advanced!
    • By kubosov
      I'm trying to set up vanilla A3Epoch server, but whenever user join, get kicked BE with "Script restriction #23" 

      Arma3 Server:1.76.142872  (steamcmd)
      Epochhive:0.5.0.0757-0-ge16ee71 (epochmod.com)
      EpochClient:0.5.0.0 (steamcmd)
      ----
      scripts.log
      timestmp: username (ip:port)UUID - #23 "eplaced = true; }; } forEach _data; private _ehId = addMissionEventHandler [_event select [2], _code]; private _argsVarName = f" ----
      scripts.txt #23  (no changed file.)
       
      7 addItem !="{player addItemToVest _x} forEach _vestItems;" !="player addItem _item;" !="_plyr addItemToVest _missionItem;" !="axeVIP addItemToVest _item;" !="_plyr  addItemToVest _missionItem;" !="EPOCH_fnc_addItemOverflow" !="CBA_fnc_addItem" !="\\fnc_addItem" !="\"addItem" !="fnc_addItemCargo" Anyone have a fix for this?
    • By totis
      Hi
      This is a restriction to vehicle seat according to humanity.
      It may be handy to PVE servers out there.
      Special thanks to Juandayz with his fantastic skills and salival. Both sometimes working unseen for the benefit of this community.
      Step 1.
      Make a new file, Name it veh_hum.sqf with the below contents and put into dayz_epoch/addons folder. If you dont have addons just create one.
      In this example we have a hero superhero and agenthero traders with 20k/40k/60k humanity respectively. Adjust according to your needs.
       
      private ["_vehicle","_inVehicle","_driver","_humanity","_txt"]; while {true} do { _vehicle = vehicle player; _inVehicle = (_vehicle != player); if (_inVehicle) then { _driver = driver (vehicle player); if (({(isPlayer _driver) && (alive _driver)} count (crew _vehicle) > 0)) then { _humanity = _driver getVariable["humanity",0]; if (typeOf _vehicle in DZE_heroHumanity && _humanity <= 20000 || (typeOf _vehicle in DZE_superHeroHumanity && _humanity <= 40000) || (typeOf _vehicle in DZE_agentHumanity && _humanity <= 60000)) then { player action ["getOut", (vehicle player)]; titleText ["","WHITE IN"]; _txt = "<img image='addons\vehicon.paa' /><br/><t size='0.7' color='#ea2828' align='center'>prohibited vehicle</t>"; [_txt, [safezoneX, safezoneW], [0.20 * safezoneH + safezoneY, 0.3 * safezoneH], 2, 0.5] spawn BIS_fnc_dynamicText; }; }; }; sleep 3; };  Step 2: Download this file http://www.mediafire.com/file/bdpt5d96o5cttk3/vehicon.rar
      Unzip and put paa file into addons folder.
      Step 3: Edit your custom variables file    dayz_code/init/variables.sqf
      Put the vehicles you want to restrict below call dayz_resetselfactions; ike this:
      // Custom below s_givemoney_dialog = -1; s_bank_dialog = -1; s_player_checkWallet = -1; s_bank_dialog1 = -1; s_bank_dialog2 = -1; s_player_copyToKey = -1; s_player_claimVehicle = -1; s_collect_heli = -1; }; call dayz_resetSelfActions; DZE_heroHumanity = ["Mi17_rockets_RU","Mi24_D","UH1Y_DZE"]; DZE_superHeroHumanity = ["Mi24_V","Mi24_P","Ka52"]; DZE_agentHumanity = ["AV8B2","AV8B","A10","F35B"]; DZE_safeVehicle = DZE_heroHumanity + DZE_superHeroHumanity + DZE_agentHumanity +["ParachuteWest","ParachuteC"]; Step 4: Edit your init file to exec the script. Above the   (false,12)execVm.... like below
          [] execVM "addons\veh_hum.sqf";
          //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf";
      Thats it. Enjoy!
        Hide contents
    • By ttttwins14
      I've been creating a Dayz (arma 2 OA) epoch server. I have an issue where when I used the .bat file to launch epoch chernarus BattlEye won't initialize. When I just launch the arma2oaserver.exe it works fine. Can someone help me?
  • Advertisement
  • Advertisement
  • Supporters
  • Advertisement
  • Discord

×