From d1c99deac38d343712c8cf3eae99ea1f29354f47 Mon Sep 17 00:00:00 2001 From: infiSTAR Date: Wed, 11 Dec 2013 22:13:41 +0100 Subject: [PATCH] setdamage.txt fixes for hatched/chainsaw - scriprts.txt to block newer hacks and publicVariable.txt to get everything working --- Server Files/Battleye/publicvariable.txt | 94 ++++++++++++------------ Server Files/Battleye/scripts.txt | 89 +++++++++++++++++++--- Server Files/Battleye/setdamage.txt | 2 +- 3 files changed, 126 insertions(+), 59 deletions(-) diff --git a/Server Files/Battleye/publicvariable.txt b/Server Files/Battleye/publicvariable.txt index 663746223..89309d60b 100644 --- a/Server Files/Battleye/publicvariable.txt +++ b/Server Files/Battleye/publicvariable.txt @@ -1,4 +1,47 @@ -1 "" !"PVDZE_" !="drn_AskServerDynamicWeatherEventArgs" !="usecTransfuse" !="usecBandage" !="usecBleed" !="usecPainK" !="usecEpi" !="usecMorphine" !="norrnRaDrag" !="norrnR180" !="norrnRalie" !="norrnRALW" !="norrnRACarUp" !="norrnRAPicUp" !="norrnRnoAnim" !="remExField" !="BIS_MPF_logic" !="remExFP" !="player" !="rsay" !="rland" !="rsetdir" !="_this spawn fnc_plyrHit;" +5 !="remExField" !="remExFP" !="PVDZE_plr_TradeMenu" !="PVDZE_veh_SFuel" !="PVDZE_veh_Update" !="PVDZE_plr_GutBody" !="PVDZE_plr_GutBodyZ" !="PVDZE_veh_Lock" !="PVDZE_plr_DeathB" !="PVDZE_obj_Publish" !="PVDZE_obj_Swap" !="PVDZE_plr_Save" !="PVDZE_plr_FriendRQ" !="usecBreakLegs" !="PVDZE_obj_Delete" !="PVDZE_veh_SFix" !="PVDZE_obj_Trade" !="PVDZE_veh_Publish2" !="PVDZE_plr_DiscAdd" !="PVDZE_plr_HumanityChange" !="usecBleed" !="usecMorphine" !="usecBandage" !="PVDZE_plr_HideBody" !="PVDZE_plr_Died" !="PVDZE_obj_Hide" !="PVDZE_obj_RoadFlare" !="PVDZE_zed_Spawn" !="drn_DynamicWeather_DebugTextEventArgs" !="drn_AskServerDynamicWeatherEventArgs" !="drn_DynamicWeatherEventArgs" !="drn_var_DynamicWeather_Rain" !="drn_var_DynamicWeather_ServerInitialized" !="norrnRACarUp" !="norrnRAPicUp" !="norrnRaDrag" !="norrnR180" !="norrnRalie" !="usecEpi" !="norrnRLact" !="norrnRALW" !="norrinRAlie" !="usecPainK" !="usecTransfuse" !="atp" !="PVDZE_plr_Login" !="PVDZE_plr_Login2" !="PVDZE_plr_LoginRecord" !="PVDZE_plr_DiscRem" !="BIS_effects_gepv" !="PVDZE_plr_DeathBResult" !="customRemoteMessage" !="dayzPlayerLogin" !="PVDZE_veh_Init" !="PVDZE_obj_Fire" !="dayzTradeResult" !="PVDZE_plr_TradeMenuResult" !="PVDZE_plr_SetDate" !="sm_done" !="PVDZE_plr_Morph2" !="PVDZE_plr_Morph" !="norrnRnoAnim" !="norrnRDead" !="usecInject" !="PVDZE_plr_Hit" !="PVDZE_plr_HitV" !="PVDZE_plr_DelLocal" !="PVDZE_serverObjectMonitor" !="PVDZE_veh_Upgrade" !="maintainArea_log" !"player" !"PVAHR_" !="PVAH_AdminRequest" !="PVAH_WriteLogRequest" +5 PVAHR_ !PVAHR_0 !PVAHR_1 !PVAHR_2 !PVAHR_3 !PVAHR_4 !PVAHR_5 !PVAHR_6 !PVAHR_7 !PVAHR_8 !PVAHR_9 +5 "HangenderRE" +5 "vilegaming" +5 "v.i.l.e" +5 "Lystic" +5 "Rustler" +5 "BattleFieldClearance" +5 "BIS_MPF_logic" +5 "BIS_MPF_dummygroup" +5 "PVAH_filluLog_arr" +5 "PVDZ_" +5="player" +5="server" +5 "teleported" +5 "remExFP" !="\"remExFP\" = [,,\"per\",\"execVM\",\"ca\Modules\Functions\init.sqf\"]" !"[,,\"per\",\"execVM\",\"ca\Modules\Functions\init.sqf\"]" +5 "dayzSetDate" +5 "rsay" +5 "rland" +5 "rsetdir" +5 "local_sefFuel" +5 "hiveupdateresu" +5 "eh_localCleanup" +5 "vehicle_handleInteract" +5 "server_characterSync" +5 "fnc_buildWeightedArray" +5 "server_hiveWrite" +5 "server_hiveReadWrite" +5 "spawn_heliCrash" +5 "server_getDiff" +5 "server_getDiff2" +5 "dayz_objectUID" +5 "dayz_objectUID2" +5 "dayz_recordLogin" +5 "adminrq" +5 "rpcCodeVarName" +5 "rpcDirectCall" +5 "broadcastRpcCallAll" +5 "broadcastRpcCallIfLocal" +5 "callRpcProcedure" +5 "registerBroadcastRpc" +5 "drn_DynamicWeatherEventArgs" +5 "monkymonitor" +5 "mmonitor" 5 "dayzSpawnZed" 5 "dayzLogin" 5 "dayzLogin2" @@ -22,51 +65,4 @@ 5 "changeCharacter" 5 "dayzSwitch" 5 "dayzFire" -5 "dayzDeath" -5 "drn_DynamicWeatherEventArgs" -5 "dayzSetDate" -5 "teleported" -1 "nil" -1 "true" -1" false" -5 "remExFP" -//1 "remExField" -5 "BIS_MPF_logic" -1 "JIPrequest" -1 "JIPexec" -//1 "dayzDeath" -//1 "player" -1 "alive" -5 "dayzSetDate" -5 "rsay" -5 "rland" -5 "rsetdir" -5 "local_sefFuel" -1 "spawn" !="PVDZE_zed_Spawn" !="_this spawn fnc_plyrHit;" -1 "BIS_Effects" -5 "hiveupdateresu" -5 "eh_localCleanup" -5 "vehicle_handleInteract" -5 "server_characterSync" -5 "fnc_buildWeightedArray" -5 "server_hiveWrite" -5 "server_hiveReadWrite" -5 "spawn_heliCrash" -5 "server_getDiff" -5 "server_getDiff2" -5 "dayz_objectUID" -5 "dayz_objectUID2" -5 "dayz_recordLogin" -5 "monkymonitor" -5 "mmonitor" -5 "monky" -5 "adminrq" -5 "rpcCodeVarName" -5 "rpcDirectCall" -5 "broadcastRpcCallAll" -5 "broadcastRpcCallIfLocal" -5 "callRpcProcedure" -5 "registerBroadcastRpc" -//1 "norrnRACarUp" -//1 "norrnRAPicUp" -//1 "" \ No newline at end of file +5 "dayzDeath" \ No newline at end of file diff --git a/Server Files/Battleye/scripts.txt b/Server Files/Battleye/scripts.txt index 262fc4345..cb8d4444b 100644 --- a/Server Files/Battleye/scripts.txt +++ b/Server Files/Battleye/scripts.txt @@ -1,9 +1,80 @@ -5 addMagazine !"addMagazine _" !"addMagazine \"" !"addMagazine '" !"\"addMagazine\"" !addMagazineCargo !="raddMagazine = 'addMagazine'" !="raddMagazinecode={diag_log(\"WARNING illegal RE raddMagazinecode with args:\"+str(_this));};" !="raddMagazinecode = compile PreprocessFile (BIS_PathMPscriptCommands + 'addMagazine.sqf')" !"ate_ammo_rest != 0) then {\nplayer addMagazine [_create,_qtynew_create_ammo_rest]" !"if (_ammo > 0) then {\nplayer removeMagazines \"Quiver\";\nplayer addMagazine [\"Quiver\", _ammo];" !"mmo_rest != 0) then {\nplayer addMagazine [_consume,_qtynew_consume_ammo_res" !"ume_ammo_rest != 0) then {\nplayer addMagazine [_consume,_qtynew_consume_ammo_res" !"o_rest != 0) then {\nplayer addMagazine [_create,_qtynew_create_ammo_rest]" !"Magazine \"WoodenArrow\";\n};\nplayer addMagazine [\"Quiver\",_qty_quiverarrows+_qty_a" !"ame _x == \"ARRAY\") then {_newUnit addMagazine [_x select 0,_x select 1] } else {" !"n {\nif (_val != -1) then {\nplayer addMagazine [_item,_val];\n} else {\nplayer " !"{\n_vehicle removeMagazineTurret [_ammo,_turret];\n_vehicle addMagazineTurret [_ammo,_turret];\nplayer removeMagazine _ammo;\n\ncutText [for" !"_item = createVehicle [\"WeaponHolder\", getPosATL player, [], 1, \"CAN_COLLIDE\"];\n_item addMagazineCargoGlobal [_itemOut,_countOut];" !"if (typeName _countOut == "ARRAY") then {\n_countOut = round((random (_countOut select 1)) + (_countOut select 0));\n};\n_item addMagazineCargoGlobal [_itemOut,_countOut];\n} forEach _selectedRemoveOutput;" -5 "addMagazine _" !"addMagazine _c" !"addMagazine _x" !"addMagazine _i" !"addMagazine _p" !"_invRemove);\nfor \"_x\" from 1 to _removed do {\nplayer addMagazine _meatcooked;\n};" !if (local _animalbody) then {\nfor \"_x\" from 1 to _qty do {\n_animalbody addMagazine _rawfoodtype;\n};\n" !"_selectRandomWeighted;\nif(!isNil \"_array\") then {\n_agent addMagazine _loot;\n};\n" !"\nfor \"_x\" from 1 to _third_parts_out do {\nplayer addMagazine _third_highest_bar;\n};\n" !"\nfor \"_x\" from 1 to _remainder do {\nplayer addMagazine _next_highest_bar;\n};\n" -5 "addMagazine _p" !"alive _obj) then {\n\nif(_okToSell) then {\n\nfor "_x" from 1 to _qty_out do {\nplayer addMagazine _part_out;" !"alive _obj) then {\n\nfor \"_x\" from 1 to _qty_out do {\nplayer addMagazine _part_out;\n};" !"removeBackpack player;\nfor \"_x\" from 1 to _qty_out do {\nplayer addMagazine _part_out;\n};" !"\nfor \"_x\" from 1 to _removed do {\nplayer addMagazine _part_in;\n};\n" !"\nfor \"_x\" from 1 to _remainder do {\nplayer addMagazine _part_out;\n};\n" !"\nfor \"_x\" from 1 to _total_parts_out do {\nplayer addMagazine _part_out;\n};" !"do {\nplayer addMagazine _part_out;\nif(_part_out == \"FoodBioMeat\") then {\n_humanityGain = _humanityGain + 20;\n};" !"if(_buy_o_sell == \"buy\") then {\nplayer addWeapon _part_out;\n} else {\nplayer addMagazine _part_out;\n};" -5 "addMagazine _i" !"\nfor \"_x\" from 1 to _countOut do {\nplayer addMagazine _itemOut;\n};" !"drop,1];\n} else {\nplayer addMagazine _itemOut;\n};" !"_invRemove) == 1) then {\nplayer addMagazine _itemNew;\n[dayz_playerUID,dayz_c" !"\nif (_isOK) then {\nif (_val != -1) then {\nplayer addMagazine [_item,_val];\n} else {\nplayer addMagazine _item;\n};\n" !"s (configfile >> \"cfgmagazines\" >> (_item))) then {_unit addMagazine _item;};" -5 "addMagazine _c" !"ynew_create_mags_full do {\nplayer addMagazine _create;\n};\nif (_qtynew_create_amm" !"new_consume_mags_full do {\nplayer addMagazine _consume;\n};\nif (_qtynew_consume_a" !"[player,\"refuel\",0,false] call dayz_zombieSpeak;\nplayer addMagazine _canName;\ncutText " !"[player,\"refuel\",0,false] call dayz_zombieSpeak;\nplayer addMagazine _canName+\"Empty\";\ncutText " -5 "addMagazine _x" !"{player addMagazine _x;} forEach _temp_removed_array;\n\ncutText" !" 0,_x select 1] } else { _newUnit addMagazine _x };\n\n} forEach _magazines;\n\n{\n_n" !" >> _x);\nif (_isOK) then {\nplayer addMagazine _x;\n};\n} forEach _wpns;" !"gFile >> "CfgMagazines" >> _x);if (_isOK) then {\nplayer addMagazine _x;\n};\n} forEach _mags;\n{\n_isOK = isClass(configFile >> "C" -5 "addMagazine \"" !"for \"_x\" from 1 to _removed do {\nplayer addMagazine \"ItemWaterbottleBoiled\";\n};" !"Jerrycan\"] call BIS_fnc_invRemove) == 1) then {\nplayer addMagazine \"ItemJerrycanEmpty\";\n" !"if(([player,_x] call BIS_fnc_invRemove) == 1) then {\nif (_x == ItemFuelBarrelEmpty) then {\nplayer addMagazine "ItemFuelBarrel";\n} else {\nplayer addMagazine "ItemJerrycan";\n};" !"n player_alertZombies;\nplayer addMagazine \"ItemWaterbottleUnfilled\";" !"WaterbottleUnfilled\"] call BIS_fnc_invRemove) == 1) then {\nplayer addMagazine \"ItemWaterbottle\";\n};" !"Waterbottle\"] call BIS_fnc_invRemove) == 1) then {\nplayer addMagazine \"ItemWaterbottleUnfilled\";\n};" !"if (local _zombiebody) then {\n_zombiebody addMagazine \"ItemZombieParts\";" !"ayer playActionNow \"stop\";\n};\nplayer addMagazine \"ItemBandage\";\n};" -5 "addMagazine '" !" addMagazine 'crowbar_swing';" !" addMagazine 'hatchet_swing';" !" addMagazine 'Machete_swing';" !" addMagazine 'Fishing_Swing';" -5 "setDamage" !"player setdamage 0;" !"player setDamage 1;" !"_vehicle setDamage 0; "!"if("""" == typeOf _tree) then {\n_tree setDamage 1;\n};" !"if("""" == typeOf _tree) then {\n_tree setDamage 0.99;\n};" !"if (_ent isKindOf ""Animal"") then {\n_ent setDamage 1;\n" !"if (_ent isKindOf ""Animal"" or _isZombie) then {\n_ent setDamage 1;" \ No newline at end of file +1 "addBackpackCargoGlobal" !"_holder addbackpackcargoGlobal [_x,(_objWpnQty select _countr)];" +1 HelicopterExplo !"_expl=createVehicle [\"HelicopterExploSmall\",(getPosATL _v),[],0,\"CAN_COLLIDE\"];" +5 "Logic" !"\"Logic\" createVehicleLocal" !"sideLogic" !"BIS_MPF_clientJIPlogic" !"_humanity_logic" +5 "FunctionsManager" +5 BattleFieldClearance +5 "BIS_MPF_logic" !"BIS_MPF_logic = BIS_MPF_dummygroup createUnit" +5 "BIS_MPF_dummygroup" !="BIS_MPF_dummygroup = createGroup sideLogic;" !"BIS_MPF_logic = BIS_MPF_dummygroup createUnit" +5 _codeAHOFF +5 "_first in" +5 "_commands" +5 "_agent setDamage 1" +5 "_unit createUnit" +5 "createUnit _array" +5 "[_pos, _grp, \";\" +" +5 "+ \";\"" +5 "+\";\"" +5 "+ \";\"]" +5 "+\";\"]" +5 "], \"FunctionsManager\"]" +5 "],\"FunctionsManager\"]" +5 "], \"Logic\"]" +5 "],\"Logic\"]" +5 "hint \"Server Anti-Hack is OFF. Rejoin Server Now\"" +5 "closeDisplay =" +5 "rJIPrequest =" !"rJIPrequest = 'JIPrequest'" +5 "{rJIPREQUEST" !"!isNil {rJIPREQUEST}" +5 RUSTLER +5 Ruslter +5 "Systems Online" +5 HangenderRE +5 vilegaming +5 v.i.l.e +5 Lystic +5 setDammage +5 "compile toString" +5 @TheWarZ +5 beeeh +5 dayz-injector-menu +5 Shadowy_NONRE +5 "lol\car.sqf" +5 _cute +5 _stuff +5 _vgmenu +5 _func4 +5 _genVar +5 _rand60 +5 _first_term +5 _skarmory +5 _salamence +5 "Init RE" +5 Nigger +5 "\"You\"" +5 "selectedItemCountLeft = lnbText" +5 "vehicle player addaction [(\"\" + (\"ET\") +\"\")," +5 "\"HelicopterExplobig\", \"HelicopterExploSmall\" createVehicleLocal" +5 "\"HelicopterExploSmall\", \"HelicopterExplobig\" createVehicleLocal" +5 "\"HelicopterExplobig\", \"HelicopterExploSmall\" createVehicle" +5 "\"HelicopterExploSmall\", \"HelicopterExplobig\" createVehicle" +5 "\"HelicopterExplobig\" createvehiclelocal (position " +5 "_classname = \"HelicopterExploBig\";" +5 "(getPosATL player) nearObjects [\"Man\", 15000]" +5 "[[\"Man\",\"Air\",\"Car\",\"Motorcycle\",\"Tank\",\"Ship\",\"StaticWeapon\"],250000]" +5 action_crate1 +5 _dummyveh +5 "case \"CODE\":" +5 "], 40000])" +5 "nearestObjects [player, [\"TentStorage\", \"TentStorageDomed\", \"TentStorageDomed2\", \"VaultStorage\", \"VaultStorageLocked\", \"LockboxStorageLocked\", \"LockboxStorage\", \"Land_A_tent\", \"WeaponHolder_ItemTent\"], 5];" +5 "(getPosATL player) nearObjects [\"Man\", 200];" +5 "(nearestObject [player, \"Rabbit\"])" +5 "try saving" +5 "addMagazineCargoGlobal[\"ItemSilverBar\",50];" +5 "addMagazineCargoGlobal[\"ItemSilverBar10oz\",50];" +5 "addMagazineCargoGlobal[\"ItemGoldBar\",50];" +5 "addMagazineCargoGlobal[\"ItemGoldBar10oz\",50];" +5 "addMagazineCargoGlobal[\"ItemBriefcase100oz\",50];" +5 "addMagazineCargoGlobal[\"ItemSilverBar\",500];" +5 "addMagazineCargoGlobal[\"ItemSilverBar10oz\",500];" +5 "addMagazineCargoGlobal[\"ItemGoldBar\",500];" +5 "addMagazineCargoGlobal[\"ItemGoldBar10oz\",500];" +5 "addMagazineCargoGlobal[\"ItemBriefcase100oz\",500];" \ No newline at end of file diff --git a/Server Files/Battleye/setdamage.txt b/Server Files/Battleye/setdamage.txt index d062d049e..696eb56f9 100644 --- a/Server Files/Battleye/setdamage.txt +++ b/Server Files/Battleye/setdamage.txt @@ -1,2 +1,2 @@ 1 "" -1 "1.000000" \ No newline at end of file +5 !="0.000000" !="0.990000" !="1.000000" !="2.000000" \ No newline at end of file