mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
Use formatText in mission check
Avoids format character limit closes #1905
This commit is contained in:
@@ -5,6 +5,6 @@
|
|||||||
[NOTE] Fixes below are included in the mission file and server pbo as part of server package 1.0.6.1A (March 10th 2017)
|
[NOTE] Fixes below are included in the mission file and server pbo as part of server package 1.0.6.1A (March 10th 2017)
|
||||||
[FIXED] Fixed food and drink going down 10x faster from melee and other "working" actions.
|
[FIXED] Fixed food and drink going down 10x faster from melee and other "working" actions.
|
||||||
[FIXED] Glitch where group icons scaled very large momentarily while moving off screen.
|
[FIXED] Glitch where group icons scaled very large momentarily while moving off screen.
|
||||||
[FIXED] Possible mission file exploit
|
[NEW] Added temporary check for mission file overwrite exploit. This can be removed after Bohemia patches it.
|
||||||
|
|
||||||
[INFO] See Documents\CHANGE LOG 1.0.6.txt for the full list of 1.0.5.1 --> 1.0.6 changes.
|
[INFO] See Documents\CHANGE LOG 1.0.6.txt for the full list of 1.0.5.1 --> 1.0.6 changes.
|
||||||
@@ -1,10 +1,14 @@
|
|||||||
//Temporary block for A2OA mission override exploit.
|
//Temporary check for A2OA mission override exploit.
|
||||||
//This bug should be fixed in the next EOL patch.
|
//This bug should be fixed in the next EOL patch.
|
||||||
//Put this code at the bottom of dayz_server\init\server_functions.sqf
|
//Put this code at the bottom of dayz_server\init\server_functions.sqf
|
||||||
|
|
||||||
//List all of the files in your mission. For example, you may need to add 'custom\variables.sqf', etc.
|
//List of files in your mission to check. For example, you may need to add 'custom\variables.sqf' etc.
|
||||||
//DEFAULT VALUES ARE FOR DayZ_Epoch_11.Chernarus HOTFIX 1.0.6.1A
|
//Remove any you aren't using
|
||||||
_files = ['description.ext','init.sqf','mission.sqm','rules.sqf','server_traders.sqf','DZE_Hotfix_1.0.6.1A\groups\init.sqf','DZE_Hotfix_1.0.6.1A\groups\groupTags.sqf','DZE_Hotfix_1.0.6.1A\groups\groupMarkers.sqf','DZE_Hotfix_1.0.6.1A\init\compiles.sqf','DZE_Hotfix_1.0.6.1A\system\progress_monitor.sqf'];
|
_files = [
|
||||||
|
'description.ext','init.sqf','mission.sqm','rules.sqf','server_traders.sqf',
|
||||||
|
'DZE_Hotfix_1.0.6.1A\groups\init.sqf','DZE_Hotfix_1.0.6.1A\groups\groupTags.sqf','DZE_Hotfix_1.0.6.1A\groups\groupMarkers.sqf',
|
||||||
|
'DZE_Hotfix_1.0.6.1A\init\compiles.sqf','DZE_Hotfix_1.0.6.1A\system\progress_monitor.sqf'
|
||||||
|
];
|
||||||
|
|
||||||
_list = [];
|
_list = [];
|
||||||
{
|
{
|
||||||
@@ -17,7 +21,7 @@ _list = [];
|
|||||||
|
|
||||||
//Check mission integrity on all clients
|
//Check mission integrity on all clients
|
||||||
_temp = "HeliHEmpty" createVehicle [0,0,0];
|
_temp = "HeliHEmpty" createVehicle [0,0,0];
|
||||||
_temp setVehicleInit format["
|
_temp setVehicleInit (str formatText["
|
||||||
if (isServer) exitWith {};
|
if (isServer) exitWith {};
|
||||||
|
|
||||||
_list = [];
|
_list = [];
|
||||||
@@ -44,6 +48,6 @@ _temp setVehicleInit format["
|
|||||||
{(findDisplay _x) closeDisplay 2;} count [0,8,12,18,46,70];
|
{(findDisplay _x) closeDisplay 2;} count [0,8,12,18,46,70];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
",_files,_list];
|
",_files,_list]);
|
||||||
|
|
||||||
processInitCommands;
|
processInitCommands;
|
||||||
@@ -1,3 +1,4 @@
|
|||||||
//new
|
//new
|
||||||
1=(BanditW?1|Camo1|Sniper1|Soldier1|Survivor([123]|W2))_DZ
|
1=(BanditW?1|Camo1|Sniper1|Soldier1|Survivor([123]|W2))_DZ
|
||||||
1 !"Blood_Trail_DZ" !"WeaponHolder"
|
1 !"Blood_Trail_DZ" !"WeaponHolder"
|
||||||
|
5 "HeliHEmpty"
|
||||||
Reference in New Issue
Block a user