mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Should Fix Issue #1569
Varchar(512) was truncating certain vehicle hitpoints and preventing vehicle loading. The HiveExt dll handles hitpoints as a string which has a char limit far greater than 512, so simply updating the column should fix the issue. Also update the ChracterID column for #1371 - new Hive dll will be required
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
-- ----------------------------
|
||||||
|
-- Update Object_DATA to support longer CharacterID and hitpoints
|
||||||
|
-- ----------------------------
|
||||||
|
ALTER TABLE Object_DATA MODIFY COLUMN CharacterID bigint(20);
|
||||||
|
ALTER TABLE Object_DATA MODIFY COLUMN Hitpoints varchar(1024);
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Add new attachments category to DB traders
|
-- Add new attachments category to DB traders
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
|
|||||||
@@ -51,10 +51,10 @@ CREATE TABLE IF NOT EXISTS `Object_DATA` (
|
|||||||
`Classname` varchar(50) DEFAULT NULL,
|
`Classname` varchar(50) DEFAULT NULL,
|
||||||
`Datestamp` datetime NOT NULL,
|
`Datestamp` datetime NOT NULL,
|
||||||
`LastUpdated` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
`LastUpdated` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||||
`CharacterID` int(11) unsigned NOT NULL DEFAULT '0',
|
`CharacterID` bigint(20) unsigned NOT NULL DEFAULT '0',
|
||||||
`Worldspace` varchar(128) NOT NULL DEFAULT '[]',
|
`Worldspace` varchar(128) NOT NULL DEFAULT '[]',
|
||||||
`Inventory` longtext,
|
`Inventory` longtext,
|
||||||
`Hitpoints` varchar(512) NOT NULL DEFAULT '[]',
|
`Hitpoints` varchar(1024) NOT NULL DEFAULT '[]',
|
||||||
`Fuel` double(13,5) NOT NULL DEFAULT '1.00000',
|
`Fuel` double(13,5) NOT NULL DEFAULT '1.00000',
|
||||||
`Damage` double(13,5) NOT NULL DEFAULT '0.00000',
|
`Damage` double(13,5) NOT NULL DEFAULT '0.00000',
|
||||||
PRIMARY KEY (`ObjectID`),
|
PRIMARY KEY (`ObjectID`),
|
||||||
|
|||||||
Reference in New Issue
Block a user