User Pass
Home Sign Up Contact Log In
Forum > Goal Line Blitz > Greasemonkey Scripts > Greasemonkey Scripts (original thread)
Page:
 
pabst
offline
Link
 
Originally posted by Capaneus
Pabst, I'm having an issue with game scout where on the passing screen, the opponent's receivers and the scouted teams receivers are all appearing in the same column. Same goes for rushers.


For which games do you see the problem?
 
Capaneus
offline
Link
 
Originally posted by pabst


For which games do you see the problem?


Not sure what you're asking, but I was scouting preseason games for this team: http://goallineblitz.com/game/team.pl?team_id=29
if that answers your question.
 
oten638
offline
Link
 
Can u make a script that tells what plays were ran on offense and the outcome? the exact play from the playbook.
 
pabst
offline
Link
 
Originally posted by Capaneus
Originally posted by pabst



For which games do you see the problem?


Not sure what you're asking, but I was scouting preseason games for this team: http://goallineblitz.com/game/team.pl?team_id=29
if that answers your question.


That's what I needed. I'm actually getting this error as well which is a nice change of pace :-)
 
pabst
offline
Link
 
Originally posted by oten638
Can u make a script that tells what plays were ran on offense and the outcome? the exact play from the playbook.


We could most likely identify the play on the replay screen (the defensive play might be tricky), but listing which plays were run on the play-by-play or keeping some sort of running total isn't going to happen. The information needed to figure out the play isn't available on that page and getting it would cause too much server traffic.
 
pabst
offline
Link
 
Originally posted by Capaneus

Pabst, I'm having an issue with game scout where on the passing screen, the opponent's receivers and the scouted teams receivers are all appearing in the same column. Same goes for rushers.


It's a byproduct of the old team identification code which would fail when teams were renamed during a season. It's not tested very well but this should fix it. I'll update the code on the site some time tomorrow.


Find the script directory and open the 31573user.js file.
About Line 114 you'll find this: function addition(left,right) {

Look below for this stuff:
try {
//if (left.team_id[0].indexOf(parseFloat(right.team_id[0])) != -1) { <--delete or comment this
if (parseFloat(left.team_id[0]) == parseFloat(right.team_id[0])) { <--insert this
aligned = true;
}
else if ((left.team_name[0] == right.team_name[0]) || (left.team_name[1] == right.team_name[1])) {
aligned = true;
}
//else if (left.team_id[1].indexOf(parseFloat(right.team_id[1])) != -1) { <--delete or comment this
else if (parseFloat(left.team_id[1]) == parseFloat(right.team_id[1])) { <--insert this
aligned = true;
}

Last edited Nov 12, 2008 02:18:39
 
Capaneus
offline
Link
 
Originally posted by pabst


It's a byproduct of the old team identification code which would fail when teams were renamed during a season. It's not tested very well but this should fix it. I'll update the code on the site some time tomorrow.



Thanks a lot, pabst. That was fast work.

 
psu4152
offline
Link
 
For some reason the League Rankings v1.0 script will not update the rankings to the stats from this season for my team. It keeps telling me the rankings I ended last season with. Do I have to reset the data somehow? Thanks
 
฿ones
offline
Link
 
Why was this unstickied? j/w before I stick it again...
 
Asheme
offline
Link
 
Originally posted by ฿ones
Why was this unstickied? j/w before I stick it again...

There was a massive unsticky movement. They were all "replaced" by this thread: http://goallineblitz.com/game/forum_thread.pl?thread_id=1250795
 
oten638
offline
Link
 
Originally posted by psu4152
For some reason the League Rankings v1.0 script will not update the rankings to the stats from this season for my team. It keeps telling me the rankings I ended last season with. Do I have to reset the data somehow? Thanks


same here, i get last season rankings
 
Dantae
offline
Link
 
Originally posted by psu4152
For some reason the League Rankings v1.0 script will not update the rankings to the stats from this season for my team. It keeps telling me the rankings I ended last season with. Do I have to reset the data somehow? Thanks


Im looking into finding a fix for this. There is a problem where it isnt seeing the new season records. Ill see if I can make a fix for it right now... I mean who needs sleep anyways =)
 
Dantae
offline
Link
 
OK this should fix the league Ranking.

http://userscripts.org/scripts/show/35127

I added a check to see if the total wins losses and ties are equal to 1 and it sets the counter back to 1. I just need a second game to play to see if this quick fix works.
 
psu4152
offline
Link
 
Originally posted by Dantae
OK this should fix the league Ranking.

http://userscripts.org/scripts/show/35127

I added a check to see if the total wins losses and ties are equal to 1 and it sets the counter back to 1. I just need a second game to play to see if this quick fix works.


Excellent work! It is fixed now. Thank you very much.
 
whodeycin85
offline
Link
 
I have a quick question...I installed the script that shows our league stats ranking...the question is on defense where it says passing...were are ranked 25th..and 24 teams did worse then us...so for that script is the lower ranked the better?
 
Page:
 


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