Latest News: OOTP PATCH 9.2.2 released - buy before Oct. 17th and save $10! - OOTP 9 RELEASED! - Title Bout Championship Boxing 2.5 released! - OOTP 2007 receives Editors Choice Award from PC Gamer - Inside the Park Baseball Patch 1.03 released, DEMO now available

Click here to download Out of the Park Baseball 9!

Go Back   OOTP Developments Forums > OUT OF THE PARK BASEBALL 9 > OOTP 9 - Mods > Rosters, Photos, and Quick-Starts
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 06-09-2006, 02:34 AM   #1 (permalink)
Minors (Single A)
 
Hyper_Chem's Avatar
 
Join Date: Apr 2003
Location: Chicago
Posts: 52
Random Debut Yeard DB

I remember there was one for 6.5, i believe it was from Arod, and what i'm wondering is if there is one out for ootp2006, or if the old one would work. If anybody know where i could find this i'd appreciate it.

I'd really like the idea of clemente and cobb having the opportunity to play in the same year.

Anyways, let me know if this is out already or if its in to work by anybody.

Thanks
Hyper_Chem is offline   Reply With Quote
Old 06-09-2006, 08:36 AM   #2 (permalink)
Stu
All Star Starter
 
Stu's Avatar
 
Join Date: Dec 2005
Posts: 1,026
The old one will import but for some reason I can only get half the players to be eligible for the initial draft. The rest appear as FA's.
Stu is online now   Reply With Quote
Old 06-10-2006, 01:10 PM   #3 (permalink)
Minors (Rookie Ball)
 
stl jason's Avatar
 
Join Date: Apr 2006
Posts: 31
just thinking out loud here, so this might not work at all.... but I was trying to come up with a do-it-yourself random option using the current arod/garlon DB...

