Methods
|
|
|
|
__init__
|
__init__ ( self )
|
|
adminCommand
|
adminCommand (
self,
name,
verb,
noun,
)
|
|
adminSay
|
adminSay (
self,
type,
text,
)
|
|
collect
|
collect ( self, directory )
Collect files.
|
|
eventAttack
|
eventAttack (
self,
attacker,
defender,
weapon,
damage,
left,
)
|
|
eventConnect
|
eventConnect (
self,
who,
address,
)
|
|
eventDisconnect
|
eventDisconnect ( self, who )
|
|
eventKill
|
eventKill (
self,
attacker,
defender,
weapon,
)
|
|
eventLogEnd
|
eventLogEnd ( self )
|
|
eventLogStart
|
eventLogStart ( self )
|
|
eventNameChange
|
eventNameChange (
self,
who,
newName,
)
|
|
eventSay
|
eventSay (
self,
who,
message,
)
|
|
eventSayTeam
|
eventSayTeam (
self,
who,
message,
)
|
|
eventSecureKick
|
eventSecureKick ( self, who )
|
|
eventStartedMap
|
eventStartedMap (
self,
map,
crc,
)
|
|
eventSuicide
|
eventSuicide (
self,
who,
weapon,
wasWorld,
)
|
|
eventUserValidated
|
eventUserValidated ( self, who )
|
|
extractName
|
extractName ( self, filename )
Extract the name from a valid filename.
|
|
findPlayerByIP
|
findPlayerByIP ( self, ip )
Find the player by IP address, using the most frequently used
IP address.
|
|
findPlayerByName
|
findPlayerByName ( self, name )
Find the player by name, using a heuristic for determining what
the most likely name is.
|
|
findPlayerByWon
|
findPlayerByWon ( self, won )
Find the unique player specified by the WONID, or None.
|
|
findPlayersByIP
|
findPlayersByIP ( self, ip )
Get a list of all players that have used that IP address.
|
|
findPlayersByIPPrefix
|
findPlayersByIPPrefix ( self, ipPrefix )
Get a list of all players that have used that IP address.
|
|
findPlayersByName
|
findPlayersByName ( self, name )
Get a list of all players that have used that name.
|
|
findPlayersByPattern
|
findPlayersByPattern ( self, pattern )
Get a list of players that have used a similar name.
|
|
flush
|
flush ( self )
We're finished with a file, finalize up the parser.
|
|
friendlyFire
|
friendlyFire (
self,
attacker,
count=1,
)
|
|
hasNew
|
hasNew (
self,
directory,
force=1,
)
Are there new files available?
|
|
hasWon
|
hasWon ( self, won )
Has the given WON been seen before?
|
|
hlguardBanned
|
hlguardBanned ( self, who )
|
|
hlguardFound
|
hlguardFound (
self,
who,
what,
)
|
|
isValidFilename
|
isValidFilename ( self, filename )
Is filename a valid log file?
|
|
path
|
path (
self,
directory,
name,
)
Extract the name from a valid filename.
|
|
player
|
player ( self, won )
Get the player object with the specified WONID, or create a
new one.
|
|
report
|
report (
self,
message,
when=None,
stream='default',
)
|
|
reset
|
reset ( self )
Reset the parser.
|
|
scan
|
scan (
self,
directory,
since=None,
)
Get the names since the specified log.
Exceptions
|
|
ValueError, "clean up log files; cannot find boundary"
|
|
|
summary
|
summary ( self )
Return a tuple of: current log file, total unique WONIDs, total
maps, and total rounds.
|
|
sync
|
sync (
self,
directory,
force=0,
)
Sync up to the latest log file.
|
|
triggerRoundStart
|
triggerRoundStart ( self )
|