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

This kick should only happen if you have added bis_fnc_execvm to cfgRemoteExec. if so, you also need to whitelist it to prevent the kicks like this:
 

!="bis_fnc_execvm \[.+\]"


 

 

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 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?
    • By tux-box1
      I just setup a fresh install of epoch on the latest version of the arma 3 branch(because jetsDLC) and any one who logs in gets kicked for script restriction #49
      Reverent script.txt lines. Line 49-51
      #49 - > 7 addEventHandler !"displayAddEventHandler" !"ctrlAddEventHandler" !="player addeventhandler [\"PostReset\",{BIS_EnginePPReset = true;} ];" !="player addEventHandler [_x,([\"CfgEpochClient\", _x, \"\"] call EPOCH_fnc_returnConfigEntryV2)];" !="\"CBA_fnc_addEventHandler\"" !="\\fnc_addEventHandler" !="\"addEventHandler" !="_eventFunc = _eventFunc + \"(_this select 0) addEventHandler ['Respawn', \" + str _eventFunc + \"];\";" !="_unit addEventHandler [\"hitpart\"," !="CBA_fnc_addEventHandler" !="_unit addEventHandler [_x, format ['call cba_xeh_fnc_%1', _x]];" !="_ship addEventHandler [\"AttributesChanged3DEN\"" !="addEventHandler [\"HandleDamage\",bis_fnc_reviveOnPlayerHandleDamage];" !="_unit addEventHandler [\"FiredNear\"" !="_smokeEH = _plyr addEventHandler [\"FiredNear\", \"airDropHandle setFSMVariable" !="_onContactEH = _currentTarget addEventHandler[\"EpeContactStart"" !="_object addeventhandler [\"local\",{[[_this select 0],\"bis_fnc_objectVar\"" #50 - > 7 displayAddEventHandler !="(findDisplay 46) displayAddEventHandler [\"KeyDown\",\"true\"];" !="displayAddEventHandler [_x,([\"CfgEpochClient\", _x, \"\"] call EPOCH_fnc_returnConfigEntryV2)];" !="_display displayaddeventhandler\n[\n\"mousemoving\"," !="_display displayaddeventhandler [\"unload\",\"uinamespace setvariable ['BIS_fnc_guiMess" !="findDisplay -1337 displayAddEventHandler ['Unload'" !="_display displayaddeventhandler [\"keydown\",\"with uinamespace do {['keyDown'" !="_display displayaddeventhandler [_x,_fnc_animate];" !="Development\") then\n{\n_display displayaddeventhandler [\n\"keydown\"" !="CBA_fnc_addDisplayHandler" !="_display displayAddEventHandler [\"MouseMoving" !="private _handler = _display displayAddEventHandler [_key, _code];" !="_display displayAddEventHandler [\"KeyDown\", \"_this call cba_keybinding_fnc_onKeyDown\"" #51 -> 7 ctrlAddEventHandler !="_control = _display displayctrl 37305; \n_control ctrladdeventhandler" !="_ctrlMap = _display displayctrl 101;\n_ctrlMap ctrladdeventhandler" !="_display displayctrl 21995;\n_assetsButton ctrladdeventhandler [\"buttonclick\"," !="_display displayctrl 2406; \n_control ctrladdeventhandler [\"buttonclick\"," !="_display displayctrl 2400;\n_control ctrladdeventhandler [\"buttonclick\"," !="_ctrlTags ctrladdeventhandler [\"lbselchanged\"," !="_ButtonGeneral ctrladdeventhandler [\"buttonclick\"," !="_ctrlExecuteLocal ctrladdeventhandler [\"buttonclick\"," !="_bg ctrlAddEventHandler [\"MouseEnter\"," !="_container ctrlAddEventHandler [\"LBDblClick\",\"_this call EPOCH_itemInteractClick\"];" !="(uiNamespace getVariable 'ESP_map') ctrlAddEventHandler['Draw', '_esp_targets = EPOCH_ESPMAP_TARGETS;" !="ctrlAddEventHandler ['MouseButtonDown'" !="(_display displayctrl _idc) ctrlAddEventHandler [\"LBSelChanged\"," !="_ctrl ctrlSetEventHandler [\"mouseEnter\", (format [\"_c = _this select 0;" !="_ctrl ctrlSetEventHandler [\"mouseExit\", (format [\"_c = _this select 0;" !="_ctrl ctrlSetEventHandler [\"mouseButtonDown\", (format [\"call %1;\",(_buttonSettings select _e select 2)])];" !="_prevButton ctrlAddEventHandler [\"MouseButtonUp\", {_this call cba_diagnostic_fnc_debug" !="BIS_RscRespawnControlsMap_ctrlHeaderRespawnButton ctrlAddEventhandler [\"ButtonDown\"" !="_control = _display displayctrl 105;\n_control ctrladdeventhandler [\"MouseButtonUp\"" !="_ctrlAddonList ctrlAddEventHandler [\"LBSelChanged\", cba_settings_fnc_gui_addonChanged];" Scripts.log output
      Date Time: user (Ipaddress) Guid - #49 "wnControlsMap_ctrlHeaderRespawnButton", controlNull]) ctrlAddEventhandler ["ButtonDown",{ ["[RESPAWN] Main respawn button used" Any thoughts?
       
  • Advertisement
  • Donation Box

    Please donate to support the community.
    We appreciate all donations!
  • Advertisement
  • Supporters
  • Latest Donations

  • Advertisement
  • Discord

×