ultrakorne / better-rolltables

Module for FoundryVTT to improve rolltables
MIT License
31 stars 29 forks source link

No table new options at all #109

Open Ailedd opened 3 years ago

Ailedd commented 3 years ago

Not sure what's going on, but after the latest update I cant actually make any better roll tables. All my other tables were converted back to regular ones, even on fresh worlds with only this module installed cant seem to work properly. Did i miss a change or rework somewhere to have it working properly again?

image

Latest stable version of foundry and Better Roll Tables.

MiahNelah commented 3 years ago

A lot of fixes are coming, but this look unexpected. It looks like there is a conflict somewhere. Press F12 to show browser console: can you post all error you see get it ?

Ailedd commented 3 years ago

Ok looks like I got something here, sorry for the delay.

Uncaught (in promise) TypeError: Cannot read property 'getIndex' of undefined at BetterTables.updateSpellCache (better-tables.js:171) at brt-main.js:34 at Function._call (foundry.js:194) at Function.callAll (foundry.js:153) at Game.setupGame (foundry.js:4307) at async Game._initializeGameView (foundry.js:5117) at async Game.initialize (foundry.js:4202)

MiahNelah commented 3 years ago

In your screenshot, I see you set spells compendium to "plutonium.spells", but I don't see this compendium. Can you try to set it to "dnd5e.spells" (default value) ?

Ailedd commented 3 years ago

I just noticed that as well it fixed it in a fresh install, but not on the world that does have that compendium.

MiahNelah commented 3 years ago

Can you post a screenshot an another screenshot in the faulty world ?

Ailedd commented 3 years ago

OK, I think the issue is with the spell compendium source. The system I'm trying to use it in isn't dnd so that's where my error is coming from.

The other world fixed after changing the setting and relaunching as admin.

JasonSK22 commented 3 years ago

I am also facing the same issue. I use the SWADE system. I am getting the same error indicated above by Ailedd.

better-tables.js:171 Uncaught (in promise) TypeError: Cannot read property 'getIndex' of undefined at BetterTables.updateSpellCache (better-tables.js:171) at brt-main.js:34 at Function._call (eval at (listeners.js:56), :4:14) at Function.callAll (foundry.js:153) at Game.setupGame (foundry.js:4307) at async Game._initializeGameView (foundry.js:5117) at async Game.initialize (foundry.js:4202)

MiahNelah commented 3 years ago

Hello @JasonSK22! Just tried SWADE system, I got the same issue until I set swade.skills in settings to handle the good compendium. Everything works then except generate loot from actor (I notice it use dnd5e specific currencies data). Do you use the last version of better roll tables ? (1.7.2)

JasonSK22 commented 3 years ago

Hi @Daimakaicho, That worked! Thanks for the solution.

I just updated to 1.7.2. SWADE doesn't really rely much on Looting so I haven't noticed the currencies data, most currency is setting specific. dollars, credits, or gold (silver, copper) pieces.