6.0 Bozja CE tested (#60)

This commit is contained in:
ksh 2021-12-14 13:43:07 +09:00 committed by GitHub
parent d5009243cf
commit bdc0fc5a88
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 7 deletions

View file

@ -1,11 +1,11 @@
# DutyPacket configuration # DutyPacket configuration
# packet # packet
Version=2006000 Version=2006001
Description=6.0 (JP/NA/EU/OC) Description=6.0 (JP/NA/EU/OC)
OpFate=742 OpFate=742
OpDuty=226 OpDuty=226
OpMatch=791 OpMatch=791
OpInstance=213 OpInstance=213
OpZone=144 OpZone=144
OpSouthernBozja=0 OpSouthernBozja=187

View file

@ -20,6 +20,7 @@ namespace DutyContent.Tab
// //
private bool _is_lock_fate; private bool _is_lock_fate;
private ushort _last_fate = 0; private ushort _last_fate = 0;
private ushort _last_zone = 0;
// //
private bool _is_packet_finder; private bool _is_packet_finder;
@ -362,17 +363,21 @@ namespace DutyContent.Tab
{ {
var zone = BitConverter.ToUInt16(data, 4); var zone = BitConverter.ToUInt16(data, 4);
ResetContentItems(); if (zone != _last_zone)
{
_last_zone = zone;
ResetContentItems();
}
} }
// save the queen critical engagement // save the queen critical engagement
else if (opcode == DcConfig.Packet.OpCe) else if (DcConfig.Packet.OpCe != 0 && opcode == DcConfig.Packet.OpCe)
{ {
// 0[4] timestamp // 0[4] timestamp
// 4[2] mmss // 4[2] mmss
// 6[2] ? // 6[2] ?
// 8[1] code // 8[1] code
// 9[1] ? // 9[1] members
// 10[1] status 0=end, 1=register, 2=entry, 3=progress // 10[1] status 0=end, 1=register, 2=entry, 3=progress
// 12[1] progress percentage // 12[1] progress percentage
@ -1527,10 +1532,10 @@ namespace DutyContent.Tab
return; return;
} }
var ok = false;
var mem = data[9];
var stat = data[10]; var stat = data[10];
var prg = data[12]; var prg = data[12];
var mem = data[9];
var ok = false;
/* /*
if (stat == 0) if (stat == 0)