Dungeons & Dragons 2024 Core Rulebooks Pre-Order
  1. #1

    Duplicate image list in the Images & Maps box

    I'm finishing up a pregen module which has turned out really nice.

    However, I've bumped into a very odd bug that's either in my XML or elsewhere that's causing the list of all of the included images to be listed twice.

    If I click on the images in the Library link, the list is correct (non-duplicated), but when I click on the DM's "Maps" button, I get a duplicated lists of images (each duplicated link works).

    Other mods aren't doing this, so not sure where to look in my XML for somewhere I may have goofed. Any ideas on where to look?


    Screenshot attached.
    Attached Images Attached Images
    US East Coast-Based DM - Ultimate Licence Holder

  2. #2
    From the look of it, your 'Images' window might have the same xml name as the place FG looks to fill in the 'Images & Maps' list. So it is grabbing both.
    I never claimed to be sane. Besides, it's more fun this way.

  3. #3
    LordEntrails's Avatar
    Join Date
    May 2015
    Location
    -7 UTC
    Posts
    17,462
    Blog Entries
    9
    Is this in the campaign in which you created the module? And then did you open the module again in the library? In this case it will be in the list twice, once in the campaign where you created it, and the second time from opening the module. Have you tried opening the module in a new campaign?

    Problems? See; How to Report Issues, Bugs & Problems
    On Licensing & Distributing Community Content
    Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
    Note, I am not a SmiteWorks employee or representative, I'm just a user like you.

  4. #4
    Quote Originally Posted by LordEntrails View Post
    Is this in the campaign in which you created the module? And then did you open the module again in the library? In this case it will be in the list twice, once in the campaign where you created it, and the second time from opening the module. Have you tried opening the module in a new campaign?
    Yes I’ve tried a new campaign. I’m making edits directly to the xml inside the mod.
    US East Coast-Based DM - Ultimate Licence Holder

  5. #5
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,586
    Check the data paths here: https://www.fantasygrounds.com/wiki/...Best_Practices and see if you have multiple entries in any of the paths relevant for images.

    Also, a way of seeing the actual data path of a link is to drag the link to a Story entry, save the campaign (/save in the chat window) then look at the link data within that story entry XML in the campaign db.xml file. This might help to indicate where the duplicate is.
    Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!

  6. #6
    Quote Originally Posted by Trenloe View Post
    Check the data paths here: https://www.fantasygrounds.com/wiki/...Best_Practices and see if you have multiple entries in any of the paths relevant for images.

    Also, a way of seeing the actual data path of a link is to drag the link to a Story entry, save the campaign (/save in the chat window) then look at the link data within that story entry XML in the campaign db.xml file. This might help to indicate where the duplicate is.
    Brilliant idea! Ok, it's pulling in two different links - now to figure out how to prevent that:
    Code:
    					<link class="imagewindow" recordname="image.img_arkadyussakharov1_jpg@Conquering Heroes 5E">Arkadyus Sakharov 1</link>
    					<link class="imagewindow" recordname="reference.imagedata.img_arkadyussakharov1_jpg@Conquering Heroes 5E">Arkadyus Sakharov 1</link>
    I thought I already experimented with removing one of those classes entirely to see what would happen, and I don't recall it being good. I'll have to experiment some more.
    US East Coast-Based DM - Ultimate Licence Holder

  7. #7
    "image." is what the database uses to store campaign images. Avoid that if the "image." link is from your module.
    I never claimed to be sane. Besides, it's more fun this way.

Thread Information

Users Browsing this Thread

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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
5E Character Create Playlist

Log in

Log in