To see less ads Register or Login ----- Daily Fantasy Sports games 18+

Greasemonkey script to display team data on FPL league page

A Fantasy Football forum for news on fantasy football games run by the Premierleague (FPL).
Post Reply
triniranger
Cheetah
Posts: 3
Joined: 16 Aug 2016, 01:36

Re: Greasemonkey script to display team data on FPL league page

Post by triniranger »

Looks like bench pts are being added to totals.

shinjiokazaki
Cheetah
Posts: 4
Joined: 20 Aug 2016, 17:13
FS Record: 11 years of play top 20k multiple times

Re: Greasemonkey script to display team data on FPL league page

Post by shinjiokazaki »

nickchild wrote:
1. These values shouldn't match - 'Live' is their current gameweek total, while 'Total' is their live total score inclusive of any players currently playing who's score is not included in the default total score in column 'TOT'

I think he means that they don't match what they actually are on the team page. I think this is because subs on the bench are being counted in the live totals.

User avatar
SuperGrover
Grumpy Old Man
Posts: 1540
Joined: 12 Sep 2012, 15:38
Location: Chicago, USA

Re: Greasemonkey script to display team data on FPL league page

Post by SuperGrover »

Nick -

Great stuff as always. Had a couple bug reports. Minor issues for me on Chrome 52.0.2743.116 m, Windows 10:

1. As noted rounding isn't in pace so you get some long values in team value.
2. Seems column sorting is no longer supported? it is not working for me
3. Previously you showed the full team when you clicked on the league position of the team. That was helpful to determine bench positions for auto-subs. Is that still supported?

If none of these are added/fixed no issue. It's a wonderful tool already.

Do you have a donation site? Would be more than happy to send a few bucks your way as a token of gratitude.

User avatar
SuperGrover
Grumpy Old Man
Posts: 1540
Joined: 12 Sep 2012, 15:38
Location: Chicago, USA

Re: Greasemonkey script to display team data on FPL league page

Post by SuperGrover »

triniranger wrote:Looks like bench pts are being added to totals.
Yep I saw that too. So that's a major bug. Will add to the list.

1. As noted rounding isn't in pace so you get some long values in team value.
2. Seems column sorting is no longer supported? it is not working for me
3. Previously you showed the full team when you clicked on the league position of the team. That was helpful to determine bench positions for auto-subs. Is that still supported?
4. Bench points are added to live totals.

djpete
Newbie
Posts: 1
Joined: 21 Aug 2016, 12:01

Re: Greasemonkey script to display team data on FPL league page

Post by djpete »

You are a legend Nick! Started working this morning!

Have same issue with weird team value for a couple of players, no sort by function, no chips as you already know...

There also seems to be an issue with Total/Live points total, showing different numbers in live total and it's Sunday a.m. The Total points column is correct, the Live points is showing extra points, though I can't work out what they equate to. Ok, I think I got it, it's adding on bench points to live total.

Pete

User avatar
nickchild
FISOhead
Posts: 648
Joined: 27 Jul 2006, 23:51
FS Record: 180th Overall FPL and X-League Winner 2008/09
Contact:

Re: Greasemonkey script to display team data on FPL league page

Post by nickchild »

i was including the subs points in my calculations and this was causing some discrepancies in the live and live total scores. now fixed.

im also now using the multipler value isntead of manually working out captain. i imagine this will include a multiplier value of 3 when triple captain is set...

User avatar
nickchild
FISOhead
Posts: 648
Joined: 27 Jul 2006, 23:51
FS Record: 180th Overall FPL and X-League Winner 2008/09
Contact:

Re: Greasemonkey script to display team data on FPL league page

Post by nickchild »

thanks for the summary SG! i will work on sorting and full team display imminently...

User avatar
nickchild
FISOhead
Posts: 648
Joined: 27 Jul 2006, 23:51
FS Record: 180th Overall FPL and X-League Winner 2008/09
Contact:

