User Pass
Home Sign Up Contact Log In
Forum > Goal Line Blitz > Greasemonkey Scripts > Rockitsauce script keeps getting hung up on the same play!
Novus
offline
Link
 
During the Season 24 post-season, I was trying to scout a couple of Day 40+ scrims with the Rockitsauce script, but for each game the script kept getting hung up on the same play. If I sat and watched it, the script would burn through at a pretty good clip until it got to the same play and got stuck. For each game, it was the same play every time.

I figured it was just an issue with something in the sim getting tweaked or maybe a problem with the season being past Day 40, so I didn't worry about it.

Today I saw that Rockitsauce updated his scout script, so I just re-downloaded and re-installed it. Just tried to scout my team's first pre-season game, and it got to "Play by Play - Processing: 20 of 185" -- and stopped cold.

Grr...

Re-installed it again, tried to scout the same game again, and this time I sat and watched it. Ripped along at a good clip until Play 20... and stopped cold. Again.

Any ideas what's going on here?

-=-=-=-=-=-=-=-=-=-=-=-=-

Here's the game in question:
http://goallineblitz.com/game/game.pl?game_id=1829638

Here's Play 20, the one it keeps getting stuck on:
http://goallineblitz.com/game/replay.pl?game_id=1829638&pbp_id=393626
Nothing fancy there, right?

Team in question is the Manchester Titans. I'm the Offensive Coordinator.

I'm running Firefox 3.6.23. Used this script just fine all through Season 24, never ran into any issues until we got past Day 40. So I doubt Firefox is the issue.

Thanks in advance!
 
Link
 
Novus, I'm running Rockitsauce on that game and it processed ok. I'm on the same version of Firefox.

 
Novus
offline
Link
 
Originally posted by ken-in-rockwall
Novus, I'm running Rockitsauce on that game and it processed ok. I'm on the same version of Firefox.


Wow, that's odd.

Makes me wonder if maybe some other GreaseMonkey script is interfering with Rockitsauce's script then?
 
jdbolick
offline
Link
 
Originally posted by Novus
Wow, that's odd.

Makes me wonder if maybe some other GreaseMonkey script is interfering with Rockitsauce's script then?

Every so often you need to clear its game data. I forget exactly how to do that, but it involves something in addition to uninstalling.
 
Novus
offline
Link
 
Originally posted by jdbolick

Every so often you need to clear its game data. I forget exactly how to do that, but it involves something in addition to uninstalling.


Already went into the Manage Logs tab and cleared everything out... first thing I tried back when I couldn't scout the Day 40+ game before the season rolled over.

Or are you talking about something else?
 
rockitsauce
offline
Link
 
Can't recreate.... Not willing to downgrade from FF 7 to 3.6 to figure it out. Sorry

@Novus: jdbolick is thinking of Monsterkill, which hasn't worked for a while now.
 
Novus
offline
Link
 
Originally posted by rockitsauce
Can't recreate.... Not willing to downgrade from FF 7 to 3.6 to figure it out. Sorry


Understood, but mind if I narrow it down for you a bit?

I'm trying out other games too, and I think I've figured something out... if you don't count kickoffs or punts in the number of plays processed, it looks to me like the script gets hung up on or right before the first play that results in a score.

Here's some examples:

http://goallineblitz.com/game/game.pl?game_id=1829638&mode=pbp
20th non-KO-non-punt play is a TD - script hangs after 20 plays

http://goallineblitz.com/game/game.pl?game_id=1829639&mode=pbp
10th non-KO-non-punt play is a TD - script hangs after 9 plays

http://goallineblitz.com/game/game.pl?game_id=1829635&mode=pbp
5th non-KO-non-punt play is a TD - script hangs after 5 plays

http://goallineblitz.com/game/game.pl?game_id=1828008&mode=pbp
6th non-KO-non-punt play is a TD - script hangs after 5 plays

http://goallineblitz.com/game/game.pl?game_id=1829634&mode=pbp
4th non-KO-non-punt play is a FG - script hangs after 3 plays

Call me crazy, but I don't think that's a coincidence.

Does that give you any ideas, Rockitsauce?
 
pabst
offline
Link
 
Originally posted by Novus
http://goallineblitz.com/game/game.pl?game_id=1829634&mode=pbp
4th non-KO-non-punt play is a FG - script hangs after 3 plays

Call me crazy, but I don't think that's a coincidence.

So close. Start counting from zero ....


rockitsauce/Rockitsauce GLB Game Scout Tool:
[Exception... "Security Manager vetoed action" nsresult: "0x80570027 (NS_ERROR_XPC_SECURITY_MANAGER_VETO)" location: "JS frame :: http://goallineblitz.com/game/game.pl?game_id=1829634&mode=pbp :: anonymous :: line 21" data: no]

Every play which emits the error is a scoring play. There's a function stripped from Bort's code which only runs when a scoring play occurs that changes some elements on the webpage. It gets sliced as part of the eval data and I'd guess that attempting to run that code through an eval is causing the security error.

Line 1096, change this: eval(data.slice(data.indexOf('var players'), data.indexOf('showElement')));
to this: eval(data.slice(data.indexOf('var players'), data.indexOf('var score_update')));

 
rockitsauce
offline
Link
 
I implemented pabst's suggestion and it didn't break in the current version of FF. So, it's updated at userscripts.
 


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