DICE PACKS BUNDLE
Page 1 of 2 12 Last
  1. #1
    Drazulfel's Avatar
    Join Date
    Sep 2006
    Location
    Daytona Beach, FL
    Posts
    49

    Exandrian Calendar - Help Please

    Hello,

    I'm trying to create the Exandrian Calendar for the new Wildemount book. I'm struggling to figure out how to get the days of the week to transition correctly from month to month (ie: if the last day of month 1 is Thursday, the first day of the month 2 should be Friday).

    I found the CollapseCalendar mod, which seems to be a step in the right direction... but I got a bit lost with the .lua file in the extension. Not sure how the math works. I've attached my work to this post. The calendar is fully built in the .mod. I just need assistance with that last step.

    Can anyone please help me make this work?

    Thank you!

    Draz
    Attached Files Attached Files
    The most merciful thing in the world, I think, is the inability of the human mind to correlate all its contents.

  2. #2
    LordEntrails's Avatar
    Join Date
    May 2015
    Location
    -7 UTC
    Posts
    17,271
    Blog Entries
    9

    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
    Drazulfel's Avatar
    Join Date
    Sep 2006
    Location
    Daytona Beach, FL
    Posts
    49
    Quote Originally Posted by LordEntrails View Post
    I did see that. But with the very irregular nature of this particular calendar, I failed to work it out on my own. Months range from 27 - 32 days, 328 days in the year.

    I haven't coded in over 15 years, so this is kicking my butt. I wish this calendar came w/ the official WotC mod for the book.
    The most merciful thing in the world, I think, is the inability of the human mind to correlate all its contents.

  4. #4
    LordEntrails's Avatar
    Join Date
    May 2015
    Location
    -7 UTC
    Posts
    17,271
    Blog Entries
    9
    Mattekure will probably see this post soon. He;s a pretty nice guy and if he has time will probably help you resolve this. You can also look on the FG or FGC Discord servers and see if someone there can help you through the LUA part.

    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.

  5. #5
    Drazulfel's Avatar
    Join Date
    Sep 2006
    Location
    Daytona Beach, FL
    Posts
    49
    Quote Originally Posted by LordEntrails View Post
    Mattekure will probably see this post soon. He;s a pretty nice guy and if he has time will probably help you resolve this. You can also look on the FG or FGC Discord servers and see if someone there can help you through the LUA part.
    Thank you!
    The most merciful thing in the world, I think, is the inability of the human mind to correlate all its contents.

  6. #6
    Drazulfel's Avatar
    Join Date
    Sep 2006
    Location
    Daytona Beach, FL
    Posts
    49
    Awe, close. I got it so it didn't start every month on the 1st day of the week, but the following months started 1-3 days later than they should have.
    The most merciful thing in the world, I think, is the inability of the human mind to correlate all its contents.

  7. #7
    Sorry I missed this thread earlier. I have something for you to try out. I have an extension that provides a generic lunar day handler, so as long as you dont have any leap years in your calendar, it should work no matter how wonky the months are.

    In your calendar xml, for the lunar day handler, be sure to use "LunarWrap"

    Here it is in action. I also attached the slightly tweaked calendar mod you made. just to add the correct handler.
    Screenshot_1.jpg
    Attached Files Attached Files
    Last edited by mattekure; March 26th, 2020 at 18:12.
    For support with any of my extensions, visit my #mattekure-stuff channel on Rob2e's discord https://discord.gg/rob2e

  8. #8
    Drazulfel's Avatar
    Join Date
    Sep 2006
    Location
    Daytona Beach, FL
    Posts
    49
    Quote Originally Posted by mattekure View Post
    Sorry I missed this thread earlier. I have something for you to try out. I have an extension that provides a generic lunar day handler, so as long as you dont have any leap years in your calendar, it should work no matter how wonky the months are.

    In your calendar xml, for the lunar day handler, be sure to use "LunarWrap"

    Here it is in action. I also attached the slightly tweaked calendar mod you made. just to add the correct handler.
    Screenshot_1.jpg
    Ok, so...

    1. From the CollapseCalendar.mod file that you sent me, change this line in db.xml ... <lunardaycalc type="string">LunarWrap</lunardaycalc>
    2. Re-add the edited .xml file to CollapsCalendar.mod
    3. Put the edited CollapseCalendar.mod file in the modifications folder
    4. Put the Generic Lunar Day Handler.ext file as provided in the extensions folder

    Should that be it?
    The most merciful thing in the world, I think, is the inability of the human mind to correlate all its contents.

  9. #9
    yeah, just make sure the extension is loaded. In my post I also attached a copy of your collapsecalendar.mod with the adjustments made. You can take a look to see exactly what I did in there.
    For support with any of my extensions, visit my #mattekure-stuff channel on Rob2e's discord https://discord.gg/rob2e

  10. #10
    Drazulfel's Avatar
    Join Date
    Sep 2006
    Location
    Daytona Beach, FL
    Posts
    49
    Quote Originally Posted by mattekure View Post
    make sure the extension is loaded
    SMH!

    I would have had this working long ago if I wasn't a dummy. I put the extension in the folder, but didn't load it with the campaign. Argh!

    Thank you so much! It's working perfectly.
    The most merciful thing in the world, I think, is the inability of the human mind to correlate all its contents.

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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
  •  
FG Spreadshirt Swag

Log in

Log in