PDA

View Full Version : Official ParseSam Thread



Death Engineer
05-30-2004, 09:28 PM
Description
ParseSam is a log parser that extracts information from the SeriousSam.log file and displays it in a more user-friendly format.

Features
The program will give as many statistics as are availble given the log information (which is rather limited). This includes, frags by weapon type and suicides.

Using this information, it is easy to see who the "cannon whore" or the "rocket monkey" was that was spewing more explosive power than Jiminator after an enchilada.

Options
Using the "-addlog" flag after the .exe will append all the data found in the current serioussam.log to a new one. This is useful for collecting aggregate information over several games (since the real log is cleared after each match).

I also built a version of the parser that just extracts the comments (chat) players made during the game. It will be attached to the following post.

Setup Instructions
The first time you run the program, you will be required to enter the full path to the location of the serioussam.log file. If you don't know the full path, try doing a Start->Search->For Files and Folders and search for serioussam.log. If you're still lost, this tool is not likely something you should use. ;)

To use the -addlog flag, simple create a batch file (new text file with a .bat extension) with the follow text:


parsesam.exe -addlog

Place this file in the same directory with your exe and use it to start the parser.

Feel free to post bugs/suggestions here. But realize this is something I do for fun in my spare time. However, for the right price, I'll listen to anyone moan and complain. :shifty:

Have fun.

EDIT: Here is an example of what you can expect:



*******Summary*******
Name Frags/Deaths/Suicides
pop 36 9 (2)
///BAS/// fs 30 38 (2)
io 20 6 (0)
fares 12 7 (1)
# 11 17 (2)
PEPINO 10 11 (1)
SSSuperStar 9 7 (0)
laee 8 4 (0)
Il Pirata Andrea 7 11 (0)
Whack a Mole 7 8 (0)
.:/[Terminators]\:. S.P.A.S 12 6 9 (0)
lost boy Amager DK 2 7 (0)
THEOVERLORDs| ..::F u S i on::.. | 1 17 (1)
Mario 0 3 (0)
Vogelsgesang 0 5 (1)
FOX1 -2 11 (2)
Fubar -3 20 (12)
Brian -6 28 (11)

*******Details*******
name: pop
frags: 36
deaths: 9
suicides: 2
knife weapon: 0 (0)
lead weapons: 1 (2)
explosive weapons: 37 (5)
cannon weapon: 0 (0)

People killed:
///BAS/// fs - 18 time(s)
# - 5 time(s)
PEPINO - 4 time(s)
Whack a Mole - 4 time(s)
FOX1 - 3 time(s)
Vogelsgesang - 2 time(s)
Mario - 1 time(s)
THEOVERLORDs| ..::F u S i on::.. | - 1 time(s)

Killed By:
///BAS/// fs - 6 time(s)
# - 1 time(s)
=======================================

name: ///BAS/// fs
frags: 30
deaths: 38
suicides: 2
knife weapon: 1 (4)
lead weapons: 5 (10)
explosive weapons: 26 (22)
cannon weapon: 0 (0)

People killed:
pop - 6 time(s)
# - 5 time(s)
FOX1 - 4 time(s)
THEOVERLORDs| ..::F u S i on::.. | - 4 time(s)
Il Pirata Andrea - 4 time(s)
PEPINO - 3 time(s)
Vogelsgesang - 2 time(s)
.:/[Terminators]\:. S.P.A.S 12 - 2 time(s)
SSSuperStar - 1 time(s)
Whack a Mole - 1 time(s)

Killed By:
pop - 18 time(s)
Whack a Mole - 3 time(s)
PEPINO - 3 time(s)
# - 3 time(s)
laee - 2 time(s)
fares - 2 time(s)
.:/[Terminators]\:. S.P.A.S 12 - 2 time(s)
Vogelsgesang - 1 time(s)
Il Pirata Andrea - 1 time(s)
SSSuperStar - 1 time(s)
=======================================

name: io
frags: 20
deaths: 6
suicides: 0
knife weapon: 0 (0)
lead weapons: 9 (2)
explosive weapons: 11 (4)
cannon weapon: 0 (0)

People killed:
Brian - 12 time(s)
Fubar - 6 time(s)
THEOVERLORDs| ..::F u S i on::.. | - 2 time(s)

Killed By:
Fubar - 4 time(s)
Brian - 2 time(s)
=======================================

