*** empty log message ***

This commit is contained in:
Jesse Schell 2001-06-11 16:22:35 +00:00
parent 61c08e254e
commit 7d7d54470a
1 changed files with 12 additions and 2 deletions

View File

@ -277,13 +277,23 @@ class ClientRepository(DirectObject.DirectObject):
return None
def handleUnexpectedMsgType(self, msgType, di):
currentLoginState = self.loginFSM.getCurrentState()
if currentLoginState:
currentLoginStateName = currentLoginState.getName()
else:
currentLoginStateName = "None"
currentGameState = self.gameFSM.getCurrentState()
if currentGameState:
currentGameStateName = currentGameState.getName()
else:
currentGameStateName = "None"
ClientRepository.notify.warning(
"Ignoring unexpected message type: " +
str(msgType) +
" login state: " +
self.loginFSM.getCurrentState().getName() +
currentLoginStateName +
" game state: " +
self.gameFSM.getCurrentState().getName())
currentGameStateName)
return None
def sendSetShardMsg(self, shardId):