gitxsm před 4 měsíci
rodič
revize
e066acf5d3

+ 17 - 7
script/module/serverCommerce/ServerCommerceActBattleGroundCS.lua

@@ -473,14 +473,24 @@ function BG_N2C_Act_End(msg)
         return
     end
 
-    local logData = {
-        joinList = battleGroundData.joinList,
-        allAreaRankList = battleGroundData.allAreaRankList,
-    }
+    -- local logData = {
+    --     joinList = battleGroundData.joinList,
+    --     allAreaRankList = battleGroundData.allAreaRankList,
+    -- }
+
+    -- local logTb = Util.serialize(logData)
+    -- local logStr = table.concat(logTb)
+    -- writeLog(logStr)
+
+
+    local logTab1 = Util.serialize(battleGroundData.joinList)
+    local logStr1 = table.concat(logTab1)
+    Timer.addLater(40, writeLog, logStr1)
+
+    local logTab2 = Util.serialize(battleGroundData.allAreaRankList)
+    local logStr2 = table.concat(logTab2)
+    Timer.addLater(45, writeLog, logStr2)
 
-    local logTb = Util.serialize(logData)
-    local logStr = table.concat(logTb)
-    writeLog(logStr)
 
     -- 更新标识
     notifyActEnd = true