Update server for playerGroup column in HiveExt

Requires DLL Published in this commit as well as a database update.
Execute the added SQL in the 1.0.6_Updates.sql on your database.

Use Hive child 204 to update the new column
_key = format["CHILD:204:%1:%2:%3:", (getPlayerUID player),
dayZ_instance,  [Array of playerUIDs of group members]];
_key call server_hiveWrite;
This commit is contained in:
icomrade
2016-07-29 12:03:49 -04:00
parent c9efb9e9df
commit c694545bce
5 changed files with 9 additions and 2 deletions

View File

@@ -75,6 +75,7 @@ CREATE TABLE IF NOT EXISTS `Player_DATA` (
`PlayerName` varchar(128) CHARACTER SET utf8 NOT NULL DEFAULT 'Null',
`PlayerMorality` int(11) NOT NULL DEFAULT '0',
`PlayerSex` tinyint(3) unsigned NOT NULL DEFAULT '0',
`playerGroup` varchar(2048) NOT NULL DEFAULT '[]';
PRIMARY KEY (`PlayerUID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;