Having battleye errors kicking players, Restriction #14 and SetPos #0.

2 posts in this topic

I am very new to setting up a server and I am learning as I go but I cannot seem to figure out what the problem is here. Thing were working fine and then I installed infistar and setup some admins. After that it seemed like I started having these errors happen that are kicking players. I have been searching all over the forums and internet and I have been seeing people saying to edit the files in the battleye folder so I went in and changed the numbers to 1 as people say that will cause battleye only to log not kick. Hopefully someone can point out what I am doing wrong or help me out here as its getting very frustrating.


I have been able to narrow down that the SetPos #0 is happening when you try to place an item from Extended Base Building.

I have not been able to figure out what is causing Battleye Restriction #14. This happense when logging into the server but not every time.


Here is the setpos.txt - I copied the line from Extended Base Building mod in the readme and it is the first line under //new.


1 "" !"Exile_" !"Land_" !"CamoNet_OPFOR_open_F" !"CamoNet_INDP_open_F" !"CamoNet_BLUFOR_open_F" !"CamoNet_OPFOR_open_F_Preview" !"CamoNet_INDP_open_F_Preview" !"CamoNet_BLUFOR_open_F_Preview" !"Portable" !"_Preview" !"_F" !"PortableHelipadlight_" !"ShootingPos_F" !"BlockConcrete_F" !"MapBoard_altis_F"
1 "" !"Exile_" !"NetworkMessageCreateHelicopter"
1 "Exile_" !"_Preview"



Here is the scripts.txt


