Archived Comments (locked)
|
|
The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008) |
|
|
Is this going to be updated for the new season? |
|
|
can someone please make a script that will do this for the yahoo salary cap game? dammit why wont someone make this..i can't be the only person on the planet that hates not having any idea how i did in salary cap until 5 in the morning |
|
|
works great! glad someone made the update to actually tally the points. now someone just needs to figure out that defensive scoring :) |
|
|
To get rid of decimal scoring, you will need to add Math.floor function around each stat where I'm calculating fantasy points. For example, on line 135, you'll need to change:
and repeat for each stat category that's being added up. Repeat for the other lines (151, 162) where fantasy points calculation are taking place. |
|
|
Another suggestion is to remove the decimal scoring. Every league I have played in, you only get points once a benchmark is reached. For example a QB gets 1 point for every 50 yards. If he has 75 yds passing, he would get 1 point, not 1.5. Since I don't know the programming, I cannot make the suggestion of how to fix it. Thanks anyway for the excellent script. |
|
|
awesome script. One improvement though: Fumbles tend to be shown twice by Yahoo (once in rushing and once in receiving) if a player has both rushes and receptions. This shouldn't be counted twice in your script. Also, the script doesn't seem to count QB fumbles when the QB doesn't have any rushing attempts. |