View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005890 | Dwarf Fortress | Technical -- Saving/Loading | public | 2012-05-15 07:43 | 2012-05-15 16:34 |
Reporter | ag | Assigned To | Toady One | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 0.34.08 | ||||
Fixed in Version | 0.34.09 | ||||
Summary | 0005890: The 'next vehicle id' is initialized with garbage on upgrade from 0.34.07 | ||||
Description | There is a global variable in the game that holds the next ID that would be used for a new vehicle object. When a save is upgraded from 0.34.07, this variable is initialized with random garbage, including sometimes big negative values (especially on linux). | ||||
Steps To Reproduce | Open an old save, look at variables in memory. | ||||
Additional Information | I didn't notice any actual functionality failures with negative ids, thus 'minor'. I suspect this is caused by an uninitialized local variable. | ||||
Tags | No tags attached. | ||||
|
I can confirm this on Windows. I loaded three different .07 saves. The first two (both fairly mature forts) got the same fairly large value (1489568466), and a third (a fort saved immediately after embark without any development) got a somewhat smaller value (64485885). I didn't test to see whether reloading the same save more than once yields the same value. |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-05-15 07:43 | ag | New Issue | |
2012-05-15 07:54 | ab9rf | Note Added: 0022518 | |
2012-05-15 16:34 | Toady One | Status | new => resolved |
2012-05-15 16:34 | Toady One | Fixed in Version | => Next Version |
2012-05-15 16:34 | Toady One | Resolution | open => fixed |
2012-05-15 16:34 | Toady One | Assigned To | => Toady One |