mirror of
				https://bitbucket.org/Ioncannon/project-meteor-server.git
				synced 2025-05-20 08:26:59 -04:00 
			
		
		
		
	Redid the initial handshake code to handle the found connection type field. Server should no longer create two player objects and code has been reduced. Removed instances of connection1/2 getters... server simply sends packets down zone connection. Fixed issue with world manager not zoning in player due to missing 0x2 packet.
This commit is contained in:
		| @@ -10,18 +10,22 @@ using System.IO; | ||||
|  | ||||
| namespace FFXIVClassic_Lobby_Server.packets | ||||
| {     | ||||
|     | ||||
|     [StructLayout(LayoutKind.Sequential)] | ||||
|     public struct BasePacketHeader | ||||
|     { | ||||
|         public byte         isAuthenticated; | ||||
|         public byte         isCompressed; | ||||
|         public ushort       reserved; | ||||
|         public ushort       connectionType; | ||||
|         public ushort       packetSize; | ||||
|         public ushort       numSubpackets; | ||||
|         public ulong        timestamp; //Miliseconds | ||||
|     } | ||||
|  | ||||
|     public class BasePacket{ | ||||
|  | ||||
|         public const int TYPE_ZONE = 1; | ||||
|         public const int TYPE_CHAT = 2; | ||||
|         public const int BASEPACKET_SIZE = 0x10; | ||||
|  | ||||
|         public BasePacketHeader header; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user