feat: add CH5 cube renewal presentation, trade level UI, audit manifests, and test fixtures

This commit is contained in:
shen
2026-10-23 20:17:26 -07:00
parent c1de05dc98
commit d6617e01f7
96 changed files with 6059 additions and 106 deletions
@@ -1910,6 +1910,8 @@ bool CPythonNetworkStream::RecvExchangePacket()
CPythonExchange::Instance().Start();
CPythonExchange::Instance().SetSelfName(CPythonPlayer::Instance().GetName());
CPythonExchange::Instance().SetSelfLevel(CPythonPlayer::Instance().GetStatus(POINT_LEVEL));
// PORT: START.arg3 is the server's partner-level snapshot; zero means legacy/unknown.
CPythonExchange::Instance().SetTargetLevel(exchange_packet.arg3);
{
CInstanceBase * pCharacterInstance = CPythonCharacterManager::Instance().GetInstancePtr(exchange_packet.arg1);
@@ -1917,7 +1919,6 @@ bool CPythonNetworkStream::RecvExchangePacket()
if (pCharacterInstance)
{
CPythonExchange::Instance().SetTargetName(pCharacterInstance->GetNameString());
CPythonExchange::Instance().SetTargetLevel(pCharacterInstance->GetLevel());
}
}
@@ -4529,7 +4530,7 @@ bool CPythonNetworkStream::SendClientVersionPacket()
kVersionPacket.header = HEADER_CG_CLIENT_VERSION2;
strncpy(kVersionPacket.filename, filename.c_str(), sizeof(kVersionPacket.filename)-1);
// PORT: revision mt20261024 adds 64-bit shop prices, fixed offline records and 64-bit exchange/guild money; preserve the numeric prefix for atoi version checks.
strncpy(kVersionPacket.timestamp, "1215955205 mt20261024", sizeof(kVersionPacket.timestamp)-1); // # python time.time 앞자리
strncpy(kVersionPacket.timestamp, "1215955205 mt20261025", sizeof(kVersionPacket.timestamp)-1); // PORT: revision25 adds full-count and Cube presentation companions.
//strncpy(kVersionPacket.timestamp, __TIMESTAMP__, sizeof(kVersionPacket.timestamp)-1); // old_string_ver
//strncpy(kVersionPacket.timestamp, "1218055205", sizeof(kVersionPacket.timestamp)-1); // new_future
//strncpy(kVersionPacket.timestamp, "1214055205", sizeof(kVersionPacket.timestamp)-1); // old_past
@@ -4543,7 +4544,7 @@ bool CPythonNetworkStream::SendClientVersionPacket()
kVersionPacket.header = HEADER_CG_CLIENT_VERSION;
strncpy(kVersionPacket.filename, filename.c_str(), sizeof(kVersionPacket.filename)-1);
// PORT: 64-bit money protocol requires mt20261024; older AVA2 services retain their own revision gates.
strncpy(kVersionPacket.timestamp, "mt20261024", sizeof(kVersionPacket.timestamp)-1);
strncpy(kVersionPacket.timestamp, "mt20261025", sizeof(kVersionPacket.timestamp)-1); // PORT: revision25 is backward-compatible with revision24 money.
if (!Send(sizeof(kVersionPacket), &kVersionPacket))
Tracef("SendClientReportPacket Error");