v5.1 代码策略

This commit is contained in:
2026-11-24 21:51:58 +08:00
parent a98b5bc8c2
commit 8d8eec8e95
22 changed files with 2810 additions and 535 deletions
+9 -6
View File
@@ -600,9 +600,10 @@ void __fastcall TTableFrame::UMLogUpdate(TMessage &msg)
UpdateLogs();
}
else if(iState==ST_PAID){ //显示输赢结果日志
int ret = msg.LParam & 0xFFFF;
int ret = msg.LParam & 0xFF;
int dead = (msg.LParam >> 16) & 0xFF;
int stop = msg.LParam >> 24;
int blastMin = (msg.LParam >> 8) & 0xFF; //代码策略爆纤暂停分钟
if(ret==0){ //有错误发生
m_sgBets->Cells[3][m_logRows] = "X";
@@ -614,17 +615,19 @@ void __fastcall TTableFrame::UMLogUpdate(TMessage &msg)
}
if(g_bGameOn && (dead || stop)){
int pause = 0;
int pause = blastMin ? blastMin : 0; //先取代码策略爆纤暂停分钟
if(dead && (m_pGame->bIndPolicy || !g_aGames.pRankChip)){ //独立策略或非全局注码
m_logRows++;
m_sgBets->Cells[0][m_logRows] = "爆缆";
if(dead==3){
int iCP = m_pGame->bIndPolicy ? m_pGame->iChipPolicy : g_iChipPolicy;
TChipPolicy* pCP = (TChipPolicy*)g_aChipPolicies[iCP];
m_sgBets->Cells[1][m_logRows] = pCP->deadPause ? "暂停" : "重启";
int pm = blastMin;
if(!pm && iCP>=0) //打注一体无全局注码
pm = ((TChipPolicy*)g_aChipPolicies[iCP])->deadPause;
m_sgBets->Cells[1][m_logRows] = pm ? "暂停" : "重启";
if(pause<pCP->deadPause)
pause = pCP->deadPause;
if(pause<pm)
pause = pm;
}
else if(dead==2)
m_sgBets->Cells[1][m_logRows] = "局停";