예제 #1
0
    def __init__(self):
        AwardProcessor.__init__(self, 'Chauffeur',
                'Most Time Driving Land Vehicles',
                [PLAYER_COL, Column('Time', Column.TIME, Column.DESC)])

        # Setup the results to store timers instead of numbers
        self.results = dict()
예제 #2
0
    def __init__(self):
        AwardProcessor.__init__(
            self, 'Launchpad', 'Most Passenger Team Kills as Pilot',
            [PLAYER_COL,
             Column('Team Kills', Column.NUMBER, Column.DESC)])

        self.vehicles = dict()
예제 #3
0
    def __init__(self):
        AwardProcessor.__init__(
            self, 'Spawn Killer', 'Most Kills of People Near Spawn Points',
            [PLAYER_COL,
             Column('Kills', Column.NUMBER, Column.DESC)])

        self.spawn_pos = dict()
예제 #4
0
    def __init__(self):
        AwardProcessor.__init__(
            self, 'Jack of All Trades', 'Most Distributed Use of Kits',
            [PLAYER_COL,
             Column('Score Deviation', Column.NUMBER, Column.ASC)])

        self.kitScores = dict()
예제 #5
0
    def __init__(self):
        AwardProcessor.__init__(self, 'Predator',
                'Most Kills Against a Single Player',
                [PLAYER_COL, Column('Kills', Column.ARRAY, Column.DESC)])

        self.results = dict()
        self.attacker_to_victims = dict()
예제 #6
0
    def __init__(self):
        AwardProcessor.__init__(
            self, 'Chauffeur', 'Most Time Driving Land Vehicles',
            [PLAYER_COL, Column('Time', Column.TIME, Column.DESC)])

        # Setup the results to store timers instead of numbers
        self.results = dict()
예제 #7
0
    def __init__(self):
        AwardProcessor.__init__(
            self, 'Jeep Jihad', 'Most Kills by C4 Loaded Jeeps',
            [PLAYER_COL,
             Column('Kills', Column.NUMBER, Column.DESC)])

        self.time = dict()
예제 #8
0
    def __init__(self):
        AwardProcessor.__init__(
            self, 'Voyeur', 'Most Time Spent in Spectator',
            [PLAYER_COL,
             Column('Time', Column.NUMBER, Column.DESC)])

        self.results = dict()
예제 #9
0
    def __init__(self):
        AwardProcessor.__init__(
            self, 'Kamikaze', 'Most Kills While Committing Suicide',
            [PLAYER_COL,
             Column('Kills', Column.NUMBER, Column.DESC)])

        self.suicideTime = dict()
예제 #10
0
    def __init__(self):
        AwardProcessor.__init__(self, 'Opportunist',
                'Most Kills by a Single Shot',
                [PLAYER_COL, Column('Kills', Column.NUMBER, Column.DESC)])

        self.lastKillTime = dict()
        self.count = collections.Counter()
예제 #11
0
파일: goose.py 프로젝트: Hagrid78/bf2-stats
    def __init__(self):
        AwardProcessor.__init__(
            self, 'Goose', 'Most Deaths from Ejections',
            [PLAYER_COL,
             Column('Deaths', Column.NUMBER, Column.DESC)])

        self.eject = dict()
예제 #12
0
    def __init__(self):
        AwardProcessor.__init__(
            self, 'Shotgun', 'Most Time as Passenger',
            [PLAYER_COL, Column('Time', Column.TIME, Column.DESC)])

        # Setup the results to store timers instead of numbers
        self.results = dict()
예제 #13
0
    def __init__(self):
        AwardProcessor.__init__(self, 'Stillborn', 'Shortest Life',
                [PLAYER_COL, Column('Time', Column.TIME, Column.ASC)])

        # Setup the results to store timers instead of numbers
        self.results = dict()
        self.timers = dict()
예제 #14
0
    def __init__(self):
        AwardProcessor.__init__(
            self, 'One Trick Pony', 'Most Kills by a Single Weapon',
            [PLAYER_COL,
             Column('Kills', Column.ARRAY, Column.DESC)])

        self.results = dict()
예제 #15
0
    def __init__(self):
        AwardProcessor.__init__(
            self, 'Zombie', 'Most Times Revived in a Single Life',
            [PLAYER_COL,
             Column('Revives', Column.NUMBER, Column.DESC)])

        self.tempCounter = collections.Counter()
예제 #16
0
    def __init__(self):
        AwardProcessor.__init__(
            self, "Commander in Chief", "Most Time as Commander", [PLAYER_COL, Column("Time", Column.TIME, Column.DESC)]
        )

        # Setup the results to store timers instead of numbers
        self.results = dict()
