mirror of
				https://bitbucket.org/Ioncannon/project-meteor-server.git
				synced 2025-05-20 08:26:59 -04: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:
		@@ -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);
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user