SnowLeopard
Stalker
- Joined
- Jul 19, 2006
- Posts
- 2,406
- Location
- Montreal, Canada
- Society
- Guess Who
- Avatar Name
- Gray SnowLeopard Felix
This is probably the most accurate way to calculate the amount of time spent in the Feffox Nests.
If your chat.log is not enabled, you are s-o-l. If you did not leave the nests properly (ie did not relog after a crash), this probably skew the total in some way. Also, if you've done anything in a non-Feffox instance (beacons, feffoid cave, etc), you'll need to take time spent there into consideration.
The important lines from the chat.log have [Force] after the date and time on each line:
Multiple consecutive You have now joined lines are due to relogging following a crash and the extras must be ignored.
I used GNU awk from a command prompt to generate a CSV file with only the join and exit timestamps:
Then I load the chatlog.csv in a spreadsheet. Column C for all rows is set to be Bx-Ax, and then a SUM() of the C column is done after the last row. (yeah, it would be cleaner to get gawk to do the math also, but this was quicker to get first result)
If your chat.log is not enabled, you are s-o-l. If you did not leave the nests properly (ie did not relog after a crash), this probably skew the total in some way. Also, if you've done anything in a non-Feffox instance (beacons, feffoid cave, etc), you'll need to take time spent there into consideration.
The important lines from the chat.log have [Force] after the date and time on each line:
Code:
2013-04-27 03:57:27 [Force] [] You have now joined the Force chat channel.
2013-04-27 04:23:51 [Force] [] You have now joined the Force chat channel.
2013-04-27 04:37:18 [Force] [] You have now joined the Force chat channel.
2013-04-27 04:41:20 [Force] [] You have now joined the Force chat channel.
2013-04-27 04:44:16 [Force] [] You are no longer connected to the Force chat channel.
2013-04-27 16:54:17 [Force] [] You have now joined the Force chat channel.
2013-04-27 17:08:24 [Force] [] You have now joined the Force chat channel.
2013-04-27 18:06:49 [Force] [] You are no longer connected to the Force chat channel.
Multiple consecutive You have now joined lines are due to relogging following a crash and the extras must be ignored.
I used GNU awk from a command prompt to generate a CSV file with only the join and exit timestamps:
Code:
gawk "$3 ~ /Force/ { if ($8 ~ /joined/ && J == 0) { J=1; printf\"%s %s,\",$1,$2 } if ($9 ~ /connected/ && J == 1) { J=0; printf\"%s %s\n\",$1,$2} }" chat.log > chatlog.csv