This is just some notes I'm making about how to develop the CharityFrag parser (SKP - Streamed Kill Parser).

Currently, SKP is written in (procedural) Java. It works as follows: it boots up, reads in a bunch of data from the prefs.ini file using a java.util.Properties object. It connects to a db using JDBC. We load up the log file and start reading it using a BufferedReader. We sit and loop waiting for the next line, and then when it comes in, we parse it as follows:

Once it finds a kill, we construct an INSERT to load it into the database. The data that needs to go into the database is killer_id, the killed_id, the weapon and the timestamp. The code needs to look up the killer_id and the killed_id from the database.

Stuff that still needs testing:

Stuff that could be added:

Issues:

Powered by WiGit