class game:
    name = 'toontown'
    process = 'client'


__builtin__.game = game()
import time
import os
import sys
import random
import __builtin__
try:
    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
Exemplo n.º 2
0
    process = "client"


__builtin__.game = game()
import time
import os
import sys
import random
import __builtin__

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()
class game:
    name = 'toontown'
    process = 'client'


__builtin__.game = game()
import time
import os
import sys
import random
import __builtin__
try:
    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
Exemplo n.º 4
0
__builtin__.game = game()

import time
import os
import sys
import random
# Need to import __builtin__ and use the __builtin__.foo = x
# technique here in case you start toontown from the command line
import __builtin__

# See if we have a launcher, if we do not, make an empty one
try:
    launcher
except:
    from toontown.launcher.ToontownDummyLauncher import ToontownDummyLauncher
    launcher = ToontownDummyLauncher()
    __builtin__.launcher = launcher

# Default to "normal" web exit page.  This should be set early
# so that the right thing will get done on a crash.  "normal"
# may be marketting info, thanks for playing, or the report
# bug page.  The installer.php file will use this setting.
launcher.setRegistry("EXIT_PAGE", "normal")

# The first thing we need to do is make sure the Flash intro is not playing
# 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...'
Exemplo n.º 5
0
class game:
    name = 'toontown'
    process = 'client'

__builtin__.game = game()
import time
import os
import sys
import random
import __builtin__

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'))
Exemplo n.º 6
0
    name = 'toontown'
    process = 'client'


__builtin__.game = game()
import time
import os
import sys
import random
import __builtin__

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()