The correct appearance is now set depending on what class you choose in chara creator. The actual items will be added in by the map server. The appearance is handled by the lobby in the case the user successfully makes a character, but never logs into the server (due to a disconnect or something).

This commit is contained in:
Filip Maj 2016-02-20 11:20:59 -05:00
parent d5f07b97a8
commit 5acc769505
4 changed files with 50 additions and 33 deletions

View file

@ -228,19 +228,17 @@ namespace FFXIVClassic_Lobby_Server
case 0x02://Make
CharaInfo info = CharaInfo.getFromNewCharRequest(charaReq.characterInfoEncoded);
//Set Initial Appearance
/*
//Set Initial Appearance (items will be loaded in by map server)
uint[] classAppearance = CharacterCreatorUtils.getEquipmentForClass(info.currentClass);
info.weapon1 = classAppearance[0];
info.weapon2 = classAppearance[1];
info.head = classAppearance[2];
info.body = classAppearance[3];
info.hands = classAppearance[4];
info.legs = classAppearance[5];
info.feet = classAppearance[6];
info.belt = classAppearance[7];
*/
info.head = classAppearance[7];
info.body = classAppearance[8];
info.legs = classAppearance[9];
info.hands = classAppearance[10];
info.feet = classAppearance[11];
info.belt = classAppearance[12];
//Set Initial Position
switch (info.initialTown)
{