Page 4 of 4 First ... 234
  1. #31
    I'm importing an XML file, it's not any code.

    and not sure what's happened, but now if I import into Classic (which works fine), then I download that and import into Unity, it now works.

    I'm attaching the XML file.
    Attached Files Attached Files
    Last edited by dberkompas; February 21st, 2020 at 14:23. Reason: Update character XML file
    Ultimate License Holder - Anyone can play in my games, even using the free version of Fantasy Grounds.


  2. #32
    So, a character import then. Thanks for the data file; I'll try it here.

    Regards,
    JPG

  3. #33
    LordEntrails's Avatar
    Join Date
    May 2015
    Location
    -7 UTC
    Posts
    9,445
    Blog Entries
    9
    Have you done a file compare between the FGC exported module (that loads fine in FGU) and the initial version (that throws errors in FGU).

    FGU has strict xml interpretation, FGC does not. Maybe it has to do with that?

  4. #34
    I'm doing a diff, and playing around with different things.

    If I remove the <invlist> section, and the <weaponlist> sections, it loads just fine, so it's got to be something in there I'm thinking.


    Dave
    Last edited by dberkompas; February 21st, 2020 at 00:20.
    Ultimate License Holder - Anyone can play in my games, even using the free version of Fantasy Grounds.


  5. #35
    Found it:

    It all has to do with emcumbrance:

    If I put the following lines in, it loads just fine.

    <encumbered type="number">1</encumbered>
    <encumbrance>
    <limit type="number">40</limit>
    <load type="number">46.2</load>
    <loadstr type="number">3</loadstr>
    </encumbrance>

    Maybe there's a setting to ignore emdumbrance.

    Thanks for listening...

    If I add:
    <encumbered type="number">0</encumbered>
    or
    <encumbered type="number">2</encumbered>

    It fails.


    Dave
    Last edited by dberkompas; February 21st, 2020 at 01:47.
    Ultimate License Holder - Anyone can play in my games, even using the free version of Fantasy Grounds.


  6. #36
    The error is back, because I've added armor. I've updated the XML on the previous post to include the offending file.

    I can't help but think it's all got something to do with encumbrance again.

    Found the issue, this time it's the bonus list, it can't be missing.


    Dave
    Last edited by dberkompas; February 21st, 2020 at 14:40.
    Ultimate License Holder - Anyone can play in my games, even using the free version of Fantasy Grounds.


  7. #37
    I was able to track down the root of the issue (which is also technically in FGC); but not sure how I'm going to fix yet. Basically, the ruleset is editing the data imported as script events are firing, which is a problem for the internal "collections" that are trying to iterate and fire the script events. Need to think on it a bit.

    Thanks,
    JPG

  8. #38
    Not an issue anymore. I've adjusted my script to add the necessary elements.

    Thanks for your time, my apologies for making issues where there doesn't need to be any.

    Loving playing w/ Unity and learning the differences (VERY minimal) between Classic & Unity.


    Dave
    Ultimate License Holder - Anyone can play in my games, even using the free version of Fantasy Grounds.


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Log in

Log in