I have been getting a debug log about a null pointer in a single use request for a very long time. It finally bothered me enough to look at. I am 99.44% sure it is the creation of the Talisman from gaudy keys that is the cause.
I added a line to log when items had to be created one at a time.
Log snippet.
I don't know how creation was invoked (because I haven't dissected the automation) but I'm pretty sure it triggered mafia's creation logic for a Tailsman rather than explicitly using keys then charrrms.
I'm not quite following the "make" logic yet so I don't know whether the concoction needs to be changed, whether the make implementation is not quite right when it needs two single uses to create one thing or whether there is special handling for the Talisman that needs to be reconsidered.
Anyone have any pointers for me?
I seem to recall that Talisman creation is a long standing hiccup so if this is a known problem that no one wants to fix because doing so is not simple, just remind me.
Thanks.
I added a line to log when items had to be created one at a time.
Log snippet.
Code:
Creating snakehead charrrm (1 of 2)...
Use 1 gaudy key
You acquire an item: snakehead charrrm
Use 1 gaudy key
You acquire an item: snakehead charrrm
Use 1 snakehead charrrm + 1 snakehead charrrm
You acquire an item: Talisman o' Namsilat
Unexpected error, debug log printed.
Use 1 gaudy key
Creating snakehead charrrm (2 of 2)...
Use 1 gaudy key
I don't know how creation was invoked (because I haven't dissected the automation) but I'm pretty sure it triggered mafia's creation logic for a Tailsman rather than explicitly using keys then charrrms.
I'm not quite following the "make" logic yet so I don't know whether the concoction needs to be changed, whether the make implementation is not quite right when it needs two single uses to create one thing or whether there is special handling for the Talisman that needs to be reconsidered.
Anyone have any pointers for me?
I seem to recall that Talisman creation is a long standing hiccup so if this is a known problem that no one wants to fix because doing so is not simple, just remind me.
Thanks.