mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-16 17:05:03 +01:00
Rename of variables and wip info
This commit is contained in:
@@ -20,7 +20,8 @@ type MsgMhfPostTowerInfo struct {
|
|||||||
Unk6 int32
|
Unk6 int32
|
||||||
Unk7 int32
|
Unk7 int32
|
||||||
Block1 int32
|
Block1 int32
|
||||||
TimeTaken int64
|
TimeTaken int32
|
||||||
|
CID int32
|
||||||
}
|
}
|
||||||
|
|
||||||
// Opcode returns the ID associated with this packet type.
|
// Opcode returns the ID associated with this packet type.
|
||||||
@@ -40,7 +41,8 @@ func (m *MsgMhfPostTowerInfo) Parse(bf *byteframe.ByteFrame, ctx *clientctx.Clie
|
|||||||
m.Unk6 = bf.ReadInt32()
|
m.Unk6 = bf.ReadInt32()
|
||||||
m.Unk7 = bf.ReadInt32()
|
m.Unk7 = bf.ReadInt32()
|
||||||
m.Block1 = bf.ReadInt32()
|
m.Block1 = bf.ReadInt32()
|
||||||
m.TimeTaken = bf.ReadInt64()
|
m.TimeTaken = bf.ReadInt32()
|
||||||
|
m.CID = bf.ReadInt32()
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ type TerminalLogEntry struct {
|
|||||||
Unk0 int16
|
Unk0 int16
|
||||||
Unk1 int32
|
Unk1 int32
|
||||||
Unk2 int32
|
Unk2 int32
|
||||||
Unk3 int32
|
CID int32
|
||||||
Unk4 []int32
|
Unk4 []int32
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -48,7 +48,7 @@ func (m *MsgSysTerminalLog) Parse(bf *byteframe.ByteFrame, ctx *clientctx.Client
|
|||||||
e.Unk0 = bf.ReadInt16()
|
e.Unk0 = bf.ReadInt16()
|
||||||
e.Unk1 = bf.ReadInt32()
|
e.Unk1 = bf.ReadInt32()
|
||||||
e.Unk2 = bf.ReadInt32()
|
e.Unk2 = bf.ReadInt32()
|
||||||
e.Unk3 = bf.ReadInt32()
|
e.CID = bf.ReadInt32()
|
||||||
if _config.ErupeConfig.RealClientMode >= _config.G1 {
|
if _config.ErupeConfig.RealClientMode >= _config.G1 {
|
||||||
for j := 0; j < 4; j++ {
|
for j := 0; j < 4; j++ {
|
||||||
e.Unk4 = append(e.Unk4, bf.ReadInt32())
|
e.Unk4 = append(e.Unk4, bf.ReadInt32())
|
||||||
|
|||||||
@@ -110,14 +110,20 @@ func handleMsgSysAck(s *Session, p mhfpacket.MHFPacket) {}
|
|||||||
|
|
||||||
func handleMsgSysTerminalLog(s *Session, p mhfpacket.MHFPacket) {
|
func handleMsgSysTerminalLog(s *Session, p mhfpacket.MHFPacket) {
|
||||||
pkt := p.(*mhfpacket.MsgSysTerminalLog)
|
pkt := p.(*mhfpacket.MsgSysTerminalLog)
|
||||||
|
//Type 1: 1 Type 2: 8 Quest? Unk2 Quest ID
|
||||||
|
//Type 1: 71 Type 2: 8 Quest Tower? Unk2 Quest ID
|
||||||
|
//Type 1: 79 Type 2: 99 Caravan Points (Pallone?)
|
||||||
|
//Type 1: 10 Type 2: 5 Zenny?? (Gained via Selling Items at Quest End and Quest End Reward)
|
||||||
|
//Type 1: 91 Type 2: 100 Unk0 Amount Unk2 // Tower Reward at Gal?
|
||||||
|
|
||||||
for i := range pkt.Entries {
|
for i := range pkt.Entries {
|
||||||
s.server.logger.Info("SysTerminalLog",
|
s.server.logger.Info("SysTerminalLog",
|
||||||
zap.Uint8("Type1", pkt.Entries[i].Type1),
|
zap.Uint8("Type1", pkt.Entries[i].Type1),
|
||||||
zap.Uint8("Type2", pkt.Entries[i].Type2),
|
zap.Uint8("Type2", pkt.Entries[i].Type2),
|
||||||
zap.Int16("Unk0", pkt.Entries[i].Unk0),
|
zap.Int16("Unk0", pkt.Entries[i].Unk0),
|
||||||
zap.Int32("Unk1", pkt.Entries[i].Unk1),
|
zap.Int32("Unk1", pkt.Entries[i].Unk1),
|
||||||
zap.Int32("Unk2", pkt.Entries[i].Unk2),
|
zap.Int32("Unk 2 Sometimes Quest QuestID", pkt.Entries[i].Unk2),
|
||||||
zap.Int32("Unk3", pkt.Entries[i].Unk3),
|
zap.Int32("CID", pkt.Entries[i].CID),
|
||||||
zap.Int32s("Unk4", pkt.Entries[i].Unk4),
|
zap.Int32s("Unk4", pkt.Entries[i].Unk4),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -157,7 +157,8 @@ func handleMsgMhfPostTowerInfo(s *Session, p mhfpacket.MHFPacket) {
|
|||||||
zap.Int32("Unk6", pkt.Unk6),
|
zap.Int32("Unk6", pkt.Unk6),
|
||||||
zap.Int32("Unk7", pkt.Unk7),
|
zap.Int32("Unk7", pkt.Unk7),
|
||||||
zap.Int32("Block1", pkt.Block1),
|
zap.Int32("Block1", pkt.Block1),
|
||||||
zap.Int64("TimeTaken", pkt.TimeTaken),
|
zap.Int32("TimeTaken", pkt.TimeTaken),
|
||||||
|
zap.Int32("CID", pkt.CID),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user