Skip to content

Fix the Pojora potency rune not being marked as junk - #13

Open
S-Del wants to merge 1 commit into
iFedix:masterfrom
S-Del:fix/pojora-rune-id
Open

Fix the Pojora potency rune not being marked as junk#13
S-Del wants to merge 1 commit into
iFedix:masterfrom
S-Del:fix/pojora-rune-id

Conversation

@S-Del

@S-Del S-Del commented Aug 7, 2026

Copy link
Copy Markdown

What is wrong

The item ID of the Pojora potency rune is 45808, but it is specified as 45508 in the default settings in Dustman.lua. 45508 is the ID of hake, an unrelated item.

DustmanData.lua uses the correct ID for the label, so the checkbox for Pojora is shown in the settings menu and can be ticked. However, GetPotencyRule() compares the ID of the item in the inventory against the ID stored in the settings, and those never match. As a result, Pojora runes were not marked as junk even when the option was enabled.

The change

The default ID of entry [22] is corrected from "45508" to "45808". With this, all 31 potency rune IDs in Dustman.lua match the ones in DustmanData.lua.

Note for existing users

ZO_SavedVars only fills in keys that are missing from the saved data, so this change does not reach installations that already have saved settings. The wrong ID stays in SavedVariables/Dustman.lua and has to be corrected by hand:

[22] =
{
    [2] = false,
    [1] = "45508", -- change to "45808"
}

Every occurrence has to be replaced. Dustman_SavedVariables holds one block per character and Dustman_GlobalSavedVariables holds one more, so the number of occurrences is the number of characters on the account plus one.

The game has to be closed while editing the file. If it is edited while the game is running, the change is overwritten with the in-memory settings when logging out.

Deleting SavedVariables/Dustman.lua with the game closed works as well, but it resets all Dustman settings.

The item ID of the Pojora potency rune is 45808, but it was specified
as 45508, which is the ID of hake. Because of this, ticking the Pojora
potency rune in the settings menu did not mark it as junk.

This change alone does not solve the problem for existing users, so
each user has to apply the fix manually. Every occurrence of the ID
"45508" in SavedVariables/Dustman.lua has to be replaced with "45808".
The game has to be closed while editing the file, otherwise the change
is overwritten when logging out.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant