Update SQL for removed policecar

Vanilla commit:

b6252d75ec
This commit is contained in:
ebayShopper
2017-11-28 15:51:22 -05:00
parent 4727ba4e67
commit 038da982b4
3 changed files with 8 additions and 3 deletions

View File

@@ -34,6 +34,7 @@
[UPDATED] Added all upgraded weapons to the traders as sell only for the sell price of the base weapon plus the sell price of attachments. This allows them to be sold without removing attachments first. #1982 @worldwidesorrow
[UPDATED] Increased the coverage angle of headlights on land vehicles and added a headlight to the bicycle
[UPDATED] The huey searchlight and gunner seat now have improved visibility in first person view.
[UPDATED] Removed policecar from dayz_vehicles due to model errors, SQL must be updated if this vehicle was used, see 1.0.6.2_Updates.sql
[FIXED] Purchased and upgraded vehicles will now spawn quicker and no longer be destroyed by sched_safetyVehicle when server FPS is low. HiveExt.dll and SQL must be updated. See 1.0.6.2_Updates.sql
[FIXED] Kamaz refuel trucks no longer allow automatic refueling. #1855 @coresync2k @dreamforceinc
@@ -58,7 +59,6 @@
[FIXED] Unable to sell upgraded _DZE[1-4] vehicle variants if their base vehicle class is removed from the trader configs.
[FIXED] The player building a shed, tent or other unlocked storage was unable to use its gear until relog when DZE_GodModeBase=true; @oiad
[FIXED] Death message killer inaccurate when player is caused to bleed by one unit and then killed by a different unit shortly after. @oiad
[FIXED] The DayZ police car can no longer be upgraded to car_sedan_DZE1. #1929 @F507DMT
[FIXED] Group tags sometimes printing WARNING: Function 'name' - x is dead to RPT.
[FIXED] Group saving issue which could potentially join a player to a random group or not save group properly after death.
[FIXED] Harvested pumpkin, sunflower, and hemp plants no longer respawn after relog (allowed infinite harvesting).

View File

@@ -12,13 +12,13 @@ class car_sedan : SkodaBase {
ItemORP[] = {"car_sedan_DZE1",{},{{"ItemORP",1},{"PartEngine",2}}};
};
};
/* //Removed from dayz_vehicles
class policecar: car_sedan {
class Upgrades {
ItemORP[] = {};
};
};
*/
// Performance 1
class car_sedan_DZE1: car_sedan {
original = "car_sedan";

View File

@@ -34,6 +34,11 @@ UPDATE character_data SET Inventory = REPLACE(Inventory, '"SVD_Gh_DZ"', '"SVD_PS
UPDATE object_data SET Inventory = REPLACE(Inventory, '"SVD_Gh_DZ"', '"SVD_PSO1_Gh_DZ"') WHERE INSTR(Inventory, '"SVD_Gh_DZ"') > 0;
/* PoliceCar was removed from dayz_vehicles */
UPDATE `object_data` SET `Classname` = 'car_sedan' WHERE `Classname` = 'policecar';
DELETE FROM `Traders_DATA` WHERE item = '["policecar"]';
/* THIS PROCEDURE IS REQUIRED FOR 1062 AND RETURNS THE OBJECT ID MUCH MORE EFFICIENTLY THAN THE METHOD IN 1061 SQF */
DROP procedure IF EXISTS `retObjID`;