fix errors

This commit is contained in:
wish
2023-05-28 14:57:32 +10:00
parent 64344ee2ee
commit 0703577571
2 changed files with 7 additions and 11 deletions

View File

@@ -43,8 +43,6 @@ func handleMsgMhfCaravanMyScore(s *Session, p mhfpacket.MHFPacket) {
/*
bf.WriteInt32(0)
bf.WriteInt32(0)
bf.WriteUint32(0)
bf.WriteInt32(0)
bf.WriteInt32(0)
bf.WriteInt32(0)
*/

View File

@@ -91,16 +91,14 @@ func handleMsgMhfGetWeeklySeibatuRankingReward(s *Session, p mhfpacket.MHFPacket
bf.WriteUint32(0)
bf.WriteUint32(0)
bf.WriteUint32(0)
bf.WriteUint32(0) // Entries
bf.WriteUint32(1) // Entries
/*
bf.WriteInt32(0)
bf.WriteInt32(0)
bf.WriteUint32(0)
bf.WriteInt32(0)
bf.WriteInt32(0)
bf.WriteInt32(0)
*/
bf.WriteInt32(0)
bf.WriteInt32(0)
bf.WriteUint32(0)
bf.WriteInt32(0)
bf.WriteInt32(0)
bf.WriteInt32(0)
doAckBufSucceed(s, pkt.AckHandle, bf.Data())
}