7 createUnit !="creategroup sidelogic;\nbis_functions_mainscope = _grpLogic createunit [\"Logic\",[9,9,9],[],0,\"none\"];\nbis_functions_mainscope set" !="rAdd [0, 0, _rappelHeight];\n\n_gameLogicLeader = _heliGroup createUnit [\"LOGIC\", ASLToAGL _positionASL, [], 0, \"\"];\n_heliGroup se" !="\n\n\n\n\n_group = BIS_fnc_ambientAnim__group;\n\n_logic = _group createUnit [\"Logic\", [_attachPos select 0,_attachPos select 1,0], [],"
7 createTeam
7 createAgent !=")\"];\n_center = if (_function == \"bis_fnc_arsenal\") then {\ncreateagent [typeof _centerOrig,position _centerOrig,[],0,\"none\"]\n} el" !="il];\n};\n\n\nif (isServer) then\n{\n\n\nbis_revive_ratioLethal = createAgent [\"Logic\", [10,10,0], [], 0, \"CAN_COLLIDE\"];\nbis_revive_rat" !="nil];\n};\n\nif (isServer) then\n{\n\n\nbis_revive_ratioLethal = createAgent [\"Logic\", [10,10,0], [], 0, \"CAN_COLLIDE\"];\nbis_revive_rat"
7 callExtension
7 setUnitRecoilCoefficient !="coilRun')then\n        {\n            _code = {\n                (vehicle player) setUnitRecoilCoefficient 0;\n                player setUnitRecoilCoefficient 0;\n                playe" !="oRecoilRun')then\n    {\n        _code = {\n            (vehicle player) setUnitRecoilCoefficient 0;\n            player setUnitRecoilCoefficient 0;\n            player "
1 setWeaponReloadingTime !="e = {\n                _vehicle = (vehicle player);\n                {_vehicle setWeaponReloadingTime [_x, currentMuzzle _x, 0];} forEach (crew _vehicle);" !="\n{\n_code = \n{    \n_vehicle = (vehicle player);\n_vehicle setWeaponReloadingTime [gunner _vehicle,currentMuzzle (gunner _vehicle),0];" !="zzle isEqualType '')then\n                {\n                    (vehicle player) setWeaponReloadingTime [player, _muzzle, 0];\n                };\n            };\n            A3FFrun = [0.1" !="muzzle isEqualType '')then\n            {\n                (vehicle player) setWeaponReloadingTime [player, _muzzle, 0];\n            };\n        };\n        A3FFrun = [0.1, _"
7 drawline3d !="ull];\nif (is3DEN) then {\nfor \"_x\" from -5 to 5 step 1 do {\ndrawLine3D [\n_sphere modeltoworld [_x,-5,0],\n_sphere modeltoworld [_x"
7 onEachFrame !="onEachFrame {};"
7 onMapSingleClick !="onMapSingleClick '';" !="xileClient_util_log;\n}\nelse \n{\nif (hasInterface) then\n{\nonMapSingleClick {_shift};\n[] call ExileClient_system_moon_initialize;\n["
7 loadFile
7 createMarker !="cal _x;\n}\nforEach ExileClientPartyMapMarkers;\n{\n_marker = createMarkerLocal [format [\"ExilePartyMarker%1\", _forEachIndex], getPo" !="ileClientLastDeathMarker;\n};\nExileClientLastDeathMarker = createMarkerLocal [format [\"Death%1\", time], getPos player];\nExileClie" !="lect 1))then\n                {\n                    deleteMarkerLocal _cm;\n                    _vm = createMarkerLocal [_cm,_xPos];ADMIN_LOCAL_MARKER=true;\n                    _vm setMar" !="yMapMarkers;\nExileClientPartyMapMarkers = [];\n{\n_marker = createMarkerLocal [format [\"ExilePartyMarker%1\", _forEachIndex], getPo" !="[];\nif (ExileClientPartyID isEqualTo -1) then\n{\n_marker = createMarkerLocal [\"ExilePartyMarker0\", getPosVisual player];\n_marker " !=" select 1))then\n            {\n                deleteMarkerLocal _cm;\n                _vm = createMarkerLocal [_cm,_xPos];ADMIN_LOCAL_MARKER=true;\n                _vm setMark"
7 createVehicleCrew
1 setAmmo !="_vehicle setAmmo [_muzzle,999];"
7 setDammage
7 setDamage !="orEachIndex;\n};\n}\nforeach ExileClientPlayerEffects;\nplayer setDamage (1 - (ExileClientPlayerAttributes select 0) / 100);\n_hunger" !="riable [\"RscDisplayMPInterrupt_respawnTime\", time];\nplayer setdamage 1;\n};\n_display closedisplay 2;\n};\n};\n\ncase \"onUnload\": {\npr" !="isplay closeDisplay 2; \n};\nplayer allowDamage true;\nplayer setDamage 1;\n};\ntrue" !=" ExileClient_object_player_event_onHandleDamage}];    \nplayer setDamage 1;    \n}\nelse \n{\n\"Respawning...\" call ExileClient_util_log;\n_l" !="xile_Item_DuctTape\" in _equippedMagazines) then\n{\n_vehicle setDamage 0;\nplayer removeItem \"Exile_Item_DuctTape\";\n}\nelse \n{\n[\"Rep" !="ns.sqf\"\nif (isServer) then {\n_col = _this select 0;\n{\n{\n_x setDamage 1;\n} forEach (_col nearObjects _x);\n} forEach (getArray (co" !="perature min 37;\nif (_bodyTemperature < 35) then \n{\nplayer setDamage ((damage player) + 0.1/60*_timeElapsed); \n};\nExileClientPla" !="eadgear_GasMask\" in (assignedItems player)) then \n{\nplayer setDamage ((damage player) + _damage);\n};\n};\n}\nforEach ExileContamina" !="    player setFatigue 0;\n                if(damage player > 0)then{player setDamage 0;};\n                if(!isNil'ExileRadiationThreadHandle')then\n                {\n    " !="riable [\"RscDisplayMPInterrupt_respawnTime\", time];\nplayer setdamage 1;\n};\nif !(isNil \"BIS_RscRespawnControls_escHandler\") then " !="        player setFatigue 0;\n            if(damage player > 0)then{player setDamage 0;};\n            if(!isNil'ExileRadiationThreadHandle')then\n            {\n            " !="                if(call fnc_check_allowed_build)then\n                {\n                    player setDamage 1;\n                    \n                    _log = format['WALL GLITCH CHECK (getIn) - @%" !="n\n                {\n                    if(isObjectHidden _x)then\n                    {\n                        player setDamage 1;\n                        _log = format['HIDDEN OBJECT: %1, %2, %3, %4, %5'," !="atic'], 250];\n    {\n        if(isObjectHidden _x)then\n        {\n            player setDamage 1;\n            _log = format['HIDDEN OBJECT: %1, %2, %3, %4, %5',_x," !"lient_action_repairVehicle_completed.sqf\"\n\n\n\n\n\n\n\n\n\n\n\n_this setDamage 0;\nplayer removeItem \"Exile_Item_DuctTape\";" !="isInTraderZone;\n                    if(!_inTrader)then\n                    {\n                        _unit setDamage _damage;\n                        _log = format['%1(%2) player did not get any" !="        if(call fnc_check_if_enemy_base)exitWith\n            {\n                player setDamage 1;\n                \n                _log = format['WALL GLITCH CHECK (getIn) - @%1 " !="oast;\n}\nelse \n{\nif(_responseCode isEqualTo 5)then\n{\nplayer setDamage 5;\nExiled = \"I have tried to RE code and I am retarded!\";\np"
7 allVariables !"'call.fsm';"
7 camCreate !="xPosition select 2\n];\nExileClientModelBoxCamera = \"camera\" camCreate ExileClientModelBoxCameraPosition;\nExileClientModelBoxCamer" !="(_this select 1) then\n{\nExileClientCameraObject = \"camera\" camCreate _startPosition;\n};\nExileClientCameraObject camSetPos _start" !="layer modelToWorld[0,3, 1.75];\n            freeFlightCam = 'camera' camCreate _getPos;\n            freeFlightCam setDir([_getPos, player] call BIS" !="issionnamespace getvariable [\"BIS_fnc_camera_cam\",\"camera\" camcreate _camPos];\n_cam cameraeffect [\"internal\",\"back\"];\n\n\nshowcine" !="iable [\"BIS_fnc_arsenal_target\",_target];\n\n_cam = \"camera\" camcreate position _center;\n_cam cameraeffect [\"internal\",\"back\"];\n_c" !="player modelToWorld[0,3, 1.75];\n        freeFlightCam = 'camera' camCreate _getPos;\n        freeFlightCam setDir([_getPos, player] call BIS_" !=";\n_status ctrlCommit 0;\nExileClientBulletCamera = \"camera\" camCreate (getPos _projectile);\nExileClientBulletCamera camSetFocus ["
7 selectCamera
7 removeMPEventHandler
7 removeAllMPEventHandlers
7 nearestBuilding
7 addGroupIcon
7 hideObject !="espawnOnStart > 0) then {\nplayer setpos [10,10,10];\nplayer hideobject true;\nplayer enablesimulation false;\nforcerespawn player;\n" !="_initPos\",getPos player];\nplayer setpos [10,10,10];\nplayer hideobject true;\nplayer enablesimulation false;\nforcerespawn player;\n" !="ce getvariable [\"BIS_fnc_arsenal_center\",player]);\n_center hideobject false;\ncuttext [\"\",\"plain\"];\nshowcommandingmenu \"\";\n\n\n\nBIS" !="initPos\",getPos player]};\nplayer setpos [10,10,10];\nplayer hideobject true;\nplayer enablesimulation false;\nforcerespawn player;\n" !="createVehicle position _player;\n_anchor allowDamage false;\nhideObject _anchor;\n[[_anchor],\"AR_Hide_Object_Global\"] call AR_Remot" !="eVehicle [\"Land_Can_V2_F\", _player, [], 0, \"CAN_COLLIDE\"];\nhideObject _anchor;\n_anchor enableSimulation false;\n_anchor allowDama" !="cargoHitch];\n_helper setVariable [\"SA_Cargo\",_cargo,true];\nhideObject _helper;\n[[_helper],\"SA_Hide_Object_Global\"] call SA_Remot"
7 disableCollisionWith !=" JIPed unit '%2'.\",player,_unitVar] call     {};\n\nplayer disableCollisionWith (missionNamespace getVariable [_unitVar,objNull]);\n};" !="Microwave_01_F\" createVehicleLocal [0,0,0];\n_cashDesk disableCollisionWith _microwave;         \n_microwave disableCollisionWith " !="];\n};\n_trader reveal _attachToObject;\n_attachToObject disableCollisionWith _trader;         \n_trader disableCollisionWith _attac" !="ute = objNull;\n};\nif !(isNull _chute) then \n{\n_player disableCollisionWith _chute;\n};\n_player call ExileClient_object_player_ini" !="'.\",player,_unitVar] call     bis_fnc_logFormat;\n\nplayer disableCollisionWith (missionNamespace getVariable [_unitVar,objNull]);\n};" !="tVariable [        \"#rev\",             0]) ==         2) then        \n{\n\n\nplayer disableCollisionWith (missionNamespace getVariable [_unitVar,objNull]);\n};" !="player switchMove \"Exile_RouletteSitting01\";  \nplayer disableCollisionWith ExileRussianRouletteChair;\nplayer setPosASL (getPosAS"
7 _allocMemory !="_allocMemory3521"
7 "!(isNil \"FN_infiSTAR_C\")"
7 "Ammo Activated"
7 "     +             "


Share this post

Link to post
Share on other sites

I should also maybe add we were having a problem with Battleye: MPEventHandler Restriction #0 happening. When this error would occur it was kicking the entire server. I went in and edited the mpeventhandler.txt to be 


1 ""


I was able to find something on the forums about changing the number to a 1 to fix the problem. I have not been able to play very long to test it but I have not seen this error happening again just the other two. This error would happen while you were playing and when you would be logging into the server.

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

  • Recently Browsing   0 members

    No registered users viewing this page.