mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-08-03 16:21:52 +02:00
Bug fix on broadcast packet method, filled out what 0x144 does.
This commit is contained in:
parent
08b3564d7e
commit
c67c5f3bdf
6 changed files with 23 additions and 8 deletions
|
@ -355,7 +355,7 @@ namespace FFXIVClassic_Map_Server.Actors
|
|||
if (isIsolated && packet.header.sourceId != a.actorId)
|
||||
continue;
|
||||
|
||||
SubPacket clonedPacket = new SubPacket(packet, actor.actorId);
|
||||
SubPacket clonedPacket = new SubPacket(packet, a.actorId);
|
||||
Player p = (Player)a;
|
||||
p.QueuePacket(clonedPacket);
|
||||
}
|
||||
|
|
|
@ -81,7 +81,7 @@ namespace FFXIVClassic_Map_Server.Actors
|
|||
|
||||
public SubPacket CreateIdleAnimationPacket(uint playerActorId)
|
||||
{
|
||||
return SetActorIdleAnimationPacket.BuildPacket(actorId, playerActorId, animationId);
|
||||
return SetActorSubStatPacket.BuildPacket(actorId, playerActorId, 0, 0, 0, 0, 0, 0, animationId);
|
||||
}
|
||||
|
||||
public void SetQuestGraphic(Player player, int graphicNum)
|
||||
|
|
|
@ -321,6 +321,12 @@ namespace FFXIVClassic_Map_Server.Actors
|
|||
{
|
||||
return actorClassId;
|
||||
}
|
||||
|
||||
public void ChangeNpcAppearance(uint id)
|
||||
{
|
||||
LoadNpcAppearance(id);
|
||||
zone.BroadcastPacketAroundActor(this, CreateAppearancePacket(actorId));
|
||||
}
|
||||
|
||||
public void LoadNpcAppearance(uint id)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue