HeroCreationLab / hero-creation-tool

Step-by-step module tool for creating 5e characters in FoundryVTT
MIT License
29 stars 15 forks source link

Not reading other compendiums #126

Closed hedgehog8711 closed 1 year ago

hedgehog8711 commented 1 year ago

I noticed that when I had the item null, that I only had the DDB item folder selected. I added the Core Items folder and that allowed the tool to load without issue. It seems that when ever something other than the core content the tool cant find it. Here is all the information that I could find. The issue continues even it the Hero Creation tool is the only Active module.

Foundry Virtual Tabletop: Version 10, 10.286 Game System: dnd5e, 2.0.3 Hero Creation tool 1.9.0 Active Modules: 141 Performance Mode: 2

Actors: 21 | Items: 13 | Journal: 50 | Rollable Tables: 0 | Playlists: 1 | Compendium Packs: 116 | Chat Messages: 1

error from console error

With another compendium selected DDB races selected

using just the core compendium unselected ddb races

ccjmk commented 1 year ago

Hi @hedgehog8711 ! sorry for the longest delay, I was in the middle of moving to a new country so.. lots of things had to happen before I could get back at this heheh

I just made a quick test both with default compendiums and compendiums imported from DDBImporter, and it seems to work. Could you try reimporting the compendiums? It seems to be caused by a change in the data structure of race items; Before, the field would be [item].data.data.requirements IIRC, now it's [item].system.requirements, so you might be using Race items imported before that change.

hedgehog8711 commented 1 year ago

No problem thanks for taking the time to look at it and yes it seems like it might have been something the the DnD import tool that I was using after a couple of updates everything started working. Thank you again for taking the time and I hope that you get settled well, and thanks for making such a great tool. ThanksGreg On Sunday, January 8, 2023 at 01:29:26 PM EST, ccjmk @.***> wrote:

Hi @hedgehog8711 ! sorry for the longest delay, I was in the middle of moving to a new country so.. lots of things had to happen before I could get back at this heheh

I just made a quick test both with default compendiums and compendiums imported from DDBImporter, and it seems to work. Could you try reimporting the compendiums? It seems to be caused by a change in the data structure of race items; Before, the field would be [item].data.data.requirements IIRC, now it's [item].system.requirements, so you might be using Race items imported before that change.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

ccjmk commented 1 year ago

I'm very happy! sometimes these issues are a little hard to review, so I like it this was relatively easy. Thanks for the kind words! :)