예제 #17
0
    def __init__(self):
        AwardProcessor.__init__(self, 'ROFLcopter',
                'Most Aircraft Crashes Within 30 Seconds of Takeoff',
                [PLAYER_COL, Column('Crashes', Column.NUMBER, Column.DESC)])

        # Keep track of the last vehicle enter event
        self.last_vehicle_entrance = dict()
예제 #18
0
    def __init__(self):
        AwardProcessor.__init__(
            self, "Angel of Death", "Most Kills After Death", [PLAYER_COL, Column("Kills", Column.NUMBER, Column.DESC)]
        )

        # Keep track of all the players currently killed
        self.killed = dict()
예제 #19
0
    def __init__(self):
        AwardProcessor.__init__(self, 'Jack Sparrow',
                'Most Time Driving Boats',
                [PLAYER_COL, Column('Time', Column.TIME, Column.DESC)])

        # Setup the results to store timers instead of numbers
        self.results = dict()
예제 #20
0
    def __init__(self):
        AwardProcessor.__init__(self, 'Genocide',
                'Most Kills Against a Single Team',
                [PLAYER_COL, Column('Kills', Column.ARRAY, Column.DESC)])

        self.results = dict()
        self.teams = dict()
예제 #21
0
    def __init__(self):
        AwardProcessor.__init__(
            self, 'Weapon Tester', 'Most Weapon Changes',
            [PLAYER_COL,
             Column('Weapon Changes', Column.NUMBER, Column.DESC)])

        self.pickups = dict()
예제 #22
0
    def __init__(self):
        AwardProcessor.__init__(
            self, 'Jack Sparrow', 'Most Time Driving Boats',
            [PLAYER_COL, Column('Time', Column.TIME, Column.DESC)])

        # Setup the results to store timers instead of numbers
        self.results = dict()
예제 #23
0
    def __init__(self):
        AwardProcessor.__init__(self, 'Chuck Yeager',
                'Most Time Flying Aircraft',
                [PLAYER_COL, Column('Time', Column.TIME, Column.DESC)])

        # Setup the results to store timers instead of numbers
        self.results = dict()
예제 #24
0
    def __init__(self):
        AwardProcessor.__init__(
            self, 'Lone Wolf', 'Most Time Without a Squad',
            [PLAYER_COL, Column('Time', Column.TIME, Column.DESC)])

        # Setup the results to store timers instead of numbers
        self.results = dict()
예제 #25
0
    def __init__(self):
        AwardProcessor.__init__(
            self, 'Salmon', 'Most Deaths Near Spawn Points',
            [PLAYER_COL,
             Column('Deaths', Column.NUMBER, Column.DESC)])

        self.spawn_pos = dict()
예제 #26
0
    def __init__(self):
        AwardProcessor.__init__(
            self, 'Vengeance', 'Most Kills Against Your Last Attacker',
            [PLAYER_COL,
             Column('Kills', Column.NUMBER, Column.DESC)])

        self.last_killer = dict()
예제 #27
0
    def __init__(self):
        AwardProcessor.__init__(
            self, 'Fool\'s Gold', 'Max Death Streak by Turrets',
            [PLAYER_COL,
             Column('Deaths', Column.NUMBER, Column.DESC)])

        self.current = dict()
예제 #28
0
    def __init__(self):
        AwardProcessor.__init__(self, 'Compensator',
                'Most Time Driving Tanks',
                [PLAYER_COL, Column('Time', Column.TIME, Column.DESC)])

        # Setup the results to store timers instead of numbers
        self.results = dict()
예제 #29
0
    def __init__(self):
        AwardProcessor.__init__(
            self, "Chuck Yeager", "Most Time Flying Aircraft", [PLAYER_COL, Column("Time", Column.TIME, Column.DESC)]
        )

        # Setup the results to store timers instead of numbers
        self.results = dict()
예제 #30
0
    def __init__(self):
        AwardProcessor.__init__(
            self, 'Compensator', 'Most Time Driving Tanks',
            [PLAYER_COL, Column('Time', Column.TIME, Column.DESC)])

        # Setup the results to store timers instead of numbers
        self.results = dict()
예제 #31
0
    def __init__(self):
        AwardProcessor.__init__(
            self, 'Welfare', 'Most Assisted Kills',
            [PLAYER_COL,
             Column('Kills', Column.NUMBER, Column.DESC)])

        self.last_kill = None
예제 #32
0
    def __init__(self):
        AwardProcessor.__init__(
            self, 'Commander in Chief', 'Most Time as Commander',
            [PLAYER_COL, Column('Time', Column.TIME, Column.DESC)])

        # Setup the results to store timers instead of numbers
        self.results = dict()
예제 #33
0
    def __init__(self):
        AwardProcessor.__init__(
            self, 'Black Knight', 'Most Damage Received in a Single Life',
            [PLAYER_COL,
             Column('Damaged', Column.NUMBER, Column.DESC)])

        self.tempCounter = collections.Counter()
예제 #34
0
 def __init__(self):
     AwardProcessor.__init__(
         self,
         "Fireworks",
         "Most Kills by Front Projectiles",
         [PLAYER_COL, Column("Kills", Column.NUMBER, Column.DESC)],
     )
예제 #35
0
    def __init__(self):
        AwardProcessor.__init__(self, 'Serial Killer',
                'Most Consecutive Kills Against a Single Player',
                [PLAYER_COL, Column('Kills', Column.ARRAY, Column.DESC)])

        self.results = dict()
        self.lastVictim = dict()
        self.tempCounter = collections.Counter()
예제 #36
0
    def __init__(self):
        AwardProcessor.__init__(
            self, 'Genocide', 'Most Kills Against a Single Team',
            [PLAYER_COL,
             Column('Kills', Column.ARRAY, Column.DESC)])

        self.results = dict()
        self.teams = dict()
예제 #37
0
    def __init__(self):
        AwardProcessor.__init__(
            self, 'Iron Liver', 'Most Drinks',
            [PLAYER_COL,
             Column('Drinks', Column.NUMBER, Column.DESC)])

        # Create a list of acceptable drinking phases
        self.phrases = list(['beer', 'chuck', 'need one'])
예제 #38
0
    def __init__(self):
        AwardProcessor.__init__(
            self, 'Opportunist', 'Most Kills by a Single Shot',
            [PLAYER_COL,
             Column('Kills', Column.NUMBER, Column.DESC)])

        self.lastKillTime = dict()
        self.count = collections.Counter()
예제 #39
0
    def __init__(self):
        AwardProcessor.__init__(
            self, 'Predator', 'Most Kills Against a Single Player',
            [PLAYER_COL,
             Column('Kills', Column.ARRAY, Column.DESC)])

        self.results = dict()
        self.attacker_to_victims = dict()
예제 #40
0
    def __init__(self):
        AwardProcessor.__init__(
            self, 'Army of One', 'Most Kills Without Assists',
            [PLAYER_COL,
             Column('Kills', Column.NUMBER, Column.DESC)])

        # Keep track of the last kill event
        self.last_kill = None
예제 #41
0
    def __init__(self):
        AwardProcessor.__init__(
            self, 'Angel of Death', 'Most Kills After Death',
            [PLAYER_COL,
             Column('Kills', Column.NUMBER, Column.DESC)])

        # Keep track of all the players currently killed
        self.killed = dict()
예제 #42
0
    def __init__(self):
        AwardProcessor.__init__(
            self, 'Spruce Moose', 'Shortest Flight',
            [PLAYER_COL, Column('Time', Column.TIME, Column.ASC)])

        # Setup the results to store timers instead of numbers
        self.results = dict()
        self.timers = dict()
예제 #43
0
    def __init__(self):
        AwardProcessor.__init__(
            self, "Methuselah", "Longest Life", [PLAYER_COL, Column("Time", Column.TIME, Column.DESC)]
        )

        # Setup the results to store timers instead of numbers
        self.results = dict()
        self.totalTime = dict()
        self.lives = collections.Counter()
예제 #44
0
    def __init__(self):
        AwardProcessor.__init__(
            self, "Explorer", "Most Distance Traveled", [PLAYER_COL, Column("Meters", Column.NUMBER, Column.DESC)]
        )

        self.lastPos = dict()
        self.lastPos[EMPTY] = EMPTY.pos
        self.disableAir = dict()
        self.disableAir[EMPTY] = True
예제 #45
0
    def __init__(self):
        AwardProcessor.__init__(self, 'Metronome',
                'Most Consistent Time Between Kills',
                [PLAYER_COL, Column('Seconds Deviation', Column.NUMBER, Column.ASC)])

        self.last_kill_time = dict()
        self.kills = dict()
        self.sum = dict()
        self.sum_squares = dict()
예제 #46
0
    def __init__(self):
        AwardProcessor.__init__(self, 'Sittin\' Duck',
                'Shortest Avg. Distance Between Deaths',
                [PLAYER_COL, Column('Distance', Column.NUMBER, Column.ASC)])

        # Store the last known position for each player
        self.player_to_pos = dict()
        self.distance = Counter()
        self.deaths = Counter()
예제 #47
0
    def __init__(self):
        AwardProcessor.__init__(self, 'Camper',
                'Shortest Avg. Distance Between Kills',
                [PLAYER_COL, Column('Meters', Column.NUMBER, Column.ASC)])

        # Store the last known position for each player
        self.player_to_pos = dict()
        self.distance = collections.Counter()
        self.kills = collections.Counter()
