mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-23 21:27:46 +00:00
Finished SetChocoboName packet and fixed a bug with cutscene packet.
This commit is contained in:
parent
4d83989d1a
commit
c8d6326ecd
2 changed files with 3 additions and 3 deletions
|
@ -16,7 +16,7 @@ namespace FFXIVClassic_Map_Server.packets.send.player
|
||||||
{
|
{
|
||||||
if (Encoding.Unicode.GetByteCount(name) >= 0x20)
|
if (Encoding.Unicode.GetByteCount(name) >= 0x20)
|
||||||
name = "ERR: Too Long";
|
name = "ERR: Too Long";
|
||||||
return new SubPacket(OPCODE, playerActorID, targetActorID, Encoding.Unicode.GetBytes(name));
|
return new SubPacket(OPCODE, playerActorID, targetActorID, Encoding.ASCII.GetBytes(name));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -60,9 +60,9 @@ namespace FFXIVClassic_Map_Server.packets.send.player
|
||||||
public const int CATEGORY_FLAMES = 1872;
|
public const int CATEGORY_FLAMES = 1872;
|
||||||
|
|
||||||
public const ushort OPCODE = 0x01A3;
|
public const ushort OPCODE = 0x01A3;
|
||||||
public const uint PACKET_SIZE = 0150;
|
public const uint PACKET_SIZE = 0x150;
|
||||||
|
|
||||||
public bool[] cutsceneFlags = new bool[2688];
|
public bool[] cutsceneFlags = new bool[2432];
|
||||||
|
|
||||||
public SubPacket buildPacket(uint playerActorID)
|
public SubPacket buildPacket(uint playerActorID)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue