Source CandyConquer BUG

04/26/2019 13:25 liqicong#16
Quote:
Originally Posted by Super Aids View Post
A wild guess is that the virtual size of a packet doesn't match the actual size of the packet.

Ex.

Code:
{
    ushort: 6 (size)
    ushort: 2
    uint: 1
    uint  1
}
Has a virtual size of 6.

But a physical size of 12.

That means when the client receives the packet it will read the first 6 bytes and then the second half of the first uint will be a new packet to the client and will most likely be read as an invalid size since it obviously isn't the size of a packet.

Instead that packet should have been:

Code:
{
    ushort: 12 (size)
    ushort: 2
    uint: 1
    uint  1
}
---

That's also why I said debug and log the packets. Check what the server is actually sending to the client.



Definitely not a race condition, or at least it shouldn't be since it doesn't send anything across threads to the client during login which is when this happens.

And even when it does it's concurrent and shouldn't cause any race conditions.
Doesn't seem to be.

'10.0.0.2' has connected to the server.
PacketId: 1004 PhysicalSize: 52 VirtualSize: 52
PacketId: 1006 PhysicalSize: 124 VirtualSize: 124
PacketId: 1033 PhysicalSize: 36 VirtualSize: 36
PacketId: 10010 PhysicalSize: 37 VirtualSize: 37
PacketId: 1110 PhysicalSize: 20 VirtualSize: 20
PacketId: 1016 PhysicalSize: 20 VirtualSize: 20
PacketId: 10010 PhysicalSize: 37 VirtualSize: 37
PacketId: 10010 PhysicalSize: 38 VirtualSize: 38
PacketId: 1008 PhysicalSize: 68 VirtualSize: 68
PacketId: 1008 PhysicalSize: 68 VirtualSize: 68
PacketId: 1008 PhysicalSize: 68 VirtualSize: 68
PacketId: 1008 PhysicalSize: 68 VirtualSize: 68
PacketId: 1008 PhysicalSize: 68 VirtualSize: 68
PacketId: 1008 PhysicalSize: 68 VirtualSize: 68
PacketId: 1008 PhysicalSize: 68 VirtualSize: 68
PacketId: 1008 PhysicalSize: 68 VirtualSize: 68
PacketId: 1008 PhysicalSize: 68 VirtualSize: 68
PacketId: 1008 PhysicalSize: 68 VirtualSize: 68
PacketId: 1008 PhysicalSize: 68 VirtualSize: 68
PacketId: 1008 PhysicalSize: 68 VirtualSize: 68
PacketId: 1008 PhysicalSize: 68 VirtualSize: 68
PacketId: 1009 PhysicalSize: 92 VirtualSize: 92
PacketId: 1109 PhysicalSize: 43 VirtualSize: 43
PacketId: 2030 PhysicalSize: 38 VirtualSize: 38
PacketId: 10014 PhysicalSize: 228 VirtualSize: 228
PacketId: 1009 PhysicalSize: 92 VirtualSize: 92
PacketId: 10017 PhysicalSize: 28 VirtualSize: 28
PacketId: 10017 PhysicalSize: 28 VirtualSize: 28
PacketId: 1040 PhysicalSize: 136 VirtualSize: 136
PacketId: 1008 PhysicalSize: 68 VirtualSize: 68
PacketId: 1009 PhysicalSize: 92 VirtualSize: 92
PacketId: 10010 PhysicalSize: 37 VirtualSize: 37
PacketId: 10010 PhysicalSize: 37 VirtualSize: 37
PacketId: 10010 PhysicalSize: 37 VirtualSize: 37
PacketId: 1109 PhysicalSize: 43 VirtualSize: 43
PacketId: 2030 PhysicalSize: 38 VirtualSize: 38
PacketId: 10014 PhysicalSize: 228 VirtualSize: 228
PacketId: 1009 PhysicalSize: 92 VirtualSize: 92
PacketId: 10017 PhysicalSize: 28 VirtualSize: 28
PacketId: 10017 PhysicalSize: 28 VirtualSize: 28
PacketId: 1040 PhysicalSize: 136 VirtualSize: 136
PacketId: 1008 PhysicalSize: 68 VirtualSize: 68
PacketId: 1009 PhysicalSize: 92 VirtualSize: 92
PacketId: 10010 PhysicalSize: 37 VirtualSize: 37
PacketId: 10010 PhysicalSize: 37 VirtualSize: 37
PacketId: 10010 PhysicalSize: 37 VirtualSize: 37
PacketId: 1109 PhysicalSize: 43 VirtualSize: 43
PacketId: 2030 PhysicalSize: 38 VirtualSize: 38
PacketId: 10014 PhysicalSize: 228 VirtualSize: 228
PacketId: 1009 PhysicalSize: 92 VirtualSize: 92
PacketId: 10017 PhysicalSize: 28 VirtualSize: 28
PacketId: 10017 PhysicalSize: 28 VirtualSize: 28
PacketId: 1040 PhysicalSize: 136 VirtualSize: 136
PacketId: 1008 PhysicalSize: 68 VirtualSize: 68
PacketId: 1009 PhysicalSize: 92 VirtualSize: 92
PacketId: 10010 PhysicalSize: 37 VirtualSize: 37
PacketId: 10010 PhysicalSize: 37 VirtualSize: 37
PacketId: 10010 PhysicalSize: 37 VirtualSize: 37
PacketId: 1109 PhysicalSize: 43 VirtualSize: 43
PacketId: 2030 PhysicalSize: 38 VirtualSize: 38
PacketId: 10014 PhysicalSize: 228 VirtualSize: 228
PacketId: 1009 PhysicalSize: 92 VirtualSize: 92
PacketId: 10017 PhysicalSize: 28 VirtualSize: 28
PacketId: 10017 PhysicalSize: 28 VirtualSize: 28
PacketId: 1040 PhysicalSize: 136 VirtualSize: 136
PacketId: 1008 PhysicalSize: 68 VirtualSize: 68
PacketId: 1009 PhysicalSize: 92 VirtualSize: 92
PacketId: 10010 PhysicalSize: 37 VirtualSize: 37
PacketId: 10010 PhysicalSize: 37 VirtualSize: 37
PacketId: 10010 PhysicalSize: 37 VirtualSize: 37
PacketId: 1109 PhysicalSize: 43 VirtualSize: 43
PacketId: 2030 PhysicalSize: 38 VirtualSize: 38
PacketId: 10014 PhysicalSize: 228 VirtualSize: 228
PacketId: 1009 PhysicalSize: 92 VirtualSize: 92
PacketId: 10017 PhysicalSize: 28 VirtualSize: 28
PacketId: 10017 PhysicalSize: 28 VirtualSize: 28
PacketId: 1040 PhysicalSize: 136 VirtualSize: 136
PacketId: 1008 PhysicalSize: 68 VirtualSize: 68
PacketId: 1009 PhysicalSize: 92 VirtualSize: 92
PacketId: 10010 PhysicalSize: 37 VirtualSize: 37
PacketId: 10010 PhysicalSize: 37 VirtualSize: 37
PacketId: 10010 PhysicalSize: 37 VirtualSize: 37
PacketId: 1109 PhysicalSize: 43 VirtualSize: 43
PacketId: 2030 PhysicalSize: 38 VirtualSize: 38
PacketId: 10014 PhysicalSize: 228 VirtualSize: 228
PacketId: 1009 PhysicalSize: 92 VirtualSize: 92
PacketId: 10017 PhysicalSize: 28 VirtualSize: 28
PacketId: 10017 PhysicalSize: 28 VirtualSize: 28
PacketId: 1040 PhysicalSize: 136 VirtualSize: 136
PacketId: 10010 PhysicalSize: 38 VirtualSize: 38
PacketId: 10010 PhysicalSize: 38 VirtualSize: 38
PacketId: 1025 PhysicalSize: 20 VirtualSize: 20
PacketId: 1025 PhysicalSize: 20 VirtualSize: 20
PacketId: 1025 PhysicalSize: 20 VirtualSize: 20
PacketId: 1025 PhysicalSize: 20 VirtualSize: 20
PacketId: 1025 PhysicalSize: 20 VirtualSize: 20
PacketId: 1025 PhysicalSize: 20 VirtualSize: 20
PacketId: 1025 PhysicalSize: 20 VirtualSize: 20
PacketId: 10010 PhysicalSize: 38 VirtualSize: 38
PacketId: 1103 PhysicalSize: 20 VirtualSize: 20
PacketId: 10010 PhysicalSize: 38 VirtualSize: 38
PacketId: 10010 PhysicalSize: 38 VirtualSize: 38
PacketId: 10017 PhysicalSize: 28 VirtualSize: 28
PacketId: 10017 PhysicalSize: 28 VirtualSize: 28
PacketId: 10017 PhysicalSize: 28 VirtualSize: 28
PacketId: 1040 PhysicalSize: 136 VirtualSize: 136
PacketId: 10017 PhysicalSize: 28 VirtualSize: 28
PacketId: 10017 PhysicalSize: 28 VirtualSize: 28
PacketId: 10017 PhysicalSize: 28 VirtualSize: 28
PacketId: 1040 PhysicalSize: 136 VirtualSize: 136
PacketId: 10017 PhysicalSize: 28 VirtualSize: 28
PacketId: 10017 PhysicalSize: 28 VirtualSize: 28
PacketId: 10017 PhysicalSize: 28 VirtualSize: 28
PacketId: 1040 PhysicalSize: 136 VirtualSize: 136
PacketId: 10017 PhysicalSize: 28 VirtualSize: 28
PacketId: 10017 PhysicalSize: 28 VirtualSize: 28
PacketId: 10017 PhysicalSize: 28 VirtualSize: 28
PacketId: 1040 PhysicalSize: 136 VirtualSize: 136
PacketId: 10017 PhysicalSize: 28 VirtualSize: 28
PacketId: 10017 PhysicalSize: 28 VirtualSize: 28
PacketId: 10017 PhysicalSize: 28 VirtualSize: 28
PacketId: 1040 PhysicalSize: 136 VirtualSize: 136
PacketId: 10017 PhysicalSize: 28 VirtualSize: 28
PacketId: 10017 PhysicalSize: 28 VirtualSize: 28
PacketId: 10017 PhysicalSize: 28 VirtualSize: 28
PacketId: 2064 PhysicalSize: 79 VirtualSize: 79
PacketId: 10017 PhysicalSize: 28 VirtualSize: 28
PacketId: 10017 PhysicalSize: 28 VirtualSize: 28
PacketId: 1004 PhysicalSize: 93 VirtualSize: 93
'taoist' has successfully logged in...
PacketId: 10010 PhysicalSize: 37 VirtualSize: 37
PacketId: 10010 PhysicalSize: 37 VirtualSize: 37
PacketId: 10010 PhysicalSize: 37 VirtualSize: 37
'10.0.0.2' has disconnected from the server Reason: [N-6]The socket has been disconnected.
'10.0.0.2' has connected to the server.
PacketId: 1004 PhysicalSize: 52 VirtualSize: 52
PacketId: 1006 PhysicalSize: 124 VirtualSize: 124
PacketId: 1033 PhysicalSize: 36 VirtualSize: 36
PacketId: 10010 PhysicalSize: 37 VirtualSize: 37
PacketId: 1110 PhysicalSize: 20 VirtualSize: 20
PacketId: 1016 PhysicalSize: 20 VirtualSize: 20
PacketId: 10010 PhysicalSize: 37 VirtualSize: 37
PacketId: 10010 PhysicalSize: 38 VirtualSize: 38
PacketId: 1008 PhysicalSize: 68 VirtualSize: 68
PacketId: 1008 PhysicalSize: 68 VirtualSize: 68
PacketId: 1008 PhysicalSize: 68 VirtualSize: 68
PacketId: 1008 PhysicalSize: 68 VirtualSize: 68
PacketId: 1008 PhysicalSize: 68 VirtualSize: 68
PacketId: 1008 PhysicalSize: 68 VirtualSize: 68
PacketId: 1008 PhysicalSize: 68 VirtualSize: 68
PacketId: 1008 PhysicalSize: 68 VirtualSize: 68
PacketId: 1008 PhysicalSize: 68 VirtualSize: 68
PacketId: 1008 PhysicalSize: 68 VirtualSize: 68
PacketId: 1008 PhysicalSize: 68 VirtualSize: 68
PacketId: 1008 PhysicalSize: 68 VirtualSize: 68
PacketId: 1008 PhysicalSize: 68 VirtualSize: 68
PacketId: 1009 PhysicalSize: 92 VirtualSize: 92
PacketId: 1109 PhysicalSize: 43 VirtualSize: 43
PacketId: 2030 PhysicalSize: 38 VirtualSize: 38
PacketId: 10014 PhysicalSize: 228 VirtualSize: 228
PacketId: 1009 PhysicalSize: 92 VirtualSize: 92
PacketId: 10017 PhysicalSize: 28 VirtualSize: 28
PacketId: 10017 PhysicalSize: 28 VirtualSize: 28
PacketId: 1040 PhysicalSize: 136 VirtualSize: 136
PacketId: 1008 PhysicalSize: 68 VirtualSize: 68
PacketId: 1009 PhysicalSize: 92 VirtualSize: 92
PacketId: 10010 PhysicalSize: 37 VirtualSize: 37
PacketId: 10010 PhysicalSize: 37 VirtualSize: 37
PacketId: 10010 PhysicalSize: 37 VirtualSize: 37
PacketId: 1109 PhysicalSize: 43 VirtualSize: 43
PacketId: 2030 PhysicalSize: 38 VirtualSize: 38
PacketId: 10014 PhysicalSize: 228 VirtualSize: 228
PacketId: 1009 PhysicalSize: 92 VirtualSize: 92
PacketId: 10017 PhysicalSize: 28 VirtualSize: 28
PacketId: 10017 PhysicalSize: 28 VirtualSize: 28
PacketId: 1040 PhysicalSize: 136 VirtualSize: 136
PacketId: 1008 PhysicalSize: 68 VirtualSize: 68
PacketId: 1009 PhysicalSize: 92 VirtualSize: 92
PacketId: 10010 PhysicalSize: 37 VirtualSize: 37
PacketId: 10010 PhysicalSize: 37 VirtualSize: 37
PacketId: 10010 PhysicalSize: 37 VirtualSize: 37
PacketId: 1109 PhysicalSize: 43 VirtualSize: 43
PacketId: 2030 PhysicalSize: 38 VirtualSize: 38
PacketId: 10014 PhysicalSize: 228 VirtualSize: 228
PacketId: 1009 PhysicalSize: 92 VirtualSize: 92
PacketId: 10017 PhysicalSize: 28 VirtualSize: 28
PacketId: 10017 PhysicalSize: 28 VirtualSize: 28
PacketId: 1040 PhysicalSize: 136 VirtualSize: 136
PacketId: 1008 PhysicalSize: 68 VirtualSize: 68
PacketId: 1009 PhysicalSize: 92 VirtualSize: 92
PacketId: 10010 PhysicalSize: 37 VirtualSize: 37
PacketId: 10010 PhysicalSize: 37 VirtualSize: 37
PacketId: 10010 PhysicalSize: 37 VirtualSize: 37
PacketId: 1109 PhysicalSize: 43 VirtualSize: 43
PacketId: 2030 PhysicalSize: 38 VirtualSize: 38
PacketId: 10014 PhysicalSize: 228 VirtualSize: 228
PacketId: 1009 PhysicalSize: 92 VirtualSize: 92
PacketId: 10017 PhysicalSize: 28 VirtualSize: 28
PacketId: 10017 PhysicalSize: 28 VirtualSize: 28
PacketId: 1040 PhysicalSize: 136 VirtualSize: 136
PacketId: 1008 PhysicalSize: 68 VirtualSize: 68
PacketId: 1009 PhysicalSize: 92 VirtualSize: 92
PacketId: 10010 PhysicalSize: 37 VirtualSize: 37
PacketId: 10010 PhysicalSize: 37 VirtualSize: 37
PacketId: 10010 PhysicalSize: 37 VirtualSize: 37
PacketId: 1109 PhysicalSize: 43 VirtualSize: 43
PacketId: 2030 PhysicalSize: 38 VirtualSize: 38
PacketId: 10014 PhysicalSize: 228 VirtualSize: 228
PacketId: 1009 PhysicalSize: 92 VirtualSize: 92
PacketId: 10017 PhysicalSize: 28 VirtualSize: 28
PacketId: 10017 PhysicalSize: 28 VirtualSize: 28
PacketId: 1040 PhysicalSize: 136 VirtualSize: 136
PacketId: 1008 PhysicalSize: 68 VirtualSize: 68
PacketId: 1009 PhysicalSize: 92 VirtualSize: 92
PacketId: 10010 PhysicalSize: 37 VirtualSize: 37
PacketId: 10010 PhysicalSize: 37 VirtualSize: 37
PacketId: 10010 PhysicalSize: 37 VirtualSize: 37
PacketId: 1109 PhysicalSize: 43 VirtualSize: 43
PacketId: 2030 PhysicalSize: 38 VirtualSize: 38
PacketId: 10014 PhysicalSize: 228 VirtualSize: 228
PacketId: 1009 PhysicalSize: 92 VirtualSize: 92
PacketId: 10017 PhysicalSize: 28 VirtualSize: 28
PacketId: 10017 PhysicalSize: 28 VirtualSize: 28
PacketId: 1040 PhysicalSize: 136 VirtualSize: 136
PacketId: 10010 PhysicalSize: 38 VirtualSize: 38
PacketId: 10010 PhysicalSize: 37 VirtualSize: 37
PacketId: 10010 PhysicalSize: 37 VirtualSize: 37
PacketId: 10010 PhysicalSize: 37 VirtualSize: 37
'10.0.0.2' has disconnected from the server Reason: [N-2]The client has been disconnected.

