User Pass
Home Sign Up Contact Log In
Forum > Goal Line Blitz > Greasemonkey Scripts > Greasemonkey Scripts (original thread)
Page:
 
Link
 
Originally posted by RandomBeast
Originally posted by Wrath Of Conor

Is it possible to write a script that affects the depth chart screen? Specifically to make the middle window larger so it shows more than just three players?

It's annoying being an owner and trying to set up certain aspects of the depth chart like ST where you need to add so many guys and the window only shows 3.


Here's the script: http://userscripts.org/scripts/show/28566


Thanks, that's killer.
 
xScREaMx
offline
Link
 
A script that forces every build to be open and only for me
 
RandomBeast
offline
Link
 
I wrote that one, but I'm not distributing it
 
Gazeruth
offline
Link
 
Originally posted by Gazeruth
Hey all, firstly kudos to the guys writing these scripts, they're brilliant!

Anyone know how difficult it would be to make a script to display the current score on the Replay pages?

I like to watch the games play-by-play but watching the replays.. but I kinda lose track of the score at time.. would it be possible to do?

Cheers again all!


Anyone have any idea if this is possible?
 
RandomBeast
offline
Link
 
That would probably be very difficult, because the replay doesn't have access to that info - so it would have to go back and retrieve the full pbp, then calculate the score up to the point of the replay - which is complicated.
 
Link
 
Originally posted by 3ball
I just finally started loading some of this stuff up today. Awesome! I'm not good at scripting, so anything that requires tweaking with my own players, etc., probably won't get used. Thank you to all of you guys that are making these though. Great additions.

Is it possible to create something so team owners can message all of the teams players at once?


yes, but it would require you inserting the body of the message into the script, every player on your team, and pressing the "send" button after every "auto-completion".

Originally posted by Cybershot
Is it possible to make a script that would hide the CPU Team forums at the bottom of the Main Forums page? I have having 10 of them, when I only post in about 3 or 4.


i'll take a look at this. i think that would be very useful to a lot of people.

Originally posted by scarletmbb
I'll say this, all the extensions that Cronus has suggested are pretty awesome


agreed. awesome extensions always seem to find their ways into cronus's posts. lol

Originally posted by rlgillespie
How about a script that would allow you to show the replays in order automatically.


do you mean like something that would show all of the replays one after the other? like a replay of the entire game?

Originally posted by Gazeruth
Originally posted by Gazeruth

Hey all, firstly kudos to the guys writing these scripts, they're brilliant!

Anyone know how difficult it would be to make a script to display the current score on the Replay pages?

I like to watch the games play-by-play but watching the replays.. but I kinda lose track of the score at time.. would it be possible to do?

Cheers again all!


Anyone have any idea if this is possible?


as RandomBeast said, this would be way to complicated, because you would have to grab info from every other replay before the current replay.


wow. lots of stuff. sorry i was gone for a while. did some stuff with my dad for father's day.
 
Link
 
here's the cpu team forum script -
http://userscripts.org/scripts/show/28573


Instructions:
in the script you should see a line that says
var forum1 = "1"

replace the 1 in quotes with the position of the forum you want to get rid of.

to add more forums to get rid of -
just copy the three lines after
//Position of ....
and paste them right before the
var forums = line.

then, change the first line number in quotes to the position of the next forum you want gone.

also, in those three lines you see things like parseInt(forum1) etc. any instance of forum1..., make forum2, forum3, etc. also add a line after the last line that is exactly like the last line, but change forum1final to forum2final, etc. tell me if that made sense, because i don't think i did a good job of explaining it. lol
 
Gazeruth
offline
Link
 
Originally posted by RandomBeast
That would probably be very difficult, because the replay doesn't have access to that info - so it would have to go back and retrieve the full pbp, then calculate the score up to the point of the replay - which is complicated.


Is it not possible to use the text on the replay to keep count, similar to the other script that kept the score...?
 
Link
 
Originally posted by Firenze
Originally posted by Buzzkill

I just now tried to do RandomBeasts script to highlight multiple players in replays with a single script and it isnt working for me. Does this only work on replays from after you made the script, or should it work on replays that happened before i saved this script? IE: i just saved this script tonight but am watching replays from 2 days ago. All of my other scripts from here are working fine.

Here is what i have saved to notepad. I have looked it over too many times to count now and i just cant see an error, maybe someone else can find it if there is one.



// ==UserScript==
// @name Marion The Barbarian II
// @namespace GLB
// @description Red Icon
// @include http://goallineblitz.com/game/replay.pl?pbp_id=*
// ==/UserScript==

window.setTimeout( function()
{
if(document.getElementByld('114415')){
document.getElementByld('114415').style.backgroundColor = 'maroon';
}

if(document.getElementByld('105588')){
document.getElementByld('105588').style.backgroundColor = 'navy';
}

if(document.getElementByld('172062')){
document.getElementByld('172062').style.backgroundColor = 'maroon';
}

if(document.getElementByld('183958')){
document.getElementByld('183958').style.backgroundColor = 'navy';
}

if(document.getElementByld('172077')){
document.getElementByld('172077').style.backgroundColor = 'maroon';
}

if(document.getElementByld('333087')){
document.getElementByld('333087').style.backgroundColor = 'navy';
}

if(document.getElementByld('375371')){
document.getElementByld('375371').style.backgroundColor = 'maroon';
}
}
)



Try keeping this part ' window.setTimeout( function() ' in front of each player.


I just copied and pasted this script from this post into textpad so I could alter it for my players and tried to use it and it didn't work. Then I realized that everywhere it said Byld the l was actually a lower case "L". Change all the Byld's to ById's and you should be good.
 
Dravz
offline
Link
 
Originally posted by RandomBeast
Originally posted by Wrath Of Conor

Is it possible to write a script that affects the depth chart screen? Specifically to make the middle window larger so it shows more than just three players?

It's annoying being an owner and trying to set up certain aspects of the depth chart like ST where you need to add so many guys and the window only shows 3.


Here's the script: http://userscripts.org/scripts/show/28566


AWESOME!
 
rlgillespie
offline
Link
 
Originally posted by rlgillespie

How about a script that would allow you to show the replays in order automatically.


do you mean like something that would show all of the replays one after the other? like a replay of the entire game?

Yes - a replay of the entire game.
 
Cronus6
offline
Link
 
Originally posted by rlgillespie
Originally posted by rlgillespie


How about a script that would allow you to show the replays in order automatically.


do you mean like something that would show all of the replays one after the other? like a replay of the entire game?

Yes - a replay of the entire game.


I messed around with an extension that will do this, but it seems to be REALLY hard on the server. I'm not sure a script would be any easier on it.
 
TuNice
offline
Link
 
Is there a script that highlights all of the plays that your player is in?
 
xScREaMx
offline
Link
 
Originally posted by TuNice
Is there a script that highlights all of the plays that your player is in?


I'm pretty sure somebody said something about how this would severely slow down the game even more if they did this but I'm not positive.
 
DaRealest
offline
Link
 
Originally posted by Dravz
Originally posted by RandomBeast

Originally posted by Wrath Of Conor


Is it possible to write a script that affects the depth chart screen? Specifically to make the middle window larger so it shows more than just three players?

It's annoying being an owner and trying to set up certain aspects of the depth chart like ST where you need to add so many guys and the window only shows 3.


Here's the script: http://userscripts.org/scripts/show/28566


AWESOME!


I edited the script so that the size fits 7 players easily. To edit it, just change the following to what ever size you want, as the default (from RB) was 250:

dcbox.style.height = "165px";
 
Page:
 


You are not logged in. Please log in if you want to post a reply.