Exemple #1
0
 def __init__(self, air):
     DistributedObjectGlobalAI.__init__(self, air)
     self.chatMode2channel = {
         1: OtpDoGlobals.OTP_MOD_CHANNEL,
         2: OtpDoGlobals.OTP_ADMIN_CHANNEL,
         3: OtpDoGlobals.OTP_SYSADMIN_CHANNEL,
     }
Exemple #2
0
 def __init__(self, air):
     DistributedObjectGlobalAI.__init__(self, air)
     self.chatMode2channel = {
         1: OtpDoGlobals.OTP_MOD_CHANNEL,
         2: OtpDoGlobals.OTP_ADMIN_CHANNEL,
         3: OtpDoGlobals.OTP_SYSADMIN_CHANNEL,
     }
     self.air = air
     self.accept('requestToonAccess', self.getToonAccess)
     self.accept('warningUpdate', self.updateWarnings)
     self.accept('requestOffenses', self.sendAvatarOffenses)
     self.accept('sendSystemMessage', self.sendSystemMessage)
     self.accept('chatBan', self.banAvatar)
 def __init__(self, air):
     DistributedObjectGlobalAI.__init__(self, air)
     self.chatMode2channel = {
         1: OtpDoGlobals.OTP_MOD_CHANNEL,
         2: OtpDoGlobals.OTP_ADMIN_CHANNEL,
         3: OtpDoGlobals.OTP_SYSADMIN_CHANNEL,
     }
     self.air = air
     self.accept('requestToonAccess', self.getToonAccess)
     self.accept('warningUpdate', self.updateWarnings)
     self.accept('requestOffenses', self.sendAvatarOffenses)
     self.accept('sendSystemMessage', self.sendSystemMessage)
     self.accept('chatBan', self.banAvatar)
     self.accountId = 0
     self.domain = str(ConfigVariableString('ws-domain', 'localhost'))
     self.key = str(ConfigVariableString('ws-key', 'secretkey'))
Exemple #4
0
 def __init__(self, air):
     DistributedObjectGlobalAI.__init__(self, air)
     self.latestIssueStr = ''
Exemple #5
0
 def __init__(self, cr):
     DistributedObjectGlobalAI.__init__(self, cr)
     self.doNotListenToChannel = True
Exemple #6
0
 def __init__(self, air):
     DistributedObjectGlobalAI.__init__(self, air)
     self.holiday = 0
 def __init__(self, air):
     DistributedObjectGlobalAI.__init__(self, air)
Exemple #8
0
 def __init__(self, air):
     DistributedObjectGlobalAI.__init__(self, air)
     self.air = air
Exemple #9
0
    def __init__(self, air):
        DistributedObjectGlobalAI.__init__(self, air)

        self.inventories = {}
 def __init__(self, air):
     DistributedObjectGlobalAI.__init__(self, air)
     self.msgChannels = {}