DICE PACKS BUNDLE
  1. #1

    Calendar days do not split on week lengths leading to awful display

    The first time opening this calendar, the display in the calendar element is correct--days will break every eighth day, and it looks generally like a calendar should (see first image, Cal.png).

    Every time I reload the campaign after that, the display instead breaks on two-day segments, making the calendar a lot less readable (see second image, CalBad.png). I can't find any reason why it's happening--changing the lundardaycalc mainland.lua function has no effect on the UI, and I don't really see anything in any of the calendar examples in the tutorial thread (https://www.fantasygrounds.com/forum...endar-Tutorial) that have anything to say about this. Any ideas?
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    LordEntrails's Avatar
    Join Date
    May 2015
    Location
    -7 UTC
    Posts
    17,148
    Blog Entries
    9
    Have you checked this thread for a fix?
    https://www.fantasygrounds.com/forum...endar-Tutorial

    I know this has come up with other custom calendars and their should be a solution in there somewhere.

    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.

  3. #3
    I did peruse that thread (note that I link to it in the post that started this thread), this problem isn't mentioned. I can x-post to it, I suppose.

  4. #4
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,362
    You've a typo at line 6 in mainland.lua - nDa7 should be nDay.
    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!

  5. #5
    Thanks for that, although it doesn't appear to be causing the display issue in question.

    And, frustratingly, I can't reproduce this with an empty campaign, so I can't get a clean set of steps to make the repro. It has consistently displayed this way in three different campaigns, just not a campaign I've started from scratch.

  6. #6
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,362
    Does resetting the calendar (via the right-click menu) in a campaign that has the issue sort it out?
    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!

  7. #7
    Oh thanks for pointing out that functionality. Resetting it did fix my locally broken campaign, which appears to have persisted on /reload both via the command and from a full restart of FGU. It appears that resetting the calendar preserves notes (which is good, that's what we want), but before I recommend this action to the GM running the campaign we're making this calendar for, are there any gotchas we should worry about, any condition that might cause the reset calendar not to recognize/preserve the notes that exist?

  8. #8
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,362
    If the GM mistakenly selects the wrong calendar you may have issues with accessing notes. Otherwise, you should be OK.

    Just in case, you can backup the campaign directory that stores the campaign database file, then try resetting the calendar.
    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!

  9. #9
    Sounds good, we'll fiddle with this knowledge and I'll report back with success or failure.

  10. #10
    Resetting the calendar does appear to have resolved this, without any changes to the extension/module, so anyone who runs into this problem in the future hopefully will get some use out of this thread.

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 Product Walkthrough Playlist

Log in

Log in