Looking for a Greasemonkey script which parses the var players and var play_dat in the play by play source, and lists the position of players (and the ball) sorted by player first and frame second (whereas the html source data is sorted by frame first and player second).
Is there such a script?
To explain further what I mean, take for example take this play:
http://goallineblitz.com/game/replay.pl?game_id=521425&pbp_id=10778830The var play_dat has data for 16 frames times 22 players per frame, but all I want to know is the position of the ball and certain players.
So it could output something like:
ball
====
1-x: 90.25,y: 38.75,z: 4
2-x: 90.75,y: 39.25,z: 4
3-x: 91.5,y: 40,z: 4
...
16-x: 102.25,y: 29.5,z: 4
{'945567': {position : 'LOT', name : 'Shouzou \"Haaa\" Tokano'}
=====
1-x: 77,y: 35.5
2-x: 76.75,y: 35.25
3-x: 76.5,y: 34.75
...
16-x: 74,y: 31.25
And so on.