| | |
| | | # @return None
|
| | | # @remarks 函数详细说明.
|
| | | def GameServer_InitOK(index, tick):
|
| | | curPlayer = GameWorld.GetPlayerManager().GetPlayerByIndex(index)
|
| | | try:
|
| | | #通知BServer自己OK了
|
| | | curPlayer.SendToBServerServerInitOK()
|
| | | ChPlayer.OnAllServerInitOK(curPlayer, tick)
|
| | | except:
|
| | | curPlayer.Kick(IPY_GameWorld.disWaitForPlayerLoinError)
|
| | | import traceback
|
| | | GameWorld.RaiseException("玩家上线逻辑错误\r\n%s" % traceback.format_exc())
|
| | | # curPlayer = GameWorld.GetPlayerManager().GetPlayerByIndex(index)
|
| | | # try:
|
| | | # #通知BServer自己OK了
|
| | | # curPlayer.SendToBServerServerInitOK()
|
| | | # ChPlayer.OnAllServerInitOK(curPlayer, tick)
|
| | | # except:
|
| | | # curPlayer.Kick(IPY_GameWorld.disWaitForPlayerLoinError)
|
| | | # import traceback
|
| | | # GameWorld.RaiseException("玩家上线逻辑错误\r\n%s" % traceback.format_exc())
|
| | | return
|
| | |
|
| | | #--------------------------------------------------------
|