Partially figured out the SetSpecialEventWork Packet.

This commit is contained in:
Filip Maj 2017-06-15 01:18:57 -04:00
parent 1d9f57a385
commit b838027cba
3 changed files with 6 additions and 6 deletions

View File

@ -251,7 +251,7 @@
<Compile Include="packets\send\player\SetLatestAchievementsPacket.cs" />
<Compile Include="packets\send\player\SetPlayerDreamPacket.cs" />
<Compile Include="packets\send\player\SetPlayerTitlePacket.cs" />
<Compile Include="packets\send\player\_0x196Packet.cs" />
<Compile Include="packets\send\player\SetSpecialEventWorkPacket.cs" />
<Compile Include="packets\send\PongPacket.cs" />
<Compile Include="packets\send\QuitPacket.cs" />
<Compile Include="packets\send\recruitment\CurrentRecruitmentDetailsPacket.cs" />

View File

@ -328,7 +328,7 @@ namespace FFXIVClassic_Map_Server.Actors
if (IsMyPlayer(playerActorId))
{
subpackets.Add(_0x196Packet.BuildPacket(playerActorId, playerActorId));
subpackets.Add(SetSpecialEventWorkPacket.BuildPacket(playerActorId, playerActorId));
if (hasChocobo && chocoboName != null && !chocoboName.Equals(""))
{

View File

@ -5,7 +5,7 @@ using FFXIVClassic.Common;
namespace FFXIVClassic_Map_Server.packets.send.player
{
class _0x196Packet
class SetSpecialEventWorkPacket
{
public const ushort OPCODE = 0x0196;
public const uint PACKET_SIZE = 0x38;
@ -18,8 +18,8 @@ namespace FFXIVClassic_Map_Server.packets.send.player
{
using (BinaryWriter binWriter = new BinaryWriter(mem))
{
binWriter.Seek(0xE, SeekOrigin.Begin);
binWriter.Write((Byte)0x01);
binWriter.Write((UInt16)0x00);
binWriter.Write((UInt16)18); //Just set it to Bomb Festival to unlock Bombdance
}
}