persist queue for bases and remoteExec testing

This commit is contained in:
vbawol 2015-09-08 13:42:19 -05:00
parent 8f7747a818
commit c204672730
22 changed files with 92 additions and 84 deletions

View File

@ -1 +1 @@
5 "" 5 "" !="epoch_server_save_vehicles \[.+\]"

View File

@ -63,7 +63,7 @@ class CfgSecConf
class addEventHandler { class addEventHandler {
checks[] = {"Fired","InventoryClosed","InventoryOpened","Killed","HandleDamage","HandleHeal","Dammaged","Hit","HitPart"}; checks[] = {"Fired","InventoryClosed","InventoryOpened","Killed","HandleDamage","HandleHeal","Dammaged","Hit","HitPart"};
Fired = "_this call EPOCH_fnc_playerFired;"; Fired = "_this call EPOCH_fnc_playerFired;";
InventoryClosed = "if !(EPOCH_arr_interactedObjs isEqualTo[]) then { EPOCH_S_S_VEHICLES = EPOCH_arr_interactedObjs; publicVariableServer 'EPOCH_S_S_VEHICLES'; EPOCH_arr_interactedObjs = [];};"; InventoryClosed = "if !(EPOCH_arr_interactedObjs isEqualTo[]) then {EPOCH_arr_interactedObjs remoteExec['EPOCH_server_save_vehicles', 2]; EPOCH_arr_interactedObjs = [];};";
InventoryOpened = "_this spawn EPOCH_initUI; (locked (_this select 1) in [2, 3])"; InventoryOpened = "_this spawn EPOCH_initUI; (locked (_this select 1) in [2, 3])";
Killed = "_this call EPOCH_fnc_playerDeath;"; Killed = "_this call EPOCH_fnc_playerDeath;";
HandleDamage = ""; HandleDamage = "";

View File

@ -38,17 +38,17 @@ wreckRemovalMaxTime = 360;
class CfgRemoteExec class CfgRemoteExec
{ {
class Functions class Functions
{ {
mode = 0; mode = 1;
jip = 0; jip = 0;
}; class EPOCH_server_save_vehicles {
class Commands allowedTargets=2;
{ jip = 0;
mode=0; };
}; };
class Commands {mode=0;};
}; };
class CfgEpochSapper class CfgEpochSapper
{ {
detonateDistMax = 8; //Random distance between 3m and this number at which sapper detonates. Min value = 4 detonateDistMax = 8; //Random distance between 3m and this number at which sapper detonates. Min value = 4

View File

@ -38,15 +38,16 @@ wreckRemovalMaxTime = 360;
class CfgRemoteExec class CfgRemoteExec
{ {
class Functions class Functions
{ {
mode = 0; mode = 1;
jip = 0; jip = 0;
}; class EPOCH_server_save_vehicles {
class Commands allowedTargets=2;
{ jip = 0;
mode=0; };
}; };
class Commands {mode=0;};
}; };
class CfgEpochSapper class CfgEpochSapper

View File

@ -38,15 +38,16 @@ wreckRemovalMaxTime = 360;
class CfgRemoteExec class CfgRemoteExec
{ {
class Functions class Functions
{ {
mode = 0; mode = 1;
jip = 0; jip = 0;
}; class EPOCH_server_save_vehicles {
class Commands allowedTargets=2;
{ jip = 0;
mode=0; };
}; };
class Commands {mode=0;};
}; };
class CfgEpochSapper class CfgEpochSapper

View File

@ -38,15 +38,16 @@ wreckRemovalMaxTime = 360;
class CfgRemoteExec class CfgRemoteExec
{ {
class Functions class Functions
{ {
mode = 0; mode = 1;
jip = 0; jip = 0;
}; class EPOCH_server_save_vehicles {
class Commands allowedTargets=2;
{ jip = 0;
mode=0; };
}; };
class Commands {mode=0;};
}; };
class CfgEpochSapper class CfgEpochSapper

View File

@ -38,15 +38,16 @@ wreckRemovalMaxTime = 360;
class CfgRemoteExec class CfgRemoteExec
{ {
class Functions class Functions
{ {
mode = 0; mode = 1;
jip = 0; jip = 0;
}; class EPOCH_server_save_vehicles {
class Commands allowedTargets=2;
{ jip = 0;
mode=0; };
}; };
class Commands {mode=0;};
}; };
class CfgEpochSapper class CfgEpochSapper

View File

@ -38,15 +38,16 @@ wreckRemovalMaxTime = 360;
class CfgRemoteExec class CfgRemoteExec
{ {
class Functions class Functions
{ {
mode = 0; mode = 1;
jip = 0; jip = 0;
}; class EPOCH_server_save_vehicles {
class Commands allowedTargets=2;
{ jip = 0;
mode=0; };
}; };
class Commands {mode=0;};
}; };
class CfgEpochSapper class CfgEpochSapper

View File

@ -38,15 +38,16 @@ wreckRemovalMaxTime = 360;
class CfgRemoteExec class CfgRemoteExec
{ {
class Functions class Functions
{ {
mode = 0; mode = 1;
jip = 0; jip = 0;
}; class EPOCH_server_save_vehicles {
class Commands allowedTargets=2;
{ jip = 0;
mode=0; };
}; };
class Commands {mode=0;};
}; };
class CfgEpochSapper class CfgEpochSapper

View File

@ -38,15 +38,16 @@ wreckRemovalMaxTime = 360;
class CfgRemoteExec class CfgRemoteExec
{ {
class Functions class Functions
{ {
mode = 0; mode = 1;
jip = 0; jip = 0;
}; class EPOCH_server_save_vehicles {
class Commands allowedTargets=2;
{ jip = 0;
mode=0; };
}; };
class Commands {mode=0;};
}; };
class CfgEpochSapper class CfgEpochSapper

View File

@ -38,15 +38,16 @@ wreckRemovalMaxTime = 360;
class CfgRemoteExec class CfgRemoteExec
{ {
class Functions class Functions
{ {
mode = 0; mode = 1;
jip = 0; jip = 0;
}; class EPOCH_server_save_vehicles {
class Commands allowedTargets=2;
{ jip = 0;
mode=0; };
}; };
class Commands {mode=0;};
}; };
class CfgEpochClient class CfgEpochClient