try to make 7.x clients not crash so much
This commit is contained in:
parent
1cc0064b24
commit
2e0b9e1670
2 changed files with 27 additions and 7 deletions
|
|
@ -2713,9 +2713,9 @@ namespace Server.Network
|
|||
}
|
||||
}
|
||||
|
||||
public sealed class MobileAnimation : Packet
|
||||
public sealed class OldMobileAnimation : Packet
|
||||
{
|
||||
public MobileAnimation( Mobile m, int action, int frameCount, int repeatCount, bool forward, bool repeat, int delay ) : base( 0x6E, 14 )
|
||||
public OldMobileAnimation( Mobile m, int action, int frameCount, int repeatCount, bool forward, bool repeat, int delay ) : base( 0x6E, 14 )
|
||||
{
|
||||
m_Stream.Write( (int) m.Serial );
|
||||
m_Stream.Write( (short) action );
|
||||
|
|
@ -2726,6 +2726,17 @@ namespace Server.Network
|
|||
m_Stream.Write( (byte) delay );
|
||||
}
|
||||
}
|
||||
|
||||
public sealed class MobileAnimation : Packet
|
||||
{
|
||||
public MobileAnimation( Mobile m, int action, int frameCount, int delay ) : base( 0xE2, 10 )
|
||||
{
|
||||
m_Stream.Write( (int) m.Serial );
|
||||
m_Stream.Write( (short) action );
|
||||
m_Stream.Write( (short) frameCount );
|
||||
m_Stream.Write( (byte) delay );
|
||||
}
|
||||
}
|
||||
|
||||
public sealed class MobileStatusCompact : Packet
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue