diff --git a/CHANGE LOG 1.0.6.2.txt b/CHANGE LOG 1.0.6.2.txt index 911d7f635..dfefedb4d 100644 --- a/CHANGE LOG 1.0.6.2.txt +++ b/CHANGE LOG 1.0.6.2.txt @@ -1,7 +1,7 @@ [NEW] Newest version of DayZero enterable buildings provided by Tansien and Zac https://zombies.nu/. This fixes broken barracks shadows and adds several new interiors. #1601 [NEW] Land_houseV_2T2 is now enterable. Interior modeled by @Streatman [NEW] Added loot positions for new enterable buildings -[NEW] Added L85 attachments totaling 24 variants, new models by @Streatman. Class L85_Holo_DZ no longer exists and must be updated to L85A2_DZ in custom scripts and SQL. +[NEW] Added L85 attachments totaling 24 variants, new models by @Streatman. Class L85_Holo_DZ no longer exists and must be updated to L85A2_DZ in custom scripts and SQL, see 1.0.6.2_Updates.sql [NEW] SVD scope attachments can now be removed, new models by @Streatman [NEW] Added DZE_limitPlots so admins can limit plot poles to one per UID, disabled by default. @oiad [NEW] Pumpkin, sunflower, and hemp plants spawned with createVehicle can be harvested with a knife now. #1928 @F507DMT @@ -75,7 +75,7 @@ [FIXED] Multiple dupe fixes - SERVER ADMINS, DO NOT IMPLEMENT SCRIPTS WHICH KICK PLAYERS TO THE LOBBY (ENDMISSION, FAILMISSION, etc.), YOU MUST KICK THEM ENTIRELY OUT OF THE SERVER! (EX: by BE restriction, but with the stock scripts.txt forceEnd, failmission, and endmission should kick the player anyway) [FIXED] Certain classes (i.e. Satchel Charge) which are both magazines and weapons were not retained through skin change #1981 @AirwavesMan [FIXED] Blocked another A2OA script execution bug from improperly cleared eventhandlers. See dayz_code\system\antihack.sqf. Thanks to Dihan for reporting -[FIXED] Missing silencer shadows on some _DZ weapons. Thanks @Streatman +[FIXED] Missing shadows on some _DZ weapons. Thanks @Streatman [FIXED] Launchers and launcher ammo are now detected correctly in the sell menu when a player has a launcher and ammo with the same classname. [FIXED] Wrong bleeding icon on Epoch legacy status UI [FIXED] A locked door can now be auto unlocked right after placement by the player who built it diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlySniperRifle.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlySniperRifle.hpp index d4c8811ac..8857db36b 100644 --- a/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlySniperRifle.hpp +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlySniperRifle.hpp @@ -64,13 +64,12 @@ class Category_487 { buy[] = {-1,"ItemGoldBar10oz"}; // Sell only sell[] = {7,"ItemGoldBar"}; }; - //New SVD models by Streatman - class SVD_DZ { //SVD with iron sights + class SVD_DZ { // iron sights type = "trade_weapons"; buy[] = {1,"ItemGoldBar10oz"}; sell[] = {6,"ItemGoldBar"}; }; - class SVD_Gh_DZ { //SVD with iron sights and ghillie attachment + class SVD_Gh_DZ { // iron sights and ghillie type = "trade_weapons"; buy[] = {-1,"ItemGoldBar10oz"}; // Sell only sell[] = {7,"ItemGoldBar"}; diff --git a/SQF/dayz_code/Configs/CfgWeapons/Rifles/L85A2.hpp b/SQF/dayz_code/Configs/CfgWeapons/Rifles/L85A2.hpp index 28dd78abf..83a8b60e5 100644 --- a/SQF/dayz_code/Configs/CfgWeapons/Rifles/L85A2.hpp +++ b/SQF/dayz_code/Configs/CfgWeapons/Rifles/L85A2.hpp @@ -65,13 +65,13 @@ class L85A2_DZ : BAF_L85A2_RIS_Holo model = "z\addons\dayz_communityweapons\L85A2\L85A2.p3d"; picture = "\z\addons\dayz_communityweapons\L85A2\data\w_L85A2_ca.paa"; displayName = $STR_DZ_WPN_L85A2_NAME; - + /* magazines[] = { 30Rnd_556x45_Stanag, 30Rnd_556x45_StanagSD }; - + */ class Single; class FullAuto; @@ -140,11 +140,13 @@ class L85A2_MFL_DZ : L85A2_DZ class L85A2_SD_Base : L85A2_DZ { + /* magazines[] = { // 30Rnd_556x45_Stanag, 30Rnd_556x45_StanagSD }; + */ fireLightDuration = 0; fireLightIntensity = 0; modes[] = {"Single","FullAuto"}; diff --git a/Server Files/SQL/1.0.6.2_Updates.sql b/Server Files/SQL/1.0.6.2_Updates.sql index d1f53d050..3eef1df44 100644 --- a/Server Files/SQL/1.0.6.2_Updates.sql +++ b/Server Files/SQL/1.0.6.2_Updates.sql @@ -9,19 +9,19 @@ /* Update L85 and SVD classnames */ UPDATE `Traders_DATA` SET `item` = '["L85A2_DZ",3]' WHERE `item` = '["L85_Holo_DZ",3]'; -UPDATE character_data SET Backpack = REPLACE(Backpack, '"L85_Holo_DZ"', '"L85A2_DZ"') WHERE INSTR(Backpack, '"L85_Holo_DZ"') > 0; -UPDATE character_data SET Inventory = REPLACE(Inventory, '"L85_Holo_DZ"', '"L85A2_DZ"') WHERE INSTR(Inventory, '"L85_Holo_DZ"') > 0; -UPDATE object_data SET Inventory = REPLACE(Inventory, '"L85_Holo_DZ"', '"L85A2_DZ"') WHERE INSTR(Inventory, '"L85_Holo_DZ"') > 0; +UPDATE character_data SET Backpack = REPLACE(Backpack, '"L85_Holo_DZ"', '"L85A2_Holo_DZ"') WHERE INSTR(Backpack, '"L85_Holo_DZ"') > 0; +UPDATE character_data SET Inventory = REPLACE(Inventory, '"L85_Holo_DZ"', '"L85A2_Holo_DZ"') WHERE INSTR(Inventory, '"L85_Holo_DZ"') > 0; +UPDATE object_data SET Inventory = REPLACE(Inventory, '"L85_Holo_DZ"', '"L85A2_Holo_DZ"') WHERE INSTR(Inventory, '"L85_Holo_DZ"') > 0; UPDATE `Traders_DATA` SET `item` = '["L85A2_ACOG_DZ",3]' WHERE `item` = '["BAF_L85A2_RIS_ACOG",3]'; UPDATE character_data SET Backpack = REPLACE(Backpack, '"BAF_L85A2_RIS_ACOG"', '"L85A2_ACOG_DZ"') WHERE INSTR(Backpack, '"BAF_L85A2_RIS_ACOG"') > 0; UPDATE character_data SET Inventory = REPLACE(Inventory, '"BAF_L85A2_RIS_ACOG"', '"L85A2_ACOG_DZ"') WHERE INSTR(Inventory, '"BAF_L85A2_RIS_ACOG"') > 0; UPDATE object_data SET Inventory = REPLACE(Inventory, '"BAF_L85A2_RIS_ACOG"', '"L85A2_ACOG_DZ"') WHERE INSTR(Inventory, '"BAF_L85A2_RIS_ACOG"') > 0; -UPDATE `Traders_DATA` SET `item` = '["L85A2_DZ",3]' WHERE `item` = '["BAF_L85A2_RIS_SUSAT",3]'; -UPDATE character_data SET Backpack = REPLACE(Backpack, '"BAF_L85A2_RIS_SUSAT"', '"L85A2_DZ"') WHERE INSTR(Backpack, '"BAF_L85A2_RIS_SUSAT"') > 0; -UPDATE character_data SET Inventory = REPLACE(Inventory, '"BAF_L85A2_RIS_SUSAT"', '"L85A2_DZ"') WHERE INSTR(Inventory, '"BAF_L85A2_RIS_SUSAT"') > 0; -UPDATE object_data SET Inventory = REPLACE(Inventory, '"BAF_L85A2_RIS_SUSAT"', '"L85A2_DZ"') WHERE INSTR(Inventory, '"BAF_L85A2_RIS_SUSAT"') > 0; +delete from `Traders_DATA` WHERE `item` = '["BAF_L85A2_RIS_SUSAT",3]'; +UPDATE character_data SET Backpack = REPLACE(Backpack, '"BAF_L85A2_RIS_SUSAT"', '"L85A2_ACOG_DZ"') WHERE INSTR(Backpack, '"BAF_L85A2_RIS_SUSAT"') > 0; +UPDATE character_data SET Inventory = REPLACE(Inventory, '"BAF_L85A2_RIS_SUSAT"', '"L85A2_ACOG_DZ"') WHERE INSTR(Inventory, '"BAF_L85A2_RIS_SUSAT"') > 0; +UPDATE object_data SET Inventory = REPLACE(Inventory, '"BAF_L85A2_RIS_SUSAT"', '"L85A2_ACOG_DZ"') WHERE INSTR(Inventory, '"BAF_L85A2_RIS_SUSAT"') > 0; UPDATE `Traders_DATA` SET `item` = '["SVD_PSO1_DZ",3]' WHERE `item` = '["SVD_DZ",3]'; UPDATE character_data SET Backpack = REPLACE(Backpack, '"SVD_DZ"', '"SVD_PSO1_DZ"') WHERE INSTR(Backpack, '"SVD_DZ"') > 0;