Skip to content

annnyc/QuakeLog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# Quake Log Parser

## Description

**Quake Log Parser** is a Java program that parses log files generated by Quake 3 Arena servers. The project implement the following functionalities:

 - Read the log file
 - Group the game data of each match
 - Collect kill data

## Example
21:42 Kill: 1022 2 22: <world> killed Isgalamido by MOD_TRIGGER_HURT
The player "Isgalamido" died because he was wounded and fell from a height enough to kill him.

2:22 Kill: 3 2 10: Isgalamido killed Dono da Bola by MOD_RAILGUN
The player "Isgalamido" killed the player "Dono da Bola" using the Railgun weapon.

Example of grouped information for each match:

```json
"game_1": {
"total_kills": 45,
"players": ["Dono da bola", "Isgalamido", "Zeh"],
"kills": {
  "Dono da bola": 5,
  "Isgalamido": 18,
  "Zeh": 20
  }
}
```

## How to execute
**Report** 

javac -cp lib/gson-2.8.6.jar -d bin src/ReportGenerator.java

And then:

java -cp lib/gson-2.8.6.jar;bin ReportGenerator


**Parser**

```console
java -cp lib/gson-2.8.6.jar:bin Main
```

And then:

```console
java -cp lib/gson-2.8.6.jar;bin Main
```

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages