Home | Webstore
Latest News: OOTP 13 THIRD Update Available: Version 13.3.9! - OOTP 13 Released! Download Now! - iOOTP 2012 Available NOW on the AppStore - Title Bout Championship Boxing 2.5 released!

Download OOTP 13 Now! | Download iOOTP 2012 from the AppStore

Go Back   OOTP Developments Forums > Out of the Park Baseball 13 > OOTP Mods > OOTP Mods - Database Tools

OOTP Mods - Database Tools Do you need to take a dump? SQL gurus welcome

Reply
 
LinkBack Thread Tools Display Modes
Old 05-16-2010, 07:06 AM   #1 (permalink)
Major Leagues
 
Join Date: May 2006
Posts: 446
Thanks: 1
Thanked 72x in 59 posts
Random DB for OOTP11

I can't redo the title but this is for any version of OOTP


I'm not sure if this is the correct board as random DB appears in several. I have created the ability to build a random DB. It will re-build the relevant csv files. There are no .odb files produced and you will have to be sure that are not in the folder you use to create the leagues.

I am willing to create files for folks if they want. I am not on the forum all the time, so e-mail is best (you can PM me but I still need to know an e-mail where to send the file).

Basically all I need to know is

1) The year you want to start (1871-2010)
2) How many teams you are starting with.
3) How many rounds of the ammy draft you want.
4) It is set to start with a 40 round draft, let me know if you want that changed. (I don't recommend using less than 40)
5) I can handle expansion (it's optional), just let me know how many teams in what years.

I can also do special builds (e.g. eliminate some players, combination of historical and fictional, franchise based). I can do the game's DB, Gambo/Spritze, or Spritze DB. I may be able to do others if you ask.

I'll create an entire set of .csv files, zip them up and send them to you. You will simply need unzip and put the folder in your /stats folder and point your new game to that master.csv.
__________________
Commish of the Home Nations Baseball Association
http://hnbaleague.com
Diamond Kings - Toronto Blue Jays
Savoy - Manchester Red Devils
CBL Rewind - Cincinnati Reds
Hardball Heros - Cincinnati Reds

Last edited by Bristolduke; 11-27-2011 at 08:12 AM. Reason: updated info
Bristolduke is offline   Reply With Quote
2 thanks for this post:
reflections (01-25-2011), Terpripken (01-28-2011)
Old 10-18-2010, 02:09 PM   #2 (permalink)
Major Leagues
 
Join Date: May 2006
Posts: 446
Thanks: 1
Thanked 72x in 59 posts
With patch 4 it is now possible to have random DB again.

I can randomize the OOTP files, Gambo/Spritze v3 DB or the Spritze HS v33 DB.

PM me if you are interested.
__________________
Commish of the Home Nations Baseball Association
http://hnbaleague.com
Diamond Kings - Toronto Blue Jays
Savoy - Manchester Red Devils
CBL Rewind - Cincinnati Reds
Hardball Heros - Cincinnati Reds
Bristolduke is offline   Reply With Quote
2 thanks for this post:
James (02-14-2011), pbar25 (10-20-2010)
Old 01-10-2011, 05:15 PM   #3 (permalink)
Minors (Double A)
 
Kobeck's Avatar
 
Join Date: Nov 2004
Posts: 112
Thanks: 266
Thanked 26x in 17 posts
so would not be using the odb file???
Kobeck is offline   Reply With Quote
Old 01-11-2011, 08:05 PM   #4 (permalink)
Major Leagues
 
pbar25's Avatar
 
Join Date: Mar 2007
Posts: 335
Thanks: 13
Thanked 6x in 5 posts
Quote:
Originally Posted by Kobeck View Post
so would not be using the odb file???
correct, you'd have to delete your odb file as it won't be used
__________________
New York Mets - Asahi2 Baseball
pbar25 is offline   Reply With Quote
Old 07-25-2011, 03:22 AM   #5 (permalink)
All Star Reserve
 
Join Date: Apr 2010
Location: Crackatoea
Posts: 979
Thanks: 2
Thanked 202x in 158 posts
is this possible with OOTP 12?
OutS|der is offline   Reply With Quote
Old 07-27-2011, 07:42 AM   #6 (permalink)
Minors (Double A)
 
jonpfl's Avatar
 
Join Date: Jun 2011
Posts: 194
Thanks: 14
Thanked 6x in 6 posts
Quote:
Originally Posted by OutS|der View Post
is this possible with OOTP 12?
Yeah, I would LOVE to have this feature!! Any chance of it working for 12?
jonpfl is offline   Reply With Quote
Old 08-08-2011, 04:53 PM   #7 (permalink)
Bat Boy
 
Join Date: Mar 2003
Posts: 8
Thanks: 0
Thanked 0x in 0 posts
That would be very kind of you. I have OOTP 11 and OOTP 12

1) The year you want to start (1871-2009) 1871
2) How many teams you are starting with. 20-30
3) How many rounds of the ammy draft you want. 15 but your call
4) It is set to start with a 40 round draft, let me know if you want that changed. (I don't recommend using less than 40)
5) I can handle expansion (it's optional), just let me know how many teams in what years. your call
bimper is offline   Reply With Quote
Old 08-10-2011, 06:41 PM   #8 (permalink)
Hall Of Famer
 
Spritze's Avatar
 
Join Date: Dec 2001
Location: Redmond Wa and Cape Coast Ghana
Posts: 2,946
Thanks: 16
Thanked 344x in 242 posts
Roll your own Random DB

Here is what I do....To make a random db simply create a spreadsheet with all the Player ID's you wish to use (which is the key field). A copy of the master is a good choice for this. Add a random number column and populate it with whatever constrained random number you wish. You need to constrain it to be between 1871 and 2011. That becomes your players new random debut date. Add another column that is the difference between the real and the random debuts. Then apply this difference to each players YearID field in the batting, pitching, and fielding files. Then go to the master and do the same to the birthyear and debut fields. Then delete the historical data odb file.

Once the Batting, Pitching, Fielding and Master files have been updated.....Play Ball!!!!!

Constraining the random number is covered on the Microsoft Support site if you use most versions of Excel, it is also covered on various "fancy things you can do with spreadsheets" sites. If you use something other than Excel it is probably covered somewhere else.

For my spreadsheet version one would use this formula.......... =RANDBETWEEN(1871,2011)

Oh yeah, this works with ANY version of OOTP and with the Spritze and Gambo db's and all the rest. It works with the neutered files (But you need to update both the std and the 2 files) as well.

When you get practiced at this and have a template that includes an update query based on the PlayerID and Year Difference you can make a new random db in under 10 minutes. Longer if you have a baby to change in the middle or a super-model on your lap. Just depends on your particular circumstance.

Last edited by Spritze; 08-10-2011 at 06:49 PM.
Spritze is offline   Reply With Quote
2 thanks for this post:
bigMatt (11-20-2011), fredmanrique (08-16-2011)
Old 08-13-2011, 06:36 AM   #9 (permalink)
Minors (Double A)
 
jonpfl's Avatar
 
Join Date: Jun 2011
Posts: 194
Thanks: 14
Thanked 6x in 6 posts
Quote:
Originally Posted by Spritze View Post
Here is what I do....To make a random db simply create a spreadsheet with all the Player ID's you wish to use (which is the key field). A copy of the master is a good choice for this. Add a random number column and populate it with whatever constrained random number you wish. You need to constrain it to be between 1871 and 2011. That becomes your players new random debut date. Add another column that is the difference between the real and the random debuts. Then apply this difference to each players YearID field in the batting, pitching, and fielding files. Then go to the master and do the same to the birthyear and debut fields. Then delete the historical data odb file.

Once the Batting, Pitching, Fielding and Master files have been updated.....Play Ball!!!!!

Constraining the random number is covered on the Microsoft Support site if you use most versions of Excel, it is also covered on various "fancy things you can do with spreadsheets" sites. If you use something other than Excel it is probably covered somewhere else.

For my spreadsheet version one would use this formula.......... =RANDBETWEEN(1871,2011)

Oh yeah, this works with ANY version of OOTP and with the Spritze and Gambo db's and all the rest. It works with the neutered files (But you need to update both the std and the 2 files) as well.

When you get practiced at this and have a template that includes an update query based on the PlayerID and Year Difference you can make a new random db in under 10 minutes. Longer if you have a baby to change in the middle or a super-model on your lap. Just depends on your particular circumstance.
Does that stop the situation where a certain date might not have enough players assigned to it?

Thx
jonpfl
jonpfl is offline   Reply With Quote
Old 08-13-2011, 08:46 AM   #10 (permalink)
Hall Of Famer
 
Spritze's Avatar
 
Join Date: Dec 2001
Location: Redmond Wa and Cape Coast Ghana
Posts: 2,946
Thanks: 16
Thanked 344x in 242 posts
You'll have a similar number of players available every year whether you have 8 teams or 32. You could even them out by adding any number you choose to the generated number.
OR
You can always re-randomize in smaller groups, group the years with 8 teams, 16, etc.

You can control this yourself.

Imagination is one of the keys to success. As is a comfy chair, hot fudge and a girlfriend who actually likes you.
Spritze is offline   Reply With Quote
Old 11-20-2011, 02:49 PM   #11 (permalink)
Hall Of Famer
 
Spritze's Avatar
 
Join Date: Dec 2001
Location: Redmond Wa and Cape Coast Ghana
Posts: 2,946
Thanks: 16
Thanked 344x in 242 posts
Here it is
__________________
It's madness, madness, I tell you! For the love of God, don't do it!
Spritze is offline   Reply With Quote
Old 11-20-2011, 03:08 PM   #12 (permalink)
Bat Boy
 
Join Date: Mar 2003
Posts: 8
Thanks: 0
Thanked 0x in 0 posts
Can someone send me a file to use?

Pleeeease. Thanks
bimper is offline   Reply With Quote
Old 11-21-2011, 01:20 PM   #13 (permalink)
Hall Of Famer
 
molarmite's Avatar
 
Join Date: Jul 2005
Location: Minnesota
Posts: 4,790
Blog Entries: 1
Thanks: 42
Thanked 81x in 53 posts
How do you do the difference between debut and random year? Debut years have month and day while my random years is only the year. Do I have to find it manually? If I do =random column - debut column it gives me a #VALUE error.
__________________
From the wise mind of Davey Eckstein[/SIZE]

"Now all you need is a signature. A quote or initial, perhaps."


molarmite is offline   Reply With Quote
Old 11-21-2011, 02:14 PM   #14 (permalink)
Hall Of Famer
 
Spritze's Avatar
 
Join Date: Dec 2001
Location: Redmond Wa and Cape Coast Ghana
Posts: 2,946
Thanks: 16
Thanked 344x in 242 posts
OOTP does not use the day or month to determine anything so I personally just strip the out. Right(Debut,4) or something similar should do it depending on the version/publisher of your spreadsheet.

Also make sure your columns are in a Integer Number format.
__________________
It's madness, madness, I tell you! For the love of God, don't do it!
Spritze is offline   Reply With Quote
Old 11-21-2011, 03:19 PM   #15 (permalink)
Hall Of Famer
 
Spritze's Avatar
 
Join Date: Dec 2001
Location: Redmond Wa and Cape Coast Ghana
Posts: 2,946
Thanks: 16
Thanked 344x in 242 posts
I'll attach a small example xls file here so you can see what is what this evening in the evening after I get home in the evening. Specifically this evening. Well, maybe tomorrow morning. One never knows what the day may bring does one?
Attached Files
File Type: xls Random Master2.xls (30.0 KB, 58 views)
__________________
It's madness, madness, I tell you! For the love of God, don't do it!

Last edited by Spritze; 11-21-2011 at 10:00 PM.
Spritze is offline   Reply With Quote
Thank you for this post:
trentk10 (12-09-2011)
Old 11-22-2011, 07:30 AM   #16 (permalink)
Bat Boy
 
Join Date: Mar 2003
Posts: 8
Thanks: 0
Thanked 0x in 0 posts
DB for OOTP 12

Thanks, Spritze. Might you hae ac ompleted DB for 2012 that you could send me? I am not great at Excel.

Thank you
bimper is offline   Reply With Quote
Old 11-25-2011, 12:37 PM   #17 (permalink)
Hall Of Famer
 
Spritze's Avatar
 
Join Date: Dec 2001
Location: Redmond Wa and Cape Coast Ghana
Posts: 2,946
Thanks: 16
Thanked 344x in 242 posts
To all Randomizers Out There

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!
Spritze is offline   Reply With Quote
Old 11-25-2011, 01:55 PM   #18 (permalink)
Minors (Double A)
 
Join Date: Feb 2010
Posts: 118
Thanks: 2
Thanked 40x in 24 posts
Thanks

Quote:
Originally Posted by Spritze View Post
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.
Spritze,

I sent you a pm for the link. Thanks much for your work and expertise. A couple of question regarding setup.

What year do you start with when you do the setup file at the creation of the game?

How many years does it run?

How many draft rounds are there for the initial draft?

Was it made for a 30 team league or is that flexible?

Do you recommend neutralized stats? Recalc on? Career play for basing potential ratings?

After the first year initial draft how many rounds will there be in subsequent drafts?

Thanks again,

Bob
MLHFFYP is offline   Reply With Quote
Old 11-25-2011, 02:27 PM   #19 (permalink)
Hall Of Famer
 
Spritze's Avatar
 
Join Date: Dec 2001
Location: Redmond Wa and Cape Coast Ghana
Posts: 2,946
Thanks: 16
Thanked 344x in 242 posts
Quote:
Originally Posted by MLHFFYP View Post
What year do you start with when you do the setup file at the creation of the game?
Start whenever you wish (1871-2010)
Quote:
Originally Posted by MLHFFYP View Post


How many years does it run?
1871-2010

Quote:
Originally Posted by MLHFFYP View Post


How many draft rounds are there for the initial draft?
Depends when you start I suppose
Quote:
Originally Posted by MLHFFYP View Post


Was it made for a 30 team league or is that flexible?
Uses OOTP defaults so it depends on the year
Quote:
Originally Posted by MLHFFYP View Post


Do you recommend neutralized stats? Recalc on? Career play for basing potential ratings?
It is based on neutralized stats, nothing else works as well for cross-era play
Quote:
Originally Posted by MLHFFYP View Post


After the first year initial draft how many rounds will there be in subsequent drafts?
I have no idea, perhaps you can set them?
__________________
It's madness, madness, I tell you! For the love of God, don't do it!
Spritze is offline   Reply With Quote
Old 11-26-2011, 07:48 PM   #20 (permalink)
Minors (Double A)
 
Join Date: Feb 2010
Posts: 118
Thanks: 2
Thanked 40x in 24 posts
Settings for the Random DB

Spritze,


I have downloaded and am setting up my league with your random database.
I want to run my settings by you so that I can get the right configuration.
Here are my steps. Please let me know when I make a mistake. Hopefully, this can help some others as well.


      • I start off by using the historical league creation wizard from New Custom Game.
      • I am starting at 1910. Should I import complete history up to 1910?
      • I choose advanced settings.
Step One


      • After selecting the path to the database, Master.csv, I make the following selections:
        • Base current ratings on Neutralized Stats
        • Base potential ratings on Remaining Years of Career
        • Based Fielding Ratings on 3-Year Period
        • Base Pitcher Stamina on 3-Year Period
I check generate L/R splits and leave the rest of the page as is.


Step Two


1. I leave the step two screen as is.

Step Three

1. I leave everything unchecked.

Step Four
1. On this screen I do the following:

Player Development Recalculate Player Ratings Before Each Season

I check both Automatically Expand League and Hold Expansion Draft

I uncheck Financials as I don’t use this option.


Step Five I do not change anything on this screen

Step Six


On this screen I check the box to be in commissioner mode and to pick my team.
I then go into advanced mode.


I make selections under Game Options and then select my game from in the create game tab.


Structure – No change.


Names – Change only award names.


Rules – Only thing I do is uncheck 10/5 rule and Advanced Draftee Signing
Options – I check Hold Draft, Uncheck Ghost Players, set min. age to 18 and max to 35. I then keep everything else the same.


Financials – I uncheck Enable Financials.


Historical Settings – I keep everything as is except that I do check Double Weight of Current Year Stats.


Strategy – Not sure here. Should I choose the 1910 settings to import. Will this negatively impact the realism of the stats? I leave Automatically adjust league totals modifiers and Automatically import historical player boxes checked but am not sure if I should.


What suggestions would you make to make the random game more realistic?


Thanks.

Last edited by MLHFFYP; 11-26-2011 at 07:59 PM.
MLHFFYP is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
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

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



All times are GMT -4. The time now is 02:33 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0
Copyright © 2009 Out of the Park Developments