We don't have any server constants

This commit is contained in:
DenialMC 2015-05-06 10:53:09 +03:00
parent a38bea2fdc
commit de70415949
2 changed files with 1 additions and 12 deletions

View file

@ -36,7 +36,6 @@ class OTPClientRepository(ClientRepositoryBase):
self.playToken = launcher.getPlayToken()
self.wantMagicWords = False
self.userSignature = base.config.GetString('signature', 'none')
self.parentMgr.registerParent(OTPGlobals.SPRender, base.render)
self.parentMgr.registerParent(OTPGlobals.SPHidden, NodePath())
self.timeManager = None
@ -56,8 +55,7 @@ class OTPClientRepository(ClientRepositoryBase):
self.exitConnect, [
'noConnection',
'login',
'failedToConnect',
'failedToGetServerConstants']),
'failedToConnect']),
State('login',
self.enterLogin,
self.exitLogin, [
@ -71,12 +69,6 @@ class OTPClientRepository(ClientRepositoryBase):
self.exitFailedToConnect, [
'connect',
'shutdown']),
State('failedToGetServerConstants',
self.enterFailedToGetServerConstants,
self.exitFailedToGetServerConstants, [
'connect',
'shutdown',
'noConnection']),
State('shutdown',
self.enterShutdown,
self.exitShutdown, [

View file

@ -116,9 +116,6 @@ CRToontownUnavailable = 'The server appears to be temporarily unavailable, still
CRToontownUnavailableCancel = lCancel
CRNameCongratulations = 'CONGRATULATIONS!!'
CRNameAccepted = 'Your name has been\napproved by the Toon Council.\n\nFrom this day forth\nyou will be named\n"%s"'
CRServerConstantsProxyNoPort = 'Unable to contact %s.\n\nYou are communicating to the internet via a proxy, but your proxy does not permit connections on port %s.\n\nYou must open up this port, or disable your proxy, in order to play. If your proxy has been provided by your ISP, you must contact your ISP to request them to open up this port.'
CRServerConstantsProxyNoCONNECT = 'Unable to contact %s.\n\nYou are communicating to the internet via a proxy, but your proxy does not support the CONNECT method.\n\nYou must enable this capability, or disable your proxy, in order to play. If your proxy has been provided by your ISP, you must contact your ISP to request them to enable this capability.'
CRServerConstantsTryAgain = 'Unable to contact %s.\n\nThe account server might be temporarily down, or there might be some problem with your internet connection.\n\nTry again?'
CRServerDateTryAgain = 'Could not get server date from %s. Try again?'
CRMaintenanceCountdownMessage = 'Attention Toons! Toontown United will be going down for maintenance in %d minutes.'
CRMaintenanceMessage = 'Attention Toons! Toontown United is now going down for maintenance.'