Sim Dynasty

View Old Forum Thread

Old Forum Index » Sim Forums » Check This Out! » Introducing... SETH!
jetpac

Introducing... SETH!

March 09, 2011 at 07:37AM View BBCode

SETH, the Simdynasty Enhancement THingy (yeah, feel free to suggest better names :) )!

[url=http://userscripts.org/scripts/show/98635]Click here to install[/url]

SETH is a Greasemonkey script that works with the Firefox Greasemonkey plugin to add little plugins to the site. As of right now, all I've done is added some functionality to the player pages, but if there's any interest (and possibly even if there isn't), I'll continue adding things.

Current Features:
  • Average Season stats added.
  • 162 Game Average stats added for Batters.
  • Click on any two years, and see the total stats, average season, and 162 game averages for all of the years in between the two.

Known Issues:
  • When installed in Chrome, Chrome claims that SETH can access all of your data on all sites. This isn't actually true, it only is activated on Simdynasty sites. I know how to fix this, but unfortunately it breaks for Firefox. If people are worried about this, I suppose I could make two different versions for the different browsers.

Planned Future Features:
  • Adding the original enhancements to other views (splits, fielding, etc)
  • Checking trade offers to see if the correct number of players will be on the team before the trade is submitted.
  • Adding a way to manage settings for SETH, and enable/disable specific features.
  • More ideas always welcome!

Note: SETH requires the [url=https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/]Greasemonkey add-on[/url] in order to work in Firefox. Support for other browsers coming soon!

3/9/11 UPDATE: SETH now is compatible with Chrome, as well!

3/10/11 BUG FIX: Clicking on a link in the player stats table is no longer overridden

9/19/12 I've created a GitHub repo if anyone would like to contribute to the development of SETH: https://github.com/jetpacmonkey/SETH

[Edited on 9/20/12 by jetpac]
jetpac has attached this image:
Screen shot 2011-03-09 at 2.37.03 AM.png
jetpac

March 09, 2011 at 11:47PM View BBCode

Has anyone tried installing this yet? I'd like to know if it's not working correctly.
Hamilton2

March 09, 2011 at 11:51PM View BBCode

I think this is a super cool and awesome idea, but I use Chrome instead of Firefox. I'm looking forward to hearing how it works for everyone!
jetpac

March 10, 2011 at 02:24AM View BBCode

In theory, Chrome supports user-scripts, but I'm using some features that are Firefox-specific. I typically use Chrome, too, so I'm hoping to be able to get that working ASAP!
jetpac

March 10, 2011 at 04:05AM View BBCode

UPDATE: SETH now is compatible with Chrome, as well!
Admin

March 10, 2011 at 06:59PM View BBCode

Very cool!

Is this all run on the client side or does it make additional calls back to the server?

Tyson
jetpac

March 10, 2011 at 09:11PM View BBCode

It's all client side. The only server calls are to load jquery and jquery ui from google's servers, and with cacheing that should only happen once. After that it parses the table that's already output in the player page.
Admin

March 10, 2011 at 09:31PM View BBCode

Very cool!

I'm going to post a link to this in latest news.

Tyson
jetpac

March 10, 2011 at 09:35PM View BBCode

Much appreciated! I think it might actually work in browsers other than Chrome and Firefox (I remember seeing a Greasemonkey-type thing for Safari a while back), but I've only tested it in those two. Any ideas for other UI or data-processing enhancements would be appreciated.
tworoosters

March 10, 2011 at 09:42PM View BBCode

Just installed this, very cool .
PhillyDynasty

March 11, 2011 at 02:06AM View BBCode

This is beautiful, thank you!

Stinks that it overrides other links (season by team), but it's still a really great addition.

Thanks again!
jetpac

March 11, 2011 at 02:15AM View BBCode

I'll make sure to work on a fix and post here once it's ready.
jetpac

March 11, 2011 at 02:57AM View BBCode

For now, you can just right click the links and open them in a new tab or a new window.
jetpac

March 11, 2011 at 03:47AM View BBCode

OK, this bug has been fixed. If you already installed it before, you can simply re-install, and it should replace the older version.
Hamilton2

March 11, 2011 at 04:08AM View BBCode

I've installed this and I'm using it. Very, very cool. Well done.
spyboy1306

March 12, 2011 at 04:40AM View BBCode

I'm running Firefox on a Mac. i get the per year and 162- game averages, which look great, but when i click on years, the window pops up like the screenshot above, except it's all zeroes.


Nothing happened on Safari.
jetpac

March 12, 2011 at 06:51AM View BBCode

That's odd, because that picture was taken using Firefox on a Mac. Looks like I must've broken something... I'll take a look and see what I can find.
jetpac

March 12, 2011 at 06:58AM View BBCode

Alright, fixed it. Safari doesn't have any built-in support for user scripts like this one, but if I remember right a quick google search will turn up some plugins to make greasemonkey scripts work in Safari.

[Edited on 3/12/11 by jetpac]
wsoul1

March 12, 2011 at 07:29AM View BBCode

Nice work! You have made a numbers junkie very happy. Firefox by the way.
spyboy1306

March 13, 2011 at 06:14AM View BBCode

Originally posted by jetpac
Alright, fixed it. Safari doesn't have any built-in support for user scripts like this one, but if I remember right a quick google search will turn up some plugins to make greasemonkey scripts work in Safari.

[Edited on 3/12/11 by jetpac]


it works now on Firefox. thanks.
deanscubs

March 14, 2011 at 08:28PM View BBCode

Just installed it and it's working great. Thanks Jetpac!
Yankees102

March 14, 2011 at 09:00PM View BBCode

I've only had it for about a minute and I love it!
sumhzrd

March 15, 2011 at 02:47AM View BBCode

Sweet!! I like it. Thx!!
mattyb5000

March 15, 2011 at 11:36PM View BBCode

Hey Jetpac, anyway to add a feature to track other team's player's in SETH? I suggested this on ideascale ages ago but the idea hasn't caught on in popularity.
mattyb5000

March 15, 2011 at 11:42PM View BBCode

...and also, SETH rocks my world. A great little addition to the player stats page.

Pages: 1 2