mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
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:
@@ -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);
|
||||
|
||||
-- ----------------------------
|
||||
|
||||
Reference in New Issue
Block a user