# RuntimeOCD 1.1.0 - New feature: The console command ocd suspects followed by a mod's name lists the mods whose patches or code acted on that mod's work, one line each, most severe first, with their severity counts and the kinds of conflict. It also counts the mod's own problems and the exceptions that involve it, and ends with the path of the mod's report. It works in a game that wrote no new report, and on a client for Harmony patches, failed code lookups and exceptions. - New feature: Each mod's report now starts with the other mods that acted on its work, most severe first, with each entry's kind, config file and id. - New feature: The full report is also written as full_report.html, a self-contained web page that any browser opens from disk. The summary points to it. - New feature: README.md now ships in the mod folder, with every setting, report file and console command. - Improved: Links in the reports are defined at the end of each file, so they read as names instead of folder paths in a plain text editor. - Improved: ocd report shows a short digest of the last report instead of the whole summary: entries by severity and kind, the mods with the most severe entries, and where the full report is. - Improved: ocd patches shows one line per game method, with the mods in the order their patches run, after a count per kind of overlap. - Improved: ocd exceptions shows one line per kind of exception, with how often it happened and the mods involved. The game log still explains each one. - Improved: Lists in the console show at most 15 lines, then how many more there are and where to find them. - Improved: report.json says whether each entry is a copy RuntimeOCD removed as identical. # RuntimeOCD 1.0.0 - Improved: The mod folder is now RuntimeOCD instead of ___RuntimeOCD, since RuntimeOCD no longer needs to load early. Delete the old ___RuntimeOCD folder when updating: both folders have the same mod name, and the game loads the old one and ignores the new one. - Improved: Reports are now Markdown files in a RuntimeOCD_reports folder next to the game's own logs, the folder the game's "open logs" button opens, instead of text files in the logs folder inside RuntimeOCD's data folder. The old logs folder, with meta.json in it, is no longer used and can be deleted. - Improved: Reports are a summary (summary.md), the changes since the last report (changes.md), everything in one file to share (full_report.md), a file for other tools (report.json), one file per kind of entry sorted by severity, and one file per mod. - Improved: The settings DetectConflicts and DetectConflictsOnlyWhenModsChanged are replaced by ConflictReports (Off, WhenModsChange, EveryGame), and PreventChallengeCategoryCollisions by RemoveIdenticalCopies. An existing settings.json is converted on first start. - Improved: The runtimeocd dump console command is replaced by ocd, with status, report, patches, lookups, exceptions, fx, mixer and debug subcommands. - Improved: A new report is made when the load order, a mod's version, any mod's config XML, Localization.csv or DLLs, the mods that did not load, the game version or the Gears settings change, not only the load order. - Improved: Every XML patch command is watched, including commands other mods add to the game. - Improved: Removal, Element Override, Attribute Override, Sibling Collision and Forced Parenthood entries say what the patch did and how each other mod is involved. Attribute changes are compared per attribute, and text changes only with other text changes. - Improved: Each kind of entry has a severity, from critical to info, and a plain explanation for players with a separate one for modders. - Improved: Entries name mods in brackets, linked to each mod's report. Entries that differ only in their element are grouped into one, and every entry has a short id that stays the same while the conflict does. - Improved: Each report is compared with the last one: new entries are marked, the summary counts new and resolved entries, and it lists added, removed, updated and moved mods. - Improved: A patch inside a mod_loaded or mod_version conditional that checks for the other mods involved is listed last, as an expected interaction. - Improved: The summary shows the game version, the mods the game found but did not load, every critical entry, and a table of each mod's entries by severity. - Improved: The report is written as soon as the config files are loaded, so a game that hangs later, for example when the player spawns, still leaves one. - Improved: A repeated challenge category is removed only when it is identical to the earlier one (RemoveIdenticalCopies). The same now applies to any repeated name that would stop a config file loading. Copies that differ are left for the game to fail on, as they would without RuntimeOCD, and the report names the mods involved. - Improved: A buff list merge that fails partway is undone, and the game applies the patch as usual. - Improved: A feature that fails turns itself off with a warning, and the game carries on as it would without it. ocd status lists any such feature. - New feature: Each config file is checked the way the game's loader is about to read it, with rules read from the loaders file by file, including the main menu XUi. Reported: repeated names that stop the load (Load Stopper), replace the earlier element (Silent Replacement), are ignored (Ignored Copy), are kept but never found (Shadowed Copy), or count twice (Double Entry, Extra Recipe); names an element needs that are missing (Dangling Reference); and elements a file does not accept (Stray Element). - New feature: Patches that made the game stop patching a file (Derailment), and patches that matched nothing or that neither the game nor a loaded mod knows (Missed Target). - New feature: Localization.csv text that a later mod replaces for an earlier one (Text Override). - New feature: Every critical finding is written to the game log as a warning on every load, next to the game's own error. - New feature: Overlapping Harmony patches from different mods: rewrites stacked on the same method (Stacked Rewrite), several patches that can change a method's result (Contested Result), and prefixes that can skip another mod's rewrite (Bypassed Rewrite). With the HarmonyConflicts setting (Off, Risky, All; default All), the report also lists every method more than one mod patches (Shared Method). ocd patches lists them at any time. - New feature: Harmony warnings about code lookups that found nothing name the mod that made the lookup and what it most likely means (Missing Type, Missing Member), in the game log, the report and ocd lookups. - New feature: TFP_Harmony's warning about a missing Preserve attribute is explained as a console-only check, harmless on PC and servers, naming who looked up the type. - New feature: Exceptions in the game log are grouped, with one line for each new kind saying where it was thrown and which mods are involved, and a count per kind when a game ends and in ocd exceptions. - New feature: Entries you have reviewed can be listed in acknowledged.txt in the data folder. Later reports count them without listing them. - New feature: Every report file opens with a notice when Better Mod Compatibility is installed, since it turns some load errors into warnings. - New feature: Timers at or below zero finish at once instead of keeping the looting or lockpicking window open (FixNegativeTimers). - New feature: An AddBuff action with several buffs or targets no longer stops after the first one when the buff was added within the last minute (FixAddBuffEarlyReturn). - New feature: ocd fx clear and ocd mixer clear turn off every screen effect and sound filter. ocd debug on logs merges and every screen effect and sound filter decision. - Fixed: The game's screeneffect clear console command left RuntimeOCD tracking the cleared effects' sources. - Fixed: Screen effects and sound filters that the game sets from its own code, not through a buff or item action, are now tracked too. Before, they could stay stuck on. - Fixed: Sibling Collision no longer reports repeated effect elements, such as two passive_effects with the same name, which the game keeps without trouble. # RuntimeOCD 0.15.2 - Removed leftover debug messages # RuntimeOCD 0.15.1 - Fixed long-standing AudioMixer Heap race condition that occasionally got states stuck in multiplayer - Refactoring # RuntimeOCD 0.15.0.1 - Fixed Audio Mixer states getting stuck sometimes, and made the Audio Mixer heap more robust overall. # RuntimeOCD 0.15.0.0 - More consistent conflict logging - Replaced the ID builder for heap features so it's more reliable # RuntimeOCD 0.14.0.0 - Fix: The Audio Mixer heap feature now correctly handles the case of sources turning off AM states without first turning them on (that means unconditionally turning them off) - New feature: Explosion Buffs Merger. Similar to the BuffsOnWalkedOn merger, except for buffs applied by explosives. Configurable (On by default) - Refactoring # RuntimeOCD 0.13.0.0 - Fixed occasional *IndexOutOfRangeException* caused by mishandled indexing of hardcoded ScreenEffects (oops). - Refactored the ConflictDetector for more robustness and added a try-catch that logs an exception but doesn't rethrow, to prevent non-essential code (the conflict logger) from interrupting the normal loading of XML files in the rare scenario of RuntimeOCD clashing with other mods. # RuntimeOCD 0.12.1.1 - Fixed and improved reflection helpers to amend 0.12.1.0 and hopefully this time really really improve compatibility with other mods. # RuntimeOCD 0.12.1.0 - Added safeguards when building MinEventParams ID strings to hopefully improve compatibility with other mods and versions of the game. # RuntimeOCD 0.12.0.0 - New feature: AudioMixer states from different sources are now applied as a heap, similar to the Screen Effects heap introduced in 0.11.0.0. This will automagically improve compatibility between mods that trigger AudioMixer transitions (stunned, deafened). - Added configuration option in settings.json to control the new AudioMixer heap. - Fixed conflict detector logging the summary more than once per session (after loading multiple times). - Fixed some edge-case errors and race conditions. - Minor optimizations. # RuntimeOCD 0.11.0.0 - Fixed BuffsWhenWalkedOn regression - New feature: Screen Effects from different sources are now applied as a heap, where the ones with strongest intensity take priority over the weaker ones. This will automagically improve compatibility between mods that apply screen effects (such as blur, greyscale, you name it). - Added "ScreenEffectsCompatibility" configuration option for the Screen Effects heap feature (enabled by default) # RuntimeOCD 0.10.1.0 - Changed the color of the console message showing the path, for better visibility. - The summary log entries no longer show the difference with previous results between brackets when previous results were not found. # RuntimeOCD 0.10.0.0 - Overhauled logging: Conflicts are logged to files now, grouped into directories to ease searching. Once the host finishes loading into the game, a summary is printed to the console listing how many potential conflicts were detected in each category. - Implemented configuration options. Load a savefile once for the files to be generated. The path is Roaming\7DaysToDie\RuntimeOCD\settings.json - DetectConflicts (default true): Toggle conflict detection on/off. The Conflict Detector runs only once per game session, regardless of how many times a world is loaded. - DetectConflictsOnlyWhenModsChanged (default true): If true, this new feature will allow the Conflict Detector to run only when the load order of mods has changed, or when mods were added, removed, or updated to a different version. - MergeBuffsWhenWalkedOn (default true): Toggles merging BuffsWhenWalkedOn properties on/off. - PreventChallengeCategoryCollisions (default true): Toggles the tiny hack that prevents the game from throwing an error when adding a category that already exists. - Code refactoring and optimizations. # RuntimeOCD 0.9.0.2 - Removed leftover Log.Warn() call previously used for debugging. - Fixed regression from 0.9.0.1: BuffsWhenWalkedOn Merger logs a change when the attribute is first added to an element (which is not necessary) - Refactored MergeChildren() and MergeSiblings() into a single method. # RuntimeOCD 0.9.0.1 Fix multiple edge-case isues with the BuffsWhenWalkedOn merger # RuntimeOCD 0.9.0.0 Initial release