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 04-14-2007, 12:29 PM   #1 (permalink)
BMW
All Star Starter
 
BMW's Avatar
 
Join Date: May 2003
Location: New Jersey
Posts: 1,471
Thanks: 125
Thanked 493x in 204 posts
SQL Dump Table Schema

I apologize if this is already somewhere, but I have not been able to track it down.

Does someone know where a document with the table schema for the 2007 SQL dump output?

Much of it is easy to figure out, but the definition of fields like "IPF" on the fielding table elude me. I searched this board in particular, and three separate charts of stat abbreviations, and I cannot figure out what it is.

Some are easily deduced, like the CASE statements I need to write for League_Levels (1=ML, 2=AAA, 3=AA, etc...)

But does anyone have documentation for this?

Thanks,
Bryan
BMW is offline   Reply With Quote
Old 04-14-2007, 01:33 PM   #2 (permalink)
Hall Of Famer
 
Join Date: Aug 2003
Posts: 4,924
Thanks: 0
Thanked 9x in 5 posts
Don't know where it is.... but IPF is the innings pitched or played fraction.

If your pitcher threw (or player played) 1 1/3 innings... the stats line will show IP=1 and IPF=1
1 2/3 innings... IP=1 IPF=2

We know what most, if not all, of the categories mean... I just don't know where the chart is. If you have specific questions post them and someone should know what they are.
__________________
I don't know about you, but as for me, the question has already been answered: Should we be here? Yes!
Jack Buck, September 17, 2001

It's what you learn after you know it all that counts.

I firmly believe that any man's finest hour... is that moment when he has worked his heart out in a good cause and lies exhausted on the field of battle - victorious. (Vince Lombardi)

I don't measure a man's success by how high he climbs but how high he bounces when he hits bottom. (George S. Patton)
tysok is offline   Reply With Quote
Old 04-15-2007, 04:45 AM   #3 (permalink)
Global Moderator
 
Tony M's Avatar
 
Join Date: Feb 2006
Location: Here
Posts: 6,113
Blog Entries: 3
Thanks: 38
Thanked 309x in 179 posts
Cheers. I'd always wondered what that field was (and why the IP field in the database was always an int32 and IPF was only ever 0,1 or 2)

In the pitching stats there are the following

RS (int32) - Run Support?
RA (int32) - Runs Allowed or Relief Appearances?
SA (int32) - Singles Allowed?
PIG (double) - Pitches per Game?
GFP (double) - Ground/Fly Percent? but if so is
GBP (double) - Ground Ball Percent? and therefore isn't GFP = GBP/(1-GBP)

Are my understandings correct there?
Tony M is offline   Reply With Quote
Old 04-15-2007, 10:38 AM   #4 (permalink)
Hall Of Famer
 
Comedian2004's Avatar
 
Join Date: Nov 2004
Location: In a house in Saint Cloud, Florida.
Posts: 6,895
Thanks: 0
Thanked 27x in 17 posts
Here is a file you may find useful that I created.

www.planetootp.com/fields.txt
Comedian2004 is offline   Reply With Quote
Old 04-15-2007, 11:42 AM   #5 (permalink)
Minors (Rookie Ball)
 
exoverge's Avatar
 
Join Date: Jan 2005
Location: New Jersey
Posts: 38
Thanks: 1
Thanked 0x in 0 posts
Quote:
Originally Posted by Comedian2004 View Post
Here is a file you may find useful that I created.

www.planetootp.com/fields.txt
Great resource. Thanks for sharing!
__________________
NGBL - (Webmaster & Co-Commish)

exoverge is offline   Reply With Quote
Old 04-15-2007, 11:48 AM   #6 (permalink)
All Star Starter
 
Muzamba's Avatar
 
Join Date: Apr 2002
Location: St. Louis, MO
Posts: 1,729
Thanks: 462
Thanked 547x in 234 posts
I'm confused. Why are there so many fields that are unknown? Is this some esoteric information that only Markus is privy to, or is it part of the framework for future versions that no one within the inner sanctum may divulge?
Muzamba is offline   Reply With Quote
Old 04-15-2007, 11:51 AM   #7 (permalink)
Hall Of Famer
 
Raidergoo's Avatar
 
Join Date: Mar 2003
Posts: 8,403
Thanks: 104
Thanked 78x in 52 posts
Quote:
Originally Posted by Muzamba View Post
Is this some esoteric information that only Markus is privy to, or is it part of the framework for future versions that no one within the inner sanctum may divulge?
1) yes
2) think so
3) everything that Larry learns via experimentation or drags out of Markus gets documented.
Raidergoo is offline   Reply With Quote
Old 04-15-2007, 11:59 AM   #8 (permalink)
BMW
All Star Starter
 
BMW's Avatar
 
Join Date: May 2003
Location: New Jersey
Posts: 1,471
Thanks: 125
Thanked 493x in 204 posts
Quote:
Originally Posted by Comedian2004 View Post
Here is a file you may find useful that I created.

www.planetootp.com/fields.txt
That's great, just what I need. I'm sure we could figure it out, but if you already know... For the injury frequency fields, which number is worse? High or Low?
BMW is offline   Reply With Quote
Old 04-15-2007, 12:06 PM   #9 (permalink)
Hall Of Famer
 
Comedian2004's Avatar
 
Join Date: Nov 2004
Location: In a house in Saint Cloud, Florida.
Posts: 6,895
Thanks: 0
Thanked 27x in 17 posts
Some of the fields are used internally in the game, why they are in the dump, I have no idea.

The CSV dump, IMHO, was a low priority during the beta. I started compiling this data early on in the beta, but then they changed some of the dumps on me and I kenw that I would have to do the whole thing over again towards the end of beta, so I put it off until then.

By then, all hell had broke loose, as we were trying to get major bugs fixed and make the game the best it could be, so I did not get a lot of my questions answered or issues changed in the files that I suggested.

Then to top things off, I spent at least 8 hours putting together this file and they did not even include in the game or the documents or even sticky it somewhere. They did the same thing with the almanac documentation that I spent quite a bit of time working on and experimenting with.
Comedian2004 is offline   Reply With Quote
Old 04-15-2007, 01:36 PM   #10 (permalink)
Global Moderator
 
Tony M's Avatar
 
Join Date: Feb 2006
Location: Here
Posts: 6,113
Blog Entries: 3
Thanks: 38
Thanked 309x in 179 posts
I remember Football Manager / Championship Manager days when they produced the database structure so that editors / other software could be written to tap into the massive data sources used.

Don't know if the same is true of the latest version of FM, a google search lists FM2005 database structure/header files on the si website.

It's like the three unknown strategy options in the situational strategy of teams.dat or the section of 8 lineups that appears after the 4 depth charts (I thought it might have been seven day lineups but I can't put it together like that).

Roster sizes are limited to 50, but each of the 'active', 'secondary', 'disabled' and 'all' has space for 200.

Depth charts have 13 sets of data for each of vRHPwoDH, vLHPwoDH, vRHPwDH, vLHPwDH (nine for catcher, 1B, 2B, 3B, SS, LF, CF, RF, DH and then four other records that are 'blank'.

I haven't tried this out but has anyone got more than 11 affiliates to one major league team (it could well be 10)

I think I need to move away from working with databases as part of my actual work (you start to get good at seeing how they're put together) - though it's a very well designed database structure I have to say.

Last edited by Tony M; 04-15-2007 at 01:40 PM.
Tony M 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:26 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