VeeArr
New member
This is possibly related to https://kolmafia.us/threads/mafia-cant-find-sweat-out.30600/ but what I've seen so far indicates it's probably a different issue.
As with most equipment that grants noncombat skills, if you ask mafia to use one of those skills (e.g. via
At first, I suspected that it was losing track of the fact that I had a Powerful Glove in my inventory, but further evidence indicates that this is not actually the case.
At https://github.com/kolmafia/kolmafi...ge/kolmafia/request/UseSkillRequest.java#L947 it looks like it builds a list of candidate equipment that could be used to cast the desired skill, and then see if any are accessible/already equipped, and then print an error message if none are. Critically, the error message includes all of the equipment it thought would allow for the skill to be used.
Interestingly, the error message that prints when I encounter the error includes only "replica Powerful Glove", which implies that the problem isn't that it's losing track of the fact that I have a Powerful Glove in my inventory, but rather than it is losing track of the fact that Powerful Glove can be used to cast CHEAT CODE skills.
It does always work as expected initially upon loading mafia, so it's not a matter of the data being misconfigured--something actually gets broken later for some reason.
I haven't been able to track down exactly what causes this to get messed up (or even what game actions trigger the error to start happening), but hopefully this points someone more knowledgeable in the inner workings of these things in the right direction.
As with most equipment that grants noncombat skills, if you ask mafia to use one of those skills (e.g. via
skill <skillname>
in the GCLI or via the modifier maximizer), it will temporarily equip the equipment to use the skill and then re-equip your previous equipment. Upon starting mafia, this works as expected, but at some point it starts failing.At first, I suspected that it was losing track of the fact that I had a Powerful Glove in my inventory, but further evidence indicates that this is not actually the case.
At https://github.com/kolmafia/kolmafi...ge/kolmafia/request/UseSkillRequest.java#L947 it looks like it builds a list of candidate equipment that could be used to cast the desired skill, and then see if any are accessible/already equipped, and then print an error message if none are. Critically, the error message includes all of the equipment it thought would allow for the skill to be used.
Interestingly, the error message that prints when I encounter the error includes only "replica Powerful Glove", which implies that the problem isn't that it's losing track of the fact that I have a Powerful Glove in my inventory, but rather than it is losing track of the fact that Powerful Glove can be used to cast CHEAT CODE skills.
It does always work as expected initially upon loading mafia, so it's not a matter of the data being misconfigured--something actually gets broken later for some reason.
I haven't been able to track down exactly what causes this to get messed up (or even what game actions trigger the error to start happening), but hopefully this points someone more knowledgeable in the inner workings of these things in the right direction.