jackpp :: ver.2


this is the jackpp development page and will remain as incomplete as this for some time. in case you stumbled upon here by typing random characters into your browsers address bar; jackpp is a log parser, analyzer and stat generator, that is currently in its second iteration/implementation. originally, it was entirely designed and directed for use with counter-strike , and so proceeded jackpp (public releases of 1.03 - 1.05).

after code-rot, and disagreements with the original codebase and gcc 3.x, the decision was made to re-write jackpp from scratch. this time the emphasis is on efficieny, and hopefully, portability, using a completely new codebase.

during the core development, jackpp2 will be aimed towards a counter-strike stat generated, with the new software architecture hopefully allowing for some interesting and new stats, while remaining a fast engine. however, where possible, abstractions have been made to allow for the possibility of extending the core code to other games or engines.

this is development. everything everywhere is likely to change.


jackpp :: ver.2 :: availability

the source for jackpp2 is, and will be made available through the jackpp sourceforge project page with additional information being posted here (most likely). the code is available through the following cvs commands:

cvs -d:pserver:anonymous@cvs.jackpp.sourceforge.net:/cvsroot/jackpp login
( hit enter at the login: prompt, leaving it blank )

cvs -z3 -d:pserver:anonymous@cvs.jackpp.sourceforge.net:/cvsroot/jackpp co jackpp/jackpp2

the code is provided under the BSD license

jackpp :: ver.2 :: notes/news/date

date/who notes
07/011/02
mike
okay, its been some time, mostly had to finish uni for the year, but now got exams coming up. anyhow, that aside, the last few days i've been fixing up and firming up jackpp2 to be at a stable consistent point. the nick-change tracking works properly now (it never worked in jackpp1.x) and i'm satisfied that all the stats being generated are actually 100% correct. this is always a bonus when you're working on a stat generator. :).

on another note, ive switched personally to using freebsd 4.7 on my desktop/development box, so i've made the necessary changes to get the source compiling under freebsd (with gcc 2.95) however it should still compile fine under linux (using gcc 3.x) but i wont be testing that as regularly as before. i've included both makefiles in cvs, but they're both just functional (ie not pretty). all the fixes/changes/additions are in cvs now, it builds and works if you do -

cd source/tests
make test
./test [alias file] [log files]
or if you'd like it in html
./test [alias file] [log files] > [html file]

currently, an alias file needs to be given (no flags) but it can just be an empty file, in which case all the aliases will be figured out from the log files, its just important you provide some file there or else it'll try to use the first log file and subsequently segfault. of course this'll be fixed later.

looking ahead, there are two main areas of work required. the first is in the html producing sub-system, which needs to be re-designed. after that i can look at putting more complex calculations in for more complex statistics.

mike,out.

25/09/02
mike
been working on jackpp2 over the last few days, culminating in a commit about 5 minutes ago that sees quite a few more things working. to start with, the alias'ing is working, but not finished yet (there's an ugly new CSActor where it should be just an Actor that i'll have to look at) but it works. Aliases are stored in an alias file in almost identical format to jackpp1.0x, with the only difference being that now the ":" between player name: aliases is replaced by an "=" and for the moment all the aliases must be on a single line (ie seperated by \n characters).

the best way to test the current code is by:
cd source/tests
make test
cd html-tests
../test ../alias.als (log files) > total.html

but its not crucial, as long as the .css is in the same directory as the html file. I've started work on, and will continue on, the CSComplex class which will handly the generation of the more complex stats, as an example for the moment is the processing of award for anyone who kills more than half the opposing team in a round.
mike, out
22/09/02
mike
the initial code for jackpp2 was imported a few minutes ago. i've held off committing until now when there is some vaguely tangible output to be generated by test cases. the tests/ directory holds the Makefile and main( ) function if you would like to see results. to test it run,

make test
./test L0925030.log


currently this tests the parsing engine and does some rudimentary printouts to ensure that the statistics are correct to this point. the html will most likely remain as simple as that until the statting is more complete. i'll make efforts to update the parser-logic, and layout files, and try to introduce a general usage documentation.

jackpp:: ver.2 :: links/contacts

  • so far its just me, mike ( driver at iinet.net.au ), and as more work is done, we'll get pat in to fix things and help.
  • if you missed it - jackpp @ sourceforge
  • dev environment is: piii - 1000, 256 ram. running gentoo linux. kernel is 2.4.19 and gcc is 3.1.
SourceForge Logo