diff --git a/network/mhfpacket/msg_mhf_get_ud_tactics_follower.go b/network/mhfpacket/msg_mhf_get_ud_tactics_follower.go index 4c6231710..be80d9123 100644 --- a/network/mhfpacket/msg_mhf_get_ud_tactics_follower.go +++ b/network/mhfpacket/msg_mhf_get_ud_tactics_follower.go @@ -6,7 +6,9 @@ import ( ) // MsgMhfGetUdTacticsFollower represents the MSG_MHF_GET_UD_TACTICS_FOLLOWER -type MsgMhfGetUdTacticsFollower struct{} +type MsgMhfGetUdTacticsFollower struct{ + AckHandle uint32 +} // Opcode returns the ID associated with this packet type. func (m *MsgMhfGetUdTacticsFollower) Opcode() network.PacketID { @@ -15,7 +17,8 @@ func (m *MsgMhfGetUdTacticsFollower) Opcode() network.PacketID { // Parse parses the packet from binary func (m *MsgMhfGetUdTacticsFollower) Parse(bf *byteframe.ByteFrame) error { - panic("Not implemented") + m.AckHandle = bf.ReadUint32() + return nil } // Build builds a binary packet from the current data. diff --git a/server/channelserver/handlers.go b/server/channelserver/handlers.go index 8cb2f427f..1f9e09ec4 100644 --- a/server/channelserver/handlers.go +++ b/server/channelserver/handlers.go @@ -372,7 +372,9 @@ func handleMsgSysAuthTerminal(s *Session, p mhfpacket.MHFPacket) {} func handleMsgSysReserve5C(s *Session, p mhfpacket.MHFPacket) {} -func handleMsgSysRightsReload(s *Session, p mhfpacket.MHFPacket) {} +func handleMsgSysRightsReload(s *Session, p mhfpacket.MHFPacket) { + +} func handleMsgSysReserve5E(s *Session, p mhfpacket.MHFPacket) {} @@ -1432,7 +1434,10 @@ func handleMsgMhfGetEquipSkinHist(s *Session, p mhfpacket.MHFPacket) {} func handleMsgMhfUpdateEquipSkinHist(s *Session, p mhfpacket.MHFPacket) {} -func handleMsgMhfGetUdTacticsFollower(s *Session, p mhfpacket.MHFPacket) {} +func handleMsgMhfGetUdTacticsFollower(s *Session, p mhfpacket.MHFPacket) { + pkt := p.(*mhfpacket.MsgMhfGetUdTacticsFollowe) + doSizedAckResp(s, pkt.AckHandle, []byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}) +} func handleMsgMhfSetUdTacticsFollower(s *Session, p mhfpacket.MHFPacket) {}