blob: b8b89c6ef61ce97e92b9e059a82fb2a831a08199 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
Utilities around EQ logs
- EQlog: ldpreload lib to not open/close file for every line
- Logs/parse.pl: toy parser
- more to come!
Handy one-liners:
EQLOG=/path/to/eqlog_character_server.txt
# dkp
tail -f -n 100000 "$EQLOG" | grep -iE 'grat[zs]|has looted|(joined|has left) the raid'
# Prince clicks
A=1 B=6 C=9
tail -n 100000 -f "$EQLOG" | awk '/A ghostly voice shouts/ { print $4 " " $'$((A+9))' " " $'$((B+9))' " " $'$((C+9))' }'
# Spying on AD chanters, and guests chanters, and ex chanters, and possibly dead people.
tail -n 100000 -f "$EQLOG" | grep -iE 'You begin casting|(Desdemezzia|Louvie|Trixiia|Suuan|Menarim|Cistinne|Desdemezzia|Mesmorise|Pondorra|Zenda|Zenbiky|Farglaemy|Polymorphic|Controlfreak|Pizco|Douxreve) begins to cast.*'
|