mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user