|
||||
|
|
OOTP Mods Logos, roster packs, historical databases, OOTP tools, FaceGen files... it's all here! |
|
Thread Tools |
05-21-2007, 09:02 PM | #1 |
All Star Reserve
Join Date: Jan 2006
Posts: 868
|
Updated Draft Utility
I've updated my draft utility with some requested features:
- Draft Timer (including "off-times" at night) - Admin Auto-draft using GM's Draft List - Option to choose the amount of players displayed on the page - Log in as any user as Admin - Fixed the View button Get the latest version at: http://www.ootpmodsquad.com/mods/onl...ftUtil2007.zip However, DON'T upgrade in the middle of the draft. Wait until it's over to get the new goods. As always, let me know if you have any issues or features you'd like to see.
__________________
Get the OOTP Online Utilities for online leagues! Includes Gamecast, Development, Live Sims, Voting and more. Check here for more details Last edited by Getch; 05-21-2007 at 09:06 PM. |
05-21-2007, 09:12 PM | #2 |
Hall Of Famer
Join Date: Jun 2006
Posts: 2,617
|
Awesome, Getch. I can't wait to try this out.
Quick question, does the "Draft Timer" auto pick at the end of the time, or does the Commish still have to make the pick? |
05-21-2007, 09:14 PM | #3 |
All Star Reserve
Join Date: Jan 2006
Posts: 868
|
Still gotta make the pick. Sorry, didn't see any easy way of doing that.
__________________
Get the OOTP Online Utilities for online leagues! Includes Gamecast, Development, Live Sims, Voting and more. Check here for more details |
05-21-2007, 09:16 PM | #4 |
Hall Of Famer
Join Date: Jun 2006
Posts: 2,617
|
Hey, no problem. At least it's a nice little visual reminder that the GM needs to make the pick, and it helps the commish keep track of the time limits. Good work Getch!
|
05-23-2007, 09:51 AM | #6 |
Hall Of Famer
Join Date: Mar 2002
Location: Ontario, Canada
Posts: 2,065
|
Getch,
Does the draft timer support times greater than 24 hours? If so, how? I get impossible things when I try to do it - such as "Pick due by Wednesday at 73:37 PM". Also, a feature request for any future versions, if you're thinking of doing any more: could we get a few extra ratings added to the player display? I'd really like some of the personality ratings - Work Ethic, Loyalty and Greed, primarily - as well as GB% for pitchers. I imagine everyone has their own "pet ratings" that are important to them, however, so I could understand why you might not want to open the floodgates to requests to have every single rating displayed/sortable in the utility, but I figured it couldn't hurt to ask. Personally, those four ratings would make the sorting features of the utility much more useful to me. Without them, I still use OOTP/Excel to rank my draftees, and then just use the utility to manage the resulting draft list. - Kai
__________________
BJHL: Commissioner; Owner: Wichita War Eagles Last edited by Kaitiaki; 05-23-2007 at 10:13 AM. |
05-25-2007, 09:55 AM | #7 |
All Star Reserve
Join Date: Jan 2006
Posts: 868
|
Er, not sure how you are getting 73:37 pm. What's your settings in setup.txt for the 3 timer options? If one of those is bad, that could screw up the utility.
Adding new sorts is not too hard... just a matter of finding the fields in the .csv file.
__________________
Get the OOTP Online Utilities for online leagues! Includes Gamecast, Development, Live Sims, Voting and more. Check here for more details |
05-25-2007, 02:28 PM | #8 | ||
Hall Of Famer
Join Date: Mar 2002
Location: Ontario, Canada
Posts: 2,065
|
Quote:
PICK_MORNING:0 PICK_NIGHT:0 I want people to have three days (72 hours) from the time of the last pick to make their selection, with no daytime/nighttime interruptions to the timer. However, with a pick having been made earlier this morning (Friday), the utility is currently displaying "Pick due by Friday at 68:31 pm" for the next person. I'm not sure precisely when the previous pick was made, but I would guess that the utility is counting hours correctly, but not rolling over to the next day properly? Perhaps I'm not inputting the time in the correct format? Or do I need to put something in for PICK_NIGHT (from the readme, I assumed it worked the same way as PICK_MORNING, and should be left at 0 for a continuous clock)? Quote:
If it helps, though, the personality ratings are columns AB to AG in players.csv, with AB, AC, and AE being the three that I'm most interested in. Groundball Percentage is AP in players_pitching.csv. EDIT> Also, while I'm harrassing you about this thing, what does the "Defense" sort for batters even do? Telling the utility to sort by Defense produces the exact same output as the basic, pre-sort alphabetical listing. It doesn't seem to have any effect. And how does it presumably come up with a single "Defense" value when the game uses such a multitude of fielding ratings - is it just the player's positional rating at his currently-assigned position? - Kai
__________________
BJHL: Commissioner; Owner: Wichita War Eagles Last edited by Kaitiaki; 05-25-2007 at 02:40 PM. |
||
05-25-2007, 03:33 PM | #9 |
All Star Reserve
Join Date: Jan 2006
Posts: 868
|
I never thought someone would want over 24 hours to make a pick, so the code never handled that. That's why you're seeing strange hours.
As for Defense, beats the hell out of me. Probably left over from 2006. Amazing that I never noticed it until you pointed it out.
__________________
Get the OOTP Online Utilities for online leagues! Includes Gamecast, Development, Live Sims, Voting and more. Check here for more details |
05-25-2007, 03:57 PM | #10 | ||
Hall Of Famer
Join Date: Mar 2002
Location: Ontario, Canada
Posts: 2,065
|
Quote:
Quote:
At the very least, I would think Defense should be changed to Def Range (with the utility automatically selecting to display either Infield Range for 1B/2B/3B/SS or Outfield Range for LF/CF/RF). And if you're feeling comprehensive, add separate sorts for the Arm/Error ratings, though I think most people consider those to be "secondary" defensive ratings. - Kai
__________________
BJHL: Commissioner; Owner: Wichita War Eagles |
||
05-25-2007, 04:42 PM | #11 |
All Star Reserve
Join Date: Jan 2006
Posts: 868
|
I'll keep it in mind. The main reason I don't have all these options is in real estate... not enough room on the page for the columns. I guess I would have to change the columns to reflect what you are sorting by, or have an option to chose the columns to be displayed.
Next version, maybe .
__________________
Get the OOTP Online Utilities for online leagues! Includes Gamecast, Development, Live Sims, Voting and more. Check here for more details |
07-31-2007, 03:49 PM | #12 |
Hall Of Famer
Join Date: Dec 2004
Location: Bay Area, CA
Posts: 4,014
|
Getch,
Our online league uses scouting. Does the utility show SISA ratings or will it show scout ratings for whichever team logs in?
__________________
Global Unified Baseball Association - Vice Commish and Oakland Oaks GM |
07-31-2007, 04:40 PM | #13 |
All Star Reserve
Join Date: Jan 2006
Posts: 868
|
The .csv dumps do not have any scouting ratings in them, not even SISA, so there's no way I can incorporate them into the utility. What other leagues have done is set the talent/rating scale to 1, so that all player's ratings show up as a 1. This means the GM's have to look in OOTP to figure out who they want to draft, but at least you get all the other functionality of the utility (although auto-drafting for a GM would be like picking a random person, since everyone is set to the same ratings).
Nothing I can do about it until OOTP dumps the scouted ratings to .csv... which would probably make a massive file. Maybe in 2008?
__________________
Get the OOTP Online Utilities for online leagues! Includes Gamecast, Development, Live Sims, Voting and more. Check here for more details Last edited by Getch; 07-31-2007 at 04:41 PM. |
07-31-2007, 04:45 PM | #14 | |
Global Moderator
|
Quote:
__________________
This signature is intentionally blank |
|
07-31-2007, 05:15 PM | #15 | |
All Star Reserve
Join Date: Jan 2006
Posts: 868
|
Quote:
Let me know if you pin a scouting.csv down, and I can maybe incorporate it into the utility.
__________________
Get the OOTP Online Utilities for online leagues! Includes Gamecast, Development, Live Sims, Voting and more. Check here for more details |
|
09-28-2007, 02:52 PM | #16 |
Minors (Double A)
Join Date: Dec 2003
Location: Denver, CO
Posts: 160
|
At what point does the draft.pl page show the amateurs?
We have our league set to display the pool on Apr. 15th, with feeder leagues (so the players are still playing), and a draft date of June 15th. It's Apr 24th in the league now and I don't see anything displaying on the draft.pl page, is it because they're still playing in the feeder league you think? |
09-28-2007, 03:14 PM | #17 |
All Star Reserve
Join Date: Jan 2006
Posts: 868
|
Nope, it's because it doesn't support feeder leagues. Something I plan on for the next release (coming soon).
For some odd reason, players in feeder leagues that are draft eligible don't have that flag set, which is the issue. I have to get the pool by looking at age limits of the league compared to the age of the player. I am curious, though... is it the age of the player on Jan 1st, or when the draft pool is released, or what? Could you PM me your .csv files for your league? Maybe I can whip something up quickly for you. Please also give me a few names of players who are draft eligible but are not showing up, and the URL of the league (so I can look at the HTML reports). Thanks.
__________________
Get the OOTP Online Utilities for online leagues! Includes Gamecast, Development, Live Sims, Voting and more. Check here for more details |
10-01-2007, 08:56 AM | #18 |
All Star Reserve
Join Date: Feb 2002
Location: atl
Posts: 891
|
Hey Getch, is there a way to have the utility display the number of players in a GM's list? Something like...
Atlanta (0) Detroit (5) Boston (3) Not sure how difficult it would be since they are all in separate text files, just an idea so that way I can see who isn't going to be ready when their turn is up. Thanks.
__________________
San Diego Padres NexGen Baseball League Cleveland Indians United Baseball League Co-commissioner of United Baseball League |
10-01-2007, 09:15 AM | #19 | |
Minors (Double A)
Join Date: Dec 2003
Location: Denver, CO
Posts: 160
|
Quote:
I actually got it working by copying files over to a test league, then advancing the date to actual draft day. Then took that players.csv and used it for the tool. It'll work as a work-around for now. |
|
10-01-2007, 01:43 PM | #20 |
Hall Of Famer
Join Date: Nov 2002
Posts: 3,585
|
I ran into a problem with my online league while working on the draft utility setup. The utility has some nifty little features that the commish can use via an Admin link to reset passwords, edit picks, and trade picks. Unfortunately, if you're the commish for the league but not a GM, you can't login.
If you open up passwords.html and login.html in a text editor like Wordpad, you can fix this with the following modification. Search for the following line of code: Code:
open (IN, "$info{CSV}/human_managers.csv"); Change it from: Code:
if ($5 > 0) { Code:
if ($2 >0 || ($5 > 0)) {
__________________
StatsLab- PHP/MySQL based utilities for Online Leagues Baseball Cards - Full list of known templates and documentation on card development. |
Bookmarks |
|
|