kaka 4 роки тому
батько
коміт
4879f2067e

+ 1 - 1
assets/script/game/data/HttpData.ts

@@ -5,7 +5,7 @@
 export class HttpData {
 export class HttpData {
 
 
     /** 服务器类型 0测试服 1正式服 2李扬服 3悍国服 */
     /** 服务器类型 0测试服 1正式服 2李扬服 3悍国服 */
-    public serverType: number = 0;
+    public serverType: number = 1;
 
 
     public getServerUrl(): string {
     public getServerUrl(): string {
         switch (this.serverType) {
         switch (this.serverType) {

+ 3 - 8
assets/script/game/data/module/SignData.ts

@@ -123,16 +123,11 @@ export class SignData extends Data {
             let response = await mk.http.sendData('readyCash', {});
             let response = await mk.http.sendData('readyCash', {});
 
 
             if (response.errcode != 0) {
             if (response.errcode != 0) {
-                if (response.errcode == 41002) {
-                    if (response.data.count) {
-                        gData.tipPanelData.openCashFailTip(response.data.count);
-                    }
-                    else {
-                        mk.tip.pop('提现排队中,多看视频优先提现');
-                    }
+                if (response.data.count) {
+                    gData.tipPanelData.openCashFailTip(response.data.count);
                 }
                 }
                 else {
                 else {
-                    mk.tip.pop(response.errmsg);
+                    mk.tip.pop('提现排队中,多看视频优先提现');
                 }
                 }
                 return;
                 return;
             }
             }

+ 5 - 6
assets/script/mk/sdk/ad/toppon/AnyThinkAdsMgr/ATRewardVideo.ts

@@ -17,14 +17,14 @@ export class ATRewardVideo extends zgSingleton {
     /** 是否加载完显示 */
     /** 是否加载完显示 */
     public ifLoadShow: boolean = false;
     public ifLoadShow: boolean = false;
     /**是否观看完毕 */
     /**是否观看完毕 */
-    public ifWatchEnd: boolean = false;
+    public canGet: boolean = false;
 
 
     init() {
     init() {
         this.ATRewardVideoJS = cc["ATRewardVideoJS"];
         this.ATRewardVideoJS = cc["ATRewardVideoJS"];
         this.ATRewardVideoJS.proxy = this;
         this.ATRewardVideoJS.proxy = this;
         this.ATRewardVideoJS.init();
         this.ATRewardVideoJS.init();
 
 
-        this.ifWatchEnd = false;
+        this.canGet = false;
         if (this.reawardAdState == RewardAdState.Unload) {
         if (this.reawardAdState == RewardAdState.Unload) {
             this.loadAd();
             this.loadAd();
         }
         }
@@ -141,7 +141,6 @@ export class ATRewardVideo extends zgSingleton {
      */
      */
     onRewardedVideoAdPlayEnd(placementId, callbackInfo) {
     onRewardedVideoAdPlayEnd(placementId, callbackInfo) {
         //ATJSSDK.printLog("AnyThinkRewardedVideoDemo::onRewardedVideoAdPlayEnd(" + placementId + ", " + callbackInfo + ")");
         //ATJSSDK.printLog("AnyThinkRewardedVideoDemo::onRewardedVideoAdPlayEnd(" + placementId + ", " + callbackInfo + ")");
-        this.ifWatchEnd = true;
     }
     }
 
 
     /**
     /**
@@ -168,7 +167,7 @@ export class ATRewardVideo extends zgSingleton {
 
 
         // ATJSSDK.printLog("AnyThinkRewardedVideoDemo::onRewardedVideoAdClosed(" + placementId + ", " + callbackInfo + ")");
         // ATJSSDK.printLog("AnyThinkRewardedVideoDemo::onRewardedVideoAdClosed(" + placementId + ", " + callbackInfo + ")");
 
 
-        if (this.ifWatchEnd) {
+        if (this.canGet) {
             ATSDKMgr.getInstance().watchVideoAdCallBack(AdPlayStateType.WatchEnd);
             ATSDKMgr.getInstance().watchVideoAdCallBack(AdPlayStateType.WatchEnd);
             mk.data.sendDataEvent(DataEventId.video_end, mk.ad.videoAdType);
             mk.data.sendDataEvent(DataEventId.video_end, mk.ad.videoAdType);
         }
         }
@@ -176,7 +175,7 @@ export class ATRewardVideo extends zgSingleton {
             ATSDKMgr.getInstance().watchVideoAdCallBack(AdPlayStateType.Cancel);
             ATSDKMgr.getInstance().watchVideoAdCallBack(AdPlayStateType.Cancel);
         }
         }
 
 
-        this.ifWatchEnd = false;
+        this.canGet = false;
 
 
         this.loadAd();
         this.loadAd();
     }
     }
@@ -199,7 +198,7 @@ export class ATRewardVideo extends zgSingleton {
     onReward(placementId, callbackInfo) {
     onReward(placementId, callbackInfo) {
         // ATJSSDK.printLog("AnyThinkRewardedVideoDemo::onReward(" + placementId + ", " + callbackInfo + ")");
         // ATJSSDK.printLog("AnyThinkRewardedVideoDemo::onReward(" + placementId + ", " + callbackInfo + ")");
         console.log('onReward  ');
         console.log('onReward  ');
-        this.ifWatchEnd = true;
+        this.canGet = true;
     }
     }
 }
 }
 
 

+ 1 - 1
assets/script/mk/utils/LogUtil.ts

@@ -9,7 +9,7 @@ export default class LogUtil {
      * 是否显示Log
      * 是否显示Log
      * @description
      * @description
      */
      */
-    public ifShowLog: boolean = true;
+    public ifShowLog: boolean = false;
 
 
     /**
     /**
      * 标签符号
      * 标签符号

BIN
build/jsb-link/assets/main/index.jsc


Різницю між файлами не показано, бо вона завелика
+ 0 - 0
build/jsb-link/assets/resources/config.json


+ 9 - 11
build/jsb-link/js backups (useful for debugging)/main.index.js

@@ -1197,14 +1197,14 @@ function e() {
 var e = null !== t && t.apply(this, arguments) || this;
 var e = null !== t && t.apply(this, arguments) || this;
 e.reawardAdState = 0;
 e.reawardAdState = 0;
 e.ifLoadShow = !1;
 e.ifLoadShow = !1;
-e.ifWatchEnd = !1;
+e.canGet = !1;
 return e;
 return e;
 }
 }
 e.prototype.init = function() {
 e.prototype.init = function() {
 this.ATRewardVideoJS = cc.ATRewardVideoJS;
 this.ATRewardVideoJS = cc.ATRewardVideoJS;
 this.ATRewardVideoJS.proxy = this;
 this.ATRewardVideoJS.proxy = this;
 this.ATRewardVideoJS.init();
 this.ATRewardVideoJS.init();
-this.ifWatchEnd = !1;
+this.canGet = !1;
 this.reawardAdState == i.Unload && this.loadAd();
 this.reawardAdState == i.Unload && this.loadAd();
 };
 };
 e.prototype.placementID = function() {
 e.prototype.placementID = function() {
@@ -1250,9 +1250,7 @@ o ? o++ : o = 1;
 mk.storage.setStorage("ad_videoEcpm", o);
 mk.storage.setStorage("ad_videoEcpm", o);
 o <= 300 && (o <= 50 ? mk.data.sendDataEventValue(r.DataEventId.ad_videoEcpm, "ad_video_ecpm" + o, n.adsource_price) : o % 10 == 0 && mk.data.sendDataEventValue(r.DataEventId.ad_videoEcpm, "ad_video_ecpm" + o, n.adsource_price));
 o <= 300 && (o <= 50 ? mk.data.sendDataEventValue(r.DataEventId.ad_videoEcpm, "ad_video_ecpm" + o, n.adsource_price) : o % 10 == 0 && mk.data.sendDataEventValue(r.DataEventId.ad_videoEcpm, "ad_video_ecpm" + o, n.adsource_price));
 };
 };
-e.prototype.onRewardedVideoAdPlayEnd = function() {
-this.ifWatchEnd = !0;
-};
+e.prototype.onRewardedVideoAdPlayEnd = function() {};
 e.prototype.onRewardedVideoAdPlayFailed = function(t, e, n) {
 e.prototype.onRewardedVideoAdPlayFailed = function(t, e, n) {
 mk.console.log("AnyThinkRewardedVideoDemo::onRewardedVideoAdPlayFailed placementId >> ", t);
 mk.console.log("AnyThinkRewardedVideoDemo::onRewardedVideoAdPlayFailed placementId >> ", t);
 mk.console.log("AnyThinkRewardedVideoDemo::onRewardedVideoAdPlayFailed errorInfo ", e);
 mk.console.log("AnyThinkRewardedVideoDemo::onRewardedVideoAdPlayFailed errorInfo ", e);
@@ -1262,17 +1260,17 @@ gData.adData.updateADLog(5, t, o);
 s.default.getInstance().watchVideoAdCallBack(s.AdPlayStateType.PlayFail);
 s.default.getInstance().watchVideoAdCallBack(s.AdPlayStateType.PlayFail);
 };
 };
 e.prototype.onRewardedVideoAdClosed = function() {
 e.prototype.onRewardedVideoAdClosed = function() {
-if (this.ifWatchEnd) {
+if (this.canGet) {
 s.default.getInstance().watchVideoAdCallBack(s.AdPlayStateType.WatchEnd);
 s.default.getInstance().watchVideoAdCallBack(s.AdPlayStateType.WatchEnd);
 mk.data.sendDataEvent(r.DataEventId.video_end, mk.ad.videoAdType);
 mk.data.sendDataEvent(r.DataEventId.video_end, mk.ad.videoAdType);
 } else s.default.getInstance().watchVideoAdCallBack(s.AdPlayStateType.Cancel);
 } else s.default.getInstance().watchVideoAdCallBack(s.AdPlayStateType.Cancel);
-this.ifWatchEnd = !1;
+this.canGet = !1;
 this.loadAd();
 this.loadAd();
 };
 };
 e.prototype.onRewardedVideoAdPlayClicked = function() {};
 e.prototype.onRewardedVideoAdPlayClicked = function() {};
 e.prototype.onReward = function() {
 e.prototype.onReward = function() {
 console.log("onReward  ");
 console.log("onReward  ");
-this.ifWatchEnd = !0;
+this.canGet = !0;
 };
 };
 return e;
 return e;
 }(c.zgSingleton);
 }(c.zgSingleton);
@@ -10951,7 +10949,7 @@ value: !0
 n.ServerUrl = n.HttpData = void 0;
 n.ServerUrl = n.HttpData = void 0;
 var o, a = function() {
 var o, a = function() {
 function t() {
 function t() {
-this.serverType = 0;
+this.serverType = 1;
 }
 }
 t.prototype.getServerUrl = function() {
 t.prototype.getServerUrl = function() {
 switch (this.serverType) {
 switch (this.serverType) {
@@ -11532,7 +11530,7 @@ value: !0
 n.LogTagColor = void 0;
 n.LogTagColor = void 0;
 var a, i = function() {
 var a, i = function() {
 function t() {
 function t() {
-this.ifShowLog = !0;
+this.ifShowLog = !1;
 this._tagChar = "...";
 this._tagChar = "...";
 this._frontChar = "    ";
 this._frontChar = "    ";
 this._keyValueChar = " = ";
 this._keyValueChar = " = ";
@@ -19440,7 +19438,7 @@ return [ 4, mk.http.sendData("readyCash", {}) ];
 
 
 case 2:
 case 2:
 if (0 != (n = a.sent()).errcode) {
 if (0 != (n = a.sent()).errcode) {
-41002 == n.errcode ? n.data.count ? gData.tipPanelData.openCashFailTip(n.data.count) : mk.tip.pop("提现排队中,多看视频优先提现") : mk.tip.pop(n.errmsg);
+n.data.count ? gData.tipPanelData.openCashFailTip(n.data.count) : mk.tip.pop("提现排队中,多看视频优先提现");
 return [ 2 ];
 return [ 2 ];
 }
 }
 0 == n.CashMode || n.CashMode;
 0 == n.CashMode || n.CashMode;

+ 6 - 5
packages-hot-update/cfg.json

@@ -1,6 +1,6 @@
 {
 {
-    "version": "1.0.3",
-    "serverRootDir": "https://xcx-box.oss-cn-hangzhou.aliyuncs.com/hotgame/EasyEliminate/baseRemote2/",
+    "version": "1.0.4",
+    "serverRootDir": "https://xcx-box.oss-cn-hangzhou.aliyuncs.com/hotgame/EasyEliminate/baseRemote3/",
     "resourceRootDir": "D:\\copy\\mk_framework\\build\\jsb-link",
     "resourceRootDir": "D:\\copy\\mk_framework\\build\\jsb-link",
     "genManifestDir": "",
     "genManifestDir": "",
     "hotAddressArray": [
     "hotAddressArray": [
@@ -12,9 +12,10 @@
         "https://xcx-box.oss-cn-hangzhou.aliyuncs.com/hotgame/EasyEliminateTestT/baseRemote1/",
         "https://xcx-box.oss-cn-hangzhou.aliyuncs.com/hotgame/EasyEliminateTestT/baseRemote1/",
         "https://xcx-box.oss-cn-hangzhou.aliyuncs.com/hotgame/EasyEliminateTestT/baseRemote/",
         "https://xcx-box.oss-cn-hangzhou.aliyuncs.com/hotgame/EasyEliminateTestT/baseRemote/",
         "https://xcx-box.oss-cn-hangzhou.aliyuncs.com/hotgame/EasyEliminateTest/baseRemoteTest/",
         "https://xcx-box.oss-cn-hangzhou.aliyuncs.com/hotgame/EasyEliminateTest/baseRemoteTest/",
-        "https://xcx-box.oss-cn-hangzhou.aliyuncs.com/hotgame/EasyEliminate/baseRemote2/"
+        "https://xcx-box.oss-cn-hangzhou.aliyuncs.com/hotgame/EasyEliminate/baseRemote2/",
+        "https://xcx-box.oss-cn-hangzhou.aliyuncs.com/hotgame/EasyEliminate/baseRemote3/"
     ],
     ],
-    "buildTime": 1630404487409,
-    "genTime": 1630404487409,
+    "buildTime": 1630550056156,
+    "genTime": 1630550056156,
     "genVersion": null
     "genVersion": null
 }
 }

Різницю між файлами не показано, бо вона завелика
+ 0 - 0
packages-hot-update/manifest/project.manifest


+ 1 - 1
packages-hot-update/manifest/version.manifest

@@ -1 +1 @@
-{"version":"1.0.3","packageUrl":"https://xcx-box.oss-cn-hangzhou.aliyuncs.com/hotgame/EasyEliminate/baseRemote2/","remoteManifestUrl":"https://xcx-box.oss-cn-hangzhou.aliyuncs.com/hotgame/EasyEliminate/baseRemote2/project.manifest","remoteVersionUrl":"https://xcx-box.oss-cn-hangzhou.aliyuncs.com/hotgame/EasyEliminate/baseRemote2/version.manifest"}
+{"version":"1.0.4","packageUrl":"https://xcx-box.oss-cn-hangzhou.aliyuncs.com/hotgame/EasyEliminate/baseRemote3/","remoteManifestUrl":"https://xcx-box.oss-cn-hangzhou.aliyuncs.com/hotgame/EasyEliminate/baseRemote3/project.manifest","remoteVersionUrl":"https://xcx-box.oss-cn-hangzhou.aliyuncs.com/hotgame/EasyEliminate/baseRemote3/version.manifest"}

BIN
packages-hot-update/versions/ver_1_0.4.zip


Деякі файли не було показано, через те що забагато файлів було змінено