mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-23 19:52:37 -06:00
FUCK YOU ERROR CODE 10054
This commit is contained in:
parent
06d4c8320a
commit
64a4f9fe92
1 changed files with 4 additions and 0 deletions
|
@ -52,6 +52,7 @@ from toontown.tutorial.TutorialManagerAI import TutorialManagerAI
|
||||||
from toontown.uberdog.DistributedPartyManagerAI import DistributedPartyManagerAI
|
from toontown.uberdog.DistributedPartyManagerAI import DistributedPartyManagerAI
|
||||||
from toontown.uberdog.TopToonsManagerAI import TopToonsManagerAI
|
from toontown.uberdog.TopToonsManagerAI import TopToonsManagerAI
|
||||||
#from toontown.uberdog.DistributedLobbyManagerAI import DistributedLobbyManagerAI
|
#from toontown.uberdog.DistributedLobbyManagerAI import DistributedLobbyManagerAI
|
||||||
|
import threading
|
||||||
|
|
||||||
class ToontownAIRepository(ToontownInternalRepository):
|
class ToontownAIRepository(ToontownInternalRepository):
|
||||||
def __init__(self, baseChannel, stateServerChannel, districtName):
|
def __init__(self, baseChannel, stateServerChannel, districtName):
|
||||||
|
@ -180,6 +181,9 @@ class ToontownAIRepository(ToontownInternalRepository):
|
||||||
|
|
||||||
def handleConnected(self):
|
def handleConnected(self):
|
||||||
ToontownInternalRepository.handleConnected(self)
|
ToontownInternalRepository.handleConnected(self)
|
||||||
|
threading.Thread(target=self.startDistrict).start()
|
||||||
|
|
||||||
|
def startDistrict(self):
|
||||||
self.districtId = self.allocateChannel()
|
self.districtId = self.allocateChannel()
|
||||||
self.notify.info('Creating ToontownDistrictAI(%d)...' % self.districtId)
|
self.notify.info('Creating ToontownDistrictAI(%d)...' % self.districtId)
|
||||||
self.distributedDistrict = ToontownDistrictAI(self)
|
self.distributedDistrict = ToontownDistrictAI(self)
|
||||||
|
|
Loading…
Reference in a new issue