Commit b8c2bb7e authored by Him188's avatar Him188

Add debugging output

parent c205bb3f
......@@ -167,7 +167,8 @@ object SubmitPasswordPacket : PacketFactory<SubmitPasswordPacket.LoginResponse,
else -> null
}
else -> null
} ?: error("Unknown length flag: " + flagFront.toUByte().toUHexString() + flagBack.toUByte().toUHexString())
}
?: error("Unknown length flag: " + flagFront.toUByte().toUHexString() + flagBack.toUByte().toUHexString() + ", remaining packet = ${readBytes().toUHexString()}")
)
discardExact(23 + 3)//01 D3 00 01 00 16 00 00 00 01 00 00 00 64 00 00 0D DE 00 09 3A 80 00
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment