Map packet now sends region ID used to set various UI things (ie: search). Added weather ids to the weather packet. GM packet now takes a true/false value; the proper function is to send a 0x1D3 packet whenever client asks for it... false unless has GM then true.

This commit is contained in:
Filip Maj 2015-12-13 22:18:22 -05:00
parent 6f8125a947
commit fa3d69b8b3
3 changed files with 30 additions and 7 deletions

View file

@ -13,7 +13,7 @@ namespace FFXIVClassic_Map_Server.packets.send
public const ushort OPCODE = 0x0005;
public const uint PACKET_SIZE = 0x30;
public static SubPacket buildPacket(uint playerActorID, uint mapID)
public static SubPacket buildPacket(uint playerActorID, uint mapID, uint regionID)
{
byte[] data = new byte[PACKET_SIZE - 0x20];
@ -22,7 +22,7 @@ namespace FFXIVClassic_Map_Server.packets.send
using (BinaryWriter binWriter = new BinaryWriter(mem))
{
binWriter.Write((uint)mapID);
binWriter.Write((uint)0x9B);
binWriter.Write((uint)regionID);
binWriter.Write((uint)0x28);
}
}