pabst
|
Replay RewriteThis is a fairly sever rewrite of the replay page. As a result, EVERY GREASEMONKEY SCRIPT which normally runs on the replay page will cease to function.
Adds the following:
1) scoreboard
2) individual player stats
3) automatic play changes (use checkbox to turn it off)
4) buttons to skip to the next possession change
5) owned player highlighting
6) play description is hidden until after the play runs
7) alternate graphics (not enabled by default; check the script variables)
8 ) better "camera" positioning (not enabled by default; check the script variables)
Known issues:
1) Every other script which runs on the replay page will cease to function. This is unavoidable due to the rewrite of the replay page.
2) Reloading the page will reload the first play you watched, not the current play. There's a link to the current play by the down&distance.
3) I try to point out who blew their coverage or blocking assignments when appropriate. I'm not always right, especially on very short passes.
Firefox 3 only.
http://userscripts.org/scripts/show/31640
|
robertrjs
|
Will there be a way to bring back the player icon for this new replay page?
BTW, love the new script, thanks for your hard work.
|
pabst
|
| robertrjs wrote: | Will there be a way to bring back the player icon for this new replay page?
BTW, love the new script, thanks for your hard work. |
If you mean the icons that change all the dots to players, I might have to modify the script to work first. I haven't looked at it.
If you mean the circular icon just for your player, what you have to do is edit my highlight script. You downloaded it as part of this script, but you can't edit it by hitting greasemonkey's edit button since it's in a different file. The code is in a file named 31566user.js and it's in the same directory as the main script. Edit line 142 to add the image.
|
pabst
|
Re: Replay Rewrite*double post*
|
russdwright
|
| pabst wrote: | | robertrjs wrote: | Will there be a way to bring back the player icon for this new replay page?
BTW, love the new script, thanks for your hard work. |
If you mean the icons that change all the dots to players, I might have to modify the script to work first. I haven't looked at it.
If you mean the circular icon just for your player, what you have to do is edit my highlight script. You downloaded it as part of this script, but you can't edit it by hitting greasemonkey's edit button since it's in a different file. The code is in a file named 31566user.js and it's in the same directory as the main script. Edit line 142 to add the image. |
FYI ... if you use Notepad++ for your editor, it is line 146. Just thought I'd throw that out there
BTW, I love this new script! It gives me everything I could possibly want in one well-designed layout. The only complaint I have is that the icon for my player doesn't change until the play starts, but that's a minor thing.
One question: what line(s) to I change to modify how my player's name is set off? Right now, it is black, but I'd rather set it to a different color and maybe even make the font size a little bigger.
|
pabst
|
| russdwright wrote: | | pabst wrote: | | robertrjs wrote: | Will there be a way to bring back the player icon for this new replay page?
BTW, love the new script, thanks for your hard work. |
If you mean the icons that change all the dots to players, I might have to modify the script to work first. I haven't looked at it.
If you mean the circular icon just for your player, what you have to do is edit my highlight script. You downloaded it as part of this script, but you can't edit it by hitting greasemonkey's edit button since it's in a different file. The code is in a file named 31566user.js and it's in the same directory as the main script. Edit line 142 to add the image. |
FYI ... if you use Notepad++ for your editor, it is line 146. Just thought I'd throw that out there
BTW, I love this new script! It gives me everything I could possibly want in one well-designed layout. The only complaint I have is that the icon for my player doesn't change until the play starts, but that's a minor thing.
One question: what line(s) to I change to modify how my player's name is set off? Right now, it is black, but I'd rather set it to a different color and maybe even make the font size a little bigger. |
I fixed a bug in the highlight script today which is what moved it down a few lines. The text color line is now 149ish. Right now the color is determined by the players position on the home page so different players on the same team will generally have different colors. Get rid of the '"color:"+color' and just use "color:red", "color:green", etc. if you want them all a particular color. To change to a 16pt font: "font-size:16pt;color:whatever;".
| Code: | if (l.href.match("player_id="+p) != null) {
l.setAttribute("style","color:"+color); <-- modify me
} |
The first down marker appears after the play starts as well. For some reason I get it in the wrong place if I show it before the play starts. Therefore, I had to run all the secondary scripts after the play starts. I'll figure out why eventually.
|
lazloth
|
It took me less than half a quarter to get used to it, and I'm sold. What an absolutely phenomenal script.
Two suggestions, if you're taking them:
* [PAUSE] button in the event someone wants to watch a play over or needs to break for a second.
* [COPY URL] function that saves current play to clipboard or at least display the pbp url. (Maybe I'm crazy, but believe the iteration was encapsulated.)
Thanks for your hard work!
|
pabst
|
| lazloth wrote: | It took me less than half a quarter to get used to it, and I'm sold. What an absolutely phenomenal script.
Two suggestions, if you're taking them:
* [PAUSE] button in the event someone wants to watch a play over or needs to break for a second.
* [COPY URL] function that saves current play to clipboard or at least display the pbp url. (Maybe I'm crazy, but believe the iteration was encapsulated.)
Thanks for your hard work! |
The pause button on the page does actually work, you just have to time it right. Replacing it is tricky, but I plan on doing that as it is a pain in the ass, especially since the timing gets a little screwy sometimes.
The copy url bit seems doable so I'll look into that too.
|
pabst
|
Made a few updates:
a play timing adjustment
fixed a player list update bug
the link to the play is now listed next to the down and distance
highlighting & first down scripts are now run immediately
the player lists are marked to show who currently has the ball
|
mw54finest
|
Wow, pabst! I didn't think it was possible to out-do your scouting script, but this is damn close. Thanks and I am yet again impressed.
|
jkf296
|
Wow. I'm truly amazed.
Great job.
Thanks!
|
robertrjs
|
| pabst wrote: | | robertrjs wrote: | Will there be a way to bring back the player icon for this new replay page?
BTW, love the new script, thanks for your hard work. |
If you mean the icons that change all the dots to players, I might have to modify the script to work first. I haven't looked at it.
If you mean the circular icon just for your player, what you have to do is edit my highlight script. You downloaded it as part of this script, but you can't edit it by hitting greasemonkey's edit button since it's in a different file. The code is in a file named 31566user.js and it's in the same directory as the main script. Edit line 142 to add the image. |
hmm..I seem to be lost.
I used to have my guy (I only have 1) as a red dot or http://www.maploco.com/maps/dots/red-circle.png
I went to line 42 and played around but I don't know how to incorporate this.
This was my line 142:
Mind directing me a little more specific? Kind of a noob with this stuff and learning the ropes.
|
robertrjs
|
lawl, I just took the old script and added it in after line 142.
| Code: | window.setTimeout( function()
{
if(document.getElementById('381020')){
document.getElementById('381020').innerHTML = '<img src="http://www.maploco.com/maps/dots/red-circle.png">';
}
}
) |
seemed to work. heh, well at least i did something on my own, sort of.
He's also that image before the snap too. cool.
|
pabst
|
For posterity's sake, this is the section you're looking for. The line which adds the color is at 158 in this version. If you'd prefer the version with the dot, either delete line 158 or put 2 slashes in front of it ('//'). Then, remove the slashes in front of line 159. Yes, the line numbers move around due to changes in the code.
| Code: |
149 if (inetAddress.match("replay.pl") != null) {
150 // ----- on a replay page --------
151 for (var i=0; i<myPlayers.length; i++) {
152 var p = myPlayers[i].id;
153 if (document.getElementById(p+"")) {
154 var color = getColor(i);
155 document.getElementById(p+"").style.backgroundColor = color;
156 for each (var l in document.links) {
157 if (l.href.match("player_id="+p) != null) {
158 l.setAttribute("style","color:"+color+";font-weight:bold");
159 //document.getElementById(p+"").innerHTML = '<img src="http://www.maploco.com/maps/dots/red-circle.png">';
160 }
161 }
162 }
163 }
164 }
|
|
travo66
|
This is a great script and I really want to use it. After I installed it, it worked. But it seems like after I closed the browser (I also installed the countdown script) it stopped working. Now when I go to the "watch" page, it has the regular play by play. Any solutions?
|
pabst
|
| travo66 wrote: | | This is a great script and I really want to use it. After I installed it, it worked. But it seems like after I closed the browser (I also installed the countdown script) it stopped working. Now when I go to the "watch" page, it has the regular play by play. Any solutions? |
Click Tools/Greasemonkey/Manage User Scripts. Are the scripts still listed on the left? If not, you may have uninstalled them somehow. Reinstall them and see if they disappear again.
Right click the monkey in the status bar and make sure Enabled is checked.
On any page where a greasemonkey script is supposed to run, right-clicking the monkey will tell you which scripts are on that page. Make sure each script you want to run has a check next to it.
|
travo66
|
| pabst wrote: | | travo66 wrote: | | This is a great script and I really want to use it. After I installed it, it worked. But it seems like after I closed the browser (I also installed the countdown script) it stopped working. Now when I go to the "watch" page, it has the regular play by play. Any solutions? |
Click Tools/Greasemonkey/Manage User Scripts. Are the scripts still listed on the left? If not, you may have uninstalled them somehow. Reinstall them and see if they disappear again.
Right click the monkey in the status bar and make sure Enabled is checked.
On any page where a greasemonkey script is supposed to run, right-clicking the monkey will tell you which scripts are on that page. Make sure each script you want to run has a check next to it. |
The script is still listed on the left...I tried uninstalling it and reinstalling it, but the same thing happened. On the main page, when I right click the monkey in the status bar, the replay rewrite is checked, but when I go to watch game, only pbr highlight is checked and replay rewrite doesn't even appear on the menu. Is there another script that could be interfering?
|
pabst
|
| travo66 wrote: | | The script is still listed on the left...I tried uninstalling it and reinstalling it, but the same thing happened. On the main page, when I right click the monkey in the status bar, the replay rewrite is checked, but when I go to watch game, only pbr highlight is checked and replay rewrite doesn't even appear on the menu. Is there another script that could be interfering? |
Are both of the following lines listed in the included pages list for the rewrite script?
| Code: | http://goallineblitz.com/game/replay.pl?game_id=*&pbp_id=*
http://goallineblitz.com/game/home.pl |
Is gametime countdown checked on the main page as well?
|
travo66
|
Are both of the following lines listed in the included pages list for the rewrite script?
| Code: | http://goallineblitz.com/game/replay.pl?game_id=*&pbp_id=*
http://goallineblitz.com/game/home.pl |
Is gametime countdown checked on the main page as well?[/quote]
Yes, both those lines are in the included pages list...and the countdown is checked on the main page also. So is player highlight (on the main page).
|
pabst
|
| travo66 wrote: | | Yes, both those lines are in the included pages list...and the countdown is checked on the main page also. So is player highlight (on the main page). |
Are you trying to watch the game through the watch game link on the home page or are you clicking on the first replay of the game? It won't start until it gets to an actual replay.
If you're actually on a replay page, your greasemonkey install is most likely damaged or incomplete. Did the browser crash when you shut it down right after installing? You'll have to uninstall & reinstall greasemonkey.
|
travo66
|
| pabst wrote: | | travo66 wrote: | | Yes, both those lines are in the included pages list...and the countdown is checked on the main page also. So is player highlight (on the main page). |
Are you trying to watch the game through the watch game link on the home page or are you clicking on the first replay of the game? It won't start until it gets to an actual replay.
If you're actually on a replay page, your greasemonkey install is most likely damaged or incomplete. Did the browser crash when you shut it down right after installing? You'll have to uninstall & reinstall greasemonkey. |
Wow...sorry for wasting your time! I must've totally forgot that I did that the first time I watched a replay...thanks a lot for all the help and great script!
|
blamand
|
Great script. Thanks!
The only thing i miss is the YAC. http://glbscripts.myfreeforum.org/about52.html
Any chance that it could be implemented in this one?
|
pabst
|
Eventually.
|
pabst
|
Done.
|
blamand
|
That was fast!
Thanks at lot!!
|
blamand
|
One small question...
Is it possible to have the script start without the autoreplay marked?
|
pabst
|
| blamand wrote: | One small question...
Is it possible to have the script start without the autoreplay marked? |
Edit the script. There's a variable called autoplay at the top. Set it to false.
|
blamand
|
That works fine!
Thanks once again.
|
robertrjs
|
Some bugs I noticed:
If you go to previous play in which a score was made (FG or TD), the score doesn't go back and then it is double counted. It then will say 14-0 when it's 7-0 after watching the play again, for instance.
I realized this after I watched a certain play multiple times and the score ballooned.
I noticed QB stats start to fluctuate. I think they reset if you go to a previous play, but this problem doesn't happen with other positions that I noticed. I dunno what happened, tbh. I watched a game uninterupted once and nothing happened and another game I went to the previous play numerous times and later noticed QB stats all of a sudden became like 3/6 in the 4th when they were more like 15/27. Didn't test to see the actual culprit, so that's just my guess.
|
pabst
|
| robertrjs wrote: | Some bugs I noticed:
If you go to previous play in which a score was made (FG or TD), the score doesn't go back and then it is double counted. It then will say 14-0 when it's 7-0 after watching the play again, for instance.
I realized this after I watched a certain play multiple times and the score ballooned.
|
I know about this one. It's a synchronization problem between the threads. One is trying to go forward while the other is trying to go backwards and the old thread is finishing before the signal to cancel gets there. Hitting the replay link to the current play will fix it for the time being.
| robertrjs wrote: | | I noticed QB stats start to fluctuate. I think they reset if you go to a previous play, but this problem doesn't happen with other positions that I noticed. I dunno what happened, tbh. I watched a game uninterupted once and nothing happened and another game I went to the previous play numerous times and later noticed QB stats all of a sudden became like 3/6 in the 4th when they were more like 15/27. Didn't test to see the actual culprit, so that's just my guess. |
This might be related to the previous bug. I haven't noticed it yet, but I'll keep an eye out for it.
|
rcillig
|
wow this is amazing!
|
Iaznab
|
I had to register to just thank you for the great script. It took into account the few scripts I was already running, and added the few things I had wanted, and then added a few things that I Love but hadn't even thought of.
Quick question - There is a Pancake Script floating about, which is not entirely stable as it will show incorrect information, but it gives you enough to figure out that Player A pancaked someone. Anyway to incorporate that or that stat?
And lastly, can someone either explain what the different stats are that this is tracking(ie.. what is a Stop? I think I get what a Trgt is) or where I can find this information? I'm still pretty new to GLB so I have a bit of learning ahead of me still.
Oh, while I"m wishful thinking here, is there anyway to colorize the output of the play a bit to break up the information?
maybe color code a miss tackle, interception, etc to help break it up? Anyway I keep asking for more, when what you gave us is great anyway!
|
pabst
|
| Iaznab wrote: | I had to register to just thank you for the great script. It took into account the few scripts I was already running, and added the few things I had wanted, and then added a few things that I Love but hadn't even thought of.
| I try
| Iaznab wrote: | Quick question - There is a Pancake Script floating about, which is not entirely stable as it will show incorrect information, but it gives you enough to figure out that Player A pancaked someone. Anyway to incorporate that or that stat?
|
Because of the way the pancakes are calculated I can't keep a running tally of them. At best, I can put the script's output somewhere on the bottom of the screen. I've already downloaded the script to do it. I just haven't gotten around to it yet.
| Iaznab wrote: | And lastly, can someone either explain what the different stats are that this is tracking(ie.. what is a Stop? I think I get what a Trgt is) or where I can find this information? I'm still pretty new to GLB so I have a bit of learning ahead of me still.
|
A stop basically means that you've prevented the offense from gaining meaningful yardage. Allowing 2 yards on 1st & 10 will get you a stop. Allowing 2 yards on 2nd & 2 will not. It's just something to show you who's making plays and who's padding their stats after giving up too much yardage. Defeats are tackles for loss or a stop which occurs on 3rd or 4th down.
| Iaznab wrote: | Oh, while I"m wishful thinking here, is there anyway to colorize the output of the play a bit to break up the information?
maybe color code a miss tackle, interception, etc to help break it up? Anyway I keep asking for more, when what you gave us is great anyway! |
One of the earliest versions I wrote did that. All the colors were actually kind of annoying to me. I can add the code back in as an option when I get some time.
|
Bushido
|
Ok..
I have Firefox 3.0.1
I downloaded the script
I clicked on it, and opened it.
I opened GLB, but when I go to the replay screen. It is still the default replay screen, and not the picture you show in this thread.
How do I get it to work?
|
pabst
|
| Bushido wrote: | Ok..
I have Firefox 3.0.1
I downloaded the script
I clicked on it, and opened it.
I opened GLB, but when I go to the replay screen. It is still the default replay screen, and not the picture you show in this thread.
How do I get it to work? |
What do you mean "opened it"? Greasemonkey should install it. You shouldn't open it at all. Most likely, your greasemonkey install is screwed up. Try reinstalling greasemonkey and then install the script again.
|
Usama
|
I created an account just because this script is so amazing. Thank you, Pabst.
Is there a way to shorten the time delay between each play, when using autoplay?
|
pabst
|
| Usama wrote: | | I created an account just because this script is so amazing. Thank you, Pabst. | Your welcome.
| Usama wrote: | | Is there a way to shorten the time delay between each play, when using autoplay? | You'll have to edit the script. Near the top there are 2 variables: predelay & postdelay. Just make them smaller.
|
Usama
|
| pabst wrote: | | Usama wrote: | | I created an account just because this script is so amazing. Thank you, Pabst. | Your welcome.
| Usama wrote: | | Is there a way to shorten the time delay between each play, when using autoplay? | You'll have to edit the script. Near the top there are 2 variables: predelay & postdelay. Just make them smaller. |
Awesome, I went in and used Ctrl+F to edit with Notepad. I also noticed other variables with false, true, and null options. Looks there is a lot that can be customized.
|
Gazeruth
|
Pabst - You are my hero, this rewrite is BRILLIANT!.
Quick question - How did you find a way to find out which CB was covering the WR who the QB was passing to?
I'm hoping that if I can find that out, there'll be a way to figure out stats for CBs.. such as:
CB1: Times WR Targetted | Completed | Deflected | Incomplete | % completed
7 4 2 1 57
Any thoughts?
|
robertrjs
|
I forget, how do I turn off the highlighting?
Thanks in advance.
|
Iaznab
|
| robertrjs wrote: | I forget, how do I turn off the highlighting?
Thanks in advance. |
Find this line near the top of the script, and change true to false
| Code: | | var highlightPlayers = true; |
|
robertrjs
|
many thanks!
|
pabst
|
| Usama wrote: | | Awesome, I went in and used Ctrl+F to edit with Notepad. I also noticed other variables with false, true, and null options. Looks there is a lot that can be customized. |
You can only mess with these:
var highlightPlayers = true;
var autoplay = false;
var preDelay = 3000;
var postDelay = 4500;
The rest are true/false/null/-1 for a reason
|
pabst
|
| Gazeruth wrote: | | Quick question - How did you find a way to find out which CB was covering the WR who the QB was passing to? |
I'm basically measuring the distance between all the players for every frame of the replay until the pass is thrown. Distances closer to the time the ball is thrown are weighted more heavily than the distances earlier in the play. The big problem is, it's not always correct, especially on very short passes. On those plays the running backs/tight ends are running through defensive lineman so the linebacker who should be in coverage hasn't been in the area long enough to be promoted to the primary defender. I haven't come up with a way around this problem yet other than automatically eliminating defensive linemen as pass defenders.
Since I need the actual replay to calculate distances, tallying numbers for everyone isn't possible unless you're willing to watch the entire game first (and deal with a few other considerable problems as well). I won't be writing a standalone script just to fetch the replays and calculate everything because the server load will be too severe.
|
shadowmane
|
How do you get this to play with "Replay Graphics 1.2.1"? I like having my little figures running around on the field, and it would be the only thing keeping this from being totally awesome.
|
pabst
|
| shadowmane wrote: | | How do you get this to play with "Replay Graphics 1.2.1"? I like having my little figures running around on the field, and it would be the only thing keeping this from being totally awesome. |
Open the replay graphics script and the highlight script that comes with the rewrite script (it'll be called 31566user.js). Replace the contents of the highlight script with the graphics script.
Then, change this: | Code: | window.setTimeout( function()
{
| to this: | Code: | function pbr_replay_highlight_main()
{ | and delete the parenthesis at the end of the script. Watch more than one play and it should work after that.
|
shadowmane
|
I can't find 31566user.js. Where is it found?
|
Iaznab
|
| shadowmane wrote: | | I can't find 31566user.js. Where is it found? |
(These are your computer Specific names)
| Code: | | C:\Documents and Settings\(Your Username)\Application Data\Mozilla\Firefox\Profiles\(Your FireFox Profile Name)\gm_scripts\replay_rewrite |
|
Cronus6
|
What happened here?
http://goallineblitz.com/game/rep...game_id=192678&pbp_id=1587135
It adds a 7 to the score board but also kept the little '-' in front of it, and when I clicked on Next Play (I don't use the auto advance) the score for the second quarter is back to zero.
EDIT:
Nevermind, must have been some sort of glitch, disabling and re-enabling the script fixed it.
|
pabst
|
| Cronus6 wrote: | What happened here?
http://goallineblitz.com/game/rep...game_id=192678&pbp_id=1587135
It adds a 7 to the score board but also kept the little '-' in front of it, and when I clicked on Next Play (I don't use the auto advance) the score for the second quarter is back to zero.
EDIT:
Nevermind, must have been some sort of glitch, disabling and re-enabling the script fixed it. |
For future reference: the initial release of the script was very susceptible to this problem (the score was actually a negative 7). One of the buggy versions is most likely what you're using. If you are using the most recent version, then it's some crazy corner case I haven't thought of yet.
|
Cronus6
|
Thanks for the reply pabst.
Running: // @version 08.08.22
|
pabst
|
| Cronus6 wrote: | Thanks for the reply pabst.
Running: // @version 08.08.22 | The version isn't the problem then. And, of course, I can't get mine to do this at all. Probably some obscure corner case then. I'll keep an eye out for it.
|
StazNasty
|
Any thoughts about including the play by play graphic upgrades listed in the forums? I saw a screen shot of the replay rewrite to include the textured field and updated player icons...
|
pabst
|
| StazNasty wrote: | | Any thoughts about including the play by play graphic upgrades listed in the forums? I saw a screen shot of the replay rewrite to include the textured field and updated player icons... |
I'll release it eventually. My copy of rewrite has a few other changes to it which I have to remove first. To anyone wanting to change the field, you have to do this:
Go to the restructureInfo() function (line 65'ish) and add this:
| Code: | var field = document.getElementById("replay_area");
if (field != null) {
field.style.backgroundImage = "url(http://img362.imageshack.us/img362/9571/fieldnewindexednq2.png)";
} |
Change the address to whatever field image you want to use. If the image isn't the same size as the default GLB field, none of the yard lines will line up anymore so you can't use just anything. You'll have to wait on the player icons as they require a bit more work.
*as of 9/26/08 this should no longer be necessary*
Redownload and edit the variables at the top of the script to turn on the alternate fields and alternate players. Field image url's are listed at line 85'ish. Just delete the ones you don't want.
|
shadowmane
|
Thanks for the help. The script works great now.
|
StazNasty
|
| pabst wrote: | | StazNasty wrote: | | Any thoughts about including the play by play graphic upgrades listed in the forums? I saw a screen shot of the replay rewrite to include the textured field and updated player icons... |
I'll release it eventually. My copy of rewrite has a few other changes to it which I have to remove first. To anyone wanting to change the field, you have to do this:
Go to the restructureInfo() function (line 65'ish) and add this:
| Code: | var field = document.getElementById("replay_area");
if (field != null) {
field.style.backgroundImage = "url(http://img362.imageshack.us/img362/9571/fieldnewindexednq2.png)";
} |
Change the address to whatever field image you want to use. If the image isn't the same size as the default GLB field, none of the yard lines will line up anymore so you can't use just anything. You'll have to wait on the player icons as they require a bit more work.
*as of 9/26/08 this should no longer be necessary*
Redownload and edit the variables at the top of the script to turn on the alternate fields and alternate players. Field image url's are listed at line 85'ish. Just delete the ones you don't want. |
Beast mode. So now I just have to redownload the script and everything (including new player dots, and new field) are all good to go?
|
StazNasty
|
Do you have a list of the black player images that GG created?
|
Cronus6
|
| StazNasty wrote: |
Beast mode. So now I just have to redownload the script and everything (including new player dots, and new field) are all good to go? |
No just download the new version of the script. The images are hosted elsewhere (imageshack).
And edit the script to turn on the custom field and/or players.
| Code: |
// ---------- main ----------------
// you can modify the following variables
var highlightPlayers = true;
var autoplay = false;
var preDelay = 3000;
var postDelay = 4500;
var alternateField = false;
var alternatePlayers = false;
var alwaysPause = false;
var alwaysShowPlayText = false;
// you can modify the previous variables
|
Change alternateField and alternatePlayers to true
| StazNasty wrote: | | Do you have a list of the black player images that GG created? |
Last time I checked GG only did a single player dot in black (WR I think).
|
GG
|
The newest dark blue and yellow players with the black border around them, I've put inside the GLB folder on my photobucket account. No need to change the script. The new ball is also in there called ball.gif
I also did black (offensive) and red (defensive) players and the folder for that is...
http://i10.photobucket.com/albums/a136/ggakma/GLB/REDBLACK/
|
vikesully
|
I don't know if this is a problem with anybody else's, but it is worth mentioning. The scoreboard at the top of the rewrite, in all of the games I have seen, puts the winning team's score in bold as soon as the first score happens.
That gives the game away if you know about it. If that could be fixed, I'm sure many would greatly appreciate it!
|
pabst
|
| vikesully wrote: | I don't know if this is a problem with anybody else's, but it is worth mentioning. The scoreboard at the top of the rewrite, in all of the games I have seen, puts the winning team's score in bold as soon as the first score happens.
That gives the game away if you know about it. If that could be fixed, I'm sure many would greatly appreciate it! |
Redownload. I think I know what's causing it, but I don't know for sure since I don't see this at all.
|
vikesully
|
| pabst wrote: | | vikesully wrote: | I don't know if this is a problem with anybody else's, but it is worth mentioning. The scoreboard at the top of the rewrite, in all of the games I have seen, puts the winning team's score in bold as soon as the first score happens.
That gives the game away if you know about it. If that could be fixed, I'm sure many would greatly appreciate it! |
Redownload. I think I know what's causing it, but I don't know for sure since I don't see this at all. |
Download fixed it. Thanks a bunch!
|
russdwright
|
I know there was a place where you could get other icons of various colors and types. Anyone remember where that is?
|
TinMan
|
Season 7 changesDoes anyone else notice that only one of your players is highlighted? I have 3 players in the game and only my FB is his own color. It actually doesn't matter if he's in the game or not and he happens to be my first player on my home screen.
Is there an update to this script?
|
Morid
|
The new fix today does not allow plays to finish.
Also I don't think the speed issue is script related.
|
Kirghiz
|
| Morid wrote: | The new fix today does not allow plays to finish.
Also I don't think the speed issue is script related. |
Mostly the not allowing plays to finish issues shows up on special teams plays and long developing offensive plays. Most plays are fine, just ones that last longer are effected.
|
pabst
|
| Morid wrote: | The new fix today does not allow plays to finish.
Also I don't think the speed issue is script related. |
Neither do I. It looks like the plays can't finish because the browser isn't drawing them fast enough. On slow computers, the script counts out the frames like normal, but the graphics never seem to draw at the same speed. Once the players are removed from the field after the last frame is read, everything starts over. Since the actual drawing on the screen is 10 frames behind, it looks like it never finished. If you get the newest version and set your frame rate back to 10, everything seems to work perfectly again.
|
Kirghiz
|
| pabst wrote: |
Neither do I. It looks like the plays can't finish because the browser isn't drawing them fast enough. On slow computers, the script counts out the frames like normal, but the graphics never seem to draw at the same speed. Once the players are removed from the field after the last frame is read, everything starts over. Since the actual drawing on the screen is 10 frames behind, it looks like it never finished. If you get the newest version and set your frame rate back to 10, everything seems to work perfectly again. |
In my case it has nothing to do with the computer being too slow and it does it anyway. Trust me, my computer can run this.
|
pabst
|
| Kirghiz wrote: | | pabst wrote: |
Neither do I. It looks like the plays can't finish because the browser isn't drawing them fast enough. On slow computers, the script counts out the frames like normal, but the graphics never seem to draw at the same speed. Once the players are removed from the field after the last frame is read, everything starts over. Since the actual drawing on the screen is 10 frames behind, it looks like it never finished. If you get the newest version and set your frame rate back to 10, everything seems to work perfectly again. |
In my case it has nothing to do with the computer being too slow and it does it anyway. Trust me, my computer can run this. |
You're drastically underestimating just how much overhead is involved in having firefox do the drawing. If this were in OpenGL or DirectX or something, the animation is so simple that your frame rate should be in the thousands. Even the java renderer I wrote can get the frame rate into the low hundreds before it drops frames and it's not hardware accelerated in any way. Because of the way the animation works, there's no way to keep a stable frame rate which I'm pretty sure is the culprit of all of this.
|
Kirghiz
|
| pabst wrote: |
You're drastically underestimating just how much overhead is involved in having firefox do the drawing. If this were in OpenGL or DirectX or something, the animation is so simple that your frame rate should be in the thousands. Even the java renderer I wrote can get the frame rate into the low hundreds before it drops frames and it's not hardware accelerated in any way. Because of the way the animation works, there's no way to keep a stable frame rate which I'm pretty sure is the culprit of all of this. |
I'd say you are on to something with the problem being a stable frame rate, and the problem is in Firefox itself, because this can't be totally hardware related. All I am saying is that it isn't a problem just on slower computers because without going into specific hardware, my system is easily in the top 5% of computer systems spec wise playing GLB as I am sure yours is too.
|
SeattleNiner
|
Plus - when you play the replay KR on fast forward you get the whole play just really fast
|
pabst
|
| SeattleNiner wrote: | | Plus - when you play the replay KR on fast forward you get the whole play just really fast |
Yes, it's fast, but the timing is all wrong. If you try to enforce the correct timing, then on many computers, the browser fails miserably. Currently, the choice seems to be draw it as fast as the computer can manage or as slow as the computer wants to.
I'm working on figuring out where the overhead is coming from, but whether I can gain enough speed, I don't know yet.
|
Morid
|
The overhead is the New Improved Replay. Something in his coding has an error.
|
pabst
|
I've uploaded a version today which should fix the skipping problems and removes as much of the frame calculations as I can get away with. If you still can't run at 20fps, then you're most likely screwed because I don't see any more optimizations to make.
This version does break the ability to hide play descriptions. Haven't figured out where that problem comes from yet.
|
SeattleNiner
|
| pabst wrote: | I've uploaded a version today which should fix the skipping problems and removes as much of the frame calculations as I can get away with. If you still can't run at 20fps, then you're most likely screwed because I don't see any more optimizations to make.
This version does break the ability to hide play descriptions. Haven't figured out where that problem comes from yet. |
Is there any way to get the previous version? I installed this one and on most plays there is a "hiccup" or 2 at some point during the replay which is very distracting. With that & the play description showing up I'd rather go back to the previous version.
And sorry Pabst if it sounds like I'm complaining - I know you are working hard on this & not getting paid so I really appreciate it.
|
Falanor
|
You can always set your profile to view the replays in a 10 FPS mode, helps out considerably.
|
SeattleNiner
|
Also it appears that the fast forward & pause buttons are now broken.
|
pabst
|
| SeattleNiner wrote: | | pabst wrote: | I've uploaded a version today which should fix the skipping problems and removes as much of the frame calculations as I can get away with. If you still can't run at 20fps, then you're most likely screwed because I don't see any more optimizations to make.
This version does break the ability to hide play descriptions. Haven't figured out where that problem comes from yet. |
Is there any way to get the previous version? I installed this one and on most plays there is a "hiccup" or 2 at some point during the replay which is very distracting. With that & the play description showing up I'd rather go back to the previous version.
And sorry Pabst if it sounds like I'm complaining - I know you are working hard on this & not getting paid so I really appreciate it. |
If you click the link on the download site to view the source, there's a link on that page to see previous versions.
http://userscripts.org/scripts/versions/31640
|
pabst
|
| SeattleNiner wrote: | | Also it appears that the fast forward & pause buttons are now broken. |
I'm aware of that one. I threw out all of Bort's code which included the forward & rewind buttons.
|
pabst
|
| Falanor wrote: | | You can always set your profile to view the replays in a 10 FPS mode, helps out considerably. |
Amen to that.
|
SeattleNiner
|
Thanks!
|
pabst
|
Rewind/Fast Forward should be working again. Hidden play descriptions is still broken.
|
Iaznab
|
| pabst wrote: | | Falanor wrote: | | You can always set your profile to view the replays in a 10 FPS mode, helps out considerably. |
Amen to that. |
So in your opinion what should we be doing currently for the best viewing.
Select 10fps and run What version of your Script? I'm still a version behind the one that shows the play outcome as that's one of the things I loved about your script
|
pabst
|
The best thing to do is use the most recent version at 10fps if necessary, and just don't read the descriptions. I hate it too, but I don't have much choice right now.
|
madmatg
|
woowothis is amazing, im new here and i realy ienjoy this scripe. thanks alot
|
StazNasty
|
http://goallineblitz.com/game/rep...game_id=376939&pbp_id=2503510
Run the replay in slow motion with the ReWrite. It seems that the football possession indicator disappears when a player is executing a fake?
|
pabst
|
I don't know. It certainly isn't intentional, but it's a possibility I guess.
|
StazNasty
|
Update on this with new color changes?
|
pabst
|
| StazNasty wrote: | | Update on this with new color changes? |
Should be done already.
|
thebigcali
|
Player position text (QB, HB, etc) disappears when players get pancaked or miss a tackle... Also loses team color formatting, or at least the outline edge secondary color.
|
pabst
|
| thebigcali wrote: | | Player position text (QB, HB, etc) disappears when players get pancaked or miss a tackle... Also loses team color formatting, or at least the outline edge secondary color. |
That's the intended behavior. If you'd like them to shrink again, edit the script and change the showShrinkAnimation variable from false to true.
|
Iaznab
|
Why do the stats seem to reset themselves as the game goes on? Especially for QB? Or am I just missing a variable setting?
|
pabst
|
| Iaznab wrote: | | Why do the stats seem to reset themselves as the game goes on? Especially for QB? Or am I just missing a variable setting? |
Never seen this before. Does it do this for specific games or something?
|
Iaznab
|
Not at all. It seems to do it by Quarters on occasion. It'll keep the defense's information, and most of the Offense, but the QB's will all of sudden show nothing, then start over. 1/1, etc.
|
Morid
|
I have noticed the Test DAI has an issue with SG 5 WR. Is this a known issue?
|
pabst
|
| Morid wrote: | | I have noticed the Test DAI has an issue with SG 5 WR. Is this a known issue? |
You have to send me a link to the play or check the error log for the settings which the script used. It'll print out formation/score/time/etc which you can put into your ai tester to check the results manually.
|
Gazeruth
|
Quick suggestion for this.. dunno if it's in the works but would it be possible to change the speed the replays show at... useful for scouting and stuff.. maybe play at 1/4, 1/2 and 3/4 speed....
|
KrazyKarl
|
Amazing Script!
Is there a way to add highlighting of additional players? I want to add my brothers guys as well. Thanks.
|
coachtabales
|
The new update looks to have a minor bug in it (or at least it did for me). On replays the first down marker is the only marker out there, and it doesn't move from the 50 yard line. I did an update at first, then I uninstalled and did a reinstall; same problem.
|
coachtabales
|
| coachtabales wrote: | | The new update looks to have a minor bug in it (or at least it did for me). On replays the first down marker is the only marker out there, and it doesn't move from the 50 yard line. I did an update at first, then I uninstalled and did a reinstall; same problem. |
Nevermind. I found the other parts. Thanks
|
|
|