|
|
#21 (permalink) |
|
Hall Of Famer
Join Date: Aug 2003
Location: Kenosha, Wisconsin
Posts: 2,302
Thanks: 157
Thanked 101x in 76 posts
|
Okay, Mike D. I see what you did. You just used the sample files that I used for my test as the actual database. You need to run through the Macros and recreate your own new database the first time and export the files to the csv files. If you want to use this dataset then you could simply export the files listed in the read me to csv files and overwrite the files in the sample database.
I noticed that I missed this in the read me, but export as Text. Click on the document in the Random Debut Folder that your are replacing. Example New_Batting is exported into Batting.csv. Select Batting.CSV then for text qualifier select {none}. This overwrites the previously saved files. The version I put out I did not re-export the files after the last test with the Macros, so the csv files do not match the tables, except for the master. These are the files that need to be exported after running step3Macro: New_Batting to Batting.csv New_Pitching to Pitching.csv New_FieldingOF to FieldingOF.csv New_Fielding to Fielding.csv New_Master to Master.csv In the future I plan on making this an actual VB program but for now the Macro system will need to do. BTW, if you cannot run the macros on your system and just need random debut files, I can make some and post them somewhere.... I have new versions with the test data matching the database if anyone wants them. 26MB in Zip, 20mb in Rar. Last edited by SandMan; 05-15-2007 at 06:29 PM. |
|
|
|
|
|
#22 (permalink) |
|
All Star Reserve
Join Date: Apr 2007
Location: Harrisburg, PA
Posts: 699
Thanks: 0
Thanked 4x in 4 posts
|
Ok, thanks I found it.
__________________
GREEN BAY PACKERS AND FLORIDA GATORS!! Road Through Baseball History (1871- *Relive Baseball History From The Start (1871-1892) *Hustling in the World Baseball Federation *Tampa Bay Rays: Destined for Greatness |
|
|
|
|
|
#23 (permalink) | |
|
Hall Of Famer
Join Date: Dec 2001
Location: In a van, down by the river
Posts: 2,276
Thanks: 1
Thanked 4x in 3 posts
|
Quote:
__________________
Sometimes the best laid plans will never get you laid the way you plan. |
|
|
|
|
|
|
#24 (permalink) | |
|
Hall Of Famer
Join Date: Aug 2003
Location: Kenosha, Wisconsin
Posts: 2,302
Thanks: 157
Thanked 101x in 76 posts
|
Quote:
http://www.allsimbaseball.com/index....fileinfo&id=16 I have two database created, but I would hope that the utility would work for everyone. The importants steps are: After running Macro1 and Macro2 to then go to the get external data and import the newdebut.xls worksheet into the newdebut table, making sure to set the text qualifier as {none}. Then to run Macro3 and export the new-batting, new_pitching, new_fielding, new_fieldingOF and new_master table to the batting, pitching, fielding, fieldingof and master.csv files. You must export these as text with the text qualifier as {none} overwriting the files in your randomdebut folder (C:\randomdebut\randomdebut\******.csv) where the ******* is the file name. I hope that this is not confusing because it is rather cool to get your own random database at anytime, knowing that you will never have to duplicate the database. Cheers With Regards, Steve |
|
|
|
|
|
|
#25 (permalink) |
|
Hall Of Famer
Join Date: Dec 2001
Location: In a van, down by the river
Posts: 2,276
Thanks: 1
Thanked 4x in 3 posts
|
I'm going to give it another shot this weekend, but I appreciate the upload. Thanks for all your hard work on this. One question. If I change the debut year to 2001 for all players in the newdebut.xls, when I import it, will it change all the other xls files to 2001 too? I'm trying to do an entire league with just players born in Illinois, but I can't change all the batters and fielding xls files becasue Excel only opens so many lines and I have no idea how to create a macro to do it for me in access. Again, thanks for all your hard work on this. The Mod community is great because of people like you.
__________________
Sometimes the best laid plans will never get you laid the way you plan. |
|
|
|
|
|
#26 (permalink) | |
|
Hall Of Famer
Join Date: Aug 2003
Location: Kenosha, Wisconsin
Posts: 2,302
Thanks: 157
Thanked 101x in 76 posts
|
Quote:
In Access create a delete query deleting all records not ILLINOIS in the birth state field. In Excel do a sort by Birth State and then delete all the records above and below the Illinois records. Then just export/or save as text document. Copy the contents into the master.csv file. You do not need to worry about the fielding, batting or pitching records in the database. The game goes off of the Master.csv file. You can then use this master file to create your own random debut database with only the players from Illinois!!! To get all the players to have debut year in 2001 (that is over 16000 players you know), then open the newdeb change every debut to 2001. Then simply run the 3rd macro. After this is done, export the new_tables to their correct csv tables in the random debut folder. You will not get any new rookies after that though..... The way the Random Debut is setup is pretty much to start in 1901 and play through with year 2007 having the last draft..... but you can change it to your liking either through the newdebut worksheet or the newdebut tables and the Access Macros. Regards, Steve |
|
|
|
|
|
|
#27 (permalink) | |
|
Hall Of Famer
Join Date: Dec 2001
Location: In a van, down by the river
Posts: 2,276
Thanks: 1
Thanked 4x in 3 posts
|
Quote:
__________________
Sometimes the best laid plans will never get you laid the way you plan. |
|
|
|
|
|
|
#28 (permalink) |
|
Hall Of Famer
Join Date: Feb 2003
Location: BC
Posts: 2,006
Thanks: 104
Thanked 107x in 75 posts
|
Just wondering if this is possible... is there a way to hand pick certain players and have them assigned random debuts? I would like to hand pick roughly a dozen players from each decade and have them randomly debut(mixed in with fictional players) as my league progresses. Anyone have any ideas on how I can achieve this?
Thanks.
__________________
"The ice is getting even more thinner, my friend!"
|
|
|
|
|
|
#29 (permalink) |
|
Major Leagues
Join Date: Jun 2002
Posts: 353
Thanks: 32
Thanked 5x in 5 posts
|
Sandman,
Can this be tweeked to give us better control and ease of database use? For example, I'd like to import all 1871-1900 players into a 1901 league and then run normal history from there. A grand "What if" scenario. Also I'd like to adjust all players to debut around age 17-20. What do you think? There are infinite things that could be tried. Nice work overall, thanks! JP |
|
|
|
|
|
#30 (permalink) |
|
Minors (Rookie Ball)
Join Date: May 2008
Posts: 41
Thanks: 0
Thanked 0x in 0 posts
|
Sandman-
When you select the text qualifier to none, i t treats multiple nicknames as comma delimited, threrefore corrupting the master file I think... could this be true? Regardless, as I PMed to you as well, I cannot for the life of me get more than 250 or so in my inaugural draft. I'd assume that a player or two would maybe retire or go away after a year or two, but not 400. Would you suggest that I check or uncheck the "Change ratings each year to be based on real life?" I'm downloading one of your randomized files now to see if I get a better response from them. |
|
|
|
|
|
#35 (permalink) |
|
Hall Of Famer
Join Date: Dec 2001
Location: Redmond Wa and Cape Coast Ghana
Posts: 2,817
Thanks: 16
Thanked 306x in 217 posts
|
Randon db for OOTP12 available. PM me for the ftp link.
I made 20 different ones but only put up one. If it plays OK I'll put up the rest.
__________________
It's madness, madness, I tell you! For the love of God, don't do it! |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|