mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
More work trying to get the opening cutscene to fire right away.
This commit is contained in:
@@ -22,8 +22,8 @@ namespace FFXIVClassic_Map_Server.packets.send.actor
|
||||
{
|
||||
using (BinaryWriter binWriter = new BinaryWriter(mem))
|
||||
{
|
||||
int value1 = 0x02; //Instance ID?
|
||||
int value2 = 0x2bc0;
|
||||
int value1 = 0x00; //Instance ID?
|
||||
int value2 = 0x3040;
|
||||
binWriter.Write((Int16)value1);
|
||||
binWriter.Write((Int16)value2);
|
||||
binWriter.Write(Encoding.ASCII.GetBytes(objectName), 0, Encoding.ASCII.GetByteCount(objectName) >= 0x20 ? 0x20 : Encoding.ASCII.GetByteCount(objectName));
|
||||
|
@@ -23,7 +23,7 @@ namespace FFXIVClassic_Map_Server.packets.send.actor
|
||||
{
|
||||
binWriter.Write((UInt32)displayNameID);
|
||||
|
||||
if (displayNameID == 0 || displayNameID == 0xFFFFFFFF)
|
||||
if (customName != null && (displayNameID == 0 || displayNameID == 0xFFFFFFFF))
|
||||
{
|
||||
binWriter.Write(Encoding.ASCII.GetBytes(customName), 0, Encoding.ASCII.GetByteCount(customName) >= 0x20 ? 0x19 : Encoding.ASCII.GetByteCount(customName));
|
||||
}
|
||||
|
Reference in New Issue
Block a user