glbscripts.myfreeforum.org Forum Index glbscripts.myfreeforum.org
Forum dedicated to Greasemonkey Scripts made for Goal Line Blitz online game.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   Join! (free) Join! (free)
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Replay Rewrite
Page 1, 2, 3 ... 9, 10, 11  Next
 
Post new topic   Reply to topic    glbscripts.myfreeforum.org Forum Index -> Original Scripts
View previous topic :: View next topic  
Author Message
pabst
Developer


Joined: 23 Jun 2008
Posts: 235

PostPosted: Tue Aug 12, 2008 1:06 pm    Post subject: Replay Rewrite Reply with quote

This 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




Last edited by pabst on Sat May 02, 2009 3:33 pm; edited 11 times in total
Back to top
View user's profile Send private message
robertrjs



Joined: 12 Aug 2008
Posts: 7

PostPosted: Tue Aug 12, 2008 2:46 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
pabst
Developer


Joined: 23 Jun 2008
Posts: 235

PostPosted: Tue Aug 12, 2008 2:59 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
pabst
Developer


Joined: 23 Jun 2008
Posts: 235

PostPosted: Tue Aug 12, 2008 3:24 pm    Post subject: Re: Replay Rewrite Reply with quote

*double post*
Back to top
View user's profile Send private message
russdwright



Joined: 26 Jun 2008
Posts: 17
Location: NC

PostPosted: Tue Aug 12, 2008 7:30 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
pabst
Developer


Joined: 23 Jun 2008
Posts: 235

PostPosted: Tue Aug 12, 2008 8:45 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
lazloth



Joined: 13 Aug 2008
Posts: 2

PostPosted: Wed Aug 13, 2008 6:08 am    Post subject: Reply with quote

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!
Back to top
View user's profile Send private message
pabst
Developer


Joined: 23 Jun 2008
Posts: 235

PostPosted: Wed Aug 13, 2008 9:32 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
pabst
Developer


Joined: 23 Jun 2008
Posts: 235

PostPosted: Wed Aug 13, 2008 4:43 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
mw54finest
Site Admin


Joined: 22 Jun 2008
Posts: 160

PostPosted: Wed Aug 13, 2008 5:59 pm    Post subject: Reply with quote

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. Very Happy



_________________
Eat, Sleep, Live GLB!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    glbscripts.myfreeforum.org Forum Index -> Original Scripts All times are GMT - 6 Hours
Page 1, 2, 3 ... 9, 10, 11  Next
Page 1 of 11

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Card File  Gallery  Forum Archive
Powered by phpBB © 2001, 2005 phpBB Group
Create your own free forum | Buy a domain to use with your forum