mirror of
				https://bitbucket.org/Ioncannon/project-meteor-server.git
				synced 2025-05-20 08:26:59 -04:00 
			
		
		
		
	Got warp working. BROKE ACTOR SPAWNING!
This commit is contained in:
		| @@ -27,7 +27,7 @@ namespace FFXIVClassic_Map_Server.packets.send.actor | ||||
|         public const float INNPOS_Z     = 165.050003f; | ||||
|         public const float INNPOS_ROT   =  -1.530000f; | ||||
|  | ||||
|         public static SubPacket buildPacket(uint sourceActorID, uint targetActorID, float x, float y, float z, float rotation, uint spawnType) | ||||
|         public static SubPacket buildPacket(uint sourceActorID, uint targetActorID,float x, float y, float z, float rotation, uint spawnType) | ||||
|         { | ||||
|             byte[] data = new byte[PACKET_SIZE-0x20]; | ||||
|  | ||||
| @@ -44,7 +44,8 @@ namespace FFXIVClassic_Map_Server.packets.send.actor | ||||
|  | ||||
|                     binWriter.BaseStream.Seek(0x24, SeekOrigin.Begin); | ||||
|  | ||||
|                     binWriter.Write((UInt32)spawnType); | ||||
|                     binWriter.Write((UInt16)spawnType); | ||||
|                     binWriter.Write((UInt16)(0)); | ||||
|                 } | ||||
|             } | ||||
|  | ||||
|   | ||||
| @@ -23,7 +23,7 @@ namespace FFXIVClassic_Map_Server.packets.send | ||||
|                 { | ||||
|                     binWriter.Write((uint)mapID); | ||||
|                     binWriter.Write((uint)regionID); | ||||
|                     binWriter.Write((uint)0x28); | ||||
|                     binWriter.Write((uint)0x0); | ||||
|                 } | ||||
|             } | ||||
|  | ||||
|   | ||||
							
								
								
									
										22
									
								
								FFXIVClassic Map Server/packets/send/_0xE2Packet.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								FFXIVClassic Map Server/packets/send/_0xE2Packet.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,22 @@ | ||||
| using FFXIVClassic_Lobby_Server.packets; | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.Linq; | ||||
| using System.Text; | ||||
| using System.Threading.Tasks; | ||||
|  | ||||
| namespace FFXIVClassic_Map_Server.packets.send | ||||
| { | ||||
|     class _0xE2Packet | ||||
|     { | ||||
|         public const ushort OPCODE = 0x00E2; | ||||
|         public const uint PACKET_SIZE = 0x28; | ||||
|  | ||||
|         public static SubPacket buildPacket(uint playerActorID, int val) | ||||
|         { | ||||
|             byte[] data = new byte[PACKET_SIZE - 0x20]; | ||||
|             data[0] = (Byte) (val & 0xFF); | ||||
|             return new SubPacket(OPCODE, playerActorID, playerActorID, data); | ||||
|         } | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user