Quote:
Originally Posted by turk55 View Post
I remember having the same issue. I believe I fixed it by adding condition checks to the packet reader/writer class. As the source is now, there are no conditions.
It’s too difficult for me. can you tell me how to fix it? thank you.
04/26/2019 18:50 turk55#17
I already did.
04/26/2019 19:39 Super Aids#18
I'd say start by breakpointing the send method and slowly resume after each packet until it disconnects. Then you'll know exactly what packet disconnected you and you'll be able to peek at the data.

I can already tell it looks like something with 10010.
04/27/2019 04:02 liqicong#19
Quote:
Originally Posted by Super Aids View Post
I'd say start by breakpointing the send method and slowly resume after each packet until it disconnects. Then you'll know exactly what packet disconnected you and you'll be able to peek at the data.

I can already tell it looks like something with 10010.
can't find it through breakpoint, this is why I'm here to ask for help.

The problem maybe in the turk55 said checks to the packet reader/writer class.
but I can't find any problems there.
04/27/2019 09:26 Super Aids#20
Quote:
Originally Posted by liqicong View Post
can't find it through breakpoint, this is why I'm here to ask for help.

The problem maybe in the turk55 said checks to the packet reader/writer class.
but I can't find any problems there.
Breakpoint here and check the packets send.

[Only registered and activated users can see links. Click Here To Register...]

