Ejemplo n.º 1
0
 def handleConnected(self):
     ToontownInternalRepository.handleConnected(self)
     if config.GetBool('want-ClientServicesManagerUD', self.wantUD):
         rootObj = DistributedDirectoryAI(self)
         rootObj.generateWithRequiredAndId(self.getGameDoId(), 0, 0)
     self.createGlobals()
     self.notify.info('UberDOG has successfully initialized.')
 def handleConnected(self):
     ToontownInternalRepository.handleConnected(self)
     if config.GetBool('want-ClientServicesManagerUD', self.wantUD):
         # Only generate the root object once, with the CSMUD.
         rootObj = DistributedDirectoryAI(self)
         rootObj.generateWithRequiredAndId(self.getGameDoId(), 0, 0)
     self.createGlobals()
Ejemplo n.º 3
0
 def handleConnected(self):
     ToontownInternalRepository.handleConnected(self)
     if config.GetBool('want-ClientServicesManagerUD', self.wantUD):
         # Only generate the root object once, with the CSMUD.
         rootObj = DistributedDirectoryAI(self)
         rootObj.generateWithRequiredAndId(self.getGameDoId(), 0, 0)
     self.createGlobals()
Ejemplo n.º 4
0
 def handleConnected(self):
     rootObj = DistributedDirectoryAI(self)
     rootObj.generateWithRequiredAndId(self.getGameDoId(), 0, 0)
     endpoint = config.GetString('rpc-server-endpoint', 'http://localhost:8080/')
     self.rpcServer = ToontownRPCServer(endpoint, ToontownRPCHandler(self))
     self.rpcServer.start(useTaskChain=True)
     self.backups = BackupManager.BackupManager(filepath='backups/', extension='.json')
     self.createGlobals()
     self.notify.info('Done.')
Ejemplo n.º 5
0
    def handleConnected(self):
        ToontownInternalRepository.handleConnected(self)

        rootObj = DistributedDirectoryAI(self)
        rootObj.generateWithRequiredAndId(self.getGameDoId(), 0, 0)

        self.createGlobals()

        self.notify.info('Done.')
Ejemplo n.º 6
0
    def handleConnected(self):
        rootObj = DistributedDirectoryAI(self)
        rootObj.generateWithRequiredAndId(self.getGameDoId(), 0, 0)

        if config.GetBool('want-rpc-server', False):
            endpoint = config.GetString('rpc-server-endpoint', 'http://localhost:8080/')
            self.rpcServer = ToontownRPCServer(endpoint, ToontownRPCHandler(self))
            self.rpcServer.start(useTaskChain=True)

        self.createGlobals()
        self.notify.info('Done.')
    def handleConnected(self):
        rootObj = DistributedDirectoryAI(self)
        rootObj.generateWithRequiredAndId(self.getGameDoId(), 0, 0)

        if config.GetBool('want-rpc-server', False):
            endpoint = config.GetString('rpc-server-endpoint', 'http://localhost:8080/')
            self.rpcServer = ToontownRPCServer(endpoint, ToontownRPCHandler(self))
            self.rpcServer.start(useTaskChain=True)

        self.createGlobals()
        self.notify.info('Done.')
    def handleConnected(self):
        rootObj = DistributedDirectoryAI(self)
        rootObj.generateWithRequiredAndId(self.getGameDoId(), 0, 0)

        if config.GetBool('want-rpc-server', True):
            self.rpc = PiratesRPCServerUD(self)
            self.rpc.daemon = True
            self.rpc.start()

        self.createGlobals()
        self.notify.info('UberDOG ready!')
    def handleConnected(self):
        rootObj = DistributedDirectoryAI(self)
        rootObj.generateWithRequiredAndId(self.getGameDoId(), 0, 0)

        self.apiMgr = ShardAPIManagerUD(self)
        self.apiMgr.generateWithRequiredAndId(100001, 0, 0)

        self.banMgr = BanManagerUD(self)
        self.banMgr.generateWithRequiredAndId(100002, 0, 0)

        self.createGlobals()

        self.apiWS = ShardAPIWebServer.start(self.apiMgr)
    def handleConnected(self):
        rootObj = DistributedDirectoryAI(self)
        rootObj.generateWithRequiredAndId(self.getGameDoId(), 0, 0)
        
        self.apiMgr = ShardAPIManagerUD(self)
        self.apiMgr.generateWithRequiredAndId(100001, 0, 0)
        
        self.banMgr = BanManagerUD(self)
        self.banMgr.generateWithRequiredAndId(100002, 0, 0)

        self.createGlobals()
        
        self.apiWS = ShardAPIWebServer.start(self.apiMgr)
