World list packet fixes, and worked on reserve packet.

This commit is contained in:
Filip Maj 2015-09-03 23:07:56 -04:00
parent e7e267bd44
commit 6c869353cc
3 changed files with 6 additions and 5 deletions

View file

@ -37,9 +37,9 @@ namespace FFXIVClassic_Lobby_Server.packets
//Write List Info
binWriter.Write((UInt64)0);
binWriter.Write(worldList.Count - totalCount <= 6 ? (byte)(worldList.Count + 1) : (byte)0);
binWriter.Write(worldList.Count - totalCount <= 6 ? (UInt32)worldList.Count - totalCount : (UInt32)6);
binWriter.Write((byte)0);
binWriter.Write((UInt16)0);
binWriter.Write(worldList.Count - totalCount <= 6 ? (UInt32)(worldList.Count - totalCount) : (UInt32)6);
binWriter.Write((byte)6);
binWriter.Write((UInt16)5);
}
//Write Entries