The point tracker is done and added to my Grease Monkey script:
https://github.com/nutki/Goko-Live-Log-Viewer/raw/master/Goko_Live_Log_Viewer.user.js (needs Firefox with the Grease Monkey plugin).
I had some issues with tapping into the event stream to handle chat messages, so this may need more testing.
Current control are as follows:
'#vpon' on the chat or in the table name will turn point tracking for everybody using the script
'#vpoff' on the chat or in the table name will disable and prevent any user from turning on the point tracking in the current game (this is possible even if you don't have the script yourself).
I was thinking about adding a chat command to query the current point state for people who don't use the script, but eventually decided against since that would be most useful on the tablets, and Goko does not support chat there as far as I know.
The point tracking itself also has some issues. I tested it against 36740 post game logs from April 12th, and I know that the point counting is correct if the deck tracking went OK. However there are several cases where there is no easy way to track the deck contents based on the log events:
Fixed:
- Fortress is reported as thrashed, but actually it always(?) stays in the deck
- Spoils and Madman are not reported as thrashed when played
- possessed payer thrashed cards are not logged as returned to the deck
- Bishop does not report its vp chip gain
Still unresolved:
- Playing Throne or KC on Feast or Death Cart will report multiple thrashing, and it is quite hard to track in the log which of the plays are Throned
- Band of Misfits events are reported under the chosen card name so when it is thrashed from play it will not be recognized
- Trader when used as a reaction with empty Silver pile will cause a 'gain Curse' (or whatever other card was to be gained), although nothing is gained
- Counterfeit played on Spoils will thrash it twice (it is not reported but a result of my workaround).
Possible Goko bugs:
- When Outpost is played on the turn in which the game has ended it disappears from the deck
- When BoM is played on a duration card in the last turn of the game the duration card is added to the final deck
The differences will most of the time have no influence on the VP, since most of them would require also a victory card that cares about deck contents. Overall the current algorithm miscounted 22 results in 14 games over the 36K games sample.
Also that was all tested on post game logs, I know that in game logs are slightly different (cards drawn are hidden, treasures may be played in more than one log event etc.)