| | |
| | | queryType = ChConfig.queryType_sqtPlayerByAccID
|
| | | tagPlayer = playerManager.FindPlayerByAccID(accID)
|
| | |
|
| | | if not tagPlayer:
|
| | | if not tagPlayer or not tagPlayer.GetInitOK():
|
| | | # 玩家不在线,先记录,等玩家上线后处理
|
| | | GameWorld.Log("玩家离线,暂存渠道测试返利 %s, 仙玉%s"%(accID, gold))
|
| | | GMShell.AddOfflinePlayerGMTInfo(orderId, queryType, accID, gmCmdDict)
|
| | |
| | | #跨服PK
|
| | | CrossRealmPK.OnPlayerLogin(curPlayer)
|
| | |
|
| | | GMShell.OnPlayerLogin(curPlayer)
|
| | | GMT_CTG.OnPlayerLogin(curPlayer)
|
| | | return
|
| | |
|
| | |
| | | #===============================================================================
|
| | | #自己已经初始化成功
|
| | | curPlayer.SetInitOK(True)
|
| | | |
| | | GMShell.OnPlayerLogin(curPlayer)
|
| | | #发送请求至目标地图(任务需要登陆家族长触发事件)
|
| | | __RefreshFamilyToMapServer(curPlayer)
|
| | | return
|
| | |
| | | return
|
| | |
|
| | | gold = packCMDList[0]
|
| | | |
| | | curGold = curPlayer.NomalDictGetProperty(ChConfig.Def_QuDao_DoubleBillGold)
|
| | | if curGold != 0:
|
| | | # 已记录的不能再更改
|
| | | return
|
| | | |
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_QuDao_DoubleBillGold, gold)
|
| | | if gold <= 2:
|
| | | return
|
| | |
| | | return
|
| | |
|
| | | if rec["ServerID"]:
|
| | | # 已领取,GM返回2, 减少反复查询
|
| | | if sid == rec["ServerID"]:
|
| | | #同服已领取的返回相同
|
| | | SendGm(gameAccID, rec["Gold"])
|
| | | return
|
| | | # 不同服已领取,GM返回2, 减少反复查询
|
| | | SendGm(gameAccID, 2)
|
| | | return
|
| | |
|