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:
icomrade
2016-05-16 13:32:22 -04:00
parent 65233757e8
commit ef1d323ef0
2 changed files with 8 additions and 2 deletions

View File

@@ -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
-- ----------------------------

View File

@@ -51,10 +51,10 @@ CREATE TABLE IF NOT EXISTS `Object_DATA` (
`Classname` varchar(50) DEFAULT NULL,
`Datestamp` datetime NOT NULL,
`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 '[]',
`Inventory` longtext,
`Hitpoints` varchar(512) NOT NULL DEFAULT '[]',
`Hitpoints` varchar(1024) NOT NULL DEFAULT '[]',
`Fuel` double(13,5) NOT NULL DEFAULT '1.00000',
`Damage` double(13,5) NOT NULL DEFAULT '0.00000',
PRIMARY KEY (`ObjectID`),