Ejemplo n.º 11
0
    def handleConnected(self):
        ToontownInternalRepository.handleConnected(self)

        # Create our root object.
        self.notify.info('Creating root object (%d)...' % self.getGameDoId())
        rootObj = DistributedDirectoryAI(self)
        rootObj.generateWithRequiredAndId(self.getGameDoId(), 0, 0)

        # Create our global objects.
        self.notify.info('Creating global objects...')
        self.createGlobals()

        self.notify.info('UberDOG server is ready.')
    def handleConnected(self):
        rootObj = DistributedDirectoryAI(self)
        rootObj.generateWithRequiredAndId(self.getGameDoId(), 0, 0)

        if config.GetBool("want-rpc-server", False):
            endpoint = config.GetString("rpc-server-endpoint", "http://localhost:8080/")
            self.rpcServer = ToontownRPCServer(endpoint, ToontownRPCHandler(self))
            self.rpcServer.start(useTaskChain=True)

        if config.GetBool("want-web-rpc", False):
            endpoint = config.GetString("web-rpc-endpoint", "http://localhost:8000/rpc")
            self.webRpc = ToontownRPCClient(endpoint)

        self.createGlobals()
        self.notify.info("Done.")
Ejemplo n.º 13
0
    def handleConnected(self):
        ToontownInternalRepository.handleConnected(self)
        self.notify.info(True)
        if config.GetBool('want-ClientServicesManagerUD', self.wantUD):
            self.notify.info('Creating ClientServicesManagerUD...')
            # Only generate the root object once, with the CSMUD.
            rootObj = DistributedDirectoryAI(self)
            rootObj.generateWithRequiredAndId(self.getGameDoId(), 0, 0)
        self.notify.info('Creating globals...')
        self.createGlobals()

        if config.GetBool('want-rpc-server', False):
            self.notify.info('Starting RPC server...')
            import ToontownRPCHandler
            self.rpcserver = RPCServer(ToontownRPCHandler(self))
        self.notify.info('Done.')
Ejemplo n.º 14
0
    def handleConnected(self):
        ToontownInternalRepository.handleConnected(self)
        self.notify.info(True)
        if config.GetBool("want-ClientServicesManagerUD", self.wantUD):
            self.notify.info("Creating ClientServicesManagerUD...")
            # Only generate the root object once, with the CSMUD.
            rootObj = DistributedDirectoryAI(self)
            rootObj.generateWithRequiredAndId(self.getGameDoId(), 0, 0)
        self.notify.info("Creating globals...")
        self.createGlobals()

        if config.GetBool("want-rpc-server", False):
            self.notify.info("Starting RPC server...")
            import ToontownRPCHandler

            self.rpcserver = RPCServer(ToontownRPCHandler(self))
        self.notify.info("Done.")
Ejemplo n.º 15
0
    def handleConnected(self):
        rootObj = DistributedDirectoryAI(self)
        rootObj.generateWithRequiredAndId(self.getGameDoId(), 0, 0)

        self.createGlobals()
    def handleConnected(self):
        rootObj = DistributedDirectoryAI(self)
        rootObj.generateWithRequiredAndId(self.getGameDoId(), 0, 0)

        self.createGlobals()