P14 writes to the .HISCORE file upon (every) startup
issueid=2161 05-27-2013 07:13 PM
Senior Member
Number of reported issues by Alucard: 22
P14 writes to the .HISCORE file upon (every) startup

1. Start P14
2. Quit
3. Observe the date on the ~/.adom.data/.HISCORE file
4. Wait 61 seconds
5. Start P14
6. Quit at the main menu
7. Observe the date on the ~/.adom.data/.HISCORE file
8. Repeat 4-7 as you wish

I can see rewriting the HS file upon the first start of P14, to make it the new format, but I feel like doing it on every startup is a bug. It does it even when I'm just dumping the hi scores to plain text with -S.

This caused me some consternation because a server script uses inotify to watch the .HISCORE file for writes, then dumps the scores to plain text using -S when it sees one, which triggers another write to .HISCORE in P14, which causes the script to ask for a score dump again (because inotify saw and queued the notification of the write), which . . . loop.
Issue Details
Issue Number 2161
Project ADOM (Ancient Domains Of Mystery)
Category Linux
Status Fixed
Priority 10 - Lowest
Affected Version ADOM 1.2.0 pre 14
Fixed Version ADOM 1.2.0 pre 15
Milestone (none)
Users able to reproduce bug 1
Users unable to reproduce bug 0
Assigned Users (none)
Tags (none)




07-27-2013 01:35 PM
Issue Changed by jt
  • Issue marked as addressed
  • Addressed version changed from Unknown to ADOM 1.2.0 pre 15

07-27-2013 01:35 PM
Issue Changed by jt
  • Status changed from Unconfirmed to Fixed

+ Reply