launcher except: from toontown.launcher.ToontownDummyLauncher import ToontownDummyLauncher launcher = ToontownDummyLauncher() __builtin__.launcher = launcher launcher.setRegistry('EXIT_PAGE', 'normal') pollingDelay = 0.5 print 'ToontownStart: Polling for game2 to finish...' while not launcher.getGame2Done(): time.sleep(pollingDelay) print 'ToontownStart: Game2 is finished.' print 'ToontownStart: Starting the game.' from pandac.PandaModules import * if launcher.isDummy(): http = HTTPClient() else: http = launcher.http tempLoader = PandaLoader() backgroundNode = tempLoader.loadSync(Filename('phase_3/models/gui/loading-background')) from direct.gui import DirectGuiGlobals print 'ToontownStart: setting default font' import ToontownGlobals DirectGuiGlobals.setDefaultFontFunc(ToontownGlobals.getInterfaceFont) launcher.setPandaErrorCode(7) import ToonBase ToonBase.ToonBase() from pandac.PandaModules import * if base.win == None: print 'Unable to open window; aborting.'
launcher except: from toontown.launcher.ToontownDummyLauncher import ToontownDummyLauncher launcher = ToontownDummyLauncher() __builtin__.launcher = launcher launcher.setRegistry('EXIT_PAGE', 'normal') pollingDelay = 0.5 print 'ToontownStart: Polling for game2 to finish...' while not launcher.getGame2Done(): time.sleep(pollingDelay) print 'ToontownStart: Game2 is finished.' print 'ToontownStart: Starting the game.' from pandac.PandaModules import * if launcher.isDummy(): http = HTTPClient() else: http = launcher.http tempLoader = PandaLoader() backgroundNode = tempLoader.loadSync( Filename('phase_3/models/gui/loading-background')) from direct.gui import DirectGuiGlobals print 'ToontownStart: setting default font' import ToontownGlobals DirectGuiGlobals.setDefaultFontFunc(ToontownGlobals.getInterfaceFont) launcher.setPandaErrorCode(7) import ToonBase ToonBase.ToonBase() from pandac.PandaModules import * if base.win == None:
launcher except: from toontown.launcher.ToontownDummyLauncher import ToontownDummyLauncher launcher = ToontownDummyLauncher() __builtin__.launcher = launcher pollingDelay = 0.5 print "ToontownStart: Polling for game2 to finish..." while not launcher.getGame2Done(): time.sleep(pollingDelay) print "ToontownStart: Game2 is finished." print "ToontownStart: Starting the game." from pandac.PandaModules import * if launcher.isDummy(): http = HTTPClient() else: http = launcher.http tempLoader = Loader() backgroundNode = tempLoader.loadSync(Filename("phase_3/models/gui/loading-background")) from direct.gui import DirectGuiGlobals print "ToontownStart: setting default font" import ToontownGlobals DirectGuiGlobals.setDefaultFontFunc(ToontownGlobals.getInterfaceFont) launcher.setPandaErrorCode(7) import ToonBase ToonBase.ToonBase()
# If it is, we need to wait here until it is done. We check to see if it is # done by asking the Launcher. pollingDelay = 0.5 print 'ToontownStart: Polling for game2 to finish...' while (not launcher.getGame2Done()): time.sleep(pollingDelay) print 'ToontownStart: Game2 is finished.' # Ok, now we know we are clear from the flash into, fire it up print 'ToontownStart: Starting the game.' from pandac.PandaModules import * if launcher.isDummy(): # Create a dummy HTTPClient so we can get that stupid openSSL # random seed computed before we attempt to open the window. (We # only need do this if we don't have a launcher. If we do have a # launcher, it's already been created.) http = HTTPClient() else: http = launcher.http # Preload the background scene before the window is even created tempLoader = PandaLoader() backgroundNode = tempLoader.loadSync( Filename('phase_3/models/gui/loading-background')) from direct.gui import DirectGuiGlobals print 'ToontownStart: setting default font'
try: launcher except: from toontown.launcher.ToontownDummyLauncher import ToontownDummyLauncher launcher = ToontownDummyLauncher() __builtin__.launcher = launcher pollingDelay = 0.5 print 'ToontownStart: Polling for game2 to finish...' while not launcher.getGame2Done(): time.sleep(pollingDelay) print 'ToontownStart: Game2 is finished.' print 'ToontownStart: Starting the game.' from pandac.PandaModules import * if launcher.isDummy(): http = HTTPClient() else: http = launcher.http tempLoader = Loader() backgroundNode = tempLoader.loadSync(Filename('phase_3/models/gui/loading-background')) from direct.gui import DirectGuiGlobals print 'ToontownStart: setting default font' import ToontownGlobals DirectGuiGlobals.setDefaultFontFunc(ToontownGlobals.getInterfaceFont) launcher.setPandaErrorCode(7) import ToonBase ToonBase.ToonBase() from pandac.PandaModules import * if base.win == None: print 'Unable to open window; aborting.'
launcher except: from toontown.launcher.ToontownDummyLauncher import ToontownDummyLauncher launcher = ToontownDummyLauncher() __builtin__.launcher = launcher launcher.setRegistry('EXIT_PAGE', 'normal') pollingDelay = 0.5 print 'ToontownStart: Polling for game2 to finish...' while not launcher.getGame2Done(): time.sleep(pollingDelay) print 'ToontownStart: Game2 is finished.' print 'ToontownStart: Starting the game.' from pandac.PandaModules import * if launcher.isDummy(): http = HTTPClient() else: http = launcher.http tempLoader = PandaLoader() backgroundNode = tempLoader.loadSync(Filename('phase_3/models/gui/loading-background')) from direct.gui import DirectGuiGlobals print 'ToontownStart: setting default font' import ToontownGlobals DirectGuiGlobals.setDefaultFontFunc(ToontownGlobals.getInterfaceFont) launcher.setPandaErrorCode(7) import ToonBase ToonBase.ToonBase() from pandac.PandaModules import * if base.win == None: print 'Unable to open window; aborting.'
try: pass except: from toontown.launcher.ToontownDummyLauncher import ToontownDummyLauncher launcher = ToontownDummyLauncher() # Dummy launcher loaded as launcher __builtin__.launcher = launcher launcher.setRegistry('EXIT_PAGE', 'normal') pollingDelay = 0.5 print 'ToontownStart: Polling for game2 to finish...' while not launcher.getGame2Done(): time.sleep(pollingDelay) print 'ToontownStart: Game2 is finished.' print 'ToontownStart: Starting the game.' from pandac.PandaModules import * if launcher.isDummy(): http = HTTPClient() else: http = launcher.http tempLoader = PandaLoader() backgroundNode = tempLoader.loadSync( Filename('phase_3/models/gui/loading-background')) from direct.gui import DirectGuiGlobals print 'ToontownStart: setting default font' import ToontownGlobals DirectGuiGlobals.setDefaultFontFunc( ToontownGlobals.getInterfaceFont) # GUI font launcher.setPandaErrorCode(7) import ToonBase ToonBase.ToonBase() from pandac.PandaModules import *
try: launcher except: from toontown.launcher.ToontownDummyLauncher import ToontownDummyLauncher launcher = ToontownDummyLauncher() __builtin__.launcher = launcher pollingDelay = 0.5 print 'ToontownStart: Polling for game2 to finish...' while not launcher.getGame2Done(): time.sleep(pollingDelay) print 'ToontownStart: Game2 is finished.' print 'ToontownStart: Starting the game.' from pandac.PandaModules import * if launcher.isDummy(): http = HTTPClient() else: http = launcher.http tempLoader = Loader() backgroundNode = tempLoader.loadSync(Filename('phase_3/models/gui/loading-background')) from direct.gui import DirectGuiGlobals print 'ToontownStart: setting default font' import ToontownGlobals DirectGuiGlobals.setDefaultFontFunc(ToontownGlobals.getInterfaceFont) launcher.setPandaErrorCode(7) import ToonBase ToonBase.ToonBase() from pandac.PandaModules import * if base.win == None: print 'Unable to open window; aborting.'