mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
Added hair variation to the db. Turned out the hair highlight color was mis-sized (1 byte not 2) causing an invalid number when a variation was there.
This commit is contained in:
@@ -17,6 +17,7 @@ namespace FFXIVClassic_Lobby_Server.dataobjects
|
||||
public ushort hairStyle = 0;
|
||||
public ushort hairColor = 0;
|
||||
public ushort hairHighlightColor = 0;
|
||||
public ushort hairVariation = 0;
|
||||
public ushort eyeColor = 0;
|
||||
public byte characteristicsColor = 0;
|
||||
|
||||
|
@@ -76,7 +76,8 @@ namespace FFXIVClassic_Lobby_Server.dataobjects
|
||||
info.tribe = reader.ReadByte();
|
||||
appearance.size = reader.ReadByte();
|
||||
appearance.hairStyle = reader.ReadUInt16();
|
||||
appearance.hairHighlightColor = reader.ReadUInt16();
|
||||
appearance.hairHighlightColor = reader.ReadByte();
|
||||
appearance.hairVariation = reader.ReadByte();
|
||||
appearance.faceType = reader.ReadByte();
|
||||
appearance.characteristics = reader.ReadByte();
|
||||
appearance.characteristicsColor = reader.ReadByte();
|
||||
@@ -140,7 +141,6 @@ namespace FFXIVClassic_Lobby_Server.dataobjects
|
||||
faceInfo.mouth = appearance.faceMouth;
|
||||
faceInfo.nose = appearance.faceNose;
|
||||
|
||||
|
||||
string location1 = "prv0Inn01\0";
|
||||
string location2 = "defaultTerritory\0";
|
||||
|
||||
|
Reference in New Issue
Block a user