pbr Game Scout

By pabst Last update Dec 8, 2010 — Installed 89,407 times.

Test Server

in
Subscribe to Test Server 2 posts, 2 voices



Jacob McCandles User

How about a version that works on the test server. Would be useful in collecting stats for testers to post actual results?

http://test.goallineblitz.com/game/game.pl?game...

Notice plays (except 1st one) are now numbered which is causing issues with the QB stats.

 
pabst Script's Author

More inconsistencies in the play-by-play. Hooray :-(

I'll make a proper update once the season starts. To patch it temporarily, find this block of code (line 1862'ish):

else if (cName.match("pbp_play") != null) {
	p.play = node.firstChild.data;

	var playText = p.play;
        while (playText.indexOf("[") != -1) {
                var startidx = playText.indexOf("[")+1;
                playText = playText.substring(startidx);

And change it to this:

else if (cName.match("pbp_play") != null) {
	p.play = node.firstChild.data;
        //add the following lines
        if (isNaN(parseInt(p.play)) == false) {
	        p.play = p.play.slice(p.play.indexOf(" "));
        }
        //add the previous lines

	var playText = p.play;
        while (playText.indexOf("[") != -1) {
                var startidx = playText.indexOf("[")+1;
                playText = playText.substring(startidx);

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel