diff --git a/otp/ai/DistributedBlackCatMgrAI.py b/otp/ai/DistributedBlackCatMgrAI.py new file mode 100644 index 0000000..1ab8c8f --- /dev/null +++ b/otp/ai/DistributedBlackCatMgrAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedBlackCatMgrAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedBlackCatMgrAI') diff --git a/otp/ai/MagicWordManagerAI.py b/otp/ai/MagicWordManagerAI.py new file mode 100644 index 0000000..28f52af --- /dev/null +++ b/otp/ai/MagicWordManagerAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class MagicWordManagerAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('MagicWordManagerAI') diff --git a/otp/ai/TimeManagerAI.py b/otp/ai/TimeManagerAI.py new file mode 100644 index 0000000..cc9f258 --- /dev/null +++ b/otp/ai/TimeManagerAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class TimeManagerAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('TimeManagerAI') diff --git a/otp/avatar/DistributedAvatarUD.py b/otp/avatar/DistributedAvatarUD.py new file mode 100644 index 0000000..0c8b347 --- /dev/null +++ b/otp/avatar/DistributedAvatarUD.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectUD import DistributedObjectUD + +class DistributedAvatarUD(DistributedObjectUD): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedAvatarUD') diff --git a/otp/distributed/AccountUD.py b/otp/distributed/AccountUD.py new file mode 100644 index 0000000..d7de24e --- /dev/null +++ b/otp/distributed/AccountUD.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectUD import DistributedObjectUD + +class AccountUD(DistributedObjectUD): + notify = DirectNotifyGlobal.directNotify.newCategory('AccountUD') diff --git a/otp/distributed/CentralLoggerUD.py b/otp/distributed/CentralLoggerUD.py new file mode 100644 index 0000000..088a917 --- /dev/null +++ b/otp/distributed/CentralLoggerUD.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectUD import DistributedObjectUD + +class CentralLoggerUD(DistributedObjectUD): + notify = DirectNotifyGlobal.directNotify.newCategory('CentralLoggerUD') diff --git a/otp/distributed/DistributedDistrictUD.py b/otp/distributed/DistributedDistrictUD.py new file mode 100644 index 0000000..fac1fdb --- /dev/null +++ b/otp/distributed/DistributedDistrictUD.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectUD import DistributedObjectUD + +class DistributedDistrictUD(DistributedObjectUD): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedDistrictUD') diff --git a/otp/distributed/DistributedTestObjectAI.py b/otp/distributed/DistributedTestObjectAI.py new file mode 100644 index 0000000..caf0577 --- /dev/null +++ b/otp/distributed/DistributedTestObjectAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedTestObjectAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedTestObjectAI') diff --git a/otp/distributed/ObjectServerUD.py b/otp/distributed/ObjectServerUD.py new file mode 100644 index 0000000..ae8fb9f --- /dev/null +++ b/otp/distributed/ObjectServerUD.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectUD import DistributedObjectUD + +class ObjectServerUD(DistributedObjectUD): + notify = DirectNotifyGlobal.directNotify.newCategory('ObjectServerUD') diff --git a/otp/friends/AvatarFriendsManagerUD.py b/otp/friends/AvatarFriendsManagerUD.py new file mode 100644 index 0000000..f8352ee --- /dev/null +++ b/otp/friends/AvatarFriendsManagerUD.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectUD import DistributedObjectUD + +class AvatarFriendsManagerUD(DistributedObjectUD): + notify = DirectNotifyGlobal.directNotify.newCategory('AvatarFriendsManagerUD') diff --git a/otp/friends/FriendManagerAI.py b/otp/friends/FriendManagerAI.py new file mode 100644 index 0000000..616cfbc --- /dev/null +++ b/otp/friends/FriendManagerAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class FriendManagerAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('FriendManagerAI') diff --git a/otp/friends/GuildManagerUD.py b/otp/friends/GuildManagerUD.py new file mode 100644 index 0000000..3be98c4 --- /dev/null +++ b/otp/friends/GuildManagerUD.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectUD import DistributedObjectUD + +class GuildManagerUD(DistributedObjectUD): + notify = DirectNotifyGlobal.directNotify.newCategory('GuildManagerUD') diff --git a/otp/friends/PlayerFriendsManagerUD.py b/otp/friends/PlayerFriendsManagerUD.py new file mode 100644 index 0000000..a590d8a --- /dev/null +++ b/otp/friends/PlayerFriendsManagerUD.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectUD import DistributedObjectUD + +class PlayerFriendsManagerUD(DistributedObjectUD): + notify = DirectNotifyGlobal.directNotify.newCategory('PlayerFriendsManagerUD') diff --git a/otp/level/DistributedInteractiveEntityAI.py b/otp/level/DistributedInteractiveEntityAI.py new file mode 100644 index 0000000..79ad592 --- /dev/null +++ b/otp/level/DistributedInteractiveEntityAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedInteractiveEntityAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedInteractiveEntityAI') diff --git a/otp/login/AstronLoginManagerUD.py b/otp/login/AstronLoginManagerUD.py index e69de29..07ce524 100644 --- a/otp/login/AstronLoginManagerUD.py +++ b/otp/login/AstronLoginManagerUD.py @@ -0,0 +1,8 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectGlobalUD import DistributedObjectGlobalUD + +class AstronLoginManagerUD(DistributedObjectGlobalUD): + notify = DirectNotifyGlobal.directNotify.newCategory('AstronLoginManagerUD') + + def requestLogin(self, playToken): + print playToken diff --git a/otp/otpbase/PythonUtil.py b/otp/otpbase/PythonUtil.py index acf7a63..7d89eee 100644 --- a/otp/otpbase/PythonUtil.py +++ b/otp/otpbase/PythonUtil.py @@ -1,7 +1,35 @@ import __builtin__ import sys -__all__ = ['describeException', 'pdir'] +__all__ = ['enumerate', 'nonRepeatingRandomList', 'describeException', 'pdir'] + +if not hasattr(__builtin__, 'enumerate'): + def enumerate(L): + """Returns (0, L[0]), (1, L[1]), etc., allowing this syntax: + for i, item in enumerate(L): + ... + + enumerate is a built-in feature in Python 2.3, which implements it + using an iterator. For now, we can use this quick & dirty + implementation that returns a list of tuples that is completely + constructed every time enumerate() is called. + """ + return zip(xrange(len(L)), L) + + __builtin__.enumerate = enumerate +else: + enumerate = __builtin__.enumerate + +def nonRepeatingRandomList(vals, max): + random.seed(time.time()) + #first generate a set of random values + valueList=range(max) + finalVals=[] + for i in range(vals): + index=int(random.random()*len(valueList)) + finalVals.append(valueList[index]) + valueList.remove(valueList[index]) + return finalVals # class 'decorator' that records the stack at the time of creation # be careful with this, it creates a StackTrace, and that can take a diff --git a/otp/snapshot/SnapshotDispatcherUD.py b/otp/snapshot/SnapshotDispatcherUD.py new file mode 100644 index 0000000..1ce7acc --- /dev/null +++ b/otp/snapshot/SnapshotDispatcherUD.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectUD import DistributedObjectUD + +class SnapshotDispatcherUD(DistributedObjectUD): + notify = DirectNotifyGlobal.directNotify.newCategory('SnapshotDispatcherUD') diff --git a/otp/snapshot/SnapshotRendererUD.py b/otp/snapshot/SnapshotRendererUD.py new file mode 100644 index 0000000..63d7f82 --- /dev/null +++ b/otp/snapshot/SnapshotRendererUD.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectUD import DistributedObjectUD + +class SnapshotRendererUD(DistributedObjectUD): + notify = DirectNotifyGlobal.directNotify.newCategory('SnapshotRendererUD') diff --git a/otp/status/StatusDatabaseUD.py b/otp/status/StatusDatabaseUD.py new file mode 100644 index 0000000..60884fd --- /dev/null +++ b/otp/status/StatusDatabaseUD.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectUD import DistributedObjectUD + +class StatusDatabaseUD(DistributedObjectUD): + notify = DirectNotifyGlobal.directNotify.newCategory('StatusDatabaseUD') diff --git a/otp/uberdog/DistributedChatManagerUD.py b/otp/uberdog/DistributedChatManagerUD.py new file mode 100644 index 0000000..b59eeb9 --- /dev/null +++ b/otp/uberdog/DistributedChatManagerUD.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectUD import DistributedObjectUD + +class DistributedChatManagerUD(DistributedObjectUD): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedChatManagerUD') diff --git a/otp/uberdog/OtpAvatarManagerUD.py b/otp/uberdog/OtpAvatarManagerUD.py new file mode 100644 index 0000000..5d1b21f --- /dev/null +++ b/otp/uberdog/OtpAvatarManagerUD.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectUD import DistributedObjectUD + +class OtpAvatarManagerUD(DistributedObjectUD): + notify = DirectNotifyGlobal.directNotify.newCategory('OtpAvatarManagerUD') diff --git a/otp/uberdog/SpeedchatRelayUD.py b/otp/uberdog/SpeedchatRelayUD.py new file mode 100644 index 0000000..8cdbba7 --- /dev/null +++ b/otp/uberdog/SpeedchatRelayUD.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectUD import DistributedObjectUD + +class SpeedchatRelayUD(DistributedObjectUD): + notify = DirectNotifyGlobal.directNotify.newCategory('SpeedchatRelayUD') diff --git a/otp/web/SettingsMgrUD.py b/otp/web/SettingsMgrUD.py new file mode 100644 index 0000000..cc6689d --- /dev/null +++ b/otp/web/SettingsMgrUD.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectUD import DistributedObjectUD + +class SettingsMgrUD(DistributedObjectUD): + notify = DirectNotifyGlobal.directNotify.newCategory('SettingsMgrUD') diff --git a/toontown/ai/DistributedBlackCatMgrAI.py b/toontown/ai/DistributedBlackCatMgrAI.py new file mode 100644 index 0000000..1ab8c8f --- /dev/null +++ b/toontown/ai/DistributedBlackCatMgrAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedBlackCatMgrAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedBlackCatMgrAI') diff --git a/toontown/ai/DistributedGreenToonEffectMgrAI.py b/toontown/ai/DistributedGreenToonEffectMgrAI.py new file mode 100644 index 0000000..e7a495c --- /dev/null +++ b/toontown/ai/DistributedGreenToonEffectMgrAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedGreenToonEffectMgrAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedGreenToonEffectMgrAI') diff --git a/toontown/ai/DistributedHydrantZeroMgrAI.py b/toontown/ai/DistributedHydrantZeroMgrAI.py new file mode 100644 index 0000000..83d19ba --- /dev/null +++ b/toontown/ai/DistributedHydrantZeroMgrAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedHydrantZeroMgrAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedHydrantZeroMgrAI') diff --git a/toontown/ai/DistributedMailboxZeroMgrAI.py b/toontown/ai/DistributedMailboxZeroMgrAI.py new file mode 100644 index 0000000..c508ba3 --- /dev/null +++ b/toontown/ai/DistributedMailboxZeroMgrAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedMailboxZeroMgrAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedMailboxZeroMgrAI') diff --git a/toontown/ai/DistributedPhaseEventMgrAI.py b/toontown/ai/DistributedPhaseEventMgrAI.py new file mode 100644 index 0000000..907995f --- /dev/null +++ b/toontown/ai/DistributedPhaseEventMgrAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedPhaseEventMgrAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedPhaseEventMgrAI') diff --git a/toontown/ai/DistributedPolarPlaceEffectMgrAI.py b/toontown/ai/DistributedPolarPlaceEffectMgrAI.py new file mode 100644 index 0000000..4320ac2 --- /dev/null +++ b/toontown/ai/DistributedPolarPlaceEffectMgrAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedPolarPlaceEffectMgrAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedPolarPlaceEffectMgrAI') diff --git a/toontown/ai/DistributedResistanceEmoteMgrAI.py b/toontown/ai/DistributedResistanceEmoteMgrAI.py new file mode 100644 index 0000000..f961933 --- /dev/null +++ b/toontown/ai/DistributedResistanceEmoteMgrAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedResistanceEmoteMgrAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedResistanceEmoteMgrAI') diff --git a/toontown/ai/DistributedScavengerHuntTargetAI.py b/toontown/ai/DistributedScavengerHuntTargetAI.py new file mode 100644 index 0000000..78ecc39 --- /dev/null +++ b/toontown/ai/DistributedScavengerHuntTargetAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedScavengerHuntTargetAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedScavengerHuntTarget') diff --git a/toontown/ai/DistributedSillyMeterMgrAI.py b/toontown/ai/DistributedSillyMeterMgrAI.py new file mode 100644 index 0000000..f046ef2 --- /dev/null +++ b/toontown/ai/DistributedSillyMeterMgrAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedSillyMeterMgrAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedSillyMeterMgrAI') diff --git a/toontown/ai/DistributedTrashcanZeroMgrAI.py b/toontown/ai/DistributedTrashcanZeroMgrAI.py new file mode 100644 index 0000000..86df21e --- /dev/null +++ b/toontown/ai/DistributedTrashcanZeroMgrAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedTrashcanZeroMgrAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedTrashcanZeroMgrAI') diff --git a/toontown/ai/DistributedTrickOrTreatTargetAI.py b/toontown/ai/DistributedTrickOrTreatTargetAI.py new file mode 100644 index 0000000..de934ca --- /dev/null +++ b/toontown/ai/DistributedTrickOrTreatTargetAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedTrickOrTreatTargetAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedTrickOrTreatTargetAI') diff --git a/toontown/ai/DistributedWinterCarolingTargetAI.py b/toontown/ai/DistributedWinterCarolingTargetAI.py new file mode 100644 index 0000000..21e9a26 --- /dev/null +++ b/toontown/ai/DistributedWinterCarolingTargetAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedWinterCarolingTargetAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedWinterCarolingTargetAI') diff --git a/toontown/ai/NewsManagerAI.py b/toontown/ai/NewsManagerAI.py new file mode 100644 index 0000000..74618c6 --- /dev/null +++ b/toontown/ai/NewsManagerAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class NewsManagerAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('NewsManagerAI') diff --git a/toontown/ai/ToontownMagicWordManagerAI.py b/toontown/ai/ToontownMagicWordManagerAI.py new file mode 100644 index 0000000..e25ae15 --- /dev/null +++ b/toontown/ai/ToontownMagicWordManagerAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class ToontownMagicWordManagerAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('ToontownMagicWordManagerAI') diff --git a/toontown/ai/WelcomeValleyManagerAI.py b/toontown/ai/WelcomeValleyManagerAI.py new file mode 100644 index 0000000..557b4ce --- /dev/null +++ b/toontown/ai/WelcomeValleyManagerAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class WelcomeValleyManagerAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('WelcomeValleyManagerAI') diff --git a/toontown/building/DistributedTrophyMgrAI.py b/toontown/building/DistributedTrophyMgrAI.py new file mode 100644 index 0000000..c862c6e --- /dev/null +++ b/toontown/building/DistributedTrophyMgrAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedTrophyMgrAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedTrophyMgrAI') diff --git a/toontown/building/DistributedTutorialInteriorAI.py b/toontown/building/DistributedTutorialInteriorAI.py new file mode 100644 index 0000000..a1f8a2d --- /dev/null +++ b/toontown/building/DistributedTutorialInteriorAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedTutorialInteriorAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedTutorialInteriorAI') diff --git a/toontown/catalog/CatalogManagerAI.py b/toontown/catalog/CatalogManagerAI.py new file mode 100644 index 0000000..47db795 --- /dev/null +++ b/toontown/catalog/CatalogManagerAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class CatalogManagerAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('CatalogManagerAI') diff --git a/toontown/classicchars/DistributedFrankenDonaldAI.py b/toontown/classicchars/DistributedFrankenDonaldAI.py new file mode 100644 index 0000000..9f67708 --- /dev/null +++ b/toontown/classicchars/DistributedFrankenDonaldAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedFrankenDonaldAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedFrankenDonaldAI') diff --git a/toontown/classicchars/DistributedJailbirdDaleAI.py b/toontown/classicchars/DistributedJailbirdDaleAI.py new file mode 100644 index 0000000..7cf3751 --- /dev/null +++ b/toontown/classicchars/DistributedJailbirdDaleAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedJailbirdDaleAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedJailbirdDaleAI') diff --git a/toontown/classicchars/DistributedPoliceChipAI.py b/toontown/classicchars/DistributedPoliceChipAI.py new file mode 100644 index 0000000..a86d957 --- /dev/null +++ b/toontown/classicchars/DistributedPoliceChipAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedPoliceChipAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedPoliceChipAI') diff --git a/toontown/classicchars/DistributedSockHopDaisyAI.py b/toontown/classicchars/DistributedSockHopDaisyAI.py new file mode 100644 index 0000000..9c4ebeb --- /dev/null +++ b/toontown/classicchars/DistributedSockHopDaisyAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedSockHopDaisyAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedSockHopDaisyAI') diff --git a/toontown/classicchars/DistributedSuperGoofyAI.py b/toontown/classicchars/DistributedSuperGoofyAI.py new file mode 100644 index 0000000..6d9877a --- /dev/null +++ b/toontown/classicchars/DistributedSuperGoofyAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedSuperGoofyAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedSuperGoofyAI') diff --git a/toontown/classicchars/DistributedVampireMickeyAI.py b/toontown/classicchars/DistributedVampireMickeyAI.py new file mode 100644 index 0000000..553e38e --- /dev/null +++ b/toontown/classicchars/DistributedVampireMickeyAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedVampireMickeyAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedVampireMickeyAI') diff --git a/toontown/classicchars/DistributedWesternPlutoAI.py b/toontown/classicchars/DistributedWesternPlutoAI.py new file mode 100644 index 0000000..aca9164 --- /dev/null +++ b/toontown/classicchars/DistributedWesternPlutoAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedWesternPlutoAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedWesternPlutoAI') diff --git a/toontown/classicchars/DistributedWitchMinnieAI.py b/toontown/classicchars/DistributedWitchMinnieAI.py new file mode 100644 index 0000000..a362095 --- /dev/null +++ b/toontown/classicchars/DistributedWitchMinnieAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedWitchMinnieAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedWitchMinnieAI') diff --git a/toontown/coderedemption/TTCodeRedemptionMgrUD.py b/toontown/coderedemption/TTCodeRedemptionMgrUD.py new file mode 100644 index 0000000..3757aef --- /dev/null +++ b/toontown/coderedemption/TTCodeRedemptionMgrUD.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectUD import DistributedObjectUD + +class TTCodeRedemptionMgrUD(DistributedObjectUD): + notify = DirectNotifyGlobal.directNotify.newCategory('TTCodeRedemptionMgrUD') diff --git a/toontown/coghq/DistributedStageBattleAI.py b/toontown/coghq/DistributedStageBattleAI.py index 656114a..11a38e0 100644 --- a/toontown/coghq/DistributedStageBattleAI.py +++ b/toontown/coghq/DistributedStageBattleAI.py @@ -6,7 +6,8 @@ from direct.fsm import ClassicFSM, State from toontown.battle.BattleBase import * import CogDisguiseGlobals from toontown.toonbase.ToontownBattleGlobals import getStageCreditMultiplier -from direct.showbase.PythonUtil import addListsByValue, enumerate +from direct.showbase.PythonUtil import addListsByValue +from otp.otpbase.PythonUtil import enumerate class DistributedStageBattleAI(DistributedLevelBattleAI.DistributedLevelBattleAI): notify = DirectNotifyGlobal.directNotify.newCategory('DistributedStageBattleAI') diff --git a/toontown/distributed/ToontownDistrictAI.py b/toontown/distributed/ToontownDistrictAI.py new file mode 100644 index 0000000..5b3ca54 --- /dev/null +++ b/toontown/distributed/ToontownDistrictAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class ToontownDistrictAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('ToontownDistrictAI') diff --git a/toontown/distributed/ToontownDistrictStatsAI.py b/toontown/distributed/ToontownDistrictStatsAI.py new file mode 100644 index 0000000..cc85434 --- /dev/null +++ b/toontown/distributed/ToontownDistrictStatsAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class ToontownDistrictStatsAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('ToontownDistrictStatsAI') diff --git a/toontown/distributed/ToontownInternalRepository.py b/toontown/distributed/ToontownInternalRepository.py index 83644e0..80abfc1 100644 --- a/toontown/distributed/ToontownInternalRepository.py +++ b/toontown/distributed/ToontownInternalRepository.py @@ -1,8 +1,10 @@ from direct.directnotify import DirectNotifyGlobal from otp.distributed.OTPInternalRepository import OTPInternalRepository +from otp.distributed.OtpDoGlobals import * class ToontownInternalRepository(OTPInternalRepository): notify = DirectNotifyGlobal.directNotify.newCategory('ToontownInternalRepository') + GameGlobalsId = OTP_DO_ID_TOONTOWN def __init__(self, baseChannel, serverId=None, dcFileNames=None, dcSuffix='AI', connectMethod=None, threadedNet=None): OTPInternalRepository.__init__(self, baseChannel, serverId, dcFileNames, dcSuffix, connectMethod, threadedNet) diff --git a/toontown/estate/DistributedAnimatedStatuaryAI.py b/toontown/estate/DistributedAnimatedStatuaryAI.py new file mode 100644 index 0000000..75bf239 --- /dev/null +++ b/toontown/estate/DistributedAnimatedStatuaryAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedAnimatedStatuaryAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedAnimatedStatuaryAI') diff --git a/toontown/estate/DistributedBankAI.py b/toontown/estate/DistributedBankAI.py new file mode 100644 index 0000000..f6239a2 --- /dev/null +++ b/toontown/estate/DistributedBankAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedBankAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedBankAI') diff --git a/toontown/estate/DistributedBankMgrAI.py b/toontown/estate/DistributedBankMgrAI.py new file mode 100644 index 0000000..aea1183 --- /dev/null +++ b/toontown/estate/DistributedBankMgrAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedBankMgrAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedBankMgrAI') diff --git a/toontown/estate/DistributedChangingStatuaryAI.py b/toontown/estate/DistributedChangingStatuaryAI.py new file mode 100644 index 0000000..f5836f4 --- /dev/null +++ b/toontown/estate/DistributedChangingStatuaryAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedChangingStatuaryAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedChangingStatuaryAI') diff --git a/toontown/estate/DistributedClosetAI.py b/toontown/estate/DistributedClosetAI.py new file mode 100644 index 0000000..eb3b7c7 --- /dev/null +++ b/toontown/estate/DistributedClosetAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedClosetAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedClosetAI') diff --git a/toontown/estate/DistributedEstateAI.py b/toontown/estate/DistributedEstateAI.py new file mode 100644 index 0000000..50c1a0a --- /dev/null +++ b/toontown/estate/DistributedEstateAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedEstateAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedEstateAI') diff --git a/toontown/estate/DistributedFireworksCannonAI.py b/toontown/estate/DistributedFireworksCannonAI.py new file mode 100644 index 0000000..1c84fa3 --- /dev/null +++ b/toontown/estate/DistributedFireworksCannonAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedFireworksCannonAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedFireworksCannonAI') diff --git a/toontown/estate/DistributedFlowerAI.py b/toontown/estate/DistributedFlowerAI.py new file mode 100644 index 0000000..28e8cdf --- /dev/null +++ b/toontown/estate/DistributedFlowerAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedFlowerAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedFlowerAI') diff --git a/toontown/estate/DistributedFurnitureItemAI.py b/toontown/estate/DistributedFurnitureItemAI.py new file mode 100644 index 0000000..ae9d7ef --- /dev/null +++ b/toontown/estate/DistributedFurnitureItemAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedFurnitureItemAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedFurnitureItemAI') diff --git a/toontown/estate/DistributedFurnitureManagerAI.py b/toontown/estate/DistributedFurnitureManagerAI.py new file mode 100644 index 0000000..281d411 --- /dev/null +++ b/toontown/estate/DistributedFurnitureManagerAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedFurnitureManagerAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedFurnitureManagerAI') diff --git a/toontown/estate/DistributedGagTreeAI.py b/toontown/estate/DistributedGagTreeAI.py new file mode 100644 index 0000000..c36989e --- /dev/null +++ b/toontown/estate/DistributedGagTreeAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedGagTreeAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedGagTreeAI') diff --git a/toontown/estate/DistributedGardenAI.py b/toontown/estate/DistributedGardenAI.py new file mode 100644 index 0000000..818fc03 --- /dev/null +++ b/toontown/estate/DistributedGardenAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedGardenAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedGardenAI') diff --git a/toontown/estate/DistributedGardenBoxAI.py b/toontown/estate/DistributedGardenBoxAI.py new file mode 100644 index 0000000..39fd060 --- /dev/null +++ b/toontown/estate/DistributedGardenBoxAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedGardenBoxAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedGardenBoxAI') diff --git a/toontown/estate/DistributedGardenPlotAI.py b/toontown/estate/DistributedGardenPlotAI.py new file mode 100644 index 0000000..d29cf2f --- /dev/null +++ b/toontown/estate/DistributedGardenPlotAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedGardenPlotAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedGardenPlotAI') diff --git a/toontown/estate/DistributedHouseAI.py b/toontown/estate/DistributedHouseAI.py new file mode 100644 index 0000000..7651b5f --- /dev/null +++ b/toontown/estate/DistributedHouseAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedHouseAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedHouseAI') diff --git a/toontown/estate/DistributedHouseDoorAI.py b/toontown/estate/DistributedHouseDoorAI.py new file mode 100644 index 0000000..90bcc37 --- /dev/null +++ b/toontown/estate/DistributedHouseDoorAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedHouseDoorAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedHouseDoorAI') diff --git a/toontown/estate/DistributedHouseInteriorAI.py b/toontown/estate/DistributedHouseInteriorAI.py new file mode 100644 index 0000000..76cb8a6 --- /dev/null +++ b/toontown/estate/DistributedHouseInteriorAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedHouseInteriorAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedHouseInteriorAI') diff --git a/toontown/estate/DistributedLawnDecorAI.py b/toontown/estate/DistributedLawnDecorAI.py new file mode 100644 index 0000000..6e2b917 --- /dev/null +++ b/toontown/estate/DistributedLawnDecorAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedLawnDecorAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedLawnDecorAI') diff --git a/toontown/estate/DistributedMailboxAI.py b/toontown/estate/DistributedMailboxAI.py new file mode 100644 index 0000000..63e38c9 --- /dev/null +++ b/toontown/estate/DistributedMailboxAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedMailboxAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedMailboxAI') diff --git a/toontown/estate/DistributedPhoneAI.py b/toontown/estate/DistributedPhoneAI.py new file mode 100644 index 0000000..7eeb4b3 --- /dev/null +++ b/toontown/estate/DistributedPhoneAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedPhoneAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedPhoneAI') diff --git a/toontown/estate/DistributedPlantBaseAI.py b/toontown/estate/DistributedPlantBaseAI.py new file mode 100644 index 0000000..4d23e4d --- /dev/null +++ b/toontown/estate/DistributedPlantBaseAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedPlantBaseAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedPlantBaseAI') diff --git a/toontown/estate/DistributedStatuaryAI.py b/toontown/estate/DistributedStatuaryAI.py new file mode 100644 index 0000000..ca087e0 --- /dev/null +++ b/toontown/estate/DistributedStatuaryAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedStatuaryAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedStatuaryAI') diff --git a/toontown/estate/DistributedTargetAI.py b/toontown/estate/DistributedTargetAI.py new file mode 100644 index 0000000..f2cf37b --- /dev/null +++ b/toontown/estate/DistributedTargetAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedTargetAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedTargetAI') diff --git a/toontown/estate/DistributedToonStatuaryAI.py b/toontown/estate/DistributedToonStatuaryAI.py new file mode 100644 index 0000000..8d0ca2a --- /dev/null +++ b/toontown/estate/DistributedToonStatuaryAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedToonStatuaryAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedToonStatuaryAI') diff --git a/toontown/estate/DistributedTrunkAI.py b/toontown/estate/DistributedTrunkAI.py new file mode 100644 index 0000000..382d49c --- /dev/null +++ b/toontown/estate/DistributedTrunkAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedTrunkAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedTrunkAI') diff --git a/toontown/estate/EstateManagerAI.py b/toontown/estate/EstateManagerAI.py new file mode 100644 index 0000000..bf2536c --- /dev/null +++ b/toontown/estate/EstateManagerAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class EstateManagerAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('EstateManagerAI') diff --git a/toontown/fishing/DistributedFishingPondAI.py b/toontown/fishing/DistributedFishingPondAI.py new file mode 100644 index 0000000..68754c4 --- /dev/null +++ b/toontown/fishing/DistributedFishingPondAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedFishingPondAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedFishingPondAI') diff --git a/toontown/fishing/DistributedFishingTargetAI.py b/toontown/fishing/DistributedFishingTargetAI.py new file mode 100644 index 0000000..f485077 --- /dev/null +++ b/toontown/fishing/DistributedFishingTargetAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedFishingTargetAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedFishingTargetAI') diff --git a/toontown/fishing/DistributedPondBingoManagerAI.py b/toontown/fishing/DistributedPondBingoManagerAI.py new file mode 100644 index 0000000..a190c85 --- /dev/null +++ b/toontown/fishing/DistributedPondBingoManagerAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedPondBingoManagerAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedPondBingoManagerAI') diff --git a/toontown/friends/TTPlayerFriendsManagerUD.py b/toontown/friends/TTPlayerFriendsManagerUD.py new file mode 100644 index 0000000..44829ce --- /dev/null +++ b/toontown/friends/TTPlayerFriendsManagerUD.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectUD import DistributedObjectUD + +class TTPlayerFriendsManagerUD(DistributedObjectUD): + notify = DirectNotifyGlobal.directNotify.newCategory('TTPlayerFriendsManagerUD') diff --git a/toontown/parties/DistributedPartyAI.py b/toontown/parties/DistributedPartyAI.py new file mode 100644 index 0000000..842864d --- /dev/null +++ b/toontown/parties/DistributedPartyAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedPartyAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedPartyAI') diff --git a/toontown/parties/DistributedPartyActivityAI.py b/toontown/parties/DistributedPartyActivityAI.py new file mode 100644 index 0000000..edfb2af --- /dev/null +++ b/toontown/parties/DistributedPartyActivityAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedPartyActivityAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedPartyActivityAI') diff --git a/toontown/parties/DistributedPartyCannonAI.py b/toontown/parties/DistributedPartyCannonAI.py new file mode 100644 index 0000000..39db36c --- /dev/null +++ b/toontown/parties/DistributedPartyCannonAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedPartyCannonAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedPartyCannonAI') diff --git a/toontown/parties/DistributedPartyCannonActivityAI.py b/toontown/parties/DistributedPartyCannonActivityAI.py new file mode 100644 index 0000000..636fce3 --- /dev/null +++ b/toontown/parties/DistributedPartyCannonActivityAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedPartyCannonActivityAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedPartyCannonActivityAI') diff --git a/toontown/parties/DistributedPartyCatchActivityAI.py b/toontown/parties/DistributedPartyCatchActivityAI.py new file mode 100644 index 0000000..6f39ce3 --- /dev/null +++ b/toontown/parties/DistributedPartyCatchActivityAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedPartyCatchActivityAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedPartyCatchActivityAI') diff --git a/toontown/parties/DistributedPartyCogActivityAI.py b/toontown/parties/DistributedPartyCogActivityAI.py new file mode 100644 index 0000000..0328320 --- /dev/null +++ b/toontown/parties/DistributedPartyCogActivityAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedPartyCogActivityAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedPartyCogActivityAI') diff --git a/toontown/parties/DistributedPartyDance20ActivityAI.py b/toontown/parties/DistributedPartyDance20ActivityAI.py new file mode 100644 index 0000000..fdaf75d --- /dev/null +++ b/toontown/parties/DistributedPartyDance20ActivityAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedPartyDance20ActivityAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedPartyDance20ActivityAI') diff --git a/toontown/parties/DistributedPartyDanceActivityAI.py b/toontown/parties/DistributedPartyDanceActivityAI.py new file mode 100644 index 0000000..f88b8b8 --- /dev/null +++ b/toontown/parties/DistributedPartyDanceActivityAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedPartyDanceActivityAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedPartyDanceActivityAI') diff --git a/toontown/parties/DistributedPartyDanceActivityBaseAI.py b/toontown/parties/DistributedPartyDanceActivityBaseAI.py new file mode 100644 index 0000000..654cdc1 --- /dev/null +++ b/toontown/parties/DistributedPartyDanceActivityBaseAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedPartyDanceActivityBaseAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedPartyDanceActivityBaseAI') diff --git a/toontown/parties/DistributedPartyFireworksActivityAI.py b/toontown/parties/DistributedPartyFireworksActivityAI.py new file mode 100644 index 0000000..9601a0c --- /dev/null +++ b/toontown/parties/DistributedPartyFireworksActivityAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedPartyFireworksActivityAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedPartyFireworksActivityAI') diff --git a/toontown/parties/DistributedPartyJukebox40ActivityAI.py b/toontown/parties/DistributedPartyJukebox40ActivityAI.py new file mode 100644 index 0000000..7d7dec9 --- /dev/null +++ b/toontown/parties/DistributedPartyJukebox40ActivityAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedPartyJukebox40ActivityAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedPartyJukebox40ActivityAI') diff --git a/toontown/parties/DistributedPartyJukeboxActivityAI.py b/toontown/parties/DistributedPartyJukeboxActivityAI.py new file mode 100644 index 0000000..309a546 --- /dev/null +++ b/toontown/parties/DistributedPartyJukeboxActivityAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedPartyJukeboxActivityAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedPartyJukeboxActivityAI') diff --git a/toontown/parties/DistributedPartyJukeboxActivityBaseAI.py b/toontown/parties/DistributedPartyJukeboxActivityBaseAI.py new file mode 100644 index 0000000..132b59d --- /dev/null +++ b/toontown/parties/DistributedPartyJukeboxActivityBaseAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedPartyJukeboxActivityBaseAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedPartyJukeboxActivityBaseAI') diff --git a/toontown/parties/DistributedPartyTeamActivityAI.py b/toontown/parties/DistributedPartyTeamActivityAI.py new file mode 100644 index 0000000..1a88a5b --- /dev/null +++ b/toontown/parties/DistributedPartyTeamActivityAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedPartyTeamActivityAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedPartyTeamActivityAI') diff --git a/toontown/parties/DistributedPartyTrampolineActivityAI.py b/toontown/parties/DistributedPartyTrampolineActivityAI.py new file mode 100644 index 0000000..e15e909 --- /dev/null +++ b/toontown/parties/DistributedPartyTrampolineActivityAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedPartyTrampolineActivityAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedPartyTrampolineActivityAI') diff --git a/toontown/parties/DistributedPartyTugOfWarActivityAI.py b/toontown/parties/DistributedPartyTugOfWarActivityAI.py new file mode 100644 index 0000000..fb125fd --- /dev/null +++ b/toontown/parties/DistributedPartyTugOfWarActivityAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedPartyTugOfWarActivityAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedPartyTugOfWarActivityAI') diff --git a/toontown/parties/DistributedPartyValentineDance20ActivityAI.py b/toontown/parties/DistributedPartyValentineDance20ActivityAI.py new file mode 100644 index 0000000..ed5eaf2 --- /dev/null +++ b/toontown/parties/DistributedPartyValentineDance20ActivityAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedPartyValentineDance20ActivityAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedPartyValentineDance20ActivityAI') diff --git a/toontown/parties/DistributedPartyValentineDanceActivityAI.py b/toontown/parties/DistributedPartyValentineDanceActivityAI.py new file mode 100644 index 0000000..b40ed01 --- /dev/null +++ b/toontown/parties/DistributedPartyValentineDanceActivityAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedPartyValentineDanceActivityAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedPartyValentineDanceActivityAI') diff --git a/toontown/parties/DistributedPartyValentineJukebox40ActivityAI.py b/toontown/parties/DistributedPartyValentineJukebox40ActivityAI.py new file mode 100644 index 0000000..a7d793f --- /dev/null +++ b/toontown/parties/DistributedPartyValentineJukebox40ActivityAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedPartyValentineJukebox40ActivityAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedPartyValentineJukebox40ActivityAI') diff --git a/toontown/parties/DistributedPartyValentineJukeboxActivityAI.py b/toontown/parties/DistributedPartyValentineJukeboxActivityAI.py new file mode 100644 index 0000000..6844d59 --- /dev/null +++ b/toontown/parties/DistributedPartyValentineJukeboxActivityAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedPartyValentineJukeboxActivityAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedPartyValentineJukeboxActivityAI') diff --git a/toontown/parties/DistributedPartyValentineTrampolineActivityAI.py b/toontown/parties/DistributedPartyValentineTrampolineActivityAI.py new file mode 100644 index 0000000..6012f59 --- /dev/null +++ b/toontown/parties/DistributedPartyValentineTrampolineActivityAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedPartyValentineTrampolineActivityAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedPartyValentineTrampolineActivityAI') diff --git a/toontown/parties/DistributedPartyVictoryTrampolineActivityAI.py b/toontown/parties/DistributedPartyVictoryTrampolineActivityAI.py new file mode 100644 index 0000000..41930de --- /dev/null +++ b/toontown/parties/DistributedPartyVictoryTrampolineActivityAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedPartyVictoryTrampolineActivityAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedPartyVictoryTrampolineActivityAI') diff --git a/toontown/parties/DistributedPartyWinterCatchActivityAI.py b/toontown/parties/DistributedPartyWinterCatchActivityAI.py new file mode 100644 index 0000000..38a1944 --- /dev/null +++ b/toontown/parties/DistributedPartyWinterCatchActivityAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedPartyWinterCatchActivityAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedPartyWinterCatchActivityAI') diff --git a/toontown/parties/DistributedPartyWinterCogActivityAI.py b/toontown/parties/DistributedPartyWinterCogActivityAI.py new file mode 100644 index 0000000..0aaa08a --- /dev/null +++ b/toontown/parties/DistributedPartyWinterCogActivityAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedPartyWinterCogActivityAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedPartyWinterCogActivityAI') diff --git a/toontown/parties/DistributedPartyWinterTrampolineActivityAI.py b/toontown/parties/DistributedPartyWinterTrampolineActivityAI.py new file mode 100644 index 0000000..bae8a3d --- /dev/null +++ b/toontown/parties/DistributedPartyWinterTrampolineActivityAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedPartyWinterTrampolineActivityAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedPartyWinterTrampolineActivityAI') diff --git a/toontown/pets/PetBrain.py b/toontown/pets/PetBrain.py index 42ae174..6c42e5e 100644 --- a/toontown/pets/PetBrain.py +++ b/toontown/pets/PetBrain.py @@ -1,4 +1,5 @@ from pandac.PandaModules import * +from libtoontown import * from direct.showbase.PythonUtil import weightedChoice, randFloat, Functor from direct.showbase.PythonUtil import list2dict from direct.showbase import DirectObject diff --git a/toontown/pets/PetDCImportsAI.py b/toontown/pets/PetDCImportsAI.py new file mode 100644 index 0000000..fb2b5c8 --- /dev/null +++ b/toontown/pets/PetDCImportsAI.py @@ -0,0 +1,2 @@ +if hasattr(simbase, 'wantPets') and simbase.wantPets: + import DistributedPetAI diff --git a/toontown/pets/PetWander.py b/toontown/pets/PetWander.py index fa293be..733fd42 100644 --- a/toontown/pets/PetWander.py +++ b/toontown/pets/PetWander.py @@ -1,4 +1,5 @@ from pandac.PandaModules import * +from libtoontown import * from direct.showbase.PythonUtil import reduceAngle, randFloat, normalDistrib from direct.showbase import DirectObject from toontown.pets import PetChase diff --git a/toontown/racing/DistributedGagAI.py b/toontown/racing/DistributedGagAI.py new file mode 100644 index 0000000..30a2118 --- /dev/null +++ b/toontown/racing/DistributedGagAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedGagAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedGagAI') diff --git a/toontown/racing/DistributedKartPadAI.py b/toontown/racing/DistributedKartPadAI.py new file mode 100644 index 0000000..75f7d4d --- /dev/null +++ b/toontown/racing/DistributedKartPadAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedKartPadAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedKartPadAI') diff --git a/toontown/racing/DistributedLeaderBoardAI.py b/toontown/racing/DistributedLeaderBoardAI.py new file mode 100644 index 0000000..5368a7a --- /dev/null +++ b/toontown/racing/DistributedLeaderBoardAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedLeaderBoardAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedLeaderBoardAI') diff --git a/toontown/racing/DistributedProjectileAI.py b/toontown/racing/DistributedProjectileAI.py new file mode 100644 index 0000000..1d5bcc0 --- /dev/null +++ b/toontown/racing/DistributedProjectileAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedProjectileAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedProjectileAI') diff --git a/toontown/racing/DistributedRaceAI.py b/toontown/racing/DistributedRaceAI.py index 6ccb24e..f24ee59 100644 --- a/toontown/racing/DistributedRaceAI.py +++ b/toontown/racing/DistributedRaceAI.py @@ -1,7 +1,7 @@ from direct.distributed import DistributedObjectAI from direct.directnotify import DirectNotifyGlobal from toontown.toonbase import ToontownGlobals -from direct.showbase.PythonUtil import nonRepeatingRandomList +from otp.otpbase.PythonUtil import nonRepeatingRandomList import DistributedGagAI, DistributedProjectileAI from direct.task import Task import random, time, Racer, RaceGlobals diff --git a/toontown/racing/DistributedRacePadAI.py b/toontown/racing/DistributedRacePadAI.py new file mode 100644 index 0000000..b7ac92b --- /dev/null +++ b/toontown/racing/DistributedRacePadAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedRacePadAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedRacePadAI') diff --git a/toontown/racing/DistributedViewPadAI.py b/toontown/racing/DistributedViewPadAI.py new file mode 100644 index 0000000..09c92da --- /dev/null +++ b/toontown/racing/DistributedViewPadAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedViewPadAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedViewPadAI') diff --git a/toontown/racing/Racer.py b/toontown/racing/Racer.py new file mode 100644 index 0000000..d2c734e --- /dev/null +++ b/toontown/racing/Racer.py @@ -0,0 +1,2 @@ +class Racer: + pass diff --git a/toontown/rpc/AwardManagerUD.py b/toontown/rpc/AwardManagerUD.py new file mode 100644 index 0000000..73ea205 --- /dev/null +++ b/toontown/rpc/AwardManagerUD.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectUD import DistributedObjectUD + +class AwardManagerUD(DistributedObjectUD): + notify = DirectNotifyGlobal.directNotify.newCategory('AwardManagerUD') diff --git a/toontown/rpc/RATManagerUD.py b/toontown/rpc/RATManagerUD.py new file mode 100644 index 0000000..f78ba08 --- /dev/null +++ b/toontown/rpc/RATManagerUD.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectUD import DistributedObjectUD + +class RATManagerUD(DistributedObjectUD): + notify = DirectNotifyGlobal.directNotify.newCategory('RATManagerUD') diff --git a/toontown/safezone/DistributedEFlyingTreasureAI.py b/toontown/safezone/DistributedEFlyingTreasureAI.py new file mode 100644 index 0000000..fdc6cb5 --- /dev/null +++ b/toontown/safezone/DistributedEFlyingTreasureAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedEFlyingTreasureAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedEFlyingTreasureAI') diff --git a/toontown/safezone/DistributedETreasureAI.py b/toontown/safezone/DistributedETreasureAI.py new file mode 100644 index 0000000..92603f4 --- /dev/null +++ b/toontown/safezone/DistributedETreasureAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedETreasureAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedETreasureAI') diff --git a/toontown/safezone/DistributedFishingSpotAI.py b/toontown/safezone/DistributedFishingSpotAI.py new file mode 100644 index 0000000..ac51239 --- /dev/null +++ b/toontown/safezone/DistributedFishingSpotAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedFishingSpotAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedFishingSpotAI') diff --git a/toontown/safezone/DistributedPartyGateAI.py b/toontown/safezone/DistributedPartyGateAI.py new file mode 100644 index 0000000..9356651 --- /dev/null +++ b/toontown/safezone/DistributedPartyGateAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedPartyGateAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedPartyGateAI') diff --git a/toontown/safezone/SafeZoneManagerAI.py b/toontown/safezone/SafeZoneManagerAI.py new file mode 100644 index 0000000..c2bf42a --- /dev/null +++ b/toontown/safezone/SafeZoneManagerAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class SafeZoneManagerAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('SafeZoneManagerAI') diff --git a/toontown/shtiker/DeleteManagerAI.py b/toontown/shtiker/DeleteManagerAI.py new file mode 100644 index 0000000..308da54 --- /dev/null +++ b/toontown/shtiker/DeleteManagerAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DeleteManagerAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DeleteManagerAI') diff --git a/toontown/suit/DistributedTutorialSuitAI.py b/toontown/suit/DistributedTutorialSuitAI.py new file mode 100644 index 0000000..ead3ad0 --- /dev/null +++ b/toontown/suit/DistributedTutorialSuitAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedTutorialSuitAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedTutorialSuitAI') diff --git a/toontown/toon/DistributedToonUD.py b/toontown/toon/DistributedToonUD.py new file mode 100644 index 0000000..be8e8e3 --- /dev/null +++ b/toontown/toon/DistributedToonUD.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectUD import DistributedObjectUD + +class DistributedToonUD(DistributedObjectUD): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedToonUD') diff --git a/toontown/tutorial/DistributedBattleTutorialAI.py b/toontown/tutorial/DistributedBattleTutorialAI.py new file mode 100644 index 0000000..7d1b31f --- /dev/null +++ b/toontown/tutorial/DistributedBattleTutorialAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedBattleTutorialAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedBattleTutorialAI') diff --git a/toontown/tutorial/TutorialManagerAI.py b/toontown/tutorial/TutorialManagerAI.py new file mode 100644 index 0000000..0df746c --- /dev/null +++ b/toontown/tutorial/TutorialManagerAI.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class TutorialManagerAI(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('TutorialManagerAI') diff --git a/toontown/uberdog/DistributedCpuInfoMgrUD.py b/toontown/uberdog/DistributedCpuInfoMgrUD.py new file mode 100644 index 0000000..bc1eabb --- /dev/null +++ b/toontown/uberdog/DistributedCpuInfoMgrUD.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectUD import DistributedObjectUD + +class DistributedCpuInfoMgrUD(DistributedObjectUD): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedCpuInfoMgrUD') diff --git a/toontown/uberdog/DistributedDataStoreManagerUD.py b/toontown/uberdog/DistributedDataStoreManagerUD.py new file mode 100644 index 0000000..41176ae --- /dev/null +++ b/toontown/uberdog/DistributedDataStoreManagerUD.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectUD import DistributedObjectUD + +class DistributedDataStoreManagerUD(DistributedObjectUD): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedDataStoreManagerUD') diff --git a/toontown/uberdog/DistributedDeliveryManagerUD.py b/toontown/uberdog/DistributedDeliveryManagerUD.py new file mode 100644 index 0000000..167c52d --- /dev/null +++ b/toontown/uberdog/DistributedDeliveryManagerUD.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectUD import DistributedObjectUD + +class DistributedDeliveryManagerUD(DistributedObjectUD): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedDeliveryManagerUD') diff --git a/toontown/uberdog/DistributedInGameNewsMgrUD.py b/toontown/uberdog/DistributedInGameNewsMgrUD.py new file mode 100644 index 0000000..00caf75 --- /dev/null +++ b/toontown/uberdog/DistributedInGameNewsMgrUD.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectUD import DistributedObjectUD + +class DistributedInGameNewsMgrUD(DistributedObjectUD): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedInGameNewsMgrUD') diff --git a/toontown/uberdog/DistributedMailManagerUD.py b/toontown/uberdog/DistributedMailManagerUD.py new file mode 100644 index 0000000..9f67093 --- /dev/null +++ b/toontown/uberdog/DistributedMailManagerUD.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectUD import DistributedObjectUD + +class DistributedMailManagerUD(DistributedObjectUD): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedMailManagerUD') diff --git a/toontown/uberdog/DistributedPartyManagerUD.py b/toontown/uberdog/DistributedPartyManagerUD.py new file mode 100644 index 0000000..f62594b --- /dev/null +++ b/toontown/uberdog/DistributedPartyManagerUD.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectAI import DistributedObjectAI + +class DistributedPartyManagerUD(DistributedObjectAI): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedPartyManagerUD') diff --git a/toontown/uberdog/DistributedSecurityMgrUD.py b/toontown/uberdog/DistributedSecurityMgrUD.py new file mode 100644 index 0000000..77db775 --- /dev/null +++ b/toontown/uberdog/DistributedSecurityMgrUD.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectUD import DistributedObjectUD + +class DistributedSecurityMgrUD(DistributedObjectUD): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedSecurityMgrUD') diff --git a/toontown/uberdog/DistributedWhitelistMgrUD.py b/toontown/uberdog/DistributedWhitelistMgrUD.py new file mode 100644 index 0000000..6c39f1f --- /dev/null +++ b/toontown/uberdog/DistributedWhitelistMgrUD.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectUD import DistributedObjectUD + +class DistributedWhitelistMgrUD(DistributedObjectUD): + notify = DirectNotifyGlobal.directNotify.newCategory('DistributedWhitelistMgrUD') diff --git a/toontown/uberdog/TTSpeedchatRelayUD.py b/toontown/uberdog/TTSpeedchatRelayUD.py new file mode 100644 index 0000000..e5c41ce --- /dev/null +++ b/toontown/uberdog/TTSpeedchatRelayUD.py @@ -0,0 +1,5 @@ +from direct.directnotify import DirectNotifyGlobal +from direct.distributed.DistributedObjectUD import DistributedObjectUD + +class TTSpeedchatRelayUD(DistributedObjectUD): + notify = DirectNotifyGlobal.directNotify.newCategory('TTSpeedchatRelayUD') diff --git a/toontown/uberdog/ToontownUDRepository.py b/toontown/uberdog/ToontownUDRepository.py index cafae5c..fdfa746 100644 --- a/toontown/uberdog/ToontownUDRepository.py +++ b/toontown/uberdog/ToontownUDRepository.py @@ -1,6 +1,7 @@ from direct.directnotify import DirectNotifyGlobal from toontown.distributed.ToontownInternalRepository import ToontownInternalRepository from otp.distributed.DistributedDirectoryAI import DistributedDirectoryAI +from otp.distributed.OtpDoGlobals import * # TODO: Remove Astron dependence.