Latest News: OOTP PATCH 9.1.6 released! - 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 > Database Tools
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 06-25-2006, 01:57 PM   #1 (permalink)
Hall Of Famer
 
Join Date: Mar 2002
Location: Gainesville, FL USA
Posts: 3,307
How to tell if a player is retired in DB Dump

I would think this would show up in the status field, but for me, the status is set to zero for every player. Anyone know how to tell if a player is retired?
__________________
If not perfection, when is good enough, good enough?

jarmenia is offline   Reply With Quote
Old 06-26-2006, 10:23 AM   #2 (permalink)
Hall Of Famer
 
Comedian2004's Avatar
 
Join Date: Nov 2004
Location: In a house in Saint Cloud, Florida.
Posts: 6,378
Good luck in finding out, I asked this question over 3 weeks ago and never got an answer.
__________________
Visit www.planetootp.com for my MODS. Like BLUES? Visit www.smokestacklightnin.com, you will LOVE it! New show every Monday!! New Blues HOF!
Comedian2004 is offline   Reply With Quote
Old 06-26-2006, 01:13 PM   #3 (permalink)
Hall Of Famer
 
fantom1979's Avatar
 
Join Date: Jul 2002
Location: Detroit, MI
Posts: 3,059
I have yet to figure it out as well. Hopefully in time when most of the bugs are squashed out, Markus will be able to explain some of the fields in these tables.
__________________
A crude version of what I would like to see in-game:
http://fantom1979.homeip.net/ootp/streaks.php

"I'm not out here to win a beauty contest."


fantom1979 is offline   Reply With Quote
Old 06-27-2006, 04:56 AM   #4 (permalink)
Hall Of Famer
 
dougaiton's Avatar
 
Join Date: Mar 2003
Location: Location:
Posts: 3,411
If you're just using the 'players' table, retired players have no skills in certain areas, at least in the 'Players' table. When I run DB queries, I use 'running ratings', which for retired players are always set to 0. All active players will have running ratings >0, so a simple conditional (where running_rating_1>0) should weed out the retired.

As for the other tables, which I presume you're more interested in, I've no idea. Sorry.
dougaiton is offline   Reply With Quote
Old 06-27-2006, 08:55 AM   #5 (permalink)
Hall Of Famer
 
Join Date: Mar 2002
Location: Gainesville, FL USA
Posts: 3,307
Quote:
Originally Posted by dougaiton
If you're just using the 'players' table, retired players have no skills in certain areas, at least in the 'Players' table. When I run DB queries, I use 'running ratings', which for retired players are always set to 0. All active players will have running ratings >0, so a simple conditional (where running_rating_1>0) should weed out the retired.

As for the other tables, which I presume you're more interested in, I've no idea. Sorry.
That's good info. I would have thought there would be a status of "announced retirement" or something along those lines.
__________________
If not perfection, when is good enough, good enough?

jarmenia is offline   Reply With Quote
Old 06-28-2006, 08:24 AM   #6 (permalink)
Administrator
 
Andreas Raht's Avatar
 
Join Date: Jun 2002
Location: Hollern/Stade/Germany
Posts: 4,197
There should be a flag "retired" in the player table... Markus and I are currently in London but I'll check that out tomorrow! It will be in the patch 2.
Andreas Raht is offline   Reply With Quote
Old 06-28-2006, 09:22 PM   #7 (permalink)
Hall Of Famer
 
fantom1979's Avatar
 
Join Date: Jul 2002
Location: Detroit, MI
Posts: 3,059
Quote:
Originally Posted by Andreas Raht
There should be a flag "retired" in the player table... Markus and I are currently in London but I'll check that out tomorrow! It will be in the patch 2.
excellent news.. there also seem to be other fields in tables that come up as Null or "0" even though it seems like there should be data there. For example, the fields "tb" and "s" in the league_history_batting_stats table are all zeros. This is in a Sql dump. Do you want these reported here, or in the tech forum, or are they a current design choice?
__________________
A crude version of what I would like to see in-game:
http://fantom1979.homeip.net/ootp/streaks.php

"I'm not out here to win a beauty contest."


fantom1979 is offline   Reply With Quote
Old 06-30-2006, 04:39 AM   #8 (permalink)
Administrator
 
Andreas Raht's Avatar
 
Join Date: Jun 2002
Location: Hollern/Stade/Germany
Posts: 4,197
I've just added the "retired" flag to the SQL dump player table for patch 2. It was actually missing! Also several other fields have been added. The player table has been split into 4 tables now.
Andreas Raht is offline   Reply With Quote
Old 07-02-2006, 08:21 PM   #9 (permalink)
Hall Of Famer
 
Join Date: Mar 2002
Location: Gainesville, FL USA
Posts: 3,307
Quote:
Originally Posted by Andreas Raht
I've just added the "retired" flag to the SQL dump player table for patch 2. It was actually missing! Also several other fields have been added. The player table has been split into 4 tables now.
Great News.
__________________
If not perfection, when is good enough, good enough?

jarmenia 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:05 AM.


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