16 卡牌服务端(对象池状态输出改为每小时一次;增加命令Pool输出对象池状态;)
2个文件已修改
1个文件已添加
29 ■■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Pool.py 24 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/GameWorldEvent.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ObjPool.py 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Pool.py
New file
@@ -0,0 +1,24 @@
#!/usr/bin/python
# -*- coding: GBK -*-
#-------------------------------------------------------------------------------
#
##@package GM.Commands.Pool
#
# @todo:对象池
# @author hxp
# @date 2025-11-28
# @version 1.0
#
# 详细描述: 对象池
#
#-------------------------------------------------------------------------------
#"""Version = 2025-11-28 18:00"""
#-------------------------------------------------------------------------------
import GameWorld
import ObjPool
def OnExec(curPlayer, msgList):
    GameWorld.DebugAnswer(curPlayer, "对象池状态输出地图日志")
    ObjPool.GetPoolMgr().pool_status()
    return
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/GameWorldEvent.py
@@ -299,7 +299,7 @@
    PlayerFamily.OnMinute()
    PlayerOnline.OnMinute()
    BattleObj.OnMinute()
    ObjPool.OnMinute()
    ObjPool.OnMinute(curTime)
    
    __CheckIpyDataRecycle(curTime)
    return
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ObjPool.py
@@ -330,8 +330,9 @@
        PyGameData.g_objPoolMgr = poolMgr
    return poolMgr
def OnMinute():
def OnMinute(curTime):
    """每分钟执行,输出对象池状态"""
    if curTime.minute == 5: # 每小时的5分输出一次
    GetPoolMgr().pool_status()
    return