name: fares
frags: 12
deaths: 7
suicides: 1
knife weapon: 1 (1)
lead weapons: 0 (1)
explosive weapons: 12 (4)
cannon weapon: 0 (0)

People killed:
.:/[Terminators]\:. S.P.A.S 12 - 3 time(s)
lost boy Amager DK - 3 time(s)
///BAS/// fs - 2 time(s)
laee - 2 time(s)
Il Pirata Andrea - 2 time(s)
SSSuperStar - 1 time(s)

Killed By:
laee - 3 time(s)
Il Pirata Andrea - 2 time(s)
SSSuperStar - 1 time(s)
=======================================

name: #
frags: 11
deaths: 17
suicides: 2
knife weapon: 5 (1)
lead weapons: 8 (4)
explosive weapons: 0 (10)
cannon weapon: 0 (0)

People killed:
///BAS/// fs - 3 time(s)
PEPINO - 3 time(s)
Whack a Mole - 3 time(s)
THEOVERLORDs| ..::F u S i on::.. | - 2 time(s)
pop - 1 time(s)
FOX1 - 1 time(s)

Killed By:
pop - 5 time(s)
///BAS/// fs - 5 time(s)
Whack a Mole - 3 time(s)
PEPINO - 2 time(s)
=======================================

name: PEPINO
frags: 10
deaths: 11
suicides: 1
knife weapon: 2 (0)
lead weapons: 6 (4)
explosive weapons: 3 (6)
cannon weapon: 0 (0)

People killed:
THEOVERLORDs| ..::F u S i on::.. | - 6 time(s)
///BAS/// fs - 3 time(s)
# - 2 time(s)

Killed By:
pop - 4 time(s)
///BAS/// fs - 3 time(s)
# - 3 time(s)
=======================================

name: SSSuperStar
frags: 9
deaths: 7
suicides: 0
knife weapon: 5 (0)
lead weapons: 4 (1)
explosive weapons: 0 (6)
cannon weapon: 0 (0)

People killed:
lost boy Amager DK - 3 time(s)
laee - 2 time(s)
Il Pirata Andrea - 2 time(s)
fares - 1 time(s)
///BAS/// fs - 1 time(s)

Killed By:
laee - 3 time(s)
///BAS/// fs - 1 time(s)
.:/[Terminators]\:. S.P.A.S 12 - 1 time(s)
fares - 1 time(s)
Il Pirata Andrea - 1 time(s)
=======================================

name: laee
frags: 8
deaths: 4
suicides: 0
knife weapon: 0 (1)
lead weapons: 0 (1)
explosive weapons: 8 (2)
cannon weapon: 0 (0)

People killed:
fares - 3 time(s)
SSSuperStar - 3 time(s)
///BAS/// fs - 2 time(s)

Killed By:
fares - 2 time(s)
SSSuperStar - 2 time(s)
=======================================

name: Il Pirata Andrea
frags: 7
deaths: 11
suicides: 0
knife weapon: 2 (2)
lead weapons: 3 (4)
explosive weapons: 2 (5)
cannon weapon: 0 (0)

People killed:
.:/[Terminators]\:. S.P.A.S 12 - 3 time(s)
fares - 2 time(s)
SSSuperStar - 1 time(s)
///BAS/// fs - 1 time(s)

Killed By:
///BAS/// fs - 4 time(s)
fares - 2 time(s)
.:/[Terminators]\:. S.P.A.S 12 - 2 time(s)
SSSuperStar - 2 time(s)
lost boy Amager DK - 1 time(s)
=======================================

name: Whack a Mole
frags: 7
deaths: 8
suicides: 0
knife weapon: 0 (3)
lead weapons: 7 (0)
explosive weapons: 0 (5)
cannon weapon: 0 (0)

People killed:
# - 3 time(s)
///BAS/// fs - 3 time(s)
FOX1 - 1 time(s)

Killed By:
pop - 4 time(s)
# - 3 time(s)
///BAS/// fs - 1 time(s)
=======================================

name: .:/[Terminators]\:. S.P.A.S 12
frags: 6
deaths: 9
suicides: 0
knife weapon: 0 (2)
lead weapons: 5 (3)
explosive weapons: 1 (4)
cannon weapon: 0 (0)

People killed:
///BAS/// fs - 2 time(s)
Il Pirata Andrea - 2 time(s)
lost boy Amager DK - 1 time(s)
SSSuperStar - 1 time(s)

