diff --git a/Erupe/config/config.go b/Erupe/config/config.go index f40cd7685..193c76e27 100644 --- a/Erupe/config/config.go +++ b/Erupe/config/config.go @@ -27,9 +27,12 @@ type DevModeOptions struct { CleanDB bool // Automatically wipes the DB on server reset. MaxLauncherHR bool // Sets the HR returned in the launcher to HR9 so that you can join non-beginner worlds. FixedStageID bool // Causes all move_stage to use the ID sl1Ns200p0a0u0 to get you into all stages + LogInboundMessages bool // Log all messages sent to the server LogOutboundMessages bool // Log all messages sent to the clients - Event int // Changes the current event - OpcodeMessages bool // Get all message for Opcodes + DivaEvent int // Diva Defense event status + FestaEvent int // Hunter's Festa event status + TournamentEvent int // VS Tournament event status + MezFesEvent bool // MezFes status SaveDumps SaveDumpOptions } diff --git a/Erupe/server/channelserver/handlers.go b/Erupe/server/channelserver/handlers.go index 380680ddd..6b22ad6c7 100644 --- a/Erupe/server/channelserver/handlers.go +++ b/Erupe/server/channelserver/handlers.go @@ -406,26 +406,6 @@ func handleMsgMhfEnumeratePrice(s *Session, p mhfpacket.MHFPacket) { doAckBufSucceed(s, pkt.AckHandle, data) } -func handleMsgMhfEnumerateRanking(s *Session, p mhfpacket.MHFPacket) { - pkt := p.(*mhfpacket.MsgMhfEnumerateRanking) - - resp := byteframe.NewByteFrame() - resp.WriteUint32(0) - resp.WriteUint32(0) - resp.WriteUint32(0) - resp.WriteUint32(0) - resp.WriteUint32(0) - resp.WriteUint8(0) - resp.WriteUint8(0) // Some string length following this field. - resp.WriteUint16(0) // Entry type 1 count - resp.WriteUint8(0) // Entry type 2 count - - doAckBufSucceed(s, pkt.AckHandle, resp.Data()) - - // Update the client's rights as well: - updateRights(s) -} - func handleMsgMhfEnumerateOrder(s *Session, p mhfpacket.MHFPacket) { pkt := p.(*mhfpacket.MsgMhfEnumerateOrder) stubEnumerateNoResults(s, pkt.AckHandle) diff --git a/Erupe/server/channelserver/handlers_event.go b/Erupe/server/channelserver/handlers_event.go index 3193ec10a..39fc81277 100644 --- a/Erupe/server/channelserver/handlers_event.go +++ b/Erupe/server/channelserver/handlers_event.go @@ -237,7 +237,7 @@ func handleMsgMhfUseKeepLoginBoost(s *Session, p mhfpacket.MHFPacket) { func handleMsgMhfGetUdSchedule(s *Session, p mhfpacket.MHFPacket) { pkt := p.(*mhfpacket.MsgMhfGetUdSchedule) var t = timeServerFix.Tstatic_midnight() - var event int = s.server.erupeConfig.DevModeOptions.Event + var event int = s.server.erupeConfig.DevModeOptions.DivaEvent year, month, day := t.Date() midnight := time.Date(year, month, day, 0, 0, 0, 0, t.Location()) diff --git a/Erupe/server/channelserver/handlers_guild.go b/Erupe/server/channelserver/handlers_guild.go index 415b82de7..2fd40a76c 100644 --- a/Erupe/server/channelserver/handlers_guild.go +++ b/Erupe/server/channelserver/handlers_guild.go @@ -1596,6 +1596,7 @@ func handleMsgMhfGetGuildMissionRecord(s *Session, p mhfpacket.MHFPacket) { // No guild mission records = 0x190 empty bytes doAckBufSucceed(s, pkt.AckHandle, make([]byte, 0x190)) +} func handleMsgMhfAddGuildMissionCount(s *Session, p mhfpacket.MHFPacket) { pkt := p.(*mhfpacket.MsgMhfAddGuildMissionCount)