fvtt-fria-ligan / morkborg-foundry-vtt

An unoffical, community-supported system for playing MÖRK BORG on Foundry VTT.
Other
31 stars 16 forks source link

Error when creating a new character with dialog #173

Open ghost opened 1 year ago

ghost commented 1 year ago

Hi!

I wanted to report an anomaly when creating an new characted with Create Scvm dialog.

Here is my config:

Foundry Virtual Tabletop: Version 11 Stable, 11.306
Système de jeu: morkborg, 3.2.1
Modules actifs: 0
Mode de performance: 2

And here are the logs from browser console:

Foundry VTT | Rendering ScvmDialog
scvmfactory.js:237 Creating new Adventurer
packutils.js:102 Could not find Compendium.morkborg.morkborg-actors.sdWMb1q5nZ4l972t
packutils.js:103 TableResult {type: 2, text: 'Donkey', img: 'systems/morkborg/tokens/containers/donkey_bw.png', documentCollection: 'morkborg.morkborg-actors', #validationFailures: {…}, …}
commons.js:8713 Foundry VTT | Created Actor with id [Ur62EEYtt7Za51QA]
foundry.js:5724 Foundry VTT | Rendering MBCharacterSheet

I suppose the dialog tried to create a Donkey from the roll table ?

By the way, the resul is the same with the cart (another actor). But the sack (an item) seems te be created just find.

Thanks for your help !

ghost commented 1 year ago

I think I found the error! It's in the file packs/mork-borg-tables/000113.ldb.

When extracting the information, there is a typo on some items:

"!tables.results!ByN7RI3Vc88ScBCj.sGVR3Gfan63FInU3;": "{"type":2,"weight":1,"range":[6,6],"drawn":false,"text":"Donkey","img":"systems/morkborg/tokens/containers/donkey_bw.png","documentId":"sdWMb1q5nZ4l972t","_id":"sGVR3Gfan63FInU3","documentCollection":"morkborg.morkborg-actors","flags":{}}",

The documentCollection attribute should be morkborg.mork-borg-actors instead of morkborg.morkborg-actors.