Better UID Calculation + Longer ObjectUID Column

Don't even bother using vector in the key calculation, the sqf ObjectUID
isn't as critical anymore. This method will be much faster.

Changed ObjectUID column to Varchar since with this key generation
method we can approach the BigINT ceiling much quicker than we used to.
This commit is contained in:
icomrade
2016-09-26 16:34:26 -04:00
parent 111d9e46f0
commit 8c3fe83a87
2 changed files with 4 additions and 43 deletions

View File

@@ -15,6 +15,7 @@ ALTER TABLE `Object_DATA` CHANGE `Hitpoints` `Hitpoints` VARCHAR(1024) CHARACTER
-- Update Object_DATA to support longer CharacterID and hitpoints
-- ----------------------------
ALTER TABLE Object_DATA MODIFY COLUMN CharacterID bigint(20);
ALTER TABLE Object_DATA MODIFY COLUMN ObjectUID varchar(64);
ALTER TABLE Object_DATA MODIFY COLUMN Hitpoints varchar(1024);
-- ----------------------------