mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-14 07:55:33 +01:00
create default response on rengoku ranking
This commit is contained in:
@@ -271,8 +271,20 @@ func handleMsgMhfEnumerateRengokuRanking(s *Session, p mhfpacket.MHFPacket) {
|
|||||||
bf.WriteBytes(make([]byte, 11))
|
bf.WriteBytes(make([]byte, 11))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if i == 1 {
|
||||||
|
bf.WriteUint32(1)
|
||||||
|
bf.WriteUint32(0)
|
||||||
|
ps.Uint8(bf, s.Name, true)
|
||||||
|
ps.Uint8(bf, "", false)
|
||||||
|
bf.WriteUint8(1)
|
||||||
|
bf.WriteUint32(1)
|
||||||
|
bf.WriteUint32(0)
|
||||||
|
ps.Uint8(bf, s.Name, true)
|
||||||
|
ps.Uint8(bf, "", false)
|
||||||
|
} else {
|
||||||
bf.WriteUint8(uint8(i) - 1)
|
bf.WriteUint8(uint8(i) - 1)
|
||||||
bf.WriteBytes(scoreData.Data())
|
bf.WriteBytes(scoreData.Data())
|
||||||
|
}
|
||||||
doAckBufSucceed(s, pkt.AckHandle, bf.Data())
|
doAckBufSucceed(s, pkt.AckHandle, bf.Data())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user