Re: Greasemonkey script to display team data on FPL league page

Post by nickchild »

chips added. number shows how many played, hover shows which chips were played and when, pink highlight shows a chip is active

sorting added. click column headers

triniranger
Cheetah
Posts: 3
Joined: 16 Aug 2016, 01:36

Re: Greasemonkey script to display team data on FPL league page

Post by triniranger »

Seems to be working fine now,thanks once again!

zomri
Wideboy
Posts: 61
Joined: 21 Aug 2013, 23:37

Re: Greasemonkey script to display team data on FPL league page

Post by zomri »

thanks, nick, seems that most bugs are fixed. works as a charm now.

i have 2 questions tho:
-toggle to show players names doesn't work in this version. do you plan on adding that feature in the future?
-feature suggestion: how hard would it be to implement adding provisional bonus points to live and totals columns? it would help to see the league standings after bonus in advance. thats just a thought, it's good as it is, but this would IMO make it a lot better.

User avatar
nufctoon
Grumpy Old Man
Posts: 1248
Joined: 08 Aug 2014, 13:28

Re: Greasemonkey script to display team data on FPL league page

Post by nufctoon »

nickchild wrote:sorting added. click column headers
It only works from lowest to highest/Z-A. For example, when clicking Total (value), the first one is the lowest value and the last one is the highest. Double clicking it doesn't make a difference.

User avatar
SuperGrover
Grumpy Old Man
Posts: 1540
Joined: 12 Sep 2012, 15:38
Location: Chicago, USA

Re: Greasemonkey script to display team data on FPL league page

Post by SuperGrover »

nufctoon wrote:
nickchild wrote:sorting added. click column headers
It only works from lowest to highest/Z-A. For example, when clicking Total (value), the first one is the lowest value and the last one is the highest. Double clicking it doesn't make a difference.
I am not experiencing this issue. It resorts if you click it again for me.

User avatar
FPLCasual
Kevin and Perry
Posts: 19
Joined: 21 Feb 2016, 01:37

Re: Greasemonkey script to display team data on FPL league page

Post by FPLCasual »

The WC column is blank for me even though some people have used theirs?

hantykj
Newbie
Posts: 1
Joined: 22 Aug 2016, 06:50
FS Record: Top 20k

Re: Greasemonkey script to display team data on FPL league page

Post by hantykj »

Another problem seems to be the TPH (Transfer points hit). It works when it is the current gameweek, but it doesn't include previous hits.

I see that it must be because of an error on the site since "entry.event_transfers_cost = 0" (in this case), while it shows correct for each gameweek "history.1.event_transfers_cost = 8" (1 = gameweek).

User avatar
kidzio
Wideboy
Posts: 53
Joined: 06 Sep 2015, 14:42

Re: Greasemonkey script to display team data on FPL league page

Post by kidzio »

hantykj wrote:Another problem seems to be the TPH (Transfer points hit). It works when it is the current gameweek, but it doesn't include previous hits.

I see that it must be because of an error on the site since "entry.event_transfers_cost = 0" (in this case), while it shows correct for each gameweek "history.1.event_transfers_cost = 8" (1 = gameweek).
Hi, nickchild has clarified that this is actually the points hit for the upcoming GW. This is for those seeking to know how many transfers their rivals have made. Hope this helps.


Sent from my iPhone using Tapatalk

GJAJ2K
Newbie
Posts: 2
Joined: 23 Oct 2015, 10:44

Re: Greasemonkey script to display team data on FPL league page

Post by GJAJ2K »

nufctoon wrote:
nickchild wrote:sorting added. click column headers
It only works from lowest to highest/Z-A. For example, when clicking Total (value), the first one is the lowest value and the last one is the highest. Double clicking it doesn't make a difference.
I am also experiencing this issue too (this is in Chrome using Tampermonkey). Sorts once high to low then cannot click again to sort the other way.

