update onlydesign 1.2
|
After Width: | Height: | Size: 6.7 KiB |
|
After Width: | Height: | Size: 8.8 KiB |
|
After Width: | Height: | Size: 484 B |
|
After Width: | Height: | Size: 481 B |
|
After Width: | Height: | Size: 507 B |
|
After Width: | Height: | Size: 473 B |
|
After Width: | Height: | Size: 485 B |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 2.9 MiB After Width: | Height: | Size: 2.9 MiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 56 KiB |
|
After Width: | Height: | Size: 60 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 570 KiB After Width: | Height: | Size: 538 KiB |
|
After Width: | Height: | Size: 76 KiB |
|
After Width: | Height: | Size: 51 KiB |
|
After Width: | Height: | Size: 7.1 KiB |
|
After Width: | Height: | Size: 4.8 KiB |
|
After Width: | Height: | Size: 382 KiB |
|
After Width: | Height: | Size: 382 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 5.6 KiB |
|
After Width: | Height: | Size: 7.2 KiB |
|
After Width: | Height: | Size: 7.5 KiB |
|
After Width: | Height: | Size: 290 B |
|
After Width: | Height: | Size: 6.7 KiB |
|
After Width: | Height: | Size: 8.8 KiB |
|
After Width: | Height: | Size: 484 B |
|
After Width: | Height: | Size: 481 B |
|
After Width: | Height: | Size: 507 B |
|
After Width: | Height: | Size: 473 B |
|
After Width: | Height: | Size: 485 B |
|
After Width: | Height: | Size: 2.9 MiB |
|
After Width: | Height: | Size: 4.0 KiB |
|
After Width: | Height: | Size: 6.8 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 8.8 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 538 KiB |
|
After Width: | Height: | Size: 203 B |
|
After Width: | Height: | Size: 236 B |
|
After Width: | Height: | Size: 256 B |
|
After Width: | Height: | Size: 2.7 KiB |
|
After Width: | Height: | Size: 382 KiB |
|
After Width: | Height: | Size: 382 KiB |
|
After Width: | Height: | Size: 7.5 KiB |
|
After Width: | Height: | Size: 290 B |
@@ -11142,6 +11142,27 @@
|
||||
return BASE + '/img/gauntlet-assets/result-txt-2.png';
|
||||
}
|
||||
|
||||
/** สรุปภารกิจแบบ mockup 08-summary — ต่อมินิเกม mission map (Minigame 1/4–7) */
|
||||
function isGcmMissionMockSummaryPlay(mission) {
|
||||
if (!mission || !mission.uiSkin) return false;
|
||||
if (mission.uiSkin === 'question_mission') return isQuizQuestionMissionUiMapPlay();
|
||||
if (mission.uiSkin === 'jumper') return isJumpSurviveMissionUiMapPlay();
|
||||
if (mission.uiSkin === 'violent_crime') return isSpaceShooterMissionUiMapPlay();
|
||||
if (mission.uiSkin === 'mega_virus') return isMegaVirusMissionShellMapPlay();
|
||||
if (mission.uiSkin === 'stack_tower') return isStackTowerMissionUiMapPlay();
|
||||
return false;
|
||||
}
|
||||
|
||||
function gcmMissionMockAssetUrl(mission, file) {
|
||||
if (!mission) return questionMissionAssetUrl(file);
|
||||
const skin = mission.uiSkin;
|
||||
if (skin === 'jumper') return jumperAssetUrl(file);
|
||||
if (skin === 'violent_crime') return violentCrimeAssetUrl(file);
|
||||
if (skin === 'mega_virus') return megaVirusAssetUrl(file);
|
||||
if (skin === 'stack_tower') return stackTowerAssetUrl(file);
|
||||
return questionMissionAssetUrl(file);
|
||||
}
|
||||
|
||||
function gauntletCrownPregameReadyNumerator() {
|
||||
let n = quizCarryPregameBotCount();
|
||||
quizCarryPregameHumanIds().forEach((id) => {
|
||||
@@ -12123,14 +12144,13 @@
|
||||
disp = balloonBossMergePreviewBotsMission(disp) || disp;
|
||||
}
|
||||
if (!disp || !Array.isArray(disp.ranked)) return;
|
||||
/* mng8a80o เท่านั้น — สรุปผลภารกิจตาม mockup Minigame-1 (06-summary) */
|
||||
const tfMockSummary = mission.uiSkin === 'question_mission' && isQuizQuestionMissionUiMapPlay();
|
||||
/* mission map — สรุปผลภารกิจตาม mockup 08-summary (Minigame 1/4–7) */
|
||||
const tfMockSummary = isGcmMissionMockSummaryPlay(mission);
|
||||
ov.classList.toggle('gcm-quiz-tf-mock', tfMockSummary);
|
||||
/* mng8a80o: ใช้ popup-result.png ของ QUESTION (เหมือน mockup) — แมปอื่นคง popup ของ gauntlet */
|
||||
const gcmBgImg = ov.querySelector('.gcm-bg');
|
||||
if (gcmBgImg) {
|
||||
const gcmBgSrc = tfMockSummary
|
||||
? questionMissionAssetUrl('popup-result.png')
|
||||
? gcmMissionMockAssetUrl(mission, 'popup-result.png')
|
||||
: (BASE + '/img/gauntlet-assets/popup-result.png');
|
||||
if (gcmBgImg.getAttribute('src') !== gcmBgSrc) gcmBgImg.setAttribute('src', gcmBgSrc);
|
||||
}
|
||||
@@ -12163,7 +12183,7 @@
|
||||
const badge = rk === 1 ? 'result-1st.png' : rk === 2 ? 'result-2nd.png'
|
||||
: rk === 3 ? 'result-3rd.png' : rk === 4 ? 'result-txt-1.png' : 'result-txt-2.png';
|
||||
const tagImg = document.createElement('img');
|
||||
tagImg.src = questionMissionAssetUrl(badge);
|
||||
tagImg.src = gcmMissionMockAssetUrl(mission, badge);
|
||||
tagImg.alt = '[' + String(r.rankLabel || rk) + ']';
|
||||
tagImg.style.maxWidth = '100%';
|
||||
tagImg.style.height = 'auto';
|
||||
@@ -12211,7 +12231,7 @@
|
||||
frame.appendChild(avClip);
|
||||
const frameImg = document.createElement('img');
|
||||
frameImg.className = 'gcm-frame-img';
|
||||
frameImg.src = questionMissionAssetUrl('player-frame.png');
|
||||
frameImg.src = gcmMissionMockAssetUrl(mission, 'player-frame.png');
|
||||
frameImg.alt = '';
|
||||
frameImg.decoding = 'async';
|
||||
frame.appendChild(frameImg);
|
||||
@@ -12268,7 +12288,9 @@
|
||||
const jumperSkin = mission && mission.uiSkin === 'jumper';
|
||||
const violentSkin = mission && mission.uiSkin === 'violent_crime';
|
||||
const questionMissionSkin = mission && mission.uiSkin === 'question_mission';
|
||||
if (jumperSkin) {
|
||||
if (tfMockSummary) {
|
||||
totalEl.innerHTML = 'คะแนนรวม (' + parts.join('+') + ') =<span class="gcm-total-nums">' + sum + '</span>';
|
||||
} else if (jumperSkin) {
|
||||
const sc = Math.max(0, Math.floor(Number(disp.survivorCount) || 0));
|
||||
const pc = Math.max(0, Math.floor(Number(disp.participantCount) || 0));
|
||||
totalEl.innerHTML = 'คะแนนรวม <span class="gcm-total-nums">(' + parts.join('+') + ') = ' + sum + '</span> · ผู้รอด ' + sc + '/' + pc + ' → เกรด';
|
||||
@@ -12277,12 +12299,8 @@
|
||||
const pc = Math.max(0, Math.floor(Number(disp.participantCount) || 0));
|
||||
totalEl.innerHTML = 'คะแนนรวม <span class="gcm-total-nums">(' + parts.join('+') + ') = ' + sum + '</span> · รอดชีวิต ' + sc + '/' + pc + ' → เกรด';
|
||||
} else if (questionMissionSkin) {
|
||||
if (tfMockSummary) {
|
||||
totalEl.innerHTML = 'คะแนนรวม (' + parts.join('+') + ') =<span class="gcm-total-nums">' + sum + '</span>';
|
||||
} else {
|
||||
const pc = Math.max(0, Math.floor(Number(disp.participantCount) || 0));
|
||||
totalEl.innerHTML = 'คะแนนตอบคำถาม <span class="gcm-total-nums">(' + parts.join('+') + ') = ' + sum + '</span> · ผู้เล่น ' + pc + ' → เกรด';
|
||||
}
|
||||
const pc = Math.max(0, Math.floor(Number(disp.participantCount) || 0));
|
||||
totalEl.innerHTML = 'คะแนนตอบคำถาม <span class="gcm-total-nums">(' + parts.join('+') + ') = ' + sum + '</span> · ผู้เล่น ' + pc + ' → เกรด';
|
||||
} else if (mission && mission.uiSkin === 'stack_tower') {
|
||||
const pc = Math.max(0, Math.floor(Number(disp.participantCount) || 0));
|
||||
totalEl.innerHTML = 'คะแนนรวม <span class="gcm-total-nums">(' + parts.join('+') + ') = ' + sum + '</span> · ผู้เล่น ' + pc + ' → เกรด';
|
||||
@@ -12321,7 +12339,7 @@
|
||||
}
|
||||
if (tfMockSummary) {
|
||||
/* mockup: ใช้ป้าย "ภารกิจสำเร็จ" สำเร็จรูป mission-complete-select.png เท่านั้น */
|
||||
chk.src = questionMissionAssetUrl('mission-complete-select.png');
|
||||
chk.src = gcmMissionMockAssetUrl(mission, 'mission-complete-select.png');
|
||||
chk.alt = 'ภารกิจสำเร็จ';
|
||||
chk.onerror = function () {
|
||||
this.onerror = null;
|
||||
|
||||
@@ -3974,7 +3974,7 @@
|
||||
<script src="/app-base.js?v=2"></script>
|
||||
<script src="/Game/socket.io/socket.io.js"></script>
|
||||
<script src="js/version.js?v=0.0306"></script>
|
||||
<script src="js/play.js?v=0.00607144417"></script>
|
||||
<script src="js/play.js?v=0.00607144418"></script>
|
||||
<div class="version-tag">v —</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||