|
||||
|
|
OOTP 14 - General Discussions Discuss the new 2013 version of Out of the Park Baseball here! |
|
Thread Tools |
11-04-2013, 07:39 AM | #1 |
All Star Starter
Join Date: Apr 2012
Location: Didcot, England
Posts: 1,426
|
Restoring Deleted Player
I have no idea how it happened, but I managed to delete a retired player from my league shortly after inducting him into the Hall of Fame. Possibly coincidentally, his picture had been reset shortly beforehand and I don't remember either doing that or deleting him - however, I have no evidence that it was caused by a bug of any kind so I have to assume that it was something I did.
Anyway, before I had realised, his ID had been taken by a new player at an international complex. Unfortunately, I also took a backup of my game before realising. This left me with a 16 year old starting pitcher as a multiple all-star and hitter of the year! I have changed him back to the former player as best I can, using an old picture from a previous saved version of the game, ratings at the time he retired etc taken from archived .csv files and history taken from old almanacs. The problem I have is what to do about his stats - I considered just exporting stats, adding his information from the .csv files and importing again, but having researched that it seems that his postseason stats, and those of other players, might be lost if I did that (from this thread, admittedly relating to OOTP 13 so it may not apply in 14). Are there any other options to get this player's stats (and awards/leaderboard appearances ideally) back without losing any other data? Could it possibly be done by setting him up as a historical player and putting him back into the game that way? At the moment, although his profile says he is in the Hall of Fame, he doesn't show up there - presumably because he has no stats at any level. |
11-04-2013, 09:12 AM | #3 |
All Star Starter
Join Date: Apr 2012
Location: Didcot, England
Posts: 1,426
|
|
11-04-2013, 01:05 PM | #4 |
All Star Reserve
Join Date: Aug 2010
Posts: 946
|
Export the stats to .csv files, give the 16-year-old a new player ID number, something not being used, and then restore the deleted using his real player ID number into the .csv file.
|
11-04-2013, 08:37 PM | #5 | |
All Star Starter
Join Date: Apr 2012
Location: Didcot, England
Posts: 1,426
|
Quote:
If there is no better option I will go with this but it would be great to be able to keep all the postseason stats too. It doesn't seem that there is any way to get the player's leaderboard appearances etc. in history back but that isn't a big problem, it's the stats I'm really concerned about. |
|
11-04-2013, 09:54 PM | #6 | |
OOTP Developments
Join Date: Aug 2007
Location: Nice, Côte d'Azur, France
Posts: 19,896
|
Quote:
|
|
11-05-2013, 09:48 AM | #7 | |
All Star Starter
Join Date: Apr 2012
Location: Didcot, England
Posts: 1,426
|
Quote:
As the lost player holds some league records, it is far more important to me to get him back into the game than to have everyone's postseason stats. If there is no way to import this one player alone, I will probably put up with losing the postseason stats! |
|
11-05-2013, 10:02 AM | #8 |
All Star Starter
Join Date: Aug 2011
Posts: 1,921
|
am not sure how easy this is
but how about edit one player in the historical db? change the lines of stats to that of your player no need to change is name or anything else import that player via his id change the player's name edit ratings, field positions, personality, injury stats ect then you have the old game. you have the player back the trick is saving the stats into the historical db file, and have them come up when you import. i tried just this once, and it was not as easy as it sounds but this is my suggestion |
11-05-2013, 10:42 AM | #9 | |
Hall Of Famer
Join Date: Apr 2009
Location: United States
Posts: 10,456
|
Quote:
__________________
- Bru |
|
11-05-2013, 01:09 PM | #10 | |
All Star Starter
Join Date: Apr 2012
Location: Didcot, England
Posts: 1,426
|
Quote:
|
|
11-05-2013, 04:43 PM | #11 | |
All Star Starter
Join Date: Aug 2011
Posts: 1,921
|
Quote:
i use spreadsheet of either microsoft word or open office i can edit the file. the changed stats stay in, but when i import the player the original stats are still there i think spritze said i had to delete the database file itself after making the changes but it never seemed to work right. use a backup of the whole hist db before starting in case something botches up i will give it another try myself before bed and see if something changes |
|
11-05-2013, 04:47 PM | #12 |
All Star Starter
Join Date: Apr 2012
Location: Didcot, England
Posts: 1,426
|
|
11-05-2013, 05:06 PM | #13 |
All Star Starter
Join Date: Aug 2011
Posts: 1,921
|
i just tried it and didnt work
the old stats came with babe ruth even though i changed them maybe all 3 db files have to be deleted. if it doesn't work for you, drop this question into the database section of the mods area. someone there will tell you how to do it. i know it can be donem just missing a step somewhere if you get it to work ,drop us all a note what you did |
12-06-2013, 07:34 AM | #14 |
All Star Starter
Join Date: Apr 2012
Location: Didcot, England
Posts: 1,426
|
Never managed to get anywhere with the database on this. The best option turned out to be creating a backup of the batting and pitching stats files, deleting everything from them not relating to the player in question (everything from the pitching file, as he wasn't a pitcher) and then re-import stats. As there are no postseason stats kept for fielding, there was no need to do anything to the fielding stats file as nothing was being lost on import.
As far as I can tell, that has recreated his batting stats for the regular season, whilst leaving the stats of every other player alone for both regular and postseason. The only thing I am missing having done that is the postseason batting stats of the player who got deleted. There is no perfect solution (not one that I can sort out anyway) so I will have to go with this. It is much better than wiping out everyone's postseason stats. |
12-06-2013, 08:48 AM | #15 | |
Hall Of Famer
Join Date: Sep 2007
Posts: 2,599
|
Quote:
Edit: I was not thinking, my players are not deleted. They are missing stats from the first 15-20 years of the league.
__________________
You mock me, therefore I am My wife Last edited by TGH-Adfabre; 12-06-2013 at 08:50 AM. |
|
Bookmarks |
|
|