Thanks,
Greg

User avatar
SuperGrover
Grumpy Old Man
Posts: 1540
Joined: 12 Sep 2012, 15:38
Location: Chicago, USA

Re: Greasemonkey script to display team data on FPL league page

Post by SuperGrover »

FPLCasual wrote:The WC column is blank for me even though some people have used theirs?
That's intended to indicate an active wild card. Not sure if that worked last year as I think the wild card status filter is hidden in the new site.

In any case, historical wild cards will show up in the Chips column. Hover over it and it will show what was played and when.

User avatar
SuperGrover
Grumpy Old Man
Posts: 1540
Joined: 12 Sep 2012, 15:38
Location: Chicago, USA

Re: Greasemonkey script to display team data on FPL league page

Post by SuperGrover »

SuperGrover wrote:
nufctoon wrote:
nickchild wrote:sorting added. click column headers
It only works from lowest to highest/Z-A. For example, when clicking Total (value), the first one is the lowest value and the last one is the highest. Double clicking it doesn't make a difference.
I am not experiencing this issue. It resorts if you click it again for me.
Strangely I am experiencing this now. Will add to list.

Also noticed a new issue when perusing overall leaders. Seems Bench Boost is not processing correctly. You can see that on current world #1 https://fantasy.premierleague.com/a/tea ... 62/event/2

User avatar
SuperGrover
Grumpy Old Man
Posts: 1540
Joined: 12 Sep 2012, 15:38
Location: Chicago, USA

Re: Greasemonkey script to display team data on FPL league page

Post by SuperGrover »

Updated summary (hope this will help...as a former dev I hated having to fish to understand what was still broken):

1. As noted rounding isn't in pace so you get some long values in team value. - FIXED
2. Seems column sorting is no longer supported? it is not working for me - PARTIALLY FIXED. Increasing sort is functioning. Decreasing is not.
3. Previously you showed the full team when you clicked on the league position of the team. That was helpful to determine bench positions for auto-subs. Is that still supported? - STILL ISSUE (minor)
4. Bench points are added to live totals. - FIXED
5. Bench Boost not adding correctly - NEW ISSUE

User avatar
Fuzzy
Grumpy Old Man
Posts: 1699
Joined: 24 Jul 2010, 10:28
Location: on a different wavelength
FS Record: meh

Re: Greasemonkey script to display team data on FPL league page

Post by Fuzzy »

Nick - I echo all messages of gratitude from the masses here.

Is it just me, or does the script no longer work for H2H leagues?

User avatar
SuperGrover
Grumpy Old Man
Posts: 1540
Joined: 12 Sep 2012, 15:38
Location: Chicago, USA

Re: Greasemonkey script to display team data on FPL league page

Post by SuperGrover »

And again, get yourself a PayPal link and make a few from this. At least enough to get a few drinks in you on a Friday night!

User avatar
BBG
Cheetah
Posts: 3
Joined: 17 Aug 2016, 08:58
FS Record: 3 Times Top5k finish in FPL

Re: Greasemonkey script to display team data on FPL league page

Post by BBG »

Not working on my chrome. Please help!

User avatar
SuperGrover
Grumpy Old Man
Posts: 1540
Joined: 12 Sep 2012, 15:38
Location: Chicago, USA

Re: Greasemonkey script to display team data on FPL league page

Post by SuperGrover »

BBG wrote:Not working on my chrome. Please help!
What exactly isn't working? Can you confirm the version in TamperMonkey?

User avatar
snakzz
Grumpy Old Man
Posts: 3613
Joined: 03 Oct 2012, 08:56

Re: Greasemonkey script to display team data on FPL league page

Post by snakzz »

Hmm, looks like it aint working for me either in chrome.

Tampermonkey just wont run the script on the page, just say that there is no scripts to load on this page, even tho its installed and so on.

Always worked the last seasons.

