View Single Post
Old 01-06-2007, 05:39 PM   #262
Comedian2004
Hall Of Famer
 
Comedian2004's Avatar
 
Join Date: Nov 2004
Location: In a house in Saint Cloud, Florida.
Posts: 7,085
The faces in the random DO NOT have duplicates. I ran software on it that did a bit by bit comparision and removed all the duplicates. (about 5000)

I have re-written this program from the ground up for the 2007. Right now it does historical players and historical logos. It does the historical players MUCH faster and more accurate. In a 1980 season, I had 7 players with missing photos.

I plan on adding the fake players part to the program and I can make it have the option not to use duplicates. Here is how I would do that.

Player 1 is assigned a random photo. #13900. I change the file attribute on p13900 to archive. Now I move to player 2, it grabs another random player, but checks the archive attribute on the file. If it is set, then I tell it to grab another one. Now, this would slow it down, but not that bad until you have a league with around 15,000 players or so. I just have to test and see.

I would also track what player has what photo number.

Now, every year or so, you run the program and tell it to recycle photos. But, you would set parameters. First, all HOF players would never get their picture recycled.

All players with NO mlb exp. would get recycled, if they were retired. All players with less than xxxx at bats or IP would be recycled.

Maybe even have a 'protected photo' list. Player's ID listed in this file would never have their photos recycled.

Do ya follow?
__________________
Like BLUES? Visit www.smokestacklightnin.com, you will LOVE it! New show every Monday!! New Blues HOF![/COLOR][/FONT]

Last edited by Comedian2004; 01-06-2007 at 05:40 PM.
Comedian2004 is offline   Reply With Quote