예제 #48
0
    def __init__(self):
        AwardProcessor.__init__(
            self,
            "Blindspot",
            "Most Aircraft Deaths from Buildings",
            [PLAYER_COL, Column("Deaths", Column.NUMBER, Column.DESC)],
        )

        self.startPos = dict()
예제 #49
0
    def __init__(self):
        AwardProcessor.__init__(
            self, 'ROFLcopter',
            'Most Aircraft Crashes Within 30 Seconds of Takeoff',
            [PLAYER_COL,
             Column('Crashes', Column.NUMBER, Column.DESC)])

        # Keep track of the last vehicle enter event
        self.last_vehicle_entrance = dict()
예제 #50
0
    def __init__(self):
        AwardProcessor.__init__(self, 'Daydreamer',
                'Longest Time Without a Kill',
                [PLAYER_COL, Column('Time', Column.TIME, Column.DESC)])

        # Setup the results to store timers instead of numbers
        self.results = dict()

        # Store temporary timers for each player
        self.timers = dict()
예제 #51
0
    def __init__(self):
        AwardProcessor.__init__(self, 'Balloon',
                'Longest Parachute Flight',
                [PLAYER_COL, Column('Time', Column.TIME, Column.DESC)])

        # Setup the results to store timers instead of numbers
        self.results = dict()

        # Store temporary timers for each player
        self.timers = dict()
예제 #52
0
    def __init__(self):
        AwardProcessor.__init__(
            self, "Quick Draw", "Shortest Time Between Kills", [PLAYER_COL, Column("Time", Column.TIME, Column.ASC)]
        )

        # Setup the results to store timers instead of numbers
        self.results = dict()

        # Store the last kill events for each player
        self.last_kills = dict()
예제 #53
0
    def __init__(self):
        AwardProcessor.__init__(
            self,
            "Bullet Magnet",
            "Most Players Assisting Your Death",
            [PLAYER_COL, Column("Assists", Column.NUMBER, Column.DESC)],
        )

        # Keep track of the last kill event
        self.last_kill = None

        # Count the number of assists for each kill
        self.assist_count = 0
예제 #54
0
    def __init__(self):
        AwardProcessor.__init__(self, 'Equalizer',
                'Most Kills Against Players with Better Weapons',
                [PLAYER_COL, Column('Kills', Column.NUMBER, Column.DESC)])

        self.ranks = dict()
        self.ranks[weapons.TOOL]      = 0
        self.ranks[weapons.COUNTER]   = 1
        self.ranks[weapons.MELEE]     = 2
        self.ranks[weapons.PISTOL]    = 3
        self.ranks[weapons.SNIPER]    = 4
        self.ranks[weapons.SHOTGUN]   = 5
        self.ranks[weapons.CARBINE]   = 6
        self.ranks[weapons.ASSAULT]   = 7
        self.ranks[weapons.GRENADE]   = 8
        self.ranks[weapons.SMG]       = 9
        self.ranks[weapons.LMG]       = 10
        self.ranks[weapons.MINE]      = 11
        self.ranks[weapons.HMG]       = 12
        self.ranks[weapons.CANNON]    = 13
        self.ranks[weapons.ROCKET]    = 14
        self.ranks[weapons.ARTILLERY] = 15
예제 #55
0
 def __init__(self):
     AwardProcessor.__init__(self, 'Airwolf', 'Most Kills from Helicopters',
             [PLAYER_COL, Column('Kills', Column.NUMBER, Column.DESC)])
예제 #56
0
 def __init__(self):
     AwardProcessor.__init__(self, 'Evasive Action',
             'Most Vehicle Countermeasures',
             [PLAYER_COL, Column('Counters', Column.NUMBER, Column.DESC)])
예제 #57
0
 def __init__(self):
     AwardProcessor.__init__(self, 'Platoon', 'Most Teamkills of Squadmates',
             [PLAYER_COL, Column('Kills', Column.NUMBER, Column.DESC)])
예제 #58
0
    def __init__(self):
        AwardProcessor.__init__(self, 'One Trick Pony',
                'Most Kills by a Single Weapon',
                [PLAYER_COL, Column('Kills', Column.ARRAY, Column.DESC)])

        self.results = dict()
예제 #59
0
 def __init__(self):
     AwardProcessor.__init__(self, 'In Your Face',
             'Most Kills by Front Shots',
             [PLAYER_COL, Column('Kills', Column.NUMBER, Column.DESC)])
예제 #60
0
 def __init__(self):
     AwardProcessor.__init__(self, 'Make It Rain',
             'Most Kills with Artillery',
             [PLAYER_COL, Column('Kills', Column.NUMBER, Column.DESC)])