This commit is contained in:
liujiahua123123 2019-08-18 13:58:37 +08:00
parent fa8df3870c
commit 5cb0ebfe47
3 changed files with 3 additions and 9 deletions

View File

@ -1,7 +1,8 @@
package net.mamoe.mirai.network.packet.client
package net.mamoe.mirai.network.packet.client.login
import net.mamoe.mirai.network.Protocol
import net.mamoe.mirai.network.packet.PacketId
import net.mamoe.mirai.network.packet.client.*
import net.mamoe.mirai.util.TEACryptor
import net.mamoe.mirai.util.getCrc32
import net.mamoe.mirai.util.getRandomKey

View File

@ -35,7 +35,7 @@ class ServerTouchResponsePacket(private val type: Type, inputStream: DataInputSt
when (data.readByte().toInt()) {
0xFE -> {
println("0xfe")
data.skip(94)
serverIP = data.readIP()
}
0X00 -> {

View File

@ -1,10 +1,3 @@
import net.mamoe.mirai.network.packet.client.ClientPasswordSubmissionPacket
import net.mamoe.mirai.network.packet.client.toHexString
import net.mamoe.mirai.network.packet.server.ServerTouchResponsePacket
import net.mamoe.mirai.util.hexToBytes
import net.mamoe.mirai.util.toHexString
import java.io.DataInputStream
@ExperimentalUnsignedTypes
fun main(){
/*