| | |
| | | import IPY_GameWorld
|
| | | import DataRecordPack
|
| | | import PlayerEventCounter
|
| | | import GameLogic_Qunying
|
| | | import GameWorldAction
|
| | | import PlayerViewCache
|
| | | import PlayerControl
|
| | | import NetPackCommon
|
| | | import PlayerOnline
|
| | |
| | | DBDataMgr.OnServerStart() # 优先加载公共数据
|
| | | #ItemCommon.InitPyItem() # 改为放 InitItem 加载
|
| | | LoadDBPlayer()
|
| | | PlayerViewCache.LoadRobot()
|
| | | #PlayerViewCache.LoadRobot()
|
| | | PyGameData.g_initGameTime = int(time.time()) # 放到加载数据之后
|
| | |
|
| | | # 检查跨服中心唯一性
|
| | |
| | | __DoMixServerInit()
|
| | |
|
| | | # 其他功能初始化
|
| | | |
| | | GameLogic_Qunying.OnServerStart()
|
| | |
|
| | | # 最后触发检查是否完全启动成功
|
| | | PyGameData.g_initGameWorldOK = True
|