diff --git a/SQF/dayz_server/compile/server_playerLogin.sqf b/SQF/dayz_server/compile/server_playerLogin.sqf index 948d581d6..eb4ebddee 100644 --- a/SQF/dayz_server/compile/server_playerLogin.sqf +++ b/SQF/dayz_server/compile/server_playerLogin.sqf @@ -90,8 +90,9 @@ if (!_isNew) then { _inventory = _primary select 4; _backpack = _primary select 5; _survival = _primary select 6; - _model = _primary select 7; - _hiveVer = _primary select 8; + _group = _primary select 7; + _model = _primary select 8; + _hiveVer = _primary select 9; if !(_model in AllPlayers) then {_model = "Survivor2_DZ";}; } else { _isInfected = if (DZE_PlayerZed) then {_primary select 3} else {0}; diff --git a/Server Files/SQL/1.0.6_Updates.sql b/Server Files/SQL/1.0.6_Updates.sql index 70e3093a6..005789996 100644 --- a/Server Files/SQL/1.0.6_Updates.sql +++ b/Server Files/SQL/1.0.6_Updates.sql @@ -9,6 +9,11 @@ ALTER TABLE `Object_DATA` CHANGE `Hitpoints` `Hitpoints` VARCHAR(1024) CHARACTER ALTER TABLE Object_DATA MODIFY COLUMN CharacterID bigint(20); ALTER TABLE Object_DATA MODIFY COLUMN Hitpoints varchar(1024); +-- ---------------------------- +-- Update player_data to support group system with ~100 players per group +-- ---------------------------- +ALTER TABLE player_data ADD playerGroup varchar(2048) NOT NULL DEFAULT '[]'; + -- ---------------------------- -- Fix typo from 1.0.5.1 updates causing Merlin and CH53 to show as magazines instead of vehicles -- ---------------------------- diff --git a/Server Files/SQL/epoch.sql b/Server Files/SQL/epoch.sql index dbd914384..258b3baf9 100644 --- a/Server Files/SQL/epoch.sql +++ b/Server Files/SQL/epoch.sql @@ -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; diff --git a/Test Build/HiveExt.dll b/Test Build/HiveExt.dll index 53041fb50..e3890b60b 100644 Binary files a/Test Build/HiveExt.dll and b/Test Build/HiveExt.dll differ diff --git a/Test Build/dayz_server.pbo b/Test Build/dayz_server.pbo index 062688838..c03f85c19 100644 Binary files a/Test Build/dayz_server.pbo and b/Test Build/dayz_server.pbo differ