mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-12 15:34:32 +02:00
Added back loading defaulttalk npcs through script. Should speed up warps now! Added loading mapobj ifno through a db table, removing the need for unique scripts. Deleted ported mapobj scripts.
This commit is contained in:
parent
b773098abf
commit
2cb6a9f6bd
74 changed files with 49 additions and 267 deletions
|
@ -31,7 +31,7 @@ namespace Meteor.Map.packets.send.actor
|
|||
public const ushort OPCODE = 0x00D8;
|
||||
public const uint PACKET_SIZE = 0x28;
|
||||
|
||||
public static SubPacket BuildPacket(uint sourceActorId, uint val1, uint val2)
|
||||
public static SubPacket BuildPacket(uint sourceActorId, uint layoutId, uint instanceId)
|
||||
{
|
||||
byte[] data = new byte[PACKET_SIZE - 0x20];
|
||||
|
||||
|
@ -39,8 +39,8 @@ namespace Meteor.Map.packets.send.actor
|
|||
{
|
||||
using (BinaryWriter binWriter = new BinaryWriter(mem))
|
||||
{
|
||||
binWriter.Write((UInt32)val1);
|
||||
binWriter.Write((UInt32)val2);
|
||||
binWriter.Write((UInt32)instanceId);
|
||||
binWriter.Write((UInt32)layoutId);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue