Home | Webstore
Latest News: OOTP 25 Available - FHM 10 Available - OOTP Go! Available

Out of the Park Baseball 25 Buy Now!

  

Go Back   OOTP Developments Forums > Out of the Park Baseball 25 > OOTP Mods > OOTP Mods - Database Tools
Register Blogs FAQ Calendar Today's Posts Search

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

Reply
 
Thread Tools
Old 05-16-2010, 07:06 AM   #1
Bristolduke
All Star Starter
 
Join Date: May 2006
Posts: 1,404
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
Commish of the Baseball Association League
Commish of the League of WAR
Commish of the On-Line Dynasty League
SIMBL2 - Westbury Cannons
Great Lakes Baseball - Toledo Neptunes
World Baseball - Guantanamo Marines
OMLB - Cincinnati Reds

Last edited by Bristolduke; 11-27-2011 at 08:12 AM. Reason: updated info
Bristolduke is offline   Reply With Quote
Old 10-18-2010, 02:09 PM   #2
Bristolduke
All Star Starter
 
Join Date: May 2006
Posts: 1,404
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
Commish of the Baseball Association League
Commish of the League of WAR
Commish of the On-Line Dynasty League
SIMBL2 - Westbury Cannons
Great Lakes Baseball - Toledo Neptunes
World Baseball - Guantanamo Marines
OMLB - Cincinnati Reds
Bristolduke is offline   Reply With Quote
Old 01-10-2011, 05:15 PM   #3
Kobeck
Major Leagues
 
Kobeck's Avatar
 
Join Date: Nov 2004
Posts: 488
so would not be using the odb file???
Kobeck is offline   Reply With Quote
Old 01-11-2011, 08:05 PM   #4
pbar25
Major Leagues
 
pbar25's Avatar
 
Join Date: Mar 2007
Posts: 343
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
OutS|der
Hall Of Famer
 
Join Date: Apr 2010
Location: In A Van Down By The River
Posts: 2,244
is this possible with OOTP 12?
OutS|der is offline   Reply With Quote
Old 07-27-2011, 07:42 AM   #6
jonpfl
Minors (Triple A)
 
jonpfl's Avatar
 
Join Date: Jun 2011
Posts: 200
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
bimper
Bat Boy
 
Join Date: Mar 2003
Location: Philippines
Posts: 12
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
Spritze
OOTP Historical Czar
 
Spritze's Avatar
 
Join Date: Dec 2001
Location: Bothell Wa
Posts: 7,254
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
Old 08-13-2011, 06:36 AM   #9
jonpfl
Minors (Triple A)
 
jonpfl's Avatar
 
Join Date: Jun 2011
Posts: 200
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
Spritze
OOTP Historical Czar
 
Spritze's Avatar
 
Join Date: Dec 2001
Location: Bothell Wa
Posts: 7,254
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
Spritze
OOTP Historical Czar
 
Spritze's Avatar
 
Join Date: Dec 2001
Location: Bothell Wa
Posts: 7,254
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
bimper
Bat Boy
 
Join Date: Mar 2003
Location: Philippines
Posts: 12
Can someone send me a file to use?

Pleeeease. Thanks
bimper is offline   Reply With Quote
Old 11-21-2011, 01:20 PM   #13
molarmite
Hall Of Famer
 
molarmite's Avatar
 
Join Date: Jul 2005
Location: Minnesota
Posts: 4,893
Blog Entries: 1
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

"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
Spritze
OOTP Historical Czar
 
Spritze's Avatar
 
Join Date: Dec 2001
Location: Bothell Wa
Posts: 7,254
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
Spritze
OOTP Historical Czar
 
Spritze's Avatar
 
Join Date: Dec 2001
Location: Bothell Wa
Posts: 7,254
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, 212 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
Old 11-22-2011, 07:30 AM   #16
bimper
Bat Boy
 
Join Date: Mar 2003
Location: Philippines
Posts: 12
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
Spritze
OOTP Historical Czar
 
Spritze's Avatar
 
Join Date: Dec 2001
Location: Bothell Wa
Posts: 7,254
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
MLHFFYP
Minors (Double A)
 
Join Date: Feb 2010
Posts: 148
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
Spritze
OOTP Historical Czar
 
Spritze's Avatar
 
Join Date: Dec 2001
Location: Bothell Wa
Posts: 7,254
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
MLHFFYP
Minors (Double A)
 
Join Date: Feb 2010
Posts: 148
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


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

Forum Jump


All times are GMT -4. The time now is 08:01 AM.

 

Major League and Minor League Baseball trademarks and copyrights are used with permission of Major League Baseball. Visit MLB.com and MiLB.com.

Officially Licensed Product – MLB Players, Inc.

Out of the Park Baseball is a registered trademark of Out of the Park Developments GmbH & Co. KG

Google Play is a trademark of Google Inc.

Apple, iPhone, iPod touch and iPad are trademarks of Apple Inc., registered in the U.S. and other countries.

COPYRIGHT © 2023 OUT OF THE PARK DEVELOPMENTS. ALL RIGHTS RESERVED.

 

Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright © 2020 Out of the Park Developments