BernhardPosselt / pf2e-kingmaker-tools

A collection of utilities to run Kingmaker in FoundryVTT
GNU Affero General Public License v3.0
14 stars 9 forks source link

Camping wont allow for ingredients to be added #44

Closed KaneFaolan closed 11 months ago

KaneFaolan commented 11 months ago

I am trying to get this amazing tool working with the newly released kingmaker module. Specifically i am trying to use the camping macro. most of the features work, but when i roll for hunt and gather and get a number of ingredients, i cannot add them to my availably resources by pressing apply in the chat log. when i press apply nothing happens.

I am running Foundry 11.309 and pathfinder 2e 5.6.1, and have version 0.5.0 of this module installed. any help would be greatly appreciated, and again, amazing work on this!

BernhardPosselt commented 11 months ago

Anything in console log (F12)? Usually it will add it to the actor that was performing the action, but you can also override it in your sheet settings. Works here locally:

image

KaneFaolan commented 11 months ago

There is nothing obvious in the F12. when i click on the apply button nothing is added to the f12 logs, it is almost as if it is not registering the click of the apply button. see image below just after i clicked.

image

I was able to find something while looking further at your journal notes... it looks like the links to the ingredients are broken. additionally, when i opened the journal, the error shown in the picture showed up in f12.

image

BernhardPosselt commented 11 months ago

Will remove those links, those were merged into the core 2e system. Shouldn't break it though

BernhardPosselt commented 11 months ago

Can you disable all other modules and try again?

KaneFaolan commented 11 months ago

Looks like that fixed it. i will try re-activating one at a time to find the culprit

KaneFaolan commented 11 months ago

Soooooo.... I have no idea... I slowly re-activated all my modules, and it still works find... Maybe it was an order of operations issue.

Thanks for the help, it is working now and i will cross my fingers it keeps working.

image

BernhardPosselt commented 11 months ago

Great to hear, could have been a desync issue as well and the forced reload fixed it. Just pushed an update for better integration with the official module fyi

BernhardPosselt commented 11 months ago

I will publish a fix in the next few days for the broken links in the journal, it's already fixed on master.

KaneFaolan commented 11 months ago

Thank you for all the help and for all your work on this amazing module. you are a god amongst men!