1
Fork 0
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:
Filip Maj 2015-11-29 00:30:41 -05:00
parent 4d83989d1a
commit c8d6326ecd
2 changed files with 3 additions and 3 deletions

View file

@ -16,7 +16,7 @@ namespace FFXIVClassic_Map_Server.packets.send.player
{
if (Encoding.Unicode.GetByteCount(name) >= 0x20)
name = "ERR: Too Long";
return new SubPacket(OPCODE, playerActorID, targetActorID, Encoding.Unicode.GetBytes(name));
return new SubPacket(OPCODE, playerActorID, targetActorID, Encoding.ASCII.GetBytes(name));
}
}
}

View file

@ -60,9 +60,9 @@ namespace FFXIVClassic_Map_Server.packets.send.player
public const int CATEGORY_FLAMES = 1872;
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)
{