mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-02 19:42:05 -04:00
Partially figured out the SetSpecialEventWork Packet.
This commit is contained in:
parent
1d9f57a385
commit
b838027cba
@ -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" />
|
||||
|
@ -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(""))
|
||||
{
|
||||
|
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user