|
||||
|
08-22-2008, 03:08 PM | #21 |
Hall Of Famer
Join Date: Apr 2002
Location: Ft Smith AR
Posts: 2,681
|
Can the "development tracker" track changes in potential? I'm running a talent-only league, and the development tracker gives me a "can't divide by zero" error when I try to run it.
|
08-26-2008, 09:43 PM | #22 |
Hall Of Famer
Join Date: Nov 2002
Posts: 3,585
|
2.00 was the exponent originally proposed, although I believe that 1.83 is now a commonly accepted exponent as being slightly more accurate. Of course, you could use the Pythagenpat option, in which case the value you enter in this field is irrelevant as the utility calculates an exponent for each team based on their run ratio.
__________________
StatsLab- PHP/MySQL based utilities for Online Leagues Baseball Cards - Full list of known templates and documentation on card development. |
08-27-2008, 12:11 AM | #23 | |
Hall Of Famer
Join Date: Apr 2002
Location: Ft Smith AR
Posts: 2,681
|
Quote:
The error I'm getting is in line 109, line 2 of the Utils.pm file. I looked at that file in an editor, and there is no "integer" definition on the equation on line 109, whereas there is such a definition on the two similar preceeding equations. Should I try to insert the change, and put the integer restriction on that equation too, to solve my "division by zero" error? Here's the part of the code I'm talking about: Code:
if ($talScale == 8) { $newTal = int(($inTal+66)/33); $newTal = min(8, $newTal); $newTal = max(2, $newTal); } elsif ($talScale == 80) { my $factor = int(200/13); $newTal = int(($inTal+$factor-5)/$factor); $newTal = min(13, $newTal); $newTal = max(1, $newTal); $newTal = ($newTal*5)+15; } else { my $factor = 200/$talScale; $newTal = int(($inTal+$factor)/$factor); $newTal = min($talScale, $newTal); $newTal = max(1, $newTal); I did experiment with changing the "rating" scale in the Administration settings to a numerical value instead of putting it at "scouting" and I still got the error. What does the Development Tracker's command Generate links—Generates the development links in the player HTML pages do? I've executed this command, in order to set up the Development Tracker, but I can't tell what it does. The explanation seems to say that it inserts some kind of link on the player html report pages, but I ran the command and haven't seen any links appear on player pages. |
|
08-27-2008, 10:28 AM | #24 |
Hall Of Famer
Join Date: Apr 2002
Location: Ft Smith AR
Posts: 2,681
|
Our league is running the All-star voting utility, and we can't see how to vote for pitchers.
Edit: I suppose that the ballot for pitchers' comes up after the ballot for batters is filled out and submitted. Last edited by satchel; 08-27-2008 at 10:56 AM. |
08-27-2008, 10:58 AM | #25 |
Hall Of Famer
Join Date: Apr 2002
Location: Ft Smith AR
Posts: 2,681
|
I've run our Development Tracker with "Ratings" activated, and it worked, but it's displaying both current ratings and talent ratings increases, and we're a talent-only league, so we want to see talent changes only, not ratings changes as well. Is there a way to see only talent ratings changes?
|
08-27-2008, 11:01 AM | #26 | |
All Star Reserve
Join Date: Jan 2006
Posts: 868
|
Quote:
__________________
Get the OOTP Online Utilities for online leagues! Includes Gamecast, Development, Live Sims, Voting and more. Check here for more details |
|
08-27-2008, 03:53 PM | #27 |
Hall Of Famer
Join Date: Apr 2002
Location: Ft Smith AR
Posts: 2,681
|
Thanks very much! Contribution coming your way.
|
08-27-2008, 05:19 PM | #28 | |
Hall Of Famer
Join Date: Mar 2003
Location: Maine
Posts: 4,457
|
Quote:
Fixed the wild card issue by commenting out the 2nd wild card code.
__________________
Solonor's Groovy Computer Baseball League - Making baseball a hobbit since 2003! "Beings will come, Frodo. The one constant through all the years has been baseball. Middle Earth has rolled by like an army of Mumakil. It has been erased like a slate, rebuilt and erased again. But baseball has marked the time. This field, this game: it's a part of our past, Frodo. It reminds of us of all that once was good and it could be again. Oh... beings will come Frodo. Beings will most definitely come." - Gladden Field of Dreams Last edited by Solonor; 08-27-2008 at 05:28 PM. |
|
08-30-2008, 04:07 PM | #29 |
Global Moderator
Join Date: Dec 2001
Location: Muscatine, IA
Posts: 8,277
|
|
08-30-2008, 04:29 PM | #30 |
Minors (Double A)
Join Date: Aug 2008
Posts: 102
|
If I don't understand much of what the readme file says, should I just assume I shouldn't use this?
Or is there a sparknotes version of just what this does? Not big into all the technical jargon is all |
08-30-2008, 05:08 PM | #31 |
Hall Of Famer
Join Date: Mar 2003
Location: Maine
Posts: 4,457
|
__________________
Solonor's Groovy Computer Baseball League - Making baseball a hobbit since 2003! "Beings will come, Frodo. The one constant through all the years has been baseball. Middle Earth has rolled by like an army of Mumakil. It has been erased like a slate, rebuilt and erased again. But baseball has marked the time. This field, this game: it's a part of our past, Frodo. It reminds of us of all that once was good and it could be again. Oh... beings will come Frodo. Beings will most definitely come." - Gladden Field of Dreams |
08-30-2008, 08:21 PM | #32 | |
Hall Of Famer
Join Date: Apr 2002
Location: Ft Smith AR
Posts: 2,681
|
Quote:
Those links at the top of the page, Allstar-Draft-Exports-Last Sim-Managers-Profile-Ratings, show the various tools included in the suite of Utilities. |
|
09-02-2008, 12:50 PM | #33 |
Global Moderator
Join Date: Dec 2001
Location: Muscatine, IA
Posts: 8,277
|
|
09-02-2008, 01:30 PM | #34 |
Hall Of Famer
Join Date: Mar 2003
Location: Maine
Posts: 4,457
|
########### Find Second Wildcard Winners ###########
# if ($nDivs % 2 == 0) { #only do second wildcard if even number of divisions # foreach $subleague (sort {$a <=> $b} (keys %subLeagues)) { # $subLeagues{$subleague}->{WC2WINS} = 0; # $subLeagues{$subleague}->{WC2WINNERS} = 0; # foreach $team (sort {$teams{$b}->{SEASONWINS} <=> $teams{$a}->{SEASONWINS}} (keys %teams)) { # if (($teams{$team}->{SUBLEAGUE} eq $subleague) && (($teams{$team}->{DIVWINNER} + $teams{$team}->{WC1WINNER}) != 1)) { # if ($teams{$team}->{SEASONWINS} > $subLeagues{$subleague}->{WC2WINS}) { # $subLeagues{$subleague}->{WC2WINS} = $teams{$team}->{SEASONWINS}; # } # } # } # } #End of Wildcard Subleague loop ########### Find First Wildcard Winners ########### # foreach $team (keys %teams) { # if (($teams{$team}->{SEASONWINS} == $subLeagues{$teams{$team}->{SUBLEAGUE}}->{WC2WINS}) && (($teams{$team}->{DIVWINNER} + $teams{$team}->{WC1WINNER}) != 1)) { # $teams{$team}->{WC2WINNER} = 1; # $subLeagues{$teams{$team}->{SUBLEAGUE}}->{WC2WINNERS}++; # } # } # foreach $team (keys %teams) { # if ($teams{$team}->{WC2WINNER} == 1) { # $teams{$team}->{WCTITLES} += 1 / $subLeagues{$teams{$team}->{SUBLEAGUE}}->{WC2WINNERS}; # $teams{$team}->{WC2WINNER} = 1 / $subLeagues{$teams{$team}->{SUBLEAGUE}}->{WC2WINNERS}; # } # } # } #End of second wildcard IF block
__________________
Solonor's Groovy Computer Baseball League - Making baseball a hobbit since 2003! "Beings will come, Frodo. The one constant through all the years has been baseball. Middle Earth has rolled by like an army of Mumakil. It has been erased like a slate, rebuilt and erased again. But baseball has marked the time. This field, this game: it's a part of our past, Frodo. It reminds of us of all that once was good and it could be again. Oh... beings will come Frodo. Beings will most definitely come." - Gladden Field of Dreams |
09-02-2008, 02:20 PM | #35 |
Global Moderator
Join Date: Dec 2001
Location: Muscatine, IA
Posts: 8,277
|
|
09-16-2008, 11:42 AM | #36 |
Hall Of Famer
Join Date: Dec 2004
Location: Bay Area, CA
Posts: 4,014
|
Hey Getch, is there any way that the draft utility can be used for an inaugural draft?
__________________
Global Unified Baseball Association - Vice Commish and Oakland Oaks GM |
09-16-2008, 06:26 PM | #37 | |
Hall Of Famer
Join Date: Nov 2002
Posts: 3,585
|
Quote:
Add another elsif statement to handle that case as follows (this will hide the ratings/talents when set to "Scouted"): Code:
if ($talScale == 8) { $newTal = int(($inTal+66)/33); $newTal = min(8, $newTal); $newTal = max(2, $newTal); } elsif ($talScale == 80) { my $factor = int(200/13); $newTal = int(($inTal+$factor-5)/$factor); $newTal = min(13, $newTal); $newTal = max(1, $newTal); $newTal = ($newTal*5)+15; } elsif ($talScale == 0) { $newTal = 0; } else { my $factor = 200/$talScale; $newTal = int(($inTal+$factor)/$factor); $newTal = min($talScale, $newTal); $newTal = max(1, $newTal); }
__________________
StatsLab- PHP/MySQL based utilities for Online Leagues Baseball Cards - Full list of known templates and documentation on card development. |
|
09-17-2008, 05:34 PM | #38 |
Hall Of Famer
Join Date: Nov 2002
Posts: 3,585
|
Ok, I've created a patch for the OOTPOU utilities. I've tested this out on two of my own leagues, but there could still be some issues. If so, just let me know and I'll do my best to fix them.
OOTPOUpatch.zip (A Readme file is included in the zip) Enhancements: 1. Added pythagenpat option to Playoff Odds calculator. 2. Export tracker will now display league file date, with old team exports appearing in red text and new team exports appearing in blue text. Fixes: 1. Playoff odds report now shows pythagorean losses instead of team losses, so Pyt.Rec column is correct. 2. Playoff odds report now correctly shows 1 wild card winner with odd number of divisions and 2 wild card winners with even number of divisions. 3. Background image and BNN logo image at bottom of reports now correctly appear (previously referenced SI images in the file names). 4. Fixed divide by zero error when using the "Scouted" option for ratings or talent scales. This option will now hide those ratings on the ratings page.
__________________
StatsLab- PHP/MySQL based utilities for Online Leagues Baseball Cards - Full list of known templates and documentation on card development. |
09-17-2008, 06:12 PM | #39 |
Hall Of Famer
Join Date: Nov 2002
Posts: 3,585
|
Just to clarify, new vs. old exports will be relative to the league file date. So if the commish, for some reason, re-uploads the league file, it's possible that a new export will appear as old relative to the new date.
__________________
StatsLab- PHP/MySQL based utilities for Online Leagues Baseball Cards - Full list of known templates and documentation on card development. |
09-18-2008, 11:48 AM | #40 |
Hall Of Famer
Join Date: Apr 2002
Location: Ft Smith AR
Posts: 2,681
|
Frank, thanks a ton for these fixes.
I had been looking for the Pythgenpat since it had been mentioned. |
Bookmarks |
|
|