You will be able to see exactly what packet disconnected you.
04/27/2019 13:58 liqicong#21
Quote:
Originally Posted by Super Aids View Post
Breakpoint here and check the packets send.

[Only registered and activated users can see links. Click Here To Register...]

You will be able to see exactly what packet disconnected you.
'10.0.0.2' has connected to the server.
packetId:1004 Length:54
packetId:1006 Length:119
packetId:1033 Length:36
packetId:10010 Length:36
packetId:10010 Length:36
packetId:10010 Length:36
packetId:10010 Length:36
packetId:10010 Length:36
packetId:10010 Length:36
packetId:10010 Length:36
packetId:10010 Length:36
packetId:2064 Length:51
packetId:1004 Length:95
'qqqqq' has successfully logged in...
'10.0.0.2' has disconnected from the server Reason: [N-6]The socket has been disconnected.
'10.0.0.2' has connected to the server.
packetId:1004 Length:54
packetId:1006 Length:119
packetId:1033 Length:36
packetId:10010 Length:36 ( ExchangeType.EnterMap )
'10.0.0.2' has disconnected from the server Reason: [N-2]The client has been disconnected.



I removed something else and rewrote packet 1004 1006 1033 10010 2064.

I can't fix it.
04/30/2019 10:42 Super Aids#22
Check the data sent too and make sure it's not incorrect at any point.
05/01/2019 18:45 pintinho12#23
Quote:
Originally Posted by liqicong View Post
'10.0.0.2' has connected to the server.
packetId:1004 Length:54
packetId:1006 Length:119
packetId:1033 Length:36
packetId:10010 Length:36
packetId:10010 Length:36
packetId:10010 Length:36
packetId:10010 Length:36
packetId:10010 Length:36
packetId:10010 Length:36
packetId:10010 Length:36
packetId:10010 Length:36
packetId:2064 Length:51
packetId:1004 Length:95
'qqqqq' has successfully logged in...
'10.0.0.2' has disconnected from the server Reason: [N-6]The socket has been disconnected.
'10.0.0.2' has connected to the server.
packetId:1004 Length:54
packetId:1006 Length:119
packetId:1033 Length:36
packetId:10010 Length:36 ( ExchangeType.EnterMap )
'10.0.0.2' has disconnected from the server Reason: [N-2]The client has been disconnected.