since the game pulls the players from the master.csv file, I'm thinking you could just randomize that file to have the players shuffled to different years. Here's my thoughts on how (you'll probably want to save a back-up file of the original, in case you want to go back to it):

highlight column E (birth year), cut it and paste it in the last column (AA), next to the debut year (why you need to do this later). Highlight column Z (debut year) and insert a blank column between it and column Y (throws). Now highlight column AA (debut year), and sort if (ascending or descending), expanding the selection to include birth year. Once you finish the sort, delete the empty column you added between "throws" and "debut year", and cut the birth year column and repaste it back to its original spot. Then save the file and exit. The reason for the blank insert is, the sort will only affect the debut year/birth year columns, so none of the other stats will change spots.

You'll probably need to start with an inaugural draft, since the players will all be randomized and teams most likely won't be stocked with the right amount of players... and you'll have to have a rookie draft, instead of assigning them to original teams.

What could be fun with this is, you have a bunch of different criteria to sort, so you can make different randomized rosters and have new players showing up in different years with each new sim. (sort the first names or last names or birth city, etc. along with the debut year/birth year).

The only thing that you'll want to ensure is that you have the debut year and birth year connected when you sort them. You don't want to just sort the debut year and have a player born in 1867 have his debut year in 1997

I just did a quick sort of only the debut year/birth year to see what I would get. In a descending sort of the debut year, Albert Pujols would make his debut in 1922. I might have to make a trial run on a season to see what happens.


--got some errors on the start-up, so I'll tinker with it to see if I can get it to work...

Last edited by stl jason : 06-10-2006 at 01:44 PM.
stl jason is offline   Reply With Quote
Old 06-10-2006, 01:41 PM   #4 (permalink)
All Star Starter
 
SandMan's Avatar
 
Join Date: Aug 2003
Location: Kenosha, Wisconsin
Posts: 1,856
The easiest way to make random debut...

1. Copy the Master CSV to Excel.
2. Create a column with new Random year using the function Randbetween(FY, LY) with first year about 5 years before your league starting and last year the year you want your last season to run without having fictional players.....
3. Create a column subtracting the random debut year from the actual debut year.
4. Paste the Random Year over the actual debut year using Paste Special - Value.
5. Create a column subtracting the number created in step 3 with the birth year. Paste using the Paste Special - Value over the birth year.

Batting/Pitching and Fielding CSV

1. Copy all these to a Excel workbook.
2. Create a Master CSV that has the Lahmn ID and the value created in step 3 above.
3. Create a column in the batting file that does a lookup on the lahman ID, returning the value created in the master csv step 3.
4. Create a column that subtracts this value from the year of the record. Paste this column into the year column using paste special value.
5. Do this for all files that has the year value in it.
6. Delete the extra columns you created in all imported csvs and export the new tables to csv files. Just make sure to save a copy of the original lahmans csv files in case you have made any errors or in case if you want to create another random debut database in the future.....


I used to have this in an access program using queries and it worked good. The above way is a little more work but you can create a Random Debut table in about 25-30 minutes. On Simcentral I have a random debut database in the OOTP5 section that I create a few years ago using my access application. It does not have any players from 2004-present but it does have the historical players. IF you started in 1901 you would have enough players for 24 teams with an average of 4-5 rounds each year after the initial draft.

The above steps require a intermediate understanding using MS EXCEL and the functions to create the tables, also it requires the Analysis Pack that comes with Excel 2002 and above for some of the functions...(randbetween being one - otherwise you will need to use the random function)

I hope this helps. I was going to write a little VB app that does this automatically but I found that the interest in a random debut database was actually very small and would not be worth the time to create it, although it would be a simple program......
SandMan is offline   Reply With Quote
Old 06-11-2006, 03:11 AM   #5 (permalink)
Minors (Rookie Ball)
 
Join Date: Mar 2005
Posts: 27
Quote:
Originally Posted by SandMan
1. Copy the Master CSV to Excel.
2. Create a column with new Random year using the function Randbetween(FY, LY) with first year about 5 years before your league starting and last year the year you want your last season to run without having fictional players.....
3. Create a column subtracting the random debut year from the actual debut year.
4. Paste the Random Year over the actual debut year using Paste Special - Value.
5. Create a column subtracting the number created in step 3 with the birth year. Paste using the Paste Special - Value over the birth year.

Batting/Pitching and Fielding CSV

1. Copy all these to a Excel workbook.
2. Create a Master CSV that has the Lahmn ID and the value created in step 3 above.
3. Create a column in the batting file that does a lookup on the lahman ID, returning the value created in the master csv step 3.
4. Create a column that subtracts this value from the year of the record. Paste this column into the year column using paste special value.
5. Do this for all files that has the year value in it.
6. Delete the extra columns you created in all imported csvs and export the new tables to csv files. Just make sure to save a copy of the original lahmans csv files in case you have made any errors or in case if you want to create another random debut database in the future.....


I used to have this in an access program using queries and it worked good. The above way is a little more work but you can create a Random Debut table in about 25-30 minutes. On Simcentral I have a random debut database in the OOTP5 section that I create a few years ago using my access application. It does not have any players from 2004-present but it does have the historical players. IF you started in 1901 you would have enough players for 24 teams with an average of 4-5 rounds each year after the initial draft.

The above steps require a intermediate understanding using MS EXCEL and the functions to create the tables, also it requires the Analysis Pack that comes with Excel 2002 and above for some of the functions...(randbetween being one - otherwise you will need to use the random function)

I hope this helps. I was going to write a little VB app that does this automatically but I found that the interest in a random debut database was actually very small and would not be worth the time to create it, although it would be a simple program......
Any chance you can post some pics with your walkthrough? I've barely used Excel and I'm not really any good with it. If not, thanks anyway for your tutorial, as I was wondering how to randomize the years players can be drafted.
trapper700 is offline   Reply With Quote
Old 06-11-2006, 10:56 AM   #6 (permalink)
Bat Boy
 
Join Date: Mar 2003
Posts: 7
When I try to import the csv file I am getting errors that the file is too big for excel and it cuts off somewhere in the W's. Is there a way to get around this?
tim86432 is offline   Reply With Quote
Old 06-11-2006, 11:57 AM   #7 (permalink)
Minors (Rookie Ball)
 
Join Date: Mar 2005
Posts: 27
yeah, so if anyone gets this working, mind sharing it with the rest of us? thanks.
trapper700 is offline   Reply With Quote
Old 06-11-2006, 11:58 AM   #8 (permalink)
All Star Starter
 
Nukester's Avatar
 
Join Date: Dec 2001
Location: Newburgh, NY
Posts: 1,903
Something like this would probably be fairly easy to write up using FoxPro, but my biggest question is how do you handle the number of players being imported for a given year ? For instance, how do you know your not getting 5 rookies for 1910 and 34 for 1915 ?
__________________
Well, I don't really think that the end can be assessed as of itself as being the end because what does the end feel like? It's like saying when you try to extrapolate the end of the universe, you say, if the universe is indeed infinite, then how - what does that mean? How far is all the way, and then if it stops, what's stopping it, and what's behind what's stopping it? So, what's the end, you know, is my question to you.
Nukester is offline   Reply With Quote
Old 06-11-2006, 01:51 PM   #9 (permalink)
Major Leagues
 
gbmoore121's Avatar
 
Join Date: Feb 2002
Location: Arizona
Posts: 384
Quote:
Originally Posted by Nukester
Something like this would probably be fairly easy to write up using FoxPro, but my biggest question is how do you handle the number of players being imported for a given year ? For instance, how do you know your not getting 5 rookies for 1910 and 34 for 1915 ?
I was thinking the same thing. I would like to do a random debut with the AROD/ GARLON using 16 teams. I would think there is a way to ensure some frequency.
gbmoore121 is offline   Reply With Quote
Old 06-11-2006, 05:25 PM   #10 (permalink)
All Star Starter
 
SandMan's Avatar
 
Join Date: Aug 2003
Location: Kenosha, Wisconsin
Posts: 1,856
Quote:
Originally Posted by tim86432
When I try to import the csv file I am getting errors that the file is too big for excel and it cuts off somewhere in the W's. Is there a way to get around this?

Excel Only handles 64K records. You need to open in wordpad take the first half of the data, cut it and paste into another document and process the new lists seperately. I think that there is an Excel version of Lahmans on the baseball1 site that has the tables broken down in parts.

Or you can do this in MS ACCESS. The master CSV should open, the other tables may be too large...
SandMan is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 07:59 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 Out of the Park Developments