Add exception in REsec for death messages

This commit is contained in:
ebaydayz
2016-04-20 11:53:30 -04:00
parent 5308445f4c
commit 9d4bd9221a
26 changed files with 74 additions and 50 deletions

View File

@@ -17,7 +17,14 @@ private["_ofn","_nfn"];
}foreach TRACED_LIB;
{
_ofn=format["r%1code",_x];
call compile format["%1={diag_log(""WARNING illegal RE %1 with args:""+str(_this));};",_ofn];
_nfn=format["r%1code%2",_x,round(random(100000))];
//rSpawn is needed on clients only if one of these death message types is enabled
if (_x == "spawn" && {!isDedicated} && {DZE_DeathMsgDynamicText or DZE_DeathMsgGlobal or DZE_DeathMsgSide}) then {
// treat as traced on clients
call compile format["%1=%2;%2={diag_log(""Allowed RE on clients for death message %2 args:""+str(_this));_this call %1};",_nfn,_ofn];
} else {
call compile format["%1={diag_log(""WARNING illegal RE %1 with args:""+str(_this));};",_ofn];
};
}foreach REMOVED_LIB;
#ifndef SKIP_REMOTEEXECUTIONSERVER

View File

@@ -263,4 +263,4 @@
["Land_Panelak",[3205.56,3115.54,4.57764e-005],22.4148],
["Land_Panelak",[2701.28,2857.08,-0.00298309],2.37132],
["Land_Panelak2",[2833.77,2849.69,-0.0144768],3.58606]
] call local_spawnTraderCities;
] call local_spawnObjects;

View File

@@ -169,4 +169,4 @@
["MAP_R2_RockWall",[13881,11792.8,-14.3209],142.299],
["MAP_R2_RockTower",[13827.3,11770.9,-13.6761],0],
["MAP_R2_Rock1",[13817.8,11746.1,-27.2185],68.5491]
] call local_spawnTraderCities;
] call local_spawnObjects;

View File

@@ -315,4 +315,4 @@
["MAP_R2_RockWall",[13881,11792.8,-14.3209],142.299],
["MAP_R2_RockTower",[13827.3,11770.9,-13.6761],0],
["MAP_R2_Rock1",[13817.8,11746.1,-27.2185],68.5491]
] call local_spawnTraderCities;
] call local_spawnObjects;

View File

@@ -169,4 +169,4 @@
["Land_Fire_barrel",[4353.02,3655.65,0],48.8184],
["Land_Fire_barrel",[3390.93,4098.64,-1.52588e-005],153.856],
["Land_A_Hospital",[3307.93,1509.43,-1.14441e-005],0.916192]
] call local_spawnTraderCities;
] call local_spawnObjects;

View File

@@ -156,4 +156,4 @@
["Info_Board_EP1",[9761.01,4032.71,-3.52859e-005],57.3271],
["Info_Board_EP1",[13575.6,7499.29,0.000282288],90.123],
["HeliHCivil",[7990.66,10591.1,2.47955e-005],0]
] call local_spawnTraderCities;
] call local_spawnObjects;

View File

@@ -300,4 +300,4 @@
["MAP_Barbedwire",[8410.45,3359.27,6.77109e-005],342.125],
["ASC_EU_LHSOld",[8410.74,3380.06,6.67572e-006],0],
["ASC_EU_LHSOld",[8418.09,3380.07,4.76837e-006],0]
] call local_spawnTraderCities;
] call local_spawnObjects;

View File

@@ -243,4 +243,4 @@
["HeliHEmpty",[9297.45,3854.4,1.33514e-005],0.000364386],
["HeliHCivil",[4210.44,1480.93,0],0],
["Land_HBarrier_large",[4148.3,1479.76,0.0176926],92.8137]
] call local_spawnTraderCities;
] call local_spawnObjects;

View File

