zarmstrong / hlo-importer

A module for Foundry VTT that converts and imports Herolab Online 2e characters.
MIT License
6 stars 8 forks source link

Trying to import character into 4.12.9 #22

Open tgm4883 opened 1 year ago

tgm4883 commented 1 year ago

Using Foundry v10.291 and PF2 4.12.9

I've just installed this module and tried importing a few character. Most of them imported with minor issues, but one didn't import at all throwing this error in the console.

hlo-importer.min.js:51 Uncaught TypeError: undefined. Cannot convert undefined or null to object [Detected 1 package: hlo-importer] at Function.keys () at xmlhttp.onreadystatechange (hlo-importer.min.js:51:131)

zarmstrong commented 1 year ago

I need the export code to test.

Just FYI: This module is mostly dead at this point, as the character builder in pf2e has become more powerful than ever.

macniel commented 1 year ago

The issue would be something in the foundrymodule.php on the pf2player.com project and not the exported Data one would receive via ElementToken export (either directly from HLO Character export Data or via the HLO Api).

I opened a Bug Ticket over at your pf2player.com project. (see https://github.com/zarmstrong/hlo-to-fvtt-pf2-public/issues/15)

Would be cool if you could perhaps integrate the conversion into the module, or make your conversion open source so that bugs like this can be fixed by the community.