Killed By:
Il Pirata Andrea - 3 time(s)
fares - 3 time(s)
///BAS/// fs - 2 time(s)
lost boy Amager DK - 1 time(s)
=======================================

name: lost boy Amager DK
frags: 2
deaths: 7
suicides: 0
knife weapon: 1 (2)
lead weapons: 1 (2)
explosive weapons: 0 (3)
cannon weapon: 0 (0)

People killed:
Il Pirata Andrea - 1 time(s)
.:/[Terminators]\:. S.P.A.S 12 - 1 time(s)

Killed By:
SSSuperStar - 3 time(s)
fares - 3 time(s)
.:/[Terminators]\:. S.P.A.S 12 - 1 time(s)
=======================================

name: THEOVERLORDs| ..::F u S i on::.. |
frags: 1
deaths: 17
suicides: 1
knife weapon: 1 (1)
lead weapons: 1 (8)
explosive weapons: 0 (7)
cannon weapon: 0 (0)

People killed:
Mario - 2 time(s)

Killed By:
PEPINO - 6 time(s)
///BAS/// fs - 4 time(s)
# - 2 time(s)
io - 2 time(s)
pop - 1 time(s)
Brian - 1 time(s)
=======================================

name: Mario
frags: 0
deaths: 3
suicides: 0
knife weapon: 0 (1)
lead weapons: 0 (1)
explosive weapons: 0 (1)
cannon weapon: 0 (0)

Killed By:
THEOVERLORDs| ..::F u S i on::.. | - 2 time(s)
pop - 1 time(s)
=======================================

name: Vogelsgesang
frags: 0
deaths: 5
suicides: 1
knife weapon: 1 (0)
lead weapons: 0 (0)
explosive weapons: 0 (4)
cannon weapon: 0 (0)

People killed:
///BAS/// fs - 1 time(s)

Killed By:
pop - 2 time(s)
///BAS/// fs - 2 time(s)
=======================================

name: FOX1
frags: -2
deaths: 11
suicides: 2
knife weapon: 0 (1)
lead weapons: 0 (1)
explosive weapons: 0 (7)
cannon weapon: 0 (0)

Killed By:
///BAS/// fs - 4 time(s)
pop - 3 time(s)
# - 1 time(s)
Whack a Mole - 1 time(s)
=======================================

name: Fubar
frags: -3
deaths: 20
suicides: 12
knife weapon: 0 (0)
lead weapons: 1 (3)
explosive weapons: 8 (5)
cannon weapon: 0 (0)

People killed:
Brian - 5 time(s)
io - 4 time(s)

Killed By:
io - 6 time(s)
Brian - 2 time(s)
=======================================

name: Brian
frags: -6
deaths: 28
suicides: 11
knife weapon: 0 (0)
lead weapons: 2 (6)
explosive weapons: 3 (11)
cannon weapon: 0 (0)

People killed:
Fubar - 2 time(s)
io - 2 time(s)
THEOVERLORDs| ..::F u S i on::.. | - 1 time(s)

Killed By:
io - 12 time(s)
Fubar - 5 time(s)
=======================================

WinParseSam V0.1
Copyright 2004 - Mitchyl Enterprises
All Rights Reserved

Death Engineer
05-30-2004, 09:29 PM
This is the chat version of the parser.

Pathos
05-30-2004, 11:12 PM
Pinned. Thanks for all the blood and sweat on this one, DE! Love it. [8 fingers and 2 thumbs up]

DiTomasso
06-17-2004, 04:59 PM
:thumbs: Death Engineer :wootrock:
btw. maybe you can enter the way to change the log file in the register for those who run a server?
I know, but they don't :wave:

Death Engineer
07-05-2004, 01:50 PM
I'm not sure what you mean.

DiTomasso
07-07-2004, 06:29 PM
i mean.

The program is using the SeriousSam logfile.
Changing it to your dedicated server logfile in the registry.

use regedit in the command screen.
go to Hkey_users , do a find for ParseSam.

You see in the right screen a key >> SeriousSam.

change that in your dedicated server logfile.

Pathos
08-31-2004, 04:06 PM
Edited to re-add Death Engineer's attachments (they were lost with the move to swanky vbulletin).

I also threw in an example of the code. I figure since this is such a tasty little proggy, if people get an idea of what they can expect, they're far more likely to join in the fun and frivolity. [skips over a sunflower]

So go on everyone. You know you want it. [husky air-lick]