@@ -114,4 +114,4 @@
["Land_Fire_barrel_burning",[6294.21,9927.04,0.573409],0],
["FlagCarrierTFKnight_EP1",[6276.49,9401.92,-0.090519],82.954],
["Land_Fire_barrel_burning",[6275.86,9406.17,0],358.888]
] call local_spawnTraderCities;
] call local_spawnObjects;

View File

@@ -260,4 +260,4 @@
["Land_HBarrier3",[15473.1,13212.3,-0.00374699],106.213],
["Land_HBarrier3",[15455.8,13214.6,0.00995064],297.611],
["Land_HBarrier3",[15507,13213.2,0.228428],99.1406]
] call local_spawnTraderCities;
] call local_spawnObjects;

View File

@@ -115,4 +115,4 @@
["Land_Fire_barrel",[7223.86,733.89,0.000946999],0.0379978],
["Land_Fire_barrel",[4409.02,1627.98,0.000356674],122.863],
["Land_Fire_barrel",[3794.43,7652.93,3.1340871],0]
] call local_spawnTraderCities;
] call local_spawnObjects;

View File

@@ -290,4 +290,4 @@
["FlagCarrierOPFOR_EP1",[931.994,1211.14,0.0169449],198.708],
["FlagCarrierOPFOR_EP1",[944.925,1178.76,5.71742],198.708],
["FlagCarrierOPFOR_EP1",[948.911,1174.81,5.66268],198.708]
] call local_spawnTraderCities;
] call local_spawnObjects;

View File

@@ -427,4 +427,4 @@
["Misc_cargo_cont_net3",[2445.79,3894.76,0.0341797],264.582],
["FoldChair",[2446.56,3898.81,0.000793457],103.739],
["FoldTable",[2444.96,3899.14,0.000640869],267.556]
] call local_spawnTraderCities;
] call local_spawnObjects;

View File

@@ -61,4 +61,4 @@
["BMP2Wreck",[472.932,1069.16,0.0105076],54.1738],
["Misc_palletsfoiled_heap",[496.077,1082.61,-0.00848007],62.6169],
["Info_Board_EP1",[505.839,1120,0.00104141],40.2667]
] call local_spawnTraderCities;
] call local_spawnObjects;

View File

@@ -145,4 +145,4 @@
["Misc_cargo_cont_small2",[13246.9,11188.1,7.62939e-006],88.3989],
["AmmoCrate_NoInteractive_",[13244.1,11192.5,7.62939e-006],0],
["AmmoCrates_NoInteractive_Large",[13247.3,11189.7,-1.90735e-006],0]
] call local_spawnTraderCities;
] call local_spawnObjects;

View File

@@ -308,4 +308,4 @@
["LADAWreck",[10867.4,6319.59,0.00982666],359.859],
["FoldTable",[422.854,5589.3,0.00149536],17.7976],
["Misc_cargo_cont_net1",[428.667,5574.01,0.000213623],323.529]
] call local_spawnTraderCities;
] call local_spawnObjects;

View File

@@ -723,4 +723,4 @@
["MAP_R2_RockWall",[7440.15,5567.71,-20.5011],112.729],
["MAP_R2_RockWall",[7494.54,5608.71,-20.677],290.173],
["MAP_R2_RockWall",[7512.41,5583.7,-12.2722],171.501]
] call local_spawnTraderCities;
] call local_spawnObjects;

View File

@@ -58,4 +58,4 @@
["Fort_StoneWall_EP1",[4022.83,2882.98,0.0588207],342.867],
["T72Wreck",[4022.61,2917.04,0.0561008],339.954],
["Info_Board_EP1",[4012.73,2897.31,0.00329018],262.568]
] call local_spawnTraderCities;
] call local_spawnObjects;

View File

@@ -84,4 +84,4 @@
["Land_Fire_barrel",[3577.17,6830.6,0.000236511],359.997],
["Info_Board_EP1",[3612.99,6829.27,0.000593185],86.5122],
["Land_Fire_barrel",[4723.34,833.238,0.000152588],0.00214848]
] call local_spawnTraderCities;
] call local_spawnObjects;