mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-03 01:06:36 +00:00
Fix movement (client->server) packets
This commit is contained in:
@@ -176,10 +176,10 @@ namespace StreamParser.Common.Daybreak
|
||||
case Opcode.SessionResponse:
|
||||
if (_connect_code == 0)
|
||||
{
|
||||
if(data.Length != 21)
|
||||
{
|
||||
return;
|
||||
}
|
||||
//if(data.Length != 21)
|
||||
//{
|
||||
// return;
|
||||
//}
|
||||
|
||||
_connect_code = BitConverter.ToUInt32(data.Slice(2, 4));
|
||||
_encode_key = IPAddress.NetworkToHostOrder(BitConverter.ToInt32(data.Slice(6, 4)));
|
||||
|
||||
Reference in New Issue
Block a user