http://imgur.com/a/ccqZp
Last edited by snakzz on 25 Aug 2016, 07:51, edited 1 time in total.

User avatar
snakzz
Grumpy Old Man
Posts: 3613
Joined: 03 Oct 2012, 08:56

Re: Greasemonkey script to display team data on FPL league page

Post by snakzz »

Is this working for any people using Chrome at all now?

User avatar
snakzz
Grumpy Old Man
Posts: 3613
Joined: 03 Oct 2012, 08:56

Re: Greasemonkey script to display team data on FPL league page

Post by snakzz »

nickchild wrote:hmmm... it only seems to work after a page refresh. when loading from league page link it doesn't execute the script. must be the way the site loads. can anyone verify or disprove this?
Read back and found this.

An F5 loaded the stats in the leagues for me.

It dont work for the data info on my team page, since when you refresh it, you are beeing taken away from the data view.

User avatar
Mav3rick
FISO Jedi Knight
Posts: 20858
Joined: 20 Jul 2009, 20:35
FS Record: FPL: 1082, 1201, 1800, 10203

The stats are dark and full of errors.

Re: Greasemonkey script to display team data on FPL league page

Post by Mav3rick »

snakzz wrote:Is this working for any people using Chrome at all now?
Yes, version 2.0.5 works in Chrome for me. The only issue for me is that because of the way that the FPL site works now, you have to navigate through to the league page, then refresh the page.

Some thanks to nickchild for updating it at all would probably be nice, don't you think :wink:

User avatar
snakzz
Grumpy Old Man
Posts: 3613
Joined: 03 Oct 2012, 08:56

Re: Greasemonkey script to display team data on FPL league page

Post by snakzz »

Mav3rick wrote:
snakzz wrote:Is this working for any people using Chrome at all now?
Yes, version 2.0.5 works in Chrome for me. The only issue for me is that because of the way that the FPL site works now, you have to navigate through to the league page, then refresh the page.

Some thanks to nickchild for updating it at all would probably be nice, don't you think :wink:
Oh, he have all the thanks in the world :)

But do both scripts work for you?

The one on my page to with player info? :)

User avatar
nickchild
FISOhead
Posts: 648
Joined: 27 Jul 2006, 23:51
FS Record: 180th Overall FPL and X-League Winner 2008/09
Contact:

Re: Greasemonkey script to display team data on FPL league page

Post by nickchild »

It seems temperamental for me in Greasemonkey / Firefox... for the last week or so it has been loading as soon as I load the league page. Maybe when the gameweek is live it requires a manual refresh before the script is picked up....

To answer some of the requests - the H2H functionality needs to be built back in and I haven't had a chance to put the full team overlay in place. I will work on both of these things ASAP. In France for the next week but taking my laptop so may find a free afternoon if it rains...!

snakzz - which script are you referring to re the 'my team' page? I built a simple one showing some PPG/PPM but haven't updated this. Otherwise you may be talking about one of the other userscripts buily by another member.

A PayPal link sounds like an idea, but I do this mainly out of love for my fellow FISOers...! That said, I built 90% of an iOS app last season that shows your leagues, plus live data (gw/total scores, captain/vice, chips, players playing stats and team view) and never got it released, so have updated that with the new API and hoping for a release over the next few days. Anyone with an iPhone and a spare 79p could show their thanks that way... ;-) Stay tuned for more details

User avatar
nickchild
FISOhead
Posts: 648
Joined: 27 Jul 2006, 23:51
FS Record: 180th Overall FPL and X-League Winner 2008/09
Contact:

Re: Greasemonkey script to display team data on FPL league page

Post by nickchild »

Just a cheeky post so my big announcement is at the top of the next page....!
Last edited by nickchild on 25 Aug 2016, 22:45, edited 2 times in total.

View Latest: 1 Day View Your posts
Post Reply

Return to “Fantasy PremierLeague.com (FPL)”