Thread: Andraax' Moon Tracker Extension
-
August 19th, 2020, 10:18 #31
-
August 20th, 2020, 15:07 #32
@bmos - I have added the logic of having a single "full moon" or "new moon" as well. For those who need for story reasons e.g. "3 days of a full moon", I also added a duration which extends this single day to a number of days (beware of even day durations... this might or might not calculate into one day less). Existing moons might cause an error the first time the DB.xml is loaded due to the missing duration value. It will be set to "1" once the configuration was opened. Let me know if you encounter any issues.
-
October 12th, 2020, 11:59 #33
- Join Date
- Apr 2020
- Posts
- 4
After the latest update I've been getting the following script error everytime I try to edit the moon phases, and they no longer display at all.
Script Execution error: [string “button_moon”]:14: attempt to call field ‘populateMoonPhaseDisplay’ (a nil value)
-
October 12th, 2020, 19:02 #34
- Join Date
- Oct 2019
- Location
- Hong Kong
- Posts
- 310
I also get the same error, I have a game tomorrow so will dig around to see, I wonder if it's unpopulated default in the string, that seems to be happening a lot at the moment across various extensions
-
October 13th, 2020, 19:17 #35
I think it needs a line added to utility_calendar.xml
After <windowclass name="calendar_main" merge="merge">
Code:<script file="utility/scripts/calendar_log.lua" />
Last edited by bmos; October 13th, 2020 at 19:22.
-
October 14th, 2020, 18:31 #36
-
October 15th, 2020, 13:15 #37
- Join Date
- Sep 2020
- Posts
- 16
Is there a tutorial I can find to learn how to edit .xml files?
-
October 15th, 2020, 14:58 #38
In terms of learning to change xml and lua files for creating/modifying extensions, there are these two:
Jeff's Excruciatingly Simple Extension Tutorial
[Tutorial] Creating a Basic Extension
Also, here a copy with the edit added
-
October 15th, 2020, 22:01 #39
- Join Date
- Sep 2020
- Posts
- 16
Thanks so much for the tutorial information and taking the time to update the extension. It works perfect!
-
October 19th, 2020, 14:10 #40
Thanks so much for updating this! I've been slowly moving my ETU game over to Unity, and I don't know what I'd have done without my moon tracker!
Cheers!
- Toko!
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks