SaveFavoriteQuests

This packet actually turns up with proper load handling which will  brick your saving functionality without it
This commit is contained in:
SirFist
2020-03-01 00:47:33 +00:00
parent a0f585b3e3
commit 861e53cb7a

View File

@@ -1080,7 +1080,10 @@ func handleMsgMhfLoadFavoriteQuest(s *Session, p mhfpacket.MHFPacket) {
}
func handleMsgMhfSaveFavoriteQuest(s *Session, p mhfpacket.MHFPacket) {}
func handleMsgMhfSaveFavoriteQuest(s *Session, p mhfpacket.MHFPacket) {
pkt := p.(*mhfpacket.MsgMhfSaveFavoriteQuest)
s.QueueAck(pkt.AckHandle, []byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00})
}
func handleMsgMhfRegisterEvent(s *Session, p mhfpacket.MHFPacket) {}
@@ -1880,7 +1883,18 @@ func handleMsgMhfLoadDecoMyset(s *Session, p mhfpacket.MHFPacket) {
}
}
func handleMsgMhfSaveDecoMyset(s *Session, p mhfpacket.MHFPacket) {}
func handleMsgMhfSaveDecoMyset(s *Session, p mhfpacket.MHFPacket) {
/* 1 byte uint8 total number of sets
1 byte unk
78 bytes total set size
2 bytes uint16 set number
20 bytes string with 0x00 padding
56 bytes data chunk
*/
}
func handleMsgMhfReserve010F(s *Session, p mhfpacket.MHFPacket) {}