Added null option for status update packet to send empty list. Added 0x1CF response for FL list to packet processor. Exception reason will now be printed when can't send packet by console.

This commit is contained in:
Filip Maj 2015-12-05 18:58:06 -05:00
parent 0dcebd1658
commit de353c9909
5 changed files with 69 additions and 8 deletions

View file

@ -24,10 +24,15 @@ namespace FFXIVClassic_Map_Server.packets.send.social
binWriter.Write((UInt32)0);
int max;
if (friendStatus.Length <= 200)
max = friendStatus.Length;
if (friendStatus != null)
{
if (friendStatus.Length <= 200)
max = friendStatus.Length;
else
max = 200;
}
else
max = 200;
max = 0;
binWriter.Write((UInt32)max);