Tags: angband/angband
Tags
debugging 'S' command: track all book kinds Resolves #6582 . Has the effect that some arrays not previously reset between invocations of the command are reset. That affects the reported results for gold, monsters (unique or not), and artifacts (except for mean and standard deviation for the level where the first artifact was found) for the second and later invocations of the debugging 'S' command in the same session. Has some side effects on the first find calculations. Those calculations no longer approximately handle cases where the item appears more than once on the same level in an iteration. If the item is never found in an iteration, it will be treated as if it was found on the maximum level plus one rather than level zero for the purposes of the mean and standard deviation of the level where the item was first found. Up to 500 rather than 100 iterations can be tracked in the first find calculations. That limit can be changed at compile time by modifing the TRIES_LIMIT preprocessor macro. Internally, the number of levels is now dynamically determined (from the deepest quest monster in lib/gamedata/quest.txt and world:max-depth in lib/gamedata/constants.txt) rather than a compile-time constant set by a preprocessor macro. The arrays used to accumulate the results are now dynamically allocated and are not file-level static variables.
borg: fix manual restart regression The regression was introduced, post 4.2.6, in 53d406b . Resolves agoodman00#34 .
PreviousNext