print-events

command
v1.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2020 License: MIT Imports: 6 Imported by: 0

README

Printing event infos

This example shows how to use the library to print out information of some key game events - kills, team scores & chat messages.

Running the example

go run print_events.go -demo /path/to/demo

Sample output
Map: de_cache
[T]xms*ASUS ♥ /F/ <AK-47 (HS)> [CT]crisby
Chat - [T]to1nou * Seagate says: hf
Chat - [CT]syrsoNR says: hfhf
Chat - [CT]keev says: ,.+*`*+.,_,.+*`*+., GL & HF ,.+*`*+.,_,.+*`*+.,
Chat - [T]ALEX * Intel says: hfhf
[CT]tiziaN <USP-S (HS)> [T]Ex6TenZ-BALLISTIX
[CT]tiziaN <USP-S> [T]mistou * Cooler Master
[CT]tiziaN <USP-S (HS)> [T]ALEX * Intel
[T]xms*ASUS ♥ /F/ <Glock-18 (HS)> [CT]tiziaN
[T]to1nou * Seagate <Glock-18 (HS)> [CT]kzy LJ∼
[T]to1nou * Seagate <Glock-18> [CT]crisby
[T]to1nou * Seagate <USP-S (HS)> [CT]syrsoNR
[CT]keev <USP-S (HS)> [T]to1nou * Seagate
[CT]keev <USP-S (HS)> [T]xms*ASUS ♥ /F/
Round finished: winnerSide=CT ; score=1:0
[T]Ex6TenZ-BALLISTIX <Desert Eagle (HS)> [CT]syrsoNR
[CT]kzy LJ∼ <FAMAS (HS)> [T]ALEX * Intel
[CT]crisby <UMP-45 (HS)> [T]to1nou * Seagate
[CT]kzy LJ∼ <FAMAS> [T]Ex6TenZ-BALLISTIX
[CT]kzy LJ∼ <FAMAS (HS)> [T]xms*ASUS ♥ /F/
Chat - [CT]syrsoNR says: ns
[CT]keev <UMP-45> [T]mistou * Cooler Master
Round finished: winnerSide=CT ; score=2:0
Chat - [T]Ex6TenZ-BALLISTIX says: ty
[CT]crisby <UMP-45 (HS)> [T]to1nou * Seagate
[CT]kzy LJ∼ <FAMAS (HS)> [T]Ex6TenZ-BALLISTIX
[CT]crisby <USP-S> [CT]kzy LJ∼
[CT]crisby <USP-S (HS)> [T]xms*ASUS ♥ /F/
[T]mistou * Cooler Master <Glock-18 (HS)> [CT]crisby
[CT]syrsoNR <M4A1> [T]ALEX * Intel
[CT]syrsoNR <M4A1 (HS)> [T]mistou * Cooler Master
Round finished: winnerSide=CT ; score=3:0
[T]Ex6TenZ-BALLISTIX <AK-47> [CT]crisby
[CT]syrsoNR <M4A1 (HS) (WB)> [T]Ex6TenZ-BALLISTIX
[CT]kzy LJ∼ <FAMAS> [T]mistou * Cooler Master
[T]to1nou * Seagate <AWP> [CT]kzy LJ∼
[T]ALEX * Intel <AK-47 (HS)> [CT]syrsoNR
[T]ALEX * Intel <AK-47> [T]xms*ASUS ♥ /F/
[CT]tiziaN <M4A1> [T]ALEX * Intel
[CT]keev <Desert Eagle> [T]to1nou * Seagate
Round finished: winnerSide=CT ; score=4:0
[T]to1nou * Seagate <AK-47 (HS)> [CT]syrsoNR
[CT]crisby <M4A1> [T]to1nou * Seagate
[T]xms*ASUS ♥ /F/ <AK-47 (HS)> [CT]crisby
[CT]kzy LJ∼ <M4A1 (HS)> [T]xms*ASUS ♥ /F/
[CT]kzy LJ∼ <M4A1 (HS)> [T]mistou * Cooler Master
[T]Ex6TenZ-BALLISTIX <AK-47> [CT]kzy LJ∼
[CT]tiziaN <AK-47> [T]ALEX * Intel
[CT]keev <AWP> [T]Ex6TenZ-BALLISTIX
Round finished: winnerSide=CT ; score=5:0
Chat - [T]ALEX * Intel says: hp tiz?
Chat - [CT]syrsoNR says: 48
Chat - [T]ALEX * Intel says: ty
[CT]keev <AWP> [T]mistou * Cooler Master
[T]Ex6TenZ-BALLISTIX <Tec-9 (HS)> [CT]keev
[T]Ex6TenZ-BALLISTIX <Tec-9 (HS)> [CT]tiziaN
[T]xms*ASUS ♥ /F/ <Desert Eagle (HS) (WB)> [CT]crisby
[T]ALEX * Intel <AWP> [CT]syrsoNR
Round finished: winnerSide=T  ; score=1:5
[T]mistou * Cooler Master <AK-47 (HS)> [CT]syrsoNR
[CT]keev <AWP> [T]xms*ASUS ♥ /F/
[T]Ex6TenZ-BALLISTIX <AK-47> [CT]crisby
[CT]keev <AWP (HS)> [T]to1nou * Seagate
[CT]kzy LJ∼ <M4A1 (HS)> [T]ALEX * Intel
[CT]keev <AWP> [T]Ex6TenZ-BALLISTIX
[CT]kzy LJ∼ <M4A1> [T]mistou * Cooler Master
Round finished: winnerSide=CT ; score=6:1
[T]xms*ASUS ♥ /F/ <Tec-9> [CT]keev
[CT]tiziaN <M4A1 (HS)> [T]mistou * Cooler Master
[T]Ex6TenZ-BALLISTIX <AK-47> [CT]syrsoNR
[T]to1nou * Seagate <AK-47> [CT]tiziaN
Round finished: winnerSide=T  ; score=2:6
[CT]kzy LJ∼ <AK-47 (HS)> [T]mistou * Cooler Master
[T]ALEX * Intel <AK-47> [CT]syrsoNR
[CT]tiziaN <p250> [T]Ex6TenZ-BALLISTIX
[T]to1nou * Seagate <AWP> [CT]tiziaN
[T]ALEX * Intel <AK-47> [CT]keev
[CT]crisby <M4A1> [T]xms*ASUS ♥ /F/
[CT]crisby <M4A1> [T]to1nou * Seagate
[CT]crisby <M4A1 (HS)> [T]ALEX * Intel
Round finished: winnerSide=CT ; score=7:2
[CT]tiziaN <M4A1 (HS)> [T]xms*ASUS ♥ /F/
[T]Ex6TenZ-BALLISTIX <Tec-9 (HS)> [CT]tiziaN
[T]to1nou * Seagate <AK-47> [CT]crisby
[T]ALEX * Intel <AK-47 (HS)> [CT]syrsoNR
[T]mistou * Cooler Master <Tec-9 (HS)> [CT]keev
[T]to1nou * Seagate <AK-47 (HS)> [CT]kzy LJ∼
Round finished: winnerSide=T  ; score=3:7
[CT]crisby <p250 (HS)> [T]to1nou * Seagate
[T]xms*ASUS ♥ /F/ <AK-47 (HS)> [CT]crisby
[CT]kzy LJ∼ <M4A1> [T]xms*ASUS ♥ /F/
[CT]kzy LJ∼ <M4A1 (HS)> [T]ALEX * Intel
[CT]keev <AWP> [T]Ex6TenZ-BALLISTIX
[CT]keev <AWP> [T]mistou * Cooler Master
Round finished: winnerSide=CT ; score=8:3
[CT]kzy LJ∼ <M4A1> [T]xms*ASUS ♥ /F/
[CT]kzy LJ∼ <M4A1 (HS)> [T]Ex6TenZ-BALLISTIX
[T]to1nou * Seagate <AWP> [CT]kzy LJ∼
[CT]tiziaN <FAMAS (HS)> [T]ALEX * Intel
[T]to1nou * Seagate <AWP> [CT]tiziaN
[CT]keev <AWP (HS) (WB)> [T]to1nou * Seagate
[CT]crisby <M4A1> [T]mistou * Cooler Master
Round finished: winnerSide=CT ; score=9:3
[CT]kzy LJ∼ <M4A1> [T]ALEX * Intel
[T]to1nou * Seagate <Tec-9 (HS)> [CT]crisby
[CT]tiziaN <M4A1> [T]mistou * Cooler Master
[CT]tiziaN <M4A1 (HS)> [T]Ex6TenZ-BALLISTIX
[T]to1nou * Seagate <Tec-9 (HS)> [CT]tiziaN
[CT]syrsoNR <AK-47 (WB)> [T]to1nou * Seagate
[CT]keev <USP-S (HS)> [T]xms*ASUS ♥ /F/
Round finished: winnerSide=CT ; score=10:3
[CT]tiziaN <M4A1 (HS)> [T]mistou * Cooler Master
[T]xms*ASUS ♥ /F/ <Tec-9> [CT]tiziaN
[CT]syrsoNR <AK-47> [T]ALEX * Intel
[T]to1nou * Seagate <Tec-9> [CT]syrsoNR
[CT]crisby <M4A1 (HS)> [T]to1nou * Seagate
[CT]crisby <M4A1 (HS)> [T]xms*ASUS ♥ /F/
[T]Ex6TenZ-BALLISTIX <Galil AR> [CT]kzy LJ∼
[CT]crisby <M4A1 (HS)> [T]Ex6TenZ-BALLISTIX
Round finished: winnerSide=CT ; score=11:3
[T]Ex6TenZ-BALLISTIX <AK-47> [CT]tiziaN
[CT]keev <Tec-9 (HS)> [T]mistou * Cooler Master
[T]xms*ASUS ♥ /F/ <AK-47> [CT]syrsoNR
[T]Ex6TenZ-BALLISTIX <AK-47> [CT]keev
[CT]crisby <M4A1 (HS)> [T]Ex6TenZ-BALLISTIX
[CT]crisby <M4A1 (HS)> [T]ALEX * Intel
[T]to1nou * Seagate <AK-47> [CT]kzy LJ∼
[T]xms*ASUS ♥ /F/ <AK-47> [CT]crisby
Round finished: winnerSide=T  ; score=4:11
Chat - [T]to1nou * Seagate says: gh
Chat - [CT]syrsoNR says: gh
Chat - [T]ALEX * Intel says: gh
Chat - [T]keev says: ,.+*`*+.,_,.+*`*+., GL & HF ,.+*`*+.,_,.+*`*+.,
[CT]mistou * Cooler Master <P2000 (HS)> [T]tiziaN
[CT]mistou * Cooler Master <P2000 (HS)> [T]syrsoNR
[CT]mistou * Cooler Master <P2000 (HS)> [T]keev
[CT]xms*ASUS ♥ /F/ <USP-S (HS)> [T]crisby
[CT]ALEX * Intel <USP-S (HS)> [T]kzy LJ∼
Round finished: winnerSide=CT ; score=5:11
[T]tiziaN <Desert Eagle (HS)> [CT]Ex6TenZ-BALLISTIX
[CT]mistou * Cooler Master <M4A1 (HS)> [T]kzy LJ∼
[CT]ALEX * Intel <FAMAS> [T]syrsoNR
[T]crisby <Desert Eagle (HS)> [CT]ALEX * Intel
[CT]to1nou * Seagate <FAMAS (HS)> [T]crisby
[T]keev <Desert Eagle> [CT]to1nou * Seagate
[CT]mistou * Cooler Master <M4A1 (HS)> [T]tiziaN
[T]keev <FAMAS (WB)> [CT]mistou * Cooler Master
[T]keev <FAMAS> [CT]xms*ASUS ♥ /F/
Round finished: winnerSide=T  ; score=12:5
[CT]mistou * Cooler Master <Five-SeveN> [T]tiziaN
[T]syrsoNR <AK-47> [CT]mistou * Cooler Master
[T]kzy LJ∼ <AK-47 (HS)> [CT]xms*ASUS ♥ /F/
[CT]to1nou * Seagate <Five-SeveN (HS)> [T]crisby
[T]syrsoNR <AK-47 (HS)> [CT]ALEX * Intel
[CT]to1nou * Seagate <Five-SeveN (HS)> [T]syrsoNR
[CT]Ex6TenZ-BALLISTIX <Five-SeveN (HS)> [T]kzy LJ∼
[CT]to1nou * Seagate <Five-SeveN> [T]keev
Round finished: winnerSide=CT ; score=6:12
[T]crisby <Tec-9 (HS)> [CT]xms*ASUS ♥ /F/
[CT]mistou * Cooler Master <FAMAS (HS)> [T]kzy LJ∼
[CT]mistou * Cooler Master <FAMAS> [T]crisby
[T]syrsoNR <Tec-9 (HS)> [CT]Ex6TenZ-BALLISTIX
[CT]to1nou * Seagate <AK-47 (HS)> [T]tiziaN
[CT]ALEX * Intel <M4A1> [T]syrsoNR
[CT]to1nou * Seagate <AK-47> [T]keev
Round finished: winnerSide=CT ; score=7:12
[T]kzy LJ∼ <Desert Eagle (HS)> [CT]mistou * Cooler Master
[CT]Ex6TenZ-BALLISTIX <M4A1> [T]tiziaN
[CT]to1nou * Seagate <AK-47> [T]syrsoNR
[CT]Ex6TenZ-BALLISTIX <M4A1> [T]crisby
[CT]to1nou * Seagate <AK-47> [T]keev
[CT]ALEX * Intel <M4A1> [T]kzy LJ∼
Round finished: winnerSide=CT ; score=8:12
[T]keev <AWP> [CT]mistou * Cooler Master
[T]tiziaN <AK-47 (HS)> [CT]xms*ASUS ♥ /F/
[CT]Ex6TenZ-BALLISTIX <M4A1> [T]tiziaN
[CT]to1nou * Seagate <AK-47> [T]syrsoNR
[CT]Ex6TenZ-BALLISTIX <M4A1> [T]kzy LJ∼
[CT]Ex6TenZ-BALLISTIX <M4A1 (HS)> [T]keev
[T]crisby <AK-47> [CT]to1nou * Seagate
[CT]Ex6TenZ-BALLISTIX <M4A1> [T]crisby
Round finished: winnerSide=CT ; score=9:12
[CT]to1nou * Seagate <AWP> [T]syrsoNR
[T]keev <AK-47 (HS)> [CT]Ex6TenZ-BALLISTIX
[T]kzy LJ∼ <AK-47> [CT]xms*ASUS ♥ /F/
[CT]ALEX * Intel <AK-47> [T]keev
[T]kzy LJ∼ <AK-47 (HS)> [CT]ALEX * Intel
[T]crisby <AK-47 (HS)> [CT]to1nou * Seagate
[CT]mistou * Cooler Master <AWP (WB)> [T]kzy LJ∼
Round finished: winnerSide=T  ; score=13:9
[T]syrsoNR <AK-47> [CT]ALEX * Intel
[T]syrsoNR <AK-47 (HS)> [CT]xms*ASUS ♥ /F/
[CT]Ex6TenZ-BALLISTIX <M4A1> [T]syrsoNR
[CT]Ex6TenZ-BALLISTIX <M4A1> [T]tiziaN
[CT]mistou * Cooler Master <AWP> [T]kzy LJ∼
[T]crisby <AK-47> [CT]to1nou * Seagate
[CT]Ex6TenZ-BALLISTIX <M4A1> [T]crisby
[CT]Ex6TenZ-BALLISTIX <P2000> [T]keev
Round finished: winnerSide=CT ; score=10:13
Round finished: No winner (tie)
[CT]syrsoNR <World> [CT]syrsoNR
[CT]ALEX * Intel <World> [CT]ALEX * Intel
[CT]xms*ASUS ♥ /F/ <World> [CT]xms*ASUS ♥ /F/
[CT]Ex6TenZ-BALLISTIX <World> [CT]Ex6TenZ-BALLISTIX
[CT]to1nou * Seagate <World> [CT]to1nou * Seagate
Round finished: No winner (tie)
Chat - [T]keev says: we have no money
Chat - [CT]mistou * Cooler Master says: same here
Chat - [CT]ALEX * Intel says: we have everything :/
Chat - [T]crisby says: load backup again
Chat - [CT]ALEX * Intel says: oh mistou dsnt
Chat - [T]keev says: haha
Chat - [T]keev says: need backup agaiN
Chat - [CT]ALEX * Intel says: yy
Chat - [CT]mistou * Cooler Master says: yup
[CT]ALEX * Intel <World> [CT]ALEX * Intel
[CT]xms*ASUS ♥ /F/ <World> [CT]xms*ASUS ♥ /F/
[CT]to1nou * Seagate <World> [CT]to1nou * Seagate
[CT]Ex6TenZ-BALLISTIX <World> [CT]Ex6TenZ-BALLISTIX
[T]syrsoNR <World> [T]syrsoNR
[T]tiziaN <World> [T]tiziaN
[T]kzy LJ∼ <World> [T]kzy LJ∼
[CT]mistou * Cooler Master <World> [CT]mistou * Cooler Master
[T]keev <World> [T]keev
[T]crisby <World> [T]crisby
Round finished: No winner (tie)
Chat - [CT]mistou * Cooler Master says: good
Chat - [T]keev says: fine
Chat - [T]keev says: rdy?
Chat - [CT]to1nou * Seagate says: 1s
Chat - [CT]Ex6TenZ-BALLISTIX says: 2s
Chat - [T]keev says: 1 or 2
Chat - [CT]ALEX * Intel says: 10
Chat - [CT]to1nou * Seagate says: 3
Chat - [T]keev says: :spazdunno:
Chat - [T]keev says: :D
Chat - [CT]to1nou * Seagate says: hf rdy
Chat - [CT]Ex6TenZ-BALLISTIX says: rdy
Chat - [CT]ALEX * Intel says: !unpause
Chat - [T]keev says: !pause
Chat - [T]keev says: cs buG
Chat - [T]keev says: but liv
[CT]mistou * Cooler Master <AWP> [T]tiziaN
[T]kzy LJ∼ <p250> [CT]mistou * Cooler Master
[T]keev <Tec-9> [CT]xms*ASUS ♥ /F/
[T]keev <AWP> [CT]Ex6TenZ-BALLISTIX
[T]keev <AWP> [CT]ALEX * Intel
[CT]to1nou * Seagate <AWP> [T]syrsoNR
[CT]to1nou * Seagate <AWP> [T]crisby
Round finished: winnerSide=T  ; score=14:10
Chat - [T]keev says: rdy?
Chat - [CT]to1nou * Seagate says: yes
Chat - [T]keev says: !unpause
Chat - [CT]to1nou * Seagate says: hf
Chat - [T]keev says: hfhf
[CT]to1nou * Seagate <AWP> [T]crisby
[T]tiziaN <AK-47> [CT]Ex6TenZ-BALLISTIX
[CT]mistou * Cooler Master <Five-SeveN (HS)> [T]syrsoNR
[CT]mistou * Cooler Master <Five-SeveN (HS)> [T]tiziaN
[T]keev <Tec-9> [CT]mistou * Cooler Master
[CT]xms*ASUS ♥ /F/ <Desert Eagle> [T]kzy LJ∼
[CT]xms*ASUS ♥ /F/ <Desert Eagle (HS)> [T]keev
Round finished: winnerSide=CT ; score=11:14
[CT]ALEX * Intel <AK-47 (HS)> [T]tiziaN
[CT]xms*ASUS ♥ /F/ <M4A1> [T]syrsoNR
[T]crisby <Tec-9 (HS)> [CT]xms*ASUS ♥ /F/
[T]keev <AK-47 (HS)> [CT]ALEX * Intel
[CT]mistou * Cooler Master <AWP> [T]crisby
[T]keev <AK-47> [CT]mistou * Cooler Master
[T]kzy LJ∼ <Galil AR> [CT]Ex6TenZ-BALLISTIX
[CT]to1nou * Seagate <AWP> [T]keev
[T]kzy LJ∼ <AK-47 (HS)> [CT]to1nou * Seagate
Round finished: winnerSide=T  ; score=15:11
[T]syrsoNR <AK-47 (HS)> [CT]to1nou * Seagate
[T]tiziaN <Galil AR (HS)> [CT]xms*ASUS ♥ /F/
[CT]ALEX * Intel <FAMAS> [T]tiziaN
[CT]ALEX * Intel <FAMAS (HS)> [T]syrsoNR
[CT]mistou * Cooler Master <Five-SeveN (HS)> [T]kzy LJ∼
[CT]ALEX * Intel <FAMAS (HS)> [T]keev
[T]crisby <AK-47> [CT]ALEX * Intel
[CT]mistou * Cooler Master <AK-47 (HS)> [T]crisby
Round finished: winnerSide=CT ; score=12:15
[CT]Ex6TenZ-BALLISTIX <AK-47> [T]keev
[CT]xms*ASUS ♥ /F/ <FAMAS> [T]syrsoNR
[CT]xms*ASUS ♥ /F/ <FAMAS> [T]crisby
[CT]xms*ASUS ♥ /F/ <FAMAS (HS)> [T]tiziaN
[T]kzy LJ∼ <p250> [CT]xms*ASUS ♥ /F/
[CT]mistou * Cooler Master <AWP> [T]kzy LJ∼
Round finished: winnerSide=CT ; score=13:15
[T]tiziaN <Galil AR (HS)> [CT]mistou * Cooler Master
[T]crisby <AK-47 (HS) (WB)> [CT]xms*ASUS ♥ /F/
[T]keev <Tec-9 (HS)> [CT]ALEX * Intel
[T]crisby <AK-47 (HS)> [CT]Ex6TenZ-BALLISTIX
[T]keev <Tec-9> [CT]to1nou * Seagate
Round finished: winnerSide=T  ; score=16:13
Chat - [CT]xms*ASUS ♥ /F/ says: gg
Chat - [CT]ALEX * Intel says: gg
Chat - [CT]to1nou * Seagate says: gg
Chat - [CT]Ex6TenZ-BALLISTIX says: wp
Chat - [T]tiziaN says: gg
Chat - [T]syrsoNR says: gggg

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL