Fixed the retainer database error. Loading code now matches the new retainer db schema.

This commit is contained in:
Filip Maj 2017-09-03 16:37:05 -04:00
parent 4762811347
commit 62484e2f87
3 changed files with 44 additions and 11 deletions

View file

@ -51,7 +51,7 @@ namespace FFXIVClassic_Lobby_Server.packets
//Write Entries
binWriter.Write((uint)retainer.id);
binWriter.Write((uint)retainer.characterId);
binWriter.Write((ushort)retainer.slot);
binWriter.Write((ushort)totalCount);
binWriter.Write((ushort)(retainer.doRename ? 0x04 : 0x00));
binWriter.Write((uint)0);
binWriter.Write(Encoding.ASCII.GetBytes(retainer.name.PadRight(0x20, '\0')));