Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(156)  |  Call(156)  |  Derive(0)  |  Import(0)
Log a verbose message

src/b/3/b3-1.9.2/b3/parsers/et.py   b3(Download)
            else:
                # disconnect the existing client
                self.verbose('disconnect the existing client %s %s => %s %s', match.group('cid'), guid, client.cid, client)
                client.disconnect()
 

src/b/i/big-brother-bot-HEAD/b3/parsers/et.py   big-brother-bot(Download)
            else:
                # disconnect the existing client
                self.verbose('disconnect the existing client %s %s => %s %s', match.group('cid'), guid, client.cid, client)
                client.disconnect()
 

src/b/3/b3-1.9.2/b3/parsers/iourt41.py   b3(Download)
            return (m, m.group('action').lower(), data, client, target)
        elif '------' not in line:
            self.verbose('line did not match format: %s' % line)
 
    def parseUserInfo(self, info):
            bclient['pbid'] = bclient['cl_guid']
 
        self.verbose('Parsed user info %s' % bclient)
 
        if bclient:
                shortly after the kill.
                """
                self.verbose('Team Change Event Caught, exiting')
                return None
            else:
            self.debug('No client found')
            return None
        self.verbose('OnAction: %s: %s %s' % (client.name, actiontype, data) )
        return b3.events.Event(b3.events.EVT_CLIENT_ACTION, actiontype, client)
 
            #correct flag/bomb-pickups
            if 'flag' in item or 'bomb' in item:
                self.verbose('Itempickup corrected to action: %s' %item)
                return self.OnAction(cid, item, data)
            #self.verbose('OnItem: %s picked up %s' % (client.name, item) )

src/b/i/big-brother-bot-HEAD/b3/parsers/iourt41.py   big-brother-bot(Download)
            return (m, m.group('action').lower(), data, client, target)
        elif '------' not in line:
            self.verbose('line did not match format: %s' % line)
 
    def parseUserInfo(self, info):
            bclient['pbid'] = bclient['cl_guid']
 
        self.verbose('Parsed user info %s' % bclient)
 
        if bclient:
                shortly after the kill.
                """
                self.verbose('Team Change Event Caught, exiting')
                return None
            else:
            self.debug('No client found')
            return None
        self.verbose('OnAction: %s: %s %s' % (client.name, actiontype, data) )
        return b3.events.Event(b3.events.EVT_CLIENT_ACTION, actiontype, client)
 
            #correct flag/bomb-pickups
            if 'flag' in item or 'bomb' in item:
                self.verbose('Itempickup corrected to action: %s' %item)
                return self.OnAction(cid, item, data)
            #self.verbose('OnItem: %s picked up %s' % (client.name, item) )

src/b/3/b3-1.9.2/b3/parsers/wop15.py   b3(Download)
            cid = match.group('cid') # Normal client connected
            client = self.getByCidOrJoinPlayer(cid)
            self.verbose('Client Connected cid: %s' % cid)
        except IndexError:
            pass
 
 
    def OnClientuserinfochanged(self, action, data, match=None):
        bclient = self.parseUserInfo(data)
        self.verbose('Parsed user info %s' % bclient)
                setattr(self.game, o[0], o[1])
 
        self.verbose('Current gameType: %s' % self.game.gameType)
        self.game.startRound()
 
 
        if client:
            self.verbose('Client Found: %s' % client.name)
            return self.getEvent('EVT_CLIENT_SAY', msg[1], client)
        else:
            self.verbose('No Client Found!')

src/b/i/big-brother-bot-HEAD/b3/parsers/wop15.py   big-brother-bot(Download)
            cid = match.group('cid') # Normal client connected
            client = self.getByCidOrJoinPlayer(cid)
            self.verbose('Client Connected cid: %s' % cid)
        except IndexError:
            pass
 
 
    def OnClientuserinfochanged(self, action, data, match=None):
        bclient = self.parseUserInfo(data)
        self.verbose('Parsed user info %s' % bclient)
                setattr(self.game, o[0], o[1])
 
        self.verbose('Current gameType: %s' % self.game.gameType)
        self.game.startRound()
 
 
        if client:
            self.verbose('Client Found: %s' % client.name)
            return self.getEvent('EVT_CLIENT_SAY', msg[1], client)
        else:
            self.verbose('No Client Found!')

src/b/3/b3-1.9.2/b3/parsers/cod.py   b3(Download)
        else:
            if self._counter.get(cid) and self._counter.get(cid) != 'Disconnected':
                self.verbose('cid: %s already in authentication queue. Aborting Join.' % cid)
                return None
            self._counter[cid] = 1
        client.name = match.group('name')
        actiontype = match.group('type')
        self.verbose('OnAction: %s: %s' % (client.name, actiontype))
        return b3.events.Event(b3.events.EVT_CLIENT_ACTION, actiontype, client)
 
                setattr(self.game, o[0], o[1])
 
        self.verbose('...self.console.game.gameType: %s' % self.game.gameType)
        self.game.startRound()
 
    def connectClient(self, ccid):
        players = self.getPlayerList()
        self.verbose('connectClient() = %s' % players)
 
        for cid, p in players.iteritems():
    def newPlayer(self, cid, codguid, name):
        if not self._counter.get(cid):
            self.verbose('newPlayer thread no longer needed, Key no longer available')
            return None
        if self._counter.get(cid) == 'Disconnected':

src/b/i/big-brother-bot-HEAD/b3/parsers/cod.py   big-brother-bot(Download)
        else:
            if self._counter.get(cid) and self._counter.get(cid) != 'Disconnected':
                self.verbose('cid: %s already in authentication queue. Aborting Join.' % cid)
                return None
            self._counter[cid] = 1
        client.name = match.group('name')
        actiontype = match.group('type')
        self.verbose('OnAction: %s: %s' % (client.name, actiontype))
        return b3.events.Event(b3.events.EVT_CLIENT_ACTION, actiontype, client)
 
                setattr(self.game, o[0], o[1])
 
        self.verbose('...self.console.game.gameType: %s' % self.game.gameType)
        self.game.startRound()
 
    def connectClient(self, ccid):
        players = self.getPlayerList()
        self.verbose('connectClient() = %s' % players)
 
        for cid, p in players.iteritems():
    def newPlayer(self, cid, codguid, name):
        if not self._counter.get(cid):
            self.verbose('newPlayer thread no longer needed, Key no longer available')
            return None
        if self._counter.get(cid) == 'Disconnected':

src/b/3/b3-1.9.2/b3/parsers/sof2.py   b3(Download)
            return (m, m.group('action').lower(), m.group('data').strip(), client, target)
        else:
            self.verbose('line did not match format: %s' % line)
 
    def parseUserInfo(self, info):
 
        self._clientConnectIp = match.group('ip')
        self.verbose('Client Connected cid: %s, guid: %s, ip: %s' % (
            self._clientConnectID, self._clientConnectGuid, self._clientConnectIp))
 
            bclient['pbid'] = bclient['cl_guid']
 
        self.verbose('Parsed user info %s' % bclient)
 
        if bclient:
 
        bclient = self.parseUserInfo(data)
        self.verbose('Parsed user info %s' % bclient)
        if bclient:
            client = self.clients.getByCID(bclient['cid'])
                setattr(self.game, o[0], o[1])
 
        self.verbose('Current gameType: %s' % self.game.gameType)
        self.game.startRound()
 

src/b/i/big-brother-bot-HEAD/b3/parsers/sof2.py   big-brother-bot(Download)
            return (m, m.group('action').lower(), m.group('data').strip(), client, target)
        else:
            self.verbose('line did not match format: %s' % line)
 
    def parseUserInfo(self, info):
 
        self._clientConnectIp = match.group('ip')
        self.verbose('Client Connected cid: %s, guid: %s, ip: %s' % (
            self._clientConnectID, self._clientConnectGuid, self._clientConnectIp))
 
            bclient['pbid'] = bclient['cl_guid']
 
        self.verbose('Parsed user info %s' % bclient)
 
        if bclient:
 
        bclient = self.parseUserInfo(data)
        self.verbose('Parsed user info %s' % bclient)
        if bclient:
            client = self.clients.getByCID(bclient['cid'])
                setattr(self.game, o[0], o[1])
 
        self.verbose('Current gameType: %s' % self.game.gameType)
        self.game.startRound()
 

  1 | 2  Next