![]() |
|
#11
|
|||
|
If you want a leaderboard just make your own.
Here's the source for the log parser portion of Clamdigger, blastfish; http://pastebin.com/sAJQQ7Fa It's in Perl, but really, here's all you need to do to get chat text out of a log file; run it in a loop, fill in variables where needed. Code:
open(EQLOG, $basepath . $logfile); # derp
@lines = <EQLOG>; # Populate our lines array with the file contents
close(EQLOG); # ...and then close the file.
unlink($basepath.$logfile); # and then get rid of it, don't need it anymore.
foreach(@lines) {
#watever~ Timestamp parsing code is in blastfish if you need it.
}
Shit's old so none of the authentication stuff works because the Clamdigger frontend hasn't run in years. | ||
|
|
|||
|
|