mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-10 14:34:32 +02:00
Fixed appearance bugs. Fixed a lua arg bug.
-Due to using ordinals instead of keys, the NPC voices were set wrong. This is fixed now, as all appearance loading from the DB uses keys now. -Fixed hairVariation not loading for lobby/map server. -Fixed a lua arg bug.
This commit is contained in:
parent
99c8aff702
commit
eecb5ac8a1
7 changed files with 93 additions and 58 deletions
|
@ -623,6 +623,7 @@ namespace Meteor.Lobby
|
|||
hairStyle,
|
||||
hairColor,
|
||||
hairHighlightColor,
|
||||
hairVariation,
|
||||
eyeColor,
|
||||
characteristics,
|
||||
characteristicsColor,
|
||||
|
@ -642,6 +643,9 @@ namespace Meteor.Lobby
|
|||
hands,
|
||||
feet,
|
||||
waist,
|
||||
neck,
|
||||
leftIndex,
|
||||
rightIndex,
|
||||
leftFinger,
|
||||
rightFinger,
|
||||
leftEar,
|
||||
|
@ -660,6 +664,7 @@ namespace Meteor.Lobby
|
|||
appearance.hairStyle = reader.GetUInt16("hairStyle");
|
||||
appearance.hairColor = reader.GetUInt16("hairColor");
|
||||
appearance.hairHighlightColor = reader.GetUInt16("hairHighlightColor");
|
||||
appearance.hairVariation = reader.GetUInt16("hairVariation");
|
||||
appearance.eyeColor = reader.GetUInt16("eyeColor");
|
||||
appearance.characteristics = reader.GetByte("characteristics");
|
||||
appearance.characteristicsColor = reader.GetByte("characteristicsColor");
|
||||
|
@ -681,8 +686,11 @@ namespace Meteor.Lobby
|
|||
appearance.hands = reader.GetUInt32("hands");
|
||||
appearance.feet = reader.GetUInt32("feet");
|
||||
appearance.waist = reader.GetUInt32("waist");
|
||||
appearance.neck = reader.GetUInt32("neck");
|
||||
appearance.leftFinger = reader.GetUInt32("leftFinger");
|
||||
appearance.rightFinger = reader.GetUInt32("rightFinger");
|
||||
appearance.leftIndex = reader.GetUInt32("leftIndex");
|
||||
appearance.rightIndex = reader.GetUInt32("rightIndex");
|
||||
appearance.leftEar = reader.GetUInt32("leftEar");
|
||||
appearance.rightEar = reader.GetUInt32("rightEar");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue