View Single Post
Old 05-29-2007, 06:40 AM   #143
Tony M
Global Moderator
 
Tony M's Avatar
 
Join Date: Feb 2006
Location: Here
Posts: 6,156
Quote:
Originally Posted by injury log View Post
Hey Cubby,

One potential problem is that the 'Re-import injury database' function doesn't work properly. Instead of erasing the old injury list and replacing it, it keeps the old one and adds to it, and some strange things start happening with injury frequency. I've posted this in Tech Support, and it's been TT'ed. Everything is fine if you start a new game from scratch with a new injuries.txt file; it's only if you want to change the injuries in a game that's underway that there's a problem. So if your rosters exist as a saved game file, it might be tricky to change the injuries.

In any case, I've been running some tests with various modifications to injuries.txt (time consuming, because I have to start a new game each time). It's hard to control the frequency of injuries- I have one suspension a week for a pitcher doctoring the baseball at the moment- but I'm getting close to something I like. I'd be happy to post it here, and I'd be interested in hearing other ideas- I haven't started a new thread on the topic, but if you want to start one, I'll find it. I was hoping to hear from someone who knows more about the OOTP injury implementation, but that might not happen.

If I can find some time, I'll also try to dig up info on minor league injuries as well; I did some research already, but didn't get very far.
I think the problem with totally clearing the injury file and then importing a new injuries.txt is those players with existing injuries. You might have broken neck in the same position as broken nail is currently in an injuries list, so any player with a broken nail would probably be listed as having a broken neck and on a DTD basis.

I don't actually have an injuries.dat file in my saved games, so I'm guessing the only way to create it is to reimport injuries.txt - if I do that I should be able to write back to the .dat file. Probably the easiest thing to do with that would be to blank all the existing injuries in the database and let people re-modify those on the DL back with the correct diagnosis?

If you guys want an injuries.txt to injuries.dat (I presume that's the name) importer that also clears down all existing injuries, then let me know and I'll try to get one out in the next couple of days.
Tony M is offline   Reply With Quote