Przeglądaj źródła

屏蔽一些不需要的打印

SCFC 10 miesięcy temu
rodzic
commit
1a3d785440

+ 2 - 2
script/module/serverCommerce/ServerCommerceActRank.lua

@@ -115,7 +115,7 @@ local function CommercerActRank_GetRankInfoByUuid(nRankType, nRankSubType, uuid)
         return nil, nil
     end
 
-    table.print_lua_table(tCacheRankData)
+    -- table.print_lua_table(tCacheRankData)
     local nGetRank, tGetRankInfo = nil, nil
     for nRank, v in pairs(tCacheRankData) do
         if "table" ==  type(v) then
@@ -429,7 +429,7 @@ function CommercerActRank_SendHumanRankPrize(tData)
         return
     end
 
-    table.print_lua_table(human.db.ServerCommerce)
+    -- table.print_lua_table(human.db.ServerCommerce)
     print("[CommercerActRank_SendHumanRankPrize] 下发玩家奖励 name = "..human.db.name)
 
     local bSendMail = ServerCommerceManager.CommerveManager_GetHumanSendPlayerMail(human)

+ 2 - 2
script/module/serverCommerce/ServerCommerceActTask.lua

@@ -261,7 +261,7 @@ local function CommerceActTask_EvnentGetHero(nEventType, uuid, nValue1, nValue2)
             else
                 --print("[CommerceActTask_EvnentGetHero] 存在对应参数 nTaskArgument = "..v.nTaskArgument)
                 local tTaskArgument = Util.split(v.nTaskArgument , "|")
-                table.print_lua_table(tTaskArgument)
+                -- table.print_lua_table(tTaskArgument)
                 if 2 ~= #tTaskArgument then
                     print("[CommerceActTask_EvnentGetHero] 获取的任务 参数数量不正确")
                 else
@@ -521,7 +521,7 @@ function CommerceActTask_HumanSubEvent(human)
         end
     end
 
-    table.print_lua_table(tTaskType)
+    -- table.print_lua_table(tTaskType)
 
     -- 订阅事件
     for nTaskType, v in pairs(tTaskType) do

+ 2 - 2
script/module/serverCommerce/ServerCommerceManager.lua

@@ -767,7 +767,7 @@ function CommerveManager_SetCommDBSendMail(nValue)
     }
     CommonDB.SetCommerceActInfo(tNewDBData)
     print("[CommerveManager_SetCommDBSendMail] 设置全服邮件奖信息结束")
-    table.print_lua_table(tNewDBData)
+    -- table.print_lua_table(tNewDBData)
 end
 
 -- 获取全服发送邮件标识
@@ -817,7 +817,7 @@ function CommerveManager_GMClear(human)
         end
     end
 
-    table.print_lua_table(human.db.ServerCommerce)
+    -- table.print_lua_table(human.db.ServerCommerce)
     print("[CommerveManager_GMClear] 玩家重置数据完成 name = "..human.db.name)
 end
 

+ 5 - 5
script/module/serverCommerce/ServerCommerceMiddle.lua

@@ -385,7 +385,7 @@ function CommerceMiddle_GetActInfo_WL(msg)
 
     local tDBData = CommonDB.GetCommerceActInfo()
     local tMsgData = InnerMsg.lw.LW_COMMERCE_GET_ACT_INFO
-    table.print_lua_table(tDBData)
+    -- table.print_lua_table(tDBData)
 
     tMsgData.nReqServerID = msg.nReqServerID
     tMsgData.nSrcServerID = Config.SVR_INDEX
@@ -416,7 +416,7 @@ function CommerceMiddle_GetActInfo_LW(msg)
     local nServerConfID = MiddleConnect.MiddleConnect_TrueServerID2ConfServerID(msg.nSrcServerID)
     local nServerKey = MiddleConnect.MiddleConnect_GetWarZoneServer(nServerConfID)
     print("[CommerceMiddle_GetActInfo_LW] 中心服收到回包 nReqServerID = "..nReqServerID.." nServerConfID = "..nServerConfID)
-    table.print_lua_table(msg)
+    -- table.print_lua_table(msg)
 
     local tDBData = {
         nBatchID = 0,
@@ -427,7 +427,7 @@ function CommerceMiddle_GetActInfo_LW(msg)
     local tOldDBData = CommonDB.GetCommerceMiddleAct_ByKey(nServerKey)
     if tOldDBData then
         print("[CommerceMiddle_GetActInfo_LW] 存在db数据")
-        table.print_lua_table(tOldDBData)
+        -- table.print_lua_table(tOldDBData)
     end
 
     -- 不存在对应的数据
@@ -446,14 +446,14 @@ function CommerceMiddle_GetActInfo_LW(msg)
         tOldDBData = CommonDB.GetCommerceMiddleAct_ByKey(nServerKey)
         if tOldDBData then
             print("[CommerceMiddle_GetActInfo_LW] 设置后的数据打印")
-            table.print_lua_table(tOldDBData)
+            -- table.print_lua_table(tOldDBData)
         end
 
         CommerceMiddle_Refresh(nServerKey)
     end
 
     print("[CommerceMiddle_GetActInfo_LW] 1111111")
-    table.print_lua_table(tDBData)
+    -- table.print_lua_table(tDBData)
 
     if 0 ~= nReqServerID then
         print("[CommerceMiddle_GetActInfo_LW] 当前有服务器请求数据 nReqServerID = "..nReqServerID)