| | |
| | | import GameWorldFamilyWar
|
| | | import PlayerFBHelpBattle
|
| | | import GameWorldSkyTower
|
| | | import GMT_CTG
|
| | | import PyGameData
|
| | | import GMShell
|
| | | import IPY_PlayerDefine
|
| | |
| | | GameWorldSkyTower.OnPlayerLogin(curPlayer)
|
| | | #福地
|
| | | GameWorldMineArea.OnPlayerLogin(curPlayer)
|
| | | GMT_CTG.OnPlayerLogin(curPlayer)
|
| | |
|
| | | else:
|
| | | pass
|
| | |
| | | #offlineValue = olMgr.GetOfflineValue(playerID, PlayerViewCache.FindViewCache(playerID))
|
| | | #SyncRelatedPlayerOnlineState(playerID, offlineValue, relatedPlayerIDList)
|
| | |
|
| | | if curPlayer.GetLV() < 50:
|
| | | #GameWorld.DebugLog("跨服相关功能未开启,不同步在线状态到跨服服务器! LV=%s" % curPlayer.GetLV(), curPlayer.GetPlayerID())
|
| | | syncLV = IpyGameDataPY.GetFuncCfg("CrossSyncSet", 1)
|
| | | if curPlayer.GetLV() < syncLV:
|
| | | #GameWorld.DebugLog("跨服相关功能未开启,不同步在线状态到跨服服务器! LV=%s < %s" % (curPlayer.GetLV(), syncLV), curPlayer.GetPlayerID())
|
| | | return
|
| | |
|
| | | cacheBase = PlayerViewCache.GetSyncCrossCacheBase(curPlayer)
|