User Pass
Home Sign Up Contact Log In
Forum > Goal Line Blitz 2 > Greasemonkey Scripts > GLB2 Script - Roster Scanner
chasecrawford
offline
Link
 
This is my first attempt at a browser script so be gentle. This is a tool I built for myself to crawl my roster and compile the player build data into one table. This script only affects a team's roster page, the generated table is displayed below the roster list. It's been helpful to me, hope it can be helpful to others. Let me know if you experience problems, and I'll try to fix them.

Tampermonkey (Chrome Extension): http://tampermonkey.net/
Script Download Link: http://ch4ze.com/downloads/glb2-roster-scanner.zip (Version 0.2 - Updated 7/19/14)
Greasemonkey Script Download Link: http://ch4ze.com/downloads/GLB2_Roster_Scanner.user.js (Version 0.2 - Updated 7/19/14)

To install, import the zip file into Tampermonkey on the Utilities page

The table is pretty big which can make it difficult to view in a browser. I recommend copying and pasting the table into Google Drive/Excel spreadsheet. If this turns out to be helpful to some people I will take feature/improvement requests.

EDIT: Worth mentioning, the generated table only lists players with builds open to you.

Changelog
--------------
7/19/14 - Fixed issue with superstar players not being crawled
Edited by chasecrawford on Jul 19, 2014 09:05:21
Edited by chasecrawford on Jul 19, 2014 09:04:43
Edited by chasecrawford on Jul 19, 2014 09:04:23
Edited by chasecrawford on Jul 18, 2014 08:32:47
Edited by chasecrawford on Jul 17, 2014 21:57:42
 
underdog13
offline
Link
 
Do I need Tampermonkey? I've never used a script before.
 
chasecrawford
offline
Link
 
I don't think you have to with Chrome, but seems a lot simpler than the alternative - especially with Chrome's new extension policy.

http://stackoverflow.com/questions/5258989/manually-adding-a-userscript-to-google-chrome

EDIT: Apparently it can be installed by dragging the .js file onto the Chrome extensions page. Although I haven't tested this method myself.
Edited by chasecrawford on Jul 18, 2014 07:20:45
Edited by chasecrawford on Jul 18, 2014 07:15:59
 
briansimoneau
brain saimin
offline
Link
 
This looks interesting, but what about Firefox users with Greasemonkey?
 
chasecrawford
offline
Link
 
Again, new to the browser script game - but I attempted to make a Greasemonkey script version for Firefox users:

http://ch4ze.com/downloads/GLB2_Roster_Scanner.user.js

 
Xars
offline
Link
 
Very nice tool. Working fine for me in Chrome.

Wanted to give you some positive feedback since it's your first effort.

I like that it has unspent SP by player.

edit: Some players that are open to me aren't showing up. Not sure why.

Edited by Xars on Jul 19, 2014 08:09:00
 
chasecrawford
offline
Link
 
I've updated the script (and links) to fix an issue I found with some of my players not showing up, but I'm not sure that will fix your issue. It's difficult for me to troubleshoot anything other than my own team, but if you could find a pattern I may be able to solve it. For example, I've already had to modify my script to account for differences with superstar players and players owned by the person with the script.
 


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