wuwangdong 4 tahun lalu
induk
melakukan
12e3df659a

+ 2 - 2
assets/script/game/data/GameData.ts

@@ -229,7 +229,7 @@ export class GameData {
 
         gData.gameData.insertAdLimit = parseInt(this.configs.ServerConfig.InsertAdCash);
         gData.gameData.insertAdSwitch = this.configs.ServerConfig.InsertAdScene.split(",");
-        gData.gameData.fullScreenAdSwitch = this.configs.ServerConfig.FullScreenAdScene.split(",");
+        //gData.gameData.fullScreenAdSwitch = this.configs.ServerConfig.FullScreenAdScene.split(",");
     }
 
     /**
@@ -1953,7 +1953,7 @@ export class GameData {
             let cashTimes = gData.gameData.getProp(GameProp.cashTimes);
             console.log(`===========${cashTimes}`);
             let is = gData.gameData.insertAdSwitch[index];
-            if(is == "1"){
+            if(is == "1" && cashTimes >= gData.gameData.insertAdLimit){
                 gData.adData.checkPopInter(str, rateType);
             }
         }

TEMPAT SAMPAH
build/jsb-link/assets/main/index.jsc


File diff ditekan karena terlalu besar
+ 0 - 0
build/jsb-link/assets/resources/config.json


TEMPAT SAMPAH
build/jsb-link/frameworks/runtime-src/proj.android-studio/.idea/caches/build_file_checksums.ser


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

@@ -13397,7 +13397,6 @@ gData.gameData.orderRewardType = parseInt(this.configs.ServerConfig.OrderReward)
 gData.gameData.insectAutoShowLimit = parseInt(this.configs.ServerConfig.StopProductionSwitch);
 gData.gameData.insertAdLimit = parseInt(this.configs.ServerConfig.InsertAdCash);
 gData.gameData.insertAdSwitch = this.configs.ServerConfig.InsertAdScene.split(",");
-gData.gameData.fullScreenAdSwitch = this.configs.ServerConfig.FullScreenAdScene.split(",");
 };
 t.prototype.initPlayerProp = function(t) {
 this.playerProp = new y();
@@ -14640,7 +14639,7 @@ o = s.RateConfig.RC_afterVideo;
 if (null != e) {
 var n = gData.gameData.getProp(i.cashTimes);
 console.log("===========" + n);
-"1" == gData.gameData.insertAdSwitch[a] && gData.adData.checkPopInter(e, o);
+"1" == gData.gameData.insertAdSwitch[a] && n >= gData.gameData.insertAdLimit && gData.adData.checkPopInter(e, o);
 }
 };
 return t;

+ 2 - 2
packages-hot-update/cfg.json

@@ -14,7 +14,7 @@
         "https://xcx-box.oss-cn-hangzhou.aliyuncs.com/hotgame/kncdsfJsb/baseRemote/",
         "https://xcx-box.oss-cn-hangzhou.aliyuncs.com/hotgame/kncdsfJSB/baseRemote/"
     ],
-    "buildTime": 1639216934766,
-    "genTime": 1639216934766,
+    "buildTime": 1639217924033,
+    "genTime": 1639217924033,
     "genVersion": null
 }

Beberapa file tidak ditampilkan karena terlalu banyak file yang berubah dalam diff ini