I removed something else and rewrote packet 1004 1006 1033 10010 2064.

I can't fix it.
Check send encryption. Maybe if you're not re-creating the packet everytime you send (always sending the same packet), depending on how you're handling encryption, it might be encrypting the packet and if you send it again it will re-encrypt and then make a packet with great size.

Happened to me with MsgTalk ANSWER_OK and MsgNpcInfo.

This is an example with MsgNpcInfo that happened to me.

Code:
0000:  2A 00 EE 07 24 00 00 00  00 00 00 00 8E 01 88 01  | *...$........... |
0010:  96 00 02 00 00 00 00 00  00 00 00 00 00 00 00 00  | ................ |
0020:  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  | ................ |
0030:  00 00                                             | .. |

0000:  4C 60 93 D8 FA 9C 85 B5  E3 EA 4F D0 5B E0 F4 91  | L`........O.[... |
0010:  F1 C0 41 CB 36 5F DA D9  09 C8 32 3E 3E 56 B6 FB  | ..A.6_....2>>V.. |
0020:  1F E8 44 83 8F 1B B8 5B  D4 AE 30 6D 08 C0 C5 81  | ..D....[..0m.... |
0030:  12 51                                             | .Q |
05/01/2019 19:26 Super Aids#24
Quote:
Originally Posted by pintinho12 View Post
Check send encryption. Maybe if you're not re-creating the packet everytime you send (always sending the same packet), depending on how you're handling encryption, it might be encrypting the packet and if you send it again it will re-encrypt and then make a packet with great size.

Happened to me with MsgTalk ANSWER_OK and MsgNpcInfo.

This is an example with MsgNpcInfo that happened to me.

Code:
0000:  2A 00 EE 07 24 00 00 00  00 00 00 00 8E 01 88 01  | *...$........... |
0010:  96 00 02 00 00 00 00 00  00 00 00 00 00 00 00 00  | ................ |
0020:  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  | ................ |
0030:  00 00                                             | .. |

0000:  4C 60 93 D8 FA 9C 85 B5  E3 EA 4F D0 5B E0 F4 91  | L`........O.[... |
0010:  F1 C0 41 CB 36 5F DA D9  09 C8 32 3E 3E 56 B6 FB  | ..A.6_....2>>V.. |
0020:  1F E8 44 83 8F 1B B8 5B  D4 AE 30 6D 08 C0 C5 81  | ..D....[..0m.... |
0030:  12 51                                             | .Q |
It's not an encryption issue since you have no access to the encrypted buffer.

See: [Only registered and activated users can see links. Click Here To Register...]

Code:
		/// <summary>
		/// Sends a packet to the client.
		/// </summary>
		/// <param name="packet">The packet to send.</param>
		public void Send(byte[] packet)
		{
			if (Socket == null || packet == null)
			{
				return;
			}
			
			try
			{
				lock (Locks.NetworkLock)
				{
					byte[] pbuffer = packet;
					byte[] buffer = packet;
					
					if (Suffix != null)
					{
						Array.Resize(ref buffer, buffer.Length + Suffix.Length);
						System.Buffer.BlockCopy(Suffix, 0, buffer, buffer.Length - Suffix.Length, Suffix.Length);
						pbuffer = buffer;
					}
					
					if (Cryptography != null)
					{
						buffer = new byte[pbuffer.Length];
						System.Buffer.BlockCopy(pbuffer, 0, buffer, 0, buffer.Length);
						buffer = Cryptography.Encrypt(buffer);
					}
					
					if (Socket.Connected)
					{
						Socket.Send(buffer);
					}
				}
			}
			catch (Exception e)
			{
				#if DEBUG
				#if TRACE
				ErrorLogger.Log(StackTracing.GetCurrentMethod().Name, e);
				#else
				ErrorLogger.Log(Messages.Errors.FATAL_NETWORK_ERROR_TITLE, e);
				#endif
				#else
				Global.Message(e.ToString());
				#endif
				
				Disconnect(Messages.Errors.FATAL_NETWORK_ERROR_TITLE);
			}
		}
05/08/2019 04:54 pintinho12#25
Just a guess
01/21/2020 14:46 Relic#26
I am running into somewhat of a similar issue.

Steps to reproduce:
  1. Open two v5517 conquer clients (make sure you haven't logged in previously, this is important as it doesn't seem to happen otherwise)
  2. Log in two accounts simultaneously
  3. One account will successfully login while the second will disconnect with a "[N-5]The received packet's virtual size is too big." console message [Only registered and activated users can see links. Click Here To Register...]

Debugging shows that the disconnection happens after sending the key exchange packet as outlined here [Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

This is strange because it ONLY happens with a newly opened Conquer client where you're logging in for the first time. Any help would be appreciated.
01/23/2020 03:26 Super Aids#27
Quote:
Originally Posted by Virus7799 View Post
I am running into somewhat of a similar issue.

Steps to reproduce:
  1. Open two v5517 conquer clients (make sure you haven't logged in previously, this is important as it doesn't seem to happen otherwise)
  2. Log in two accounts simultaneously
  3. One account will successfully login while the second will disconnect with a "[N-5]The received packet's virtual size is too big." console message [Only registered and activated users can see links. Click Here To Register...]

Debugging shows that the disconnection happens after sending the key exchange packet as outlined here [Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

This is strange because it ONLY happens with a newly opened Conquer client where you're logging in for the first time. Any help would be appreciated.
Will look into it at some point as it looks like it might be the key exchange that fails somehow.

Not entirely sure what and why (didn't look into it much.)

I've never come across this issue and many others hasn't either so not sure what's up now.