diff --git a/assets/Game/scripts/SlotScene.ts b/assets/Game/scripts/SlotScene.ts index 2e7854f..170faca 100644 --- a/assets/Game/scripts/SlotScene.ts +++ b/assets/Game/scripts/SlotScene.ts @@ -984,6 +984,14 @@ export class SlotScene extends Component { ); } break; + case 5: + msg1 = I18nManager.instance.t('AID_ERROR_CONTENT_4'); + msg2 = I18nManager.instance.t('AID_ERROR_CODE_4'); + tip = `${msg1}\n${msg2}`; + if (!this.TipPanel.getHasTip()) { + this.TipPanel.showTip(title, tip, () => { window.close() }, () => { callback?.(); }, I18nManager.instance.t('AID_ERROR_QUIT_BUTTON'), I18nManager.instance.t('AID_ERROR_RETRY_BUTTON'), true); + } + break; } } diff --git a/assets/Loading/scripts/LayoutAdapter.ts b/assets/Loading/scripts/LayoutAdapter.ts index 4b5dbf3..96970cd 100644 --- a/assets/Loading/scripts/LayoutAdapter.ts +++ b/assets/Loading/scripts/LayoutAdapter.ts @@ -76,7 +76,9 @@ export class LayoutAdapter extends Component { const texH = this.sprite.spriteFrame.height; const scale = Math.max(size.width / texW, size.height / texH); this.BG_01.setScale(scale, scale); // 铺满并保持比例 - this.changeLoge(size.height) + if (this.Logo.isValid) { + this.changeLoge(size.height) + } if (this.isMobile()) { diff --git a/assets/Loading/scripts/comm.ts b/assets/Loading/scripts/comm.ts index fe4b9d1..d7932d7 100644 --- a/assets/Loading/scripts/comm.ts +++ b/assets/Loading/scripts/comm.ts @@ -7,7 +7,7 @@ import { PREVIEW } from "cc/env" const gameId = "rp_11001"; // let apiaddr = "https://rpgames-api.rpfafafahkdev.com"; let apiaddr = ""; -let token = "eyJQIjoxMDA5NDksIkUiOjE3Njc3MTM4NTcsIlMiOjk5OCwiRCI6InJwXzExMDAxIn0.NgM_swidNSUlWC58DKHBzYNn4RWEjtQWDTgli0qEyl8"; +let token = "eyJQIjoxMDA5NDksIkUiOjE3Njc4MTk1NTgsIlMiOjEwMDEsIkQiOiJycF8xMTAwMSJ9.UcJqIjmyDdeHoeYUuGeNI4Hpiqk3Rq7k4_6NuLxI16o"; let language = "en" diff --git a/assets/Loading/scripts/loading.ts b/assets/Loading/scripts/loading.ts index 41d4488..4e230ff 100644 --- a/assets/Loading/scripts/loading.ts +++ b/assets/Loading/scripts/loading.ts @@ -77,7 +77,7 @@ export class Loading extends Component { this.node.getChildByPath("Mask/LoadingUINode/logo_en").active = true; } - initErrorManager(); + // initErrorManager(); await I18nManager.instance.ensureI18nSprite(language, "2"); this.node .getChildByPath('Mask/LoadingUINode/msg')