|
||||
|
![]() |
#1 |
All Star Reserve
Join Date: Sep 2006
Location: St. Louis
Posts: 553
|
Reimport Injury database link broken?
Edited injury db so that there were not any season ending or CEI injuries on my imported V8 league. Reimported injury DB andgGot two CEI's afterwards.
Started new league and got a season ending injury the first week. Is there anyway to see where the league is pointing when importing the injury db? Is there anyway to have others test this? |
![]() |
![]() |
#2 |
All Star Reserve
Join Date: Sep 2006
Location: St. Louis
Posts: 553
|
bumping for bumping sake.
|
![]() |
![]() |
#3 |
Global Moderator
Join Date: Feb 2006
Location: Here
Posts: 6,156
|
Could you attach your injuries.txt file to your next post?
I'm going to move this over to Technical Support in the mean time.
__________________
This signature is intentionally blank |
![]() |
![]() |
#4 | |
All Star Reserve
Join Date: Sep 2006
Location: St. Louis
Posts: 553
|
Quote:
Just to make sure I have the procedure correct and this is not a user error issue. There is only one injury.txt file that exists on the OOTP folder under database and there is not a league specific injury file that exists in under the saved_games folder? Is this correct? So, when I reimport I am importing the injury.txt that is under Database? Injury file attached. |
|
![]() |
![]() |
#5 | |
Global Moderator
Join Date: Feb 2006
Location: Here
Posts: 6,156
|
Quote:
I'll ping injury_log and see if he's around as he's good at this sort of stuff.
__________________
This signature is intentionally blank |
|
![]() |
![]() |
#6 | |
All Star Reserve
Join Date: Sep 2006
Location: St. Louis
Posts: 553
|
Quote:
Is it possible then that the game is reloading my edited injury file and then when I reimport it it importing a default file that contains the CEI's? I thought the file under the Database folder was the default but maybe there is a uneditable default injury file that I am unaware of. |
|
![]() |
![]() |
#7 |
Hall Of Famer
Join Date: Apr 2007
Location: Toronto
Posts: 9,162
|
Well, I'm not sure if the 'reimport injury database' button was fixed, but there was a bug with the button in OOTP-2007. This may have changed, but in v2007, when you 'reimported', the game looked at the injuries.txt file in your data folder and added any injuries with new diagnosis fields to whatever was stored in memory when you loaded your league. The game did not, however, erase whatever injuries were there when you loaded up your league. Based on the above, I'm guessing there's still a bug there. I can't test this at the moment.
Luckily, reimporting is really easy to do; you don't need to use that button at all. The point is, there is no injury 'database'. injuries.txt is the database. When you load a league, the contents of injuries.txt are loaded into memory. If you want to use a new injuries file, edit injuries.txt, save it, then reload a league (no need to quit OOTP). This should successfully update the injuries 'database'. One thing to note: if a player is injured, when you go to his profile, you'll see his Diagnosis in the lower left ('Fractured Ankle' or whatever). The game doesn't remember the wording of the diagnosis; it remembers which line number from injuries.txt contains the diagnosis. If you change the name of 'Fractured Ankle' to 'Alien Abduction', then reload the league, you'll see his diagnosis change in his Profile (but not in the injury log or in the news story reporting the injury). You'll also see diagnoses change if you reorder the lines in injuries.txt. So my advice would be to add new entries at the end of the file if you want to preserve diagnoses for existing injuries. Lastly, I'd recommend saving a copy of injuries.txt before editing it. |
![]() |
![]() |
#8 | |
All Star Reserve
Join Date: Sep 2006
Location: St. Louis
Posts: 553
|
Quote:
So, then a good way to test this would be to give a player an injury, note the line in the .txt file of the injury, change the injury in the line of the injury.txt, reload my league, and the injury should change to whatever I edited too. This would verify my edited injury.txt folder is being used? |
|
![]() |
![]() |
#9 | |
All Star Reserve
Join Date: Sep 2006
Location: St. Louis
Posts: 553
|
Quote:
Ok, tested it and it worked ![]() Bowie Alabastor a 21 year old FA went from a 15 day Bruised Cheekbone to a 15 day Alien Abduction. |
|
![]() |
![]() |
#10 |
Global Moderator
Join Date: Feb 2006
Location: Here
Posts: 6,156
|
OK, can you now test the SEI and CEI problem without using the 're-import' button and see if that works. If it works just by altering injuries.txt and not re-importing it's a bug with the re-import button. I suppose the re-import button should only be needed mid-game when you don't want to save/exit/reload.
__________________
This signature is intentionally blank |
![]() |
![]() |
#11 | |
All Star Reserve
Join Date: Sep 2006
Location: St. Louis
Posts: 553
|
Quote:
So, the issue appears to be possibly a save issue on my end. I made the edits to the file but apparently did not save. I thought I did, I am almost sure I did as I saved the default also under a different name. But I cannot reproduce now and matter of fact I have demonstrated that my league is looking at the edited file. |
|
![]() |
![]() |
#12 | |
Global Moderator
Join Date: Feb 2006
Location: Here
Posts: 6,156
|
Quote:
__________________
This signature is intentionally blank |
|
![]() |
![]() |
#13 | |
All Star Reserve
Join Date: Sep 2006
Location: St. Louis
Posts: 553
|
Quote:
Thanks to you and Injury_log for the quick help. |
|
![]() |
![]() |
Bookmarks |
|
|