gitxsm 6 месяцев назад
Родитель
Сommit
fe6574e320
1 измененных файлов с 14 добавлено и 14 удалено
  1. 14 14
      script/module/yunying/YunYingLogic.lua

+ 14 - 14
script/module/yunying/YunYingLogic.lua

@@ -108,7 +108,7 @@ local function initYYInfo(yyID, config)
         if YYFUNCINFO[funcID] then
            -- 如果 funcID 已经存在,说明可能是在热更新时重复初始化,或者配置有重复
            -- 先清理旧的,然后继续初始化
-           print("WARNING: funcID "..funcID.." already exists in YYFUNCINFO, clearing old data")
+        --    print("WARNING: funcID "..funcID.." already exists in YYFUNCINFO, clearing old data")
            YYFUNCINFO[funcID] = nil
         end
 
@@ -254,7 +254,7 @@ function handleAbs7MiddleReturn(fd,msg)
             if now >= config.realStartTime and now < config.realEndTime then
                 config.actId = turns[1] or 0
                 config.adIcon = ad[1] or 0
-                print("handleAbs7 act is started!!",Config.SVR_INDEX,msg.funcID,config.actId)
+                -- print("handleAbs7 act is started!!",Config.SVR_INDEX,msg.funcID,config.actId)
                 actStart = true
             end
         end
@@ -525,19 +525,19 @@ function sendGroupList(human, panelID)
     end
     
     if not actID or actID < 1 then
-        print("[sendGroupList] not found actID for panelID="..panelID)
+        -- print("[sendGroupList] not found actID for panelID="..panelID)
         return
     end
     
     -- 通过运营ID获取运营信息
     YYInfo = ID2YYInfo[actID]
     if not YYInfo then
-        print("[sendGroupList] YYInfo not found for actID="..actID..", panelID="..panelID)
+        -- print("[sendGroupList] YYInfo not found for actID="..actID..", panelID="..panelID)
         return
     end
     
     if not isOpen(YYInfo, human, true) then
-        print("[sendGroupList] YYInfo not open for actID="..actID..", panelID="..panelID)
+        -- print("[sendGroupList] YYInfo not open for actID="..actID..", panelID="..panelID)
         return
     end
 
@@ -553,7 +553,7 @@ function sendGroupList(human, panelID)
         local funcConfig = getFuncConfig(funcID)
         
         if not funcConfig then
-            print("[sendGroupList] funcConfig is nil for funcID="..funcID)
+            -- print("[sendGroupList] funcConfig is nil for funcID="..funcID)
             goto continue
         end
         
@@ -562,8 +562,8 @@ function sendGroupList(human, panelID)
             goto continue
         end
 
-        print("[sendGroupList] processing funcID="..funcID..", panelID="..funcConfig.panelID..", requestPanelID="..panelID..", isMainPanel="..tostring(isMainPanel))
-        print("[sendGroupList] YYInfo.moduleList[funcID]="..tostring(YYInfo.moduleList[funcID]))
+        -- print("[sendGroupList] processing funcID="..funcID..", panelID="..funcConfig.panelID..", requestPanelID="..panelID..", isMainPanel="..tostring(isMainPanel))
+        -- print("[sendGroupList] YYInfo.moduleList[funcID]="..tostring(YYInfo.moduleList[funcID]))
 
         local state = false
         local endTime = nil
@@ -579,19 +579,19 @@ function sendGroupList(human, panelID)
                     state = false
                 end
                 if not state then
-                    print("[sendGroupList] funcID="..funcID.." isOpen returned false/nil, panelID="..funcConfig.panelID)
+                    -- print("[sendGroupList] funcID="..funcID.." isOpen returned false/nil, panelID="..funcConfig.panelID)
                 else
-                    print("[sendGroupList] funcID="..funcID.." isOpen returned true, panelID="..funcConfig.panelID)
+                    -- print("[sendGroupList] funcID="..funcID.." isOpen returned true, panelID="..funcConfig.panelID)
                 end
                 if endTime then
                    leftTime = endTime - os.time()
                 end
             else
-                print("[sendGroupList] funcID="..funcID.." moduleList is nil or isOpen is nil, setting state=true")
+                -- print("[sendGroupList] funcID="..funcID.." moduleList is nil or isOpen is nil, setting state=true")
                 state = true
             end
         else
-            print("[sendGroupList] player lv="..human.db.lv.." < openLv="..funcConfig.openLv.." for funcID="..funcID)
+            -- print("[sendGroupList] player lv="..human.db.lv.." < openLv="..funcConfig.openLv.." for funcID="..funcID)
         end
 
         if state then
@@ -615,13 +615,13 @@ function sendGroupList(human, panelID)
             net.panelID = funcConfig.panelID
             net.effect = funcConfig.effect
             net.param = funcID
-            print("[sendGroupList] added funcID="..funcID.." to list, panelID="..panelID)
+            -- print("[sendGroupList] added funcID="..funcID.." to list, panelID="..panelID)
         end
         
         ::continue::
     end
     
-    print("[sendGroupList] sending list with count="..msgRet.list[0]..", panelID="..panelID)
+    -- print("[sendGroupList] sending list with count="..msgRet.list[0]..", panelID="..panelID)
     Msg.send(msgRet, human.fd)
 end