Log files / screenshots overwrite existing files
issueid=2375 09-29-2013 06:43 PM
Senior Member
Number of reported issues by Alucard: 22
Log files / screenshots overwrite existing files
In particular, end-game logs (FLGs)

Writing a verbose log ')', short log '(', screenshot '[', and end-game log (.flg files) overwrites existing files without prompting.
For the first three, I don't think it's that big of a deal, but for the last, your old victory log can be overwritten by a new character with the same name. It wouldn't be pleasant to lose that record.
Suggestion: add a timestamp to the file name, or test for existence and increment a counter and append that to the filename if a file of the same name is already found.
Issue Details
Issue Number 2375
Project ADOM (Ancient Domains Of Mystery)
Category Linux
Status Fixed
Priority 6
Affected Version ADOM 1.2.0 pre 16
Fixed Version ADOM 1.2.0 pre 17
Milestone (none)
Users able to reproduce bug 2
Users unable to reproduce bug 0
Assigned Users (none)
Tags (none)




10-04-2013 02:11 PM
jt jt is offline
Administrator
We are adding an incrementing counter (timestamps IMHO look ugly/too technical and can't be used on MS-DOS (8 character limit)).

+ Reply