From cbbd04d8b50a06e1de8c30c2d836d6b7766217e4 Mon Sep 17 00:00:00 2001 From: SpiReCZ Date: Mon, 28 Dec 2015 15:49:46 +0100 Subject: [PATCH] Examples added --- .../BattlEye_AddSet/createVehicle_add.txt | 2 + .../BattlEye_AddSet/scripts_a3xai.txt | 4 ++ .../BattlEye_AddSet/scripts_asdgjr.txt | 1 + .../BattlEye_AddSet/scripts_markers.txt | 1 + .../BattlEye_AddSet/scripts_modcheck.txt | 1 + .../BattlEye/BattlEye_AddSet/scripts_zcp.txt | 1 + .../BattlEye/BattlEye_BasicSet/attachTo.txt | 2 + .../BattlEye_BasicSet/createVehicle.txt | 21 +++++++ .../BattlEye_BasicSet/deleteVehicle.txt | 2 + .../BattlEye_BasicSet/mpeventhandler.txt | 2 + .../BattlEye_BasicSet/publicVariableVal.txt | 10 ++++ .../BattlEye_BasicSet/publicvariable.txt | 2 + .../BattlEye_BasicSet/remotecontrol.txt | 2 + .../BattlEye/BattlEye_BasicSet/remoteexec.txt | 13 ++++ .../BattlEye/BattlEye_BasicSet/scripts.txt | 60 +++++++++++++++++++ .../BattlEye_BasicSet/selectplayer.txt | 2 + .../BattlEye_BasicSet/setVariable.txt | 5 ++ .../BattlEye_BasicSet/setVariableVal.txt | 2 + .../BattlEye/BattlEye_BasicSet/setpos.txt | 3 + .../BattlEye/BattlEye_BasicSet/teamswitch.txt | 2 + .../BattlEye_BasicSet/waypointcondition.txt | 2 + .../BattlEye_BasicSet/waypointstatement.txt | 2 + 22 files changed, 142 insertions(+) create mode 100644 examples/BattlEye/BattlEye_AddSet/createVehicle_add.txt create mode 100644 examples/BattlEye/BattlEye_AddSet/scripts_a3xai.txt create mode 100644 examples/BattlEye/BattlEye_AddSet/scripts_asdgjr.txt create mode 100644 examples/BattlEye/BattlEye_AddSet/scripts_markers.txt create mode 100644 examples/BattlEye/BattlEye_AddSet/scripts_modcheck.txt create mode 100644 examples/BattlEye/BattlEye_AddSet/scripts_zcp.txt create mode 100644 examples/BattlEye/BattlEye_BasicSet/attachTo.txt create mode 100644 examples/BattlEye/BattlEye_BasicSet/createVehicle.txt create mode 100644 examples/BattlEye/BattlEye_BasicSet/deleteVehicle.txt create mode 100644 examples/BattlEye/BattlEye_BasicSet/mpeventhandler.txt create mode 100644 examples/BattlEye/BattlEye_BasicSet/publicVariableVal.txt create mode 100644 examples/BattlEye/BattlEye_BasicSet/publicvariable.txt create mode 100644 examples/BattlEye/BattlEye_BasicSet/remotecontrol.txt create mode 100644 examples/BattlEye/BattlEye_BasicSet/remoteexec.txt create mode 100644 examples/BattlEye/BattlEye_BasicSet/scripts.txt create mode 100644 examples/BattlEye/BattlEye_BasicSet/selectplayer.txt create mode 100644 examples/BattlEye/BattlEye_BasicSet/setVariable.txt create mode 100644 examples/BattlEye/BattlEye_BasicSet/setVariableVal.txt create mode 100644 examples/BattlEye/BattlEye_BasicSet/setpos.txt create mode 100644 examples/BattlEye/BattlEye_BasicSet/teamswitch.txt create mode 100644 examples/BattlEye/BattlEye_BasicSet/waypointcondition.txt create mode 100644 examples/BattlEye/BattlEye_BasicSet/waypointstatement.txt diff --git a/examples/BattlEye/BattlEye_AddSet/createVehicle_add.txt b/examples/BattlEye/BattlEye_AddSet/createVehicle_add.txt new file mode 100644 index 0000000..04f0f89 --- /dev/null +++ b/examples/BattlEye/BattlEye_AddSet/createVehicle_add.txt @@ -0,0 +1,2 @@ +//new +7 !="Steerable_Parachute_F" !="M_NLAW_AT_F" !="R_PG32V_F" \ No newline at end of file diff --git a/examples/BattlEye/BattlEye_AddSet/scripts_a3xai.txt b/examples/BattlEye/BattlEye_AddSet/scripts_a3xai.txt new file mode 100644 index 0000000..4ac134d --- /dev/null +++ b/examples/BattlEye/BattlEye_AddSet/scripts_a3xai.txt @@ -0,0 +1,4 @@ +7 compile !"call compile preprocessFileLineNumbers \"A3XAI_Client\A3XAI_client_config.sqf\"" +7 Exile_unit_player !"waitUntil {uiSleep 1; (typeOf player) isEqualTo \"Exile_Unit_Player\"};" +7 eventHandler !"\"A3XAI_SMS\" addPublicVariableEventHandler {(_this select 1) call A3XAI_client_radioMessage; diag_log _this;};" +7 addpublicvariableeventhandler !"\"A3XAI_SMS\" addPublicVariableEventHandler {(_this select 1) call A3XAI_client_radioMessage; diag_log _this;};" \ No newline at end of file diff --git a/examples/BattlEye/BattlEye_AddSet/scripts_asdgjr.txt b/examples/BattlEye/BattlEye_AddSet/scripts_asdgjr.txt new file mode 100644 index 0000000..28563b3 --- /dev/null +++ b/examples/BattlEye/BattlEye_AddSet/scripts_asdgjr.txt @@ -0,0 +1 @@ +7 .sqf !="["\asdg_jointrails\functions\fn_compatibleItems.sqf",".sqf",0,false,false,false,"asdg_jointrails","functions","compatibleItems"]" \ No newline at end of file diff --git a/examples/BattlEye/BattlEye_AddSet/scripts_markers.txt b/examples/BattlEye/BattlEye_AddSet/scripts_markers.txt new file mode 100644 index 0000000..3ca050d --- /dev/null +++ b/examples/BattlEye/BattlEye_AddSet/scripts_markers.txt @@ -0,0 +1 @@ +7 createMarker !="Map) then {\n_members = units (group player);\n\n{\n_marker = createMarkerLocal [format[\"%1_marker\",_x],visiblePosition _x];\n_marker" \ No newline at end of file diff --git a/examples/BattlEye/BattlEye_AddSet/scripts_modcheck.txt b/examples/BattlEye/BattlEye_AddSet/scripts_modcheck.txt new file mode 100644 index 0000000..d84c9c2 --- /dev/null +++ b/examples/BattlEye/BattlEye_AddSet/scripts_modcheck.txt @@ -0,0 +1 @@ +7 execVM !=" {typeOF player != "Exile_Unit_GhostPlayer"};\nuiSleep 2;\n\n[] execVM \"custom\ModCheck.sqf\";\n\n\ncall CompileFinal preprocessFileLin" \ No newline at end of file diff --git a/examples/BattlEye/BattlEye_AddSet/scripts_zcp.txt b/examples/BattlEye/BattlEye_AddSet/scripts_zcp.txt new file mode 100644 index 0000000..8d20ba4 --- /dev/null +++ b/examples/BattlEye/BattlEye_AddSet/scripts_zcp.txt @@ -0,0 +1 @@ +7 addpublicvariableeventhandler !="PV_ZCP_zupastic\" addPublicVariableEventHandler {\n_messageArray = _this select 1;\nhint parseText " \ No newline at end of file diff --git a/examples/BattlEye/BattlEye_BasicSet/attachTo.txt b/examples/BattlEye/BattlEye_BasicSet/attachTo.txt new file mode 100644 index 0000000..21266e1 --- /dev/null +++ b/examples/BattlEye/BattlEye_BasicSet/attachTo.txt @@ -0,0 +1,2 @@ +//new +7 "" !"NVG_TargetG" !"Shot" \ No newline at end of file diff --git a/examples/BattlEye/BattlEye_BasicSet/createVehicle.txt b/examples/BattlEye/BattlEye_BasicSet/createVehicle.txt new file mode 100644 index 0000000..67d62a2 --- /dev/null +++ b/examples/BattlEye/BattlEye_BasicSet/createVehicle.txt @@ -0,0 +1,21 @@ +//new +7 "" !="Exile_Unit_GhostPlayer" !="Steerable_Parachute_F" !"CMflare" !"I_UAV" !"LaserTarget" !"SLAM" !"SatchelCharge_Remote_Ammo" !"DemoCharge" !"ClaymoreDirectionalMine" !"IEDUrban" !"G_40mm_" !"F_40mm_" !="Exile_Ammo_Swing" !"F_Signal" !="I_IRStrobe" !="O_IRStrobe" !="NVG_TargetG" !"WeaponHolder" !"Supply" !"B_" !"SmokeShell" !"IEDLand" !"APERS" !="O_HMG_01_weapon_F" !="O_HMG_01_F" !="O_HMG_01_support_F" !"Chemlight" !="GrenadeHand" !="mini_Grenade" !="SmokeLauncherAmmo" +1 "IEDLand" +1 "IEDUrban" +1 "APERS" +1 "GrenadeHand" +1 "mini_Grenade" +1 "SmokeLauncherAmmo" +1 "NVG_TargetG" +1 "O_IRStrobe" +1 "I_IRStrobe" +1 "F_Signal" +1 "F_40mm_" +1 "G_40mm_" +1 "DemoCharge" +1 "ClaymoreDirectionalMine" +1 "SLAM" +1 "SatchelCharge_Remote_Ammo" +1 "I_UAV" +1 "O_HMG_01_F" +1 "Steerable_Parachute_F" \ No newline at end of file diff --git a/examples/BattlEye/BattlEye_BasicSet/deleteVehicle.txt b/examples/BattlEye/BattlEye_BasicSet/deleteVehicle.txt new file mode 100644 index 0000000..e7fb938 --- /dev/null +++ b/examples/BattlEye/BattlEye_BasicSet/deleteVehicle.txt @@ -0,0 +1,2 @@ +//new +7 "" !"NVG_Target" !"Shot" !"Exile_Unit_Player" !"_Preview" \ No newline at end of file diff --git a/examples/BattlEye/BattlEye_BasicSet/mpeventhandler.txt b/examples/BattlEye/BattlEye_BasicSet/mpeventhandler.txt new file mode 100644 index 0000000..a1a3c1a --- /dev/null +++ b/examples/BattlEye/BattlEye_BasicSet/mpeventhandler.txt @@ -0,0 +1,2 @@ +//new +7 "" \ No newline at end of file diff --git a/examples/BattlEye/BattlEye_BasicSet/publicVariableVal.txt b/examples/BattlEye/BattlEye_BasicSet/publicVariableVal.txt new file mode 100644 index 0000000..c7f7a08 --- /dev/null +++ b/examples/BattlEye/BattlEye_BasicSet/publicVariableVal.txt @@ -0,0 +1,10 @@ +//new +7 "call" +7 "spawn" +7 "compile" +7 "exec" +7 "config" +7 "toString" +7 "toArray" +7 "loadFile" +7 "preprocess" \ No newline at end of file diff --git a/examples/BattlEye/BattlEye_BasicSet/publicvariable.txt b/examples/BattlEye/BattlEye_BasicSet/publicvariable.txt new file mode 100644 index 0000000..0360726 --- /dev/null +++ b/examples/BattlEye/BattlEye_BasicSet/publicvariable.txt @@ -0,0 +1,2 @@ +//new +7 "" !="PVAHR_[a-z,0-9]{10,16}" \ No newline at end of file diff --git a/examples/BattlEye/BattlEye_BasicSet/remotecontrol.txt b/examples/BattlEye/BattlEye_BasicSet/remotecontrol.txt new file mode 100644 index 0000000..5dadb08 --- /dev/null +++ b/examples/BattlEye/BattlEye_BasicSet/remotecontrol.txt @@ -0,0 +1,2 @@ +//new +7 "" !="[0-9]{1,5}:[0-9]{1,5} unit" \ No newline at end of file diff --git a/examples/BattlEye/BattlEye_BasicSet/remoteexec.txt b/examples/BattlEye/BattlEye_BasicSet/remoteexec.txt new file mode 100644 index 0000000..d7b3144 --- /dev/null +++ b/examples/BattlEye/BattlEye_BasicSet/remoteexec.txt @@ -0,0 +1,13 @@ +//new +7 "" !="true" !="vehicle this land 'LAND'" !="exileserver_system_network_dispatchincomingmessage.*" !"fnc_AdminReq" +7 "ExileClient_system_network_dispatchIncomingMessage" +7 "FN_infiSTAR_C" +1 "call" +1 "spawn" !"createPlayerRequest" +1 "compile" +1 "exec" +1 "config" +1 "toString" +1 "toArray" +1 "loadFile" +1 "preprocess" \ No newline at end of file diff --git a/examples/BattlEye/BattlEye_BasicSet/scripts.txt b/examples/BattlEye/BattlEye_BasicSet/scripts.txt new file mode 100644 index 0000000..9cfc9da --- /dev/null +++ b/examples/BattlEye/BattlEye_BasicSet/scripts.txt @@ -0,0 +1,60 @@ +//new2 +7="ame _x, ceil (player distance _x)],0,0.02];\n};\n} foreach playableUnits;\n" +7 _supportedEvents +7 "keUAV\") then {\nBIS_fnc_establishingShot_fakeUAV = \"Camera\" camCreate [10,10,10];\n};\n\nBIS_fnc_establishingShot_fakeUAV cameraEffe" +7 "s (configfile >> \"CfgFunctions\" >> \"Curator_F\")) then {call compile" +7 "z\ace\addons\common\functions\fnc_isPlayer.sqf" +7 _allocMemory !="_allocMemory151" +7 ctrlCreate !="_ListGroup = _display ctrlCreate [\"RscControlsGroupNoHScrollbars\"" !="e\",\"g-e-f\",\"box-esp\",\"god on\",\"god mode\",\"unlimited mags\",\"ctrlcreate\",\"_execscript\",\"_theban\",\"rhynov1\",\"b1g_b3n\",\"infishit\",\"e" !="PLAY_ID) displayCtrl 44464);\n findDisplay MAIN_DISPLAY_ID ctrlCreate['IGUIBack', 44464];\n (findDisplay MAIN_DISPLAY_ID display" +7 createUnit !="createunit [\"Logic" +7 createTeam +7 createAgent +7 createVehicleLocal !="createVehicleLocal [0,0,0]" !="createVehicleLocal ExileClientModelBoxPosition" !="\"#lightpoint\" createVehicleLocal" !="call fnc_adminLog;\n \n _bomb = 'HelicopterExploSmall' createVehicleLocal _pos;\n };\n fnc_Disconnect_selected = {\n _target = _th" !="ral\"];\nif (_debug) then \n{\n_source = \"#particlesource\" createVehicleLocal position player;\n_source setDropInterval 0.1;\n\n_source" +7 callExtension +7 "setVariable [\"ExileIsLocked" +7 "setVariable [\"ExileTerritorySize" +7 "setVariable [\"ExileTerritoryBuildRights" +7 "setVariable [\"ExileTerritoryModerator" +7 "setVariable [\"ExileTerritoryLevel" +7 "setVariable [\"ExileTerritoryName" +7 "setVariable [\"ExileTerritoryMaintenanceDue" +7 "setVariable [\"ExileOwnerUID" +7 showCommandingMenu !="nu','#User:BIS_Menu_GroupCommunication'])then\n {\n showCommandingMenu '';\n }\n else\n {\n if(((toLower _cmdm) find _fi" +7 setUnitRecoilCoefficient !=" if(noRecoilRun!=1)exitWith{};\n (vehicle player) setUnitRecoilCoefficient 0;\n player setUnitRecoilCoefficient 0;\n uiSleep" +7 setWeaponReloadingTime !="\n _vehicle = (vehicle player);\n _done = _vehicle setWeaponReloadingTime [gunner (vehicle player), currentMuzzle (gunner (veh" +7 addAction !="ExileClientInteractionHandles pushBack (_object addAction" !=" + 1},{_object = player;_acnt = 0}];\n _actionid = player addAction ['', '', [], -5, false, true, '', 'false'];player removeAct" +7 remoteexec !"fnc_AdminReq" !="ssionId, _messageName, _messageParameters];\n_publicMessage remoteExecCall [\"ExileServer_system_network_dispatchIncomingMessage\"," +7 drawline3d +7 onEachFrame !="onEachFrame {};" +7 removeAllItems !="oveAllWeapons %1;',_var];\n _export = _export + format ['removeAllItems %1;',_var];\n _export = _export + format ['removeAllAssi" !="_unit = player;removeAllWeapons _unit;removeAllItems _unit;removeAllAssignedItems _unit;removeUniform _unit;removeVest _unit;rem" !="ebackpack _object;\n};\nif !(\"items\" in _blacklist) then {\nremoveallitems _object;\n};\nif !(\"linkeditems\" in _blacklist) then\n{\npri" +7 removeAllActions !="on _actionid;\n if(_actionid > _acnt + 1)then\n {\n removeAllActions player;removeAllActions (vehicle player);\n _log = fo" +7 addbackpack !="_player addBackpackGlobal _itemClassName;" !="_player addBackpackGlobal (backpack _target);" !="_container addBackpackCargoGlobal [_itemClassName, 1];" !="itbackpack _unit)then{\n _export = _export + format ['%1 addBackpack ''%2'';',_var,typeof unitbackpack _unit];\n [backpackitem" !="configfile >> \"cfgVehicles\" >> _backpack)) then {\n_object addbackpack _backpack;\n} else {\n[\"Backpack '%1' does not exist in CfgV" !"_unit addBackpack '" !="configfile >> \"cfgVehicles\" >> _backpack)) then {\n_object addbackpack _backpack;\n\n\nif (!(_isCfg)) then {clearAllItemsFromBackpac" +1 "_unit addBackpack '" +7 compile !="er = -1;};\n_number\n};\n\ncase (typename \"\"): {\n_number = call compile _number;\nif (isnil {_number}) then {_number = -1;};\n_number\n" !="issionnamespace do {\n_input = ctrltext _input;\n_inputCode = compile _input;\n\nswitch _mode do {\n\ncase 0: {call _inputCode;};\n\ncas" !="call compile (getText" !="compileFinal" !="recompile" !="compile loadFile \"\A3\animals_f\Snakes\scripts\randomize.sqf\";" !="compile preprocessfilelinenumbers _scriptPath;" !="Limit) || (!(isNil 'BIS_fnc_advHint_HPressed')) || (call (compile _condF))}" !="ocalize _x;\n_argArray = _argArray + [_res]\n} else {\n_code = compile _x;\n_res = call _code;\n_argArray = _argArray + [_res]\n}\n} el" !="\n\nif (typename _colorR == typename \"\") then {_colorR = call compile _colorR};\nif (typename _colorG == typename \"\") then {_colorG" !="_x == typename \"\") then {_colorText set [_forEachIndex,call compile _x];};\n} foreach _colorText;\nif (count _colorText > 0) then " !="ccessCode = format[\"[] call %1\", _successFunction];\n[] call compile _successCode;\n[_successNotification] call BIS_fnc_showNotifi" !="oadInventory')then\n {\n FNC_CUSTOM_fn_loadInventory = compile (preprocessfile 'A3\functions_f\Inventory\fn_loadInventory.s" !="};\n};\n};\ncase (0x2F): {\nif (_ctrl) then {\n_clipboard = call compile copyfromclipboard;\nif (typename _clipboard == typename []) t" +7 compileFinal !"fnc_AdminReq = compileFinal" !="compileFinal preprocessFileLineNumbers" !="compileFinal \"(_this select 1) call ExileClient_system_network_dispatc" !="compilefinal \"true\";" !="BIS_fnc_MP_packet = compileFinal ''"; !="BIS_fnc_initParams_paramsArray = compilefinal str paramsArray" !="_path;\nuinamespace setvariable [\n_scriptName + \"_script\",\ncompileFinal (\nformat [\n\"scriptname '%1'; _fnc_scriptName = '%1';\",\n_s" !="essage = \"Log: [Functions]%1 | %2\";\nif (_fncFinal) then {\ncompileFinal (format [_header,_fncVar,_debugMessage] + preprocessfilel" !="igFile >> 'CfgExileCustomCode' >> _function);\n};\n\n_code = compileFinal (preprocessFileLineNumbers _file); \n\nm" !="_F != str ({missionNameSpace setVariable[(_this select 0),compileFinal(_this select 1)];}))then {\nFN_infiSTAR_F__MODIFIED = form" !="missionNameSpace setVariable[(_this select 0),compileFinal(_this select 1)];" +7 onMapSingleClick +7 loadFile !="loadFile \"\A3\animals_f\Snakes\scripts\randomize.sqf" +7 createMarker !="t 1))then\n {\n deleteMarkerLocal _cm;\n _vm = createMarkerLocal [_cm,_xPos];ADMIN_LOCAL_MARKER=true;\n _vm setMa" +7 createVehicleCrew +7 deleteVehicleCrew !="BIS_fnc_deleteVehicleCrew" !="[\"exile_client\trashBin\fn_deleteVehicleCrew.sqf\",\".sqf\",0,false,false,false,\"A3\",\"MP\",\"deleteVehicleCrew\"" +7 allMissionObjects !="ystem_territory_createLocationForTerritory;\n}\nforEach (allMissionObjects \"Exile_Construction_Flag_Static\")" !="ryDropDown lbSetData [_index, netId _x];\n};\n}\nforEach (allMissionObjects \"Exile_Construction_Flag_Static\")" !="opDown lbSetData [_index, netId _flag]; \n};\n}\nforEach (allMissionObjects \"Exile_Construction_Flag_Static\");\n_kickButton = _displ" !="opDown lbSetData [_index, netId _flag]; \n};\n}\nforEach (allMissionObjects \"Exile_Construction_Flag_Static\");\n_currencyDropDown = " !="ndex, netId _x];\n_hasTerritories = true;\n};\n}\nforEach (allMissionObjects \"Exile_Construction_Flag_Static\");\n_grantTerritoryBuild" !=",1], getPosASL _x, _size, _size, getDir _x];} forEach (allMissionObjects 'Exile_Construction_Abstract_Static');\n };\n if(mapi" !="+ 25;\n Exile_Construction_Abstract_Static_ARRAY = (allMissionObjects 'Exile_Construction_Abstract_Static');\n };\n \n " +7 setAmmo !="] call ExileClient_util_playerEquipment_add;\n}\nelse\n{\n_unit setAmmo [_wep, _x];\n};\n} forEach _x;\n};\n} forEach _x;\n} forEach _wea" +7 setDammage +7 setDamage !="player setdamage 1" !="player setDamage (1 - (ExileClientPlayerAttributes select 0) / 100);" !="_vehicle setDamage 0;player removeMagazine \"Exile_Item_DuctTape\";" !="xile_Item_DuctTape\" in _equippedMagazines) then\n{\n_vehicle setDamage 0;\nplayer removeMagazine \"Exile_Item_DuctTape\";\n}\nelse \n{\n[" !="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" !="orEachIndex;\n};\n}\nforeach ExileClientPlayerEffects;\nplayer setDamage (1 - (ExileClientPlayerAttributes select 0) / 100);\n_hunger" !="xile_Item_DuctTape\" in _equippedMagazines) then\n{\n_vehicle setDamage 0;\nplayer removeItem \"Exile_Item_DuctTape\";\n}\nelse \n{\n[\"Rep" +7 allVariables +7 allPlayers !="[_index, [225/255, 65/255, 65/255, 1]];\n};\n};\n};\n}\nforEach allPlayers;\n};\n_partyButton = _display displayCtrl 4112;\n_partyButton" !="75,FONT_3dHANDLERPlayer,'',true];\n };\n };\n } forEach allPlayers;\n " !="To _playerUID)exitWith\n{\n_playerObject = _x;\n};\n} \nforEach allPlayers;\n_playerObject" +7 playableUnits !=" Admin Menu SERVER UP FOR: %3 %4',count playableUnits,((playersNumber west)+(playersNumber east)+(playersNumber" !="x != '')then{_whiteListed pushBack (name _x);};} forEach playableUnits;\n {\n _ctrl = _x;\n _txt = ctrlText _ctrl;\n if(_" +7 allUnits !="\nctrlmapanimcommit _ctrlMap;\n{player reveal [_x,4]} foreach allunits;\n};\n};\n\ncase (0x23);\ncase (0x26): {\n_ctrlOverlays = [_displ" +7 isPlayer !="s\"];\n\n_unit = _this select 0;\n_task = _this select 1;\n\nif !(isPlayer _unit) exitWith {};\n\n_newCurrent = \"\";\n_prevCurrent = missi" !="do {\nprivate [\"_display\",\"_veh\",\"_vehType\",\"_uavPosition\",\"_isPlayerInAV\",\"_icon\"];\n\n_display = _params select 0;\n_veh = vehicle" !="T))then{player} else {(call fnc_LBSelChanged_LEFT)};\n if(!isPlayer _target)exitWith{\n _log = format['Spawning %1 on the gro" !=" };\n }\n else\n {\n if!(isPlayer _driver)then\n {\n _log = format['TP wit" !=";\n cutText [_log, 'PLAIN DOWN'];\n hint _log;\n };\n if!(isPlayer _target)exitWith\n {\n _log = 'Target is not a Player!';\n " !=" 26) == 1)\n||\n\nprofilenamespace getvariable [\"BIS_fnc_init_displayErrors\",false]\n) then {\n(\"BIS_fnc_error\" call (uinamespace get" !="e \"lastGestFreezeT\";\n\nif (_VBtemp + 25 < time) then \n{\n\nif (isPlayer _this) then {} \nelse\n{\nif (random 10 < 6) then \n{\n\n\n\n\n\n\nif" !=";\nif (!isNull cameraOn) then\n{\n{\nif (!isNull _x) then\n{\nif (isPlayer _x) then\n{\nif(isHidden _x) exitWith {}; \n_distance = camera" +7 Exile_unit_player !="ame,1,0.04];\n};\n};\n}\nforEach ((cameraOn nearEntities[['Exile_Unit_Player', 'LandVehicle', 'Ship', 'Air'], _espRenderRange]) - [c" !="\n \n \n _type = typeOf player;\n if!(_type isEqualTo 'Exile_Unit_Player')then\n {\n if((currentWeapon player != '')||(player !" !="trol ctrlShow true;\n};\n_lines = \"\";\n{\nif (_x isKindOf \"Exile_Unit_Player\") then \n{\nswitch (true) do\n{\ncase ((damage _x) isEqualT" +7 execVM !="_dummy = ['Init', _params] execVM '\A3\ui_f\scripts\pauseLoadinit.sqf';" !="all bis_fnc_progressloadingscreen;\n\n\nif (isserver) then {\n[] execvm \"initServer.sqf\";\n\"initServer.sqf\" call bis_fnc_logFormat;\n}" !="ript != \"\") then\n{\nprivate [\"_handle\"];\n_handle = [_display] execVM _script;\n} else {\n_scripts = getArray(missionConfigFile >> \"" !="BIS_fnc_execVM" !"execVM \"\A3\Structures_F\scripts" !="[\"exile_client\trashBin\fn_execVM.sqf\",\".sqf\",0,false,false,false,\"A3\",\"MP\",\"execVM\"]" !="_sxr = _this execvm \"\GNT_C185\scr\C185Init.sqf\";" !="[_this select 0] execvm \"\GNT_C185\scr\G_CheckEngine.sqf\"" !="([this, 1] execVM \"\A3\Structures_F_EPC\Civ\PlayGround\scripts\Carousel_spin.sqf\")" !="[(_this select 0)] execVM \"\A3\Structures_F\Ind\PowerLines\Scripts\column_ruins.sqf\"" !="e 0x52: {\n if(ALLOW_ME_THIS_KEYBIND)then\n {\n [] execVM '\infiSTAR_work_on_AH\TEST.sqf';\n };\n };\n case 83:" !="([this, 0] execVM \"\A3\Structures_F_EPC\Civ\PlayGround\scripts\Carousel_spin.sqf\")" +7 camCreate !="\"camera\" camCreate ExileClientModelBoxCameraPosition;" !="([this, 1] execVM \"\A3\Structures_F_EPC\Civ\PlayGround\scripts\Carousel_spin.sqf\")" !="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" +7 ExileClient_gui_safezone_safeESP !="20 call ExileClient_gui_safezone_safeESP" !="ExileClient_gui_safezone_safeESP = compileFinal preprocessFileLineNumbers" !="exile_client\code\ExileClient_gui_safezone_safeESP.sqf" +7 eventHandler !"addPublicVariableEventhandler" !=";\n};\n\n\n[_display] call _fnc_animate;\n{\n_display displayaddeventhandler [_x,_fnc_animate];\n} foreach [\"mousemoving\",\"mouseholding\"" !=" { !(IsNull findDisplay 46) };\n(findDisplay 46) displayAddEventHandler [\"KeyDown\", { _this call ExileClient_gui_hud_event_onKeyD" !=" { !(IsNull findDisplay 46) };\n(findDisplay 46) displayAddEventHandler [\"KeyDown\", { _this call ExileClient_gui_hud_event_onKeyD" !="ocessing_toggleDialogBackgroundBlur;\n_ctrlButtonOK ctrlSetEventHandler [\"ButtonClick\",\"call ExileClient_gui_keypadDialog_event_o" !="functions_f\Missions\fn_missionHandlers.sqf\"\n\n\n\naddMissionEventHandler [\n\"ended\",\n{\n\nBIS_fnc_missionHandlers_end = _this;\nBIS_fn" !="_colorConfigToRGBA\",\"BIS_fnc_keyCode\",\"BIS_fnc_addScriptedEventHandler\",\"BIS_fnc_removeScriptedEventHandler\",\"BIS_fnc_removeAllS" !="[\"A3\functions_f\Misc\fn_addScriptedEventHandler.sqf\",\".sqf\",0,false,false,false,\"A3\",\"Misc\",\"addScriptedEventHandler\"]" !="[\"A3\functions_f\Misc\fn_removeScriptedEventHandler.sqf\",\".sqf\",0,false,false,false,\"A3\",\"Misc\",\"removeScriptedEventHandler\"]" !="[\"A3\functions_f\Misc\fn_removeAllScriptedEventHandlers.sqf\",\".sqf\",0,false,false,false,\"A3\",\"Misc\",\"removeAllScriptedEventHandl" !="[\"A3\functions_f\Misc\fn_callScriptedEventHandler.sqf\",\".sqf\",0,false,false,false,\"A3\",\"Misc\",\"callScriptedEventHandler\"]" !="[\"A3\functions_f_EPA\Misc\fn_addStackedEventHandler.sqf\",\".sqf\",0,false,false,false,\"A3_EPA\",\"Misc\",\"addStackedEventHandler\"]" !="[\"A3\functions_f_EPA\Misc\fn_executeStackedEventHandler.sqf\",\".sqf\",0,false,false,false,\"A3_EPA\",\"Misc\",\"executeStackedEventHand" !="[\"A3\functions_f_EPA\Misc\fn_removeStackedEventHandler.sqf\",\".sqf\",0,false,false,false,\"A3_EPA\",\"Misc\",\"removeStackedEventHandle" !="eLocal = _display displayctrl 1;\n_ctrlExecuteLocal ctrladdeventhandler [\"buttonclick\",\"with uinamespace do {['executeButton',[_t" !="eLocal = _display displayctrl 1;\n_ctrlExecuteLocal ctrladdeventhandler [\"buttonclick\",\"with uinamespace do {['executeButton',[_t" !="trolSuicide ctrlSetText \"Respawn\";\n_controlSuicide ctrlSetEventHandler [\"ButtonClick\", \"[] call ExileClient_gui_escape_respawn\"]" !="utton = _display displayctrl 21995;\n_assetsButton ctrladdeventhandler [\"buttonclick\",\"with uinamespace do {['DLCTabClicked',_th" !="ion select 4) == \"Development\") then\n{\n_display displayaddeventhandler [\n\"keydown\",\n" !="] call bis_fnc_MP;\n};\n};\n\n\nif (isServer) then\n{\naddMissionEventHandler[\"HandleDisconnect\",\n{\nprivate[\"_unit\",\"_unitVar\",\"_side\"]" !="le [\"BIS_fnc_feedback_postResetHandler\", true];\nplayer addeventhandler [\"PostReset\",{BIS_EnginePPReset = true;} ];\n};\n\n\n[\"Health" !="mData\",_customData];\n\nsleep 0.1;\n};\n};\n};" !="addMissionEventHandler [\"Draw3D\",\n{\nprivate[\"_customData\",\"_tasks\",\"_task\",\"_dat" !="AI \"TARGET\";\n_trader allowDamage false; \n_trader removeAllEventHandlers \"HandleDamage\";\n_trader setFace _traderFace;\nif (isNull " !="leClient_object_player_event_hook.sqf\"\n\n\n\n\n\n\n\n\n\nplayer addEventHandler [\"Killed\", { _this call ExileClient_object_player_event_o" !=" - Playing intro...\";\n\n\nplayMusic \"ExileTrack01\";\naddMusicEventHandler [\"MusicStop\", {[] spawn {sleep 10; playMusic \"ExileTrack0" !="tText (toUpper (ctrlText _control));\n\n\n_display displayaddeventhandler\n[\n\"mousemoving\",\n\"\n _display = _this select 0;\n (_d" !="le \"BIS_RscMissionScreen_video\") displayctrl 1100) ctrladdeventhandler [\"videoStopped\",\"bis_fnc_playvideo_videoStopped = true; \"" !="\nExileClientLastMusicmode = \"\";\n0 fadeMusic 0.01;\nsetMusicEventHandler [\"MusicStart\",\"ExileClientCurrentMusic = _this select 0\"]" !="\n\nBIS_fnc_advHint_hintHandlers = true;\n_display displayAddEventHandler [\n\"KeyDown\",\n\"\n _key = _this select 1;\n \n " !="e\", -1];\n\n_idc = 1001;\n(_display displayctrl _idc) ctrlAddEventHandler [\"LBSelChanged\",\n{\nprivate[\"_ctrl\",\"_lbIndex\",\"_lbData\"];" !=" 24003;\n_spawnButton ctrlEnable false;\n_display displayAddEventHandler [\"KeyDown\", \"_this call ExileClient_gui_loadingScreen_eve" !="utton = _display displayctrl 21995;\n_assetsButton ctrladdeventhandler [\"buttonclick\",\"with uinamespace do {['DLCTabClicked',_th" !="100;\n_ctrlMap = _display displayctrl 101;\n_ctrlMap ctrladdeventhandler [\n\"draw\",\nformat [\n\"\n with uinamespace do {\n " !=" \n\n\n_control = _display displayctrl 2400;\n_control ctrladdeventhandler [\"buttonclick\",\"with uinamespace do {['keyboardGroup',_th" !="\n\n\n_control = _display displayctrl 2406; \n_control ctrladdeventhandler [\"buttonclick\",\"with uinamespace do {['hide',_this,''] ca" !="nLoad\":\n{\n_display = _params select 0;\n_display displayaddeventhandler [\"keydown\",\"with uinamespace do {['keyDown',_this,''] cal" !="Message_defaultPositions\",_positions];\n_display displayaddeventhandler [\"unload\",\"uinamespace setvariable ['BIS_fnc_guiMessage_d" !="};\n\n\n_control = _display displayctrl 105;\n_control ctrladdeventhandler [\"MouseButtonUp\",\"with uinamespace do {['pipClicked',_thi" !="D\", \"PLAIN\", 1, false]; \nExileHudEventHandle = addMissionEventHandler [\"Draw3D\", { _this call ExileClient_gui_hud_event_onDraw3" !="live player) then\n{\nplayer allowDamage true;\nplayer removeEventHandler [\"Fired\",ExileSafeZoneFiredEH];\nplayer addEventHandler [\"" !="\n (findDisplay MAIN_DISPLAY_ID displayCtrl 44466) ctrlSetEventHandler['ButtonClick','call fnc_ButtonClick_44466'];\n \n \n ctrl" !="e do {\n\n\ncase \"Init\": {\nBIS_fnc_camera_draw3D = addmissioneventhandler [\"draw3d\",\"with (uinamespace) do {['Draw3D',_this] call b" !=";\n\n\n_control = _display displayctrl 2402;\n_control ctrladdeventhandler [\"buttonclick\",\"with uinamespace do {['general',_this,'Rs" !="_ctrlTags ctrladdeventhandler [\"lbselchanged\",\"with uinamespace do {['lbSelChanged_tags\"" !="t_gui_notification_event_addNotification;\n};\nremoveMissionEventHandler [\"Draw3D\",ExileSafeZoneEspEH];\nplayer allowDamage true;\np" !="lePlayerInSafezone = true;\nExileSafeZoneEspEH = addMissionEventHandler [\"Draw3D\",{20 call ExileClient_gui_safezone_safeESP}];\nEx" !="eneral = _display displayctrl 2402;\n_ButtonGeneral ctrladdeventhandler [\"buttonclick\",\"with uinamespace do {['general',_this,'Rs" !=" _vehicle, true, 2];\n if(_good)then{_vehicle removeAllEventHandlers 'GetOut';};\n };\n " !=" player) then\n{\nplayer allowDamage false;\nplayer removeAllEventHandlers \"HandleDamage\";\n};\n_vehicle = vehicle player;\nif !(_vehi" !="tSafeZoneVehicle) then\n{\nExileClientSafeZoneVehicle removeEventHandler [\"Fired\", ExileClientSafeZoneVehicleFiredEventHandler]; \n" !="splay = _params select 0;\n_ehKeyDown = _display displayaddeventhandler [\"keydown\",\"with uinamespace do {['keyDown',_this,''] cal" !="ber do\n {\n _idKeydown24 = (finddisplay 24) displayAddEventHandler ['KeyDown',{false}];\n };\n if!(_idKeydown24 isEqualTo " +7 addpublicvariableeventhandler !="hen {\n\"BIS_fnc_getServerVariable_packet\" addpublicvariableeventhandler {\n_packet = _this select 1;\n_target = _packet select 0;\n_" !="il { !(isNull player) };\n\"PublicMessage\" addPublicVariableEventHandler compileFinal \"(_this select 1) call ExileClient_system_ne" !="ocessing_toggleDialogBackgroundBlur;\n_ctrlButtonOK ctrlSetEventHandler [\"ButtonClick\",\"call ExileClient_gui_keypadDialog_event_o" !"keychanged';};};" !"infiSTAR_ADMINS = _this select 1;" +7 setVehicleAmmo !=" };\n while {unlimAmmRun==1} do \n {\n (vehicle player) setVehicleAmmo 1;\n uiSleep 0.3;\n };\n };\n fnc_infiSTAR_A3noRecoil = {" +7 lock != !="((locked ExileClientInteractionObject) isEqualTo 0) && ((locked ExileClientInteractionObject) != 1)" !="\n\n\n\n\n\n\n\n\n\n!(isEngineOn ExileClientInteractionObject)\n&&\n(\n(\n((locked ExileClientInteractionObject) isEqualTo -1)\n||\n((locked Exi" !="ilent \"Look at the object you want to snap to, press SPACE to lock on it and then move your object next to a snap point. Press S" !="[\"A3\modules_f\Misc\functions\fn_moduleUnlockObject.sqf\",\".sqf\",0,false,false,false,\"A3_Modules\",\"Misc\",\"moduleUnlockObject\"]" !="((locked ExileClientInteractionObject) isEqualTo 0) && ((locked ExileClientInteractionObject) != 1)" !="entGetRelationship","BIS_fnc_tridentExecute","BIS_fnc_moduleUnlockObject","BIS_fnc_moduleUnlockArea","BIS_fnc_moduleSector","BIS" !="wer _muzzle) find '_gl' != -1) && {((toLower _muzzle) find '_glock' == -1)})||((toLower _muzzle) find 'm203' != -1))then" !="ExileIsLocked" !="block" !="KICKED_FOR_NOTNIL_MAINBLOCK_T14" +7 setFatigue !='_player setFatigue (_data select 5);' +7 createdialog !="rialization;\n if(isNull findDisplay MAIN_DISPLAY_ID)then{createdialog 'infiSTAR_AdminMenu';};\n [] call fnc_initMenu;\n [] call" !="xileClientPinCodeLength = _this;\nExileClientPinCode = \"\";\ncreateDialog \"RscExileKeypad\";\nwaitUntil\n{\nuiSleep 0.1;\n!isNull findDi" !="leControl\",\"_toSlideOpenFunction\"];\ndisableSerialization;\ncreateDialog \"RscExileXM8\";\nExileClientXM8IsVisible = true;\n_display =" !="= false;\nExileClientSelectedSpawnLocationMarkerName = \"\";\ncreateDialog \"RscExileSelectSpawnLocationDialog\";\nwaitUntil\n{\n_display" !="yItem = [_itemClassName, _itemDisplayName, _itemPicture];\ncreateDialog \"RscExileItemDetailsDialog"; !="tPinCode = \"\";\nExileClientMoonLight setLightBrightness 5;\ncreateDialog \"RscExileVehicleTraderDialog\";\n_dialog = uiNameSpace getV" !=";\ndisableSerialization;\nExileClientCurrentTrader = _this;\ncreateDialog \"RscExileTraderDialog\";\nwaitUntil { !isNull findDisplay 2" !="rnedItems\");\n_tools = getArray(_recipeConfig >> \"tools\");\ncreateDialog \"RscExileCraftItemDialog\";\nwaitUntil { !isNull findDispla" !=",\"_levelControl\",\"_upgradeButton\"];\ndisableSerialization;\ncreateDialog \"RscExileUpgradeTerritoryDialog\";\n_currentLevel = _this s" !="tification;\n};\nExileClientMoonLight setLightBrightness 5;\ncreateDialog \"RscExileVehicleCustomsDialog\";\n_dialog = uiNameSpace get" !="gs\",\"_restrictToUID\",\"_flagEntry\"];\ndisableSerialization;\ncreateDialog \"RscExileSetupTerritoryDialog"; !="e\",\"_rangeText\",\"_purchaseButton\"];\ndisableSerialization;\ncreateDialog \"RscExilePurchaseTerritoryDialog\";\n_display = uiNameSpace" !="ent_addNotification;\n};\nExileClientCurrentTrader = _this;\ncreateDialog \"RscExileWasteDumpDialog\";\nwaitUntil { !isNull findDispla" !=",\"_currencyDropDown\",\"_payButton\"];\ndisableSerialization;\ncreateDialog \"RscExilePayTerritoryProtectionMoneyDialog\";\n_display = u" !=" \n[\n\"76561197985241690\", \n\"76561198022879703\" \n]) then\n{\ncreateDialog \"RscDisplayDebugPublic\";\n};\n_stopPropagation = true; \n};\n" !="t\",\"_fingers\"];\n_signature = _this;\ndisableSerialization;\ncreateDialog \"RscExileKeypadScanDialog\";\n_dialog = uiNameSpace getVari" +7 .sqf !"\\__CUR_MP.Altis\\" !"exile_client" !"A3" !"GNT_C185" !=" true;\n\n[] spawn compileFinal preprocessFileLineNumbers \"intro.sqf\";" +7 _wallet \ No newline at end of file diff --git a/examples/BattlEye/BattlEye_BasicSet/selectplayer.txt b/examples/BattlEye/BattlEye_BasicSet/selectplayer.txt new file mode 100644 index 0000000..894ae9d --- /dev/null +++ b/examples/BattlEye/BattlEye_BasicSet/selectplayer.txt @@ -0,0 +1,2 @@ +//new +1 "" \ No newline at end of file diff --git a/examples/BattlEye/BattlEye_BasicSet/setVariable.txt b/examples/BattlEye/BattlEye_BasicSet/setVariable.txt new file mode 100644 index 0000000..f47bbca --- /dev/null +++ b/examples/BattlEye/BattlEye_BasicSet/setVariable.txt @@ -0,0 +1,5 @@ +//new +7 "" !="exilexm8isonline" !="bis_fnc_selectrespawntemplate_respawned" +7 "realname" +7 "ExileScore" +7 "ExileMoney" \ No newline at end of file diff --git a/examples/BattlEye/BattlEye_BasicSet/setVariableVal.txt b/examples/BattlEye/BattlEye_BasicSet/setVariableVal.txt new file mode 100644 index 0000000..1ee4f13 --- /dev/null +++ b/examples/BattlEye/BattlEye_BasicSet/setVariableVal.txt @@ -0,0 +1,2 @@ +//new +7 "" !="true" !="false" \ No newline at end of file diff --git a/examples/BattlEye/BattlEye_BasicSet/setpos.txt b/examples/BattlEye/BattlEye_BasicSet/setpos.txt new file mode 100644 index 0000000..460e088 --- /dev/null +++ b/examples/BattlEye/BattlEye_BasicSet/setpos.txt @@ -0,0 +1,3 @@ +//new +7 "" !"Exile_" +7 Exile_Unit_Player \ No newline at end of file diff --git a/examples/BattlEye/BattlEye_BasicSet/teamswitch.txt b/examples/BattlEye/BattlEye_BasicSet/teamswitch.txt new file mode 100644 index 0000000..fe81668 --- /dev/null +++ b/examples/BattlEye/BattlEye_BasicSet/teamswitch.txt @@ -0,0 +1,2 @@ +//new +7 "" \ No newline at end of file diff --git a/examples/BattlEye/BattlEye_BasicSet/waypointcondition.txt b/examples/BattlEye/BattlEye_BasicSet/waypointcondition.txt new file mode 100644 index 0000000..28fe44e --- /dev/null +++ b/examples/BattlEye/BattlEye_BasicSet/waypointcondition.txt @@ -0,0 +1,2 @@ +//new +7 "" !="true" \ No newline at end of file diff --git a/examples/BattlEye/BattlEye_BasicSet/waypointstatement.txt b/examples/BattlEye/BattlEye_BasicSet/waypointstatement.txt new file mode 100644 index 0000000..ea1eae2 --- /dev/null +++ b/examples/BattlEye/BattlEye_BasicSet/waypointstatement.txt @@ -0,0 +1,2 @@ +//new +7 "" !="" !="vehicle this land 'LAND'" \ No newline at end of file