mirror of
				https://bitbucket.org/Ioncannon/project-meteor-server.git
				synced 2025-05-20 08:26:59 -04:00 
			
		
		
		
	Fixed NLog config for map server. Added some debug printouts while testing.
This commit is contained in:
		| @@ -38,13 +38,13 @@ | ||||
|     <target xsi:type="ColoredConsole" name="packets" | ||||
|             layout="${message}"> | ||||
|       <highlight-row | ||||
|         condition="equals('${logger}', 'FFXIVClassic_Map_Server.packets.BasePacket') and equals('${event-context:item=color}', '6')" | ||||
|         condition="equals('${logger}', 'FFXIVClassic.Common.BasePacket') and equals('${event-context:item=color}', '6')" | ||||
|         backgroundColor="DarkYellow" foregroundColor="NoChange" /> | ||||
|       <highlight-row | ||||
|         condition="equals('${logger}', 'FFXIVClassic_Map_Server.packets.SubPacket') and equals('${event-context:item=color}', '4')" | ||||
|         condition="equals('${logger}', 'FFXIVClassic.Common.SubPacket') and equals('${event-context:item=color}', '4')" | ||||
|         backgroundColor="DarkRed" foregroundColor="NoChange" /> | ||||
|       <highlight-row | ||||
|         condition="equals('${logger}', 'FFXIVClassic_Map_Server.packets.SubPacket') and equals('${event-context:item=color}', '5')" | ||||
|         condition="equals('${logger}', 'FFXIVClassic.Common.SubPacket') and equals('${event-context:item=color}', '5')" | ||||
|         backgroundColor="DarkMagenta" foregroundColor="NoChange" /> | ||||
|     </target> | ||||
|   </targets> | ||||
| @@ -55,6 +55,7 @@ | ||||
|     <logger name='FFXIVClassic_Map_Server.Program' minlevel='Trace' writeTo='console' /> | ||||
|     <logger name='FFXIVClassic_Map_Server.lua.*' minlevel='Trace' writeTo='console' /> | ||||
|     <logger name='FFXIVClassic_Map_Server.packets.*' minlevel='Debug' writeTo='packets' /> | ||||
|     <logger name='FFXIVClassic.Common.*' minlevel='Debug' writeTo='packets' /> | ||||
|     <!-- | ||||
|     Write all events with minimal level of Debug (So Debug, Info, Warn, Error and Fatal, but not Trace)  to "f" | ||||
|     <logger name="*" minlevel="Debug" writeTo="f" /> | ||||
|   | ||||
| @@ -4,6 +4,7 @@ using System.Net.Sockets; | ||||
| using FFXIVClassic.Common; | ||||
| using System.Collections.Concurrent; | ||||
| using System.Net; | ||||
| using System.Collections.Generic; | ||||
|  | ||||
| namespace FFXIVClassic_Map_Server | ||||
| { | ||||
| @@ -17,7 +18,9 @@ namespace FFXIVClassic_Map_Server | ||||
|  | ||||
|         public void QueuePacket(BasePacket packet) | ||||
|         { | ||||
|             //SendPacketQueue.Add(packet); | ||||
|             List<SubPacket> subPackets = packet.GetSubpackets(); | ||||
|             foreach (SubPacket s in subPackets) | ||||
|                 SendPacketQueue.Add(s); | ||||
|         } | ||||
|  | ||||
|         public void QueuePacket(SubPacket subpacket, bool isAuthed, bool isEncrypted) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user