|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| OOTP 8/2007: General Discussions Talk about our upcoming version of the game... |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
#1 (permalink) |
|
Major Leagues
Join Date: Mar 2007
Posts: 415
|
Reading the Retired.DAT file
Has anybody figured out how to do this? The only piece of information I'm looking for is the year that each player retired so that I can use it for the 5 year eligibility rule for the Hall of Fame. I figured if it would be anywhere, it would be in this file.
If anybody knows how I can find this piece of information, please let me know. Thanks!!!! |
|
|
|
|
|
#4 (permalink) | |
|
Global Moderator
Join Date: Feb 2006
Posts: 3,526
|
Quote:
I once toyed with creating a lahman style file set from the data in a game but couldn't find the retired date in the files - I could go through and parse the text files but that's a bit too much processing. |
|
|
|
|
|
|
#5 (permalink) | |
|
All Star Reserve
Join Date: Apr 2004
Posts: 807
|
Quote:
|
|
|
|
|
|
|
#6 (permalink) | |
|
Hall Of Famer
Join Date: Mar 2002
Location: Gainesville, FL USA
Posts: 3,369
|
Quote:
![]()
__________________
If not perfection, when is good enough, good enough? |
|
|
|
|
|
|
#7 (permalink) | |
|
Global Moderator
Join Date: Feb 2006
Posts: 3,526
|
Quote:
So anyway, to the OP, the only way to do it is to look at the last line of any player_nnnn.txt where they have retired and parse the date from it. |
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|