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

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)
send command to the Frostbite server in a synchronous way.
Calling this method will block until we receive the reply packet from the
game server or until we reach the timeout.

src/b/3/b3-1.9.2/b3/parsers/frostbite2/abstractParser.py   b3(Download)
 
        self._serverConnection.auth()
        self._serverConnection.command('admin.eventsEnabled', 'true')
 
        # setup Rcon
        # checkout punkbuster support
        try:
            result = self._serverConnection.command('punkBuster.isActive')
        except CommandError, e:
            self.error("could not get punkbuster status : %r" % e)

src/b/i/big-brother-bot-HEAD/b3/parsers/frostbite2/abstractParser.py   big-brother-bot(Download)
 
        self._serverConnection.auth()
        self._serverConnection.command('admin.eventsEnabled', 'true')
 
        # setup Rcon
        # checkout punkbuster support
        try:
            result = self._serverConnection.command('punkBuster.isActive')
        except CommandError, e:
            self.error("could not get punkbuster status : %r" % e)