PDA

View Full Version : New CUstom Calendar - Changes aren't loaded



bazutti
June 9th, 2015, 03:15
So, I took the calendars.mod file, changed it to a .zip, edited the db.xml file by copying and pasting another calendar, then changing things like days per month and holidays - that's it. I zipped all 3 files back into a filed called calendars.zip, then renamed it to calendars.mod.

At this point, I've completely exited FG. So, I fire up FG, load up a campaign, load the calendars module....and nothing. My new calendar isn't appearing. The only tags I changed were the first ones defining the calendar (changed to <ravenloft> and </ravenloft>) I even did this again by using the original file and just changing the title of one of the calendars and again, it's not appearing. Clearly I'm missing something. My search on here and on the Googs hasn't been productful. Any tips? Thanks!

Trenloe
June 9th, 2015, 03:45
ZIP up the module from within the directory - i.e. select all of the XML files and ZIP them up from there. Don't ZIP from outside of the directory where the edited XML files are.

Also, use ZIP compression, not RAR, 7z, etc..

Moon Wizard
June 9th, 2015, 04:18
You might want to rename to something other than the original file name to prevent getting the file overwritten on an update.

Regards,
JPG

bazutti
June 9th, 2015, 04:21
Unfortunately that didn't seem to work. When I zipped them from within the directory, I still see the original calendars, unedited.


You might want to rename to something other than the original file name to prevent getting the file overwritten on an update.

Regards,
JPG

I agree, but I can't even seem to alter the original.

bazutti
June 9th, 2015, 04:47
After some tinkering, the problem may have to do with multiple holidays on a single day. While now the file loads (no idea why all of a sudden), I'm only seeing one holiday per day, which is likely just a limitation of the calendar. Thanks.

EDIT: Nope that's not the issue. I condensed to one holiday per day, and my January shows up fine. Everything after January doesn't show up. :(

Trenloe
June 9th, 2015, 05:27
Post the module here so we can look. We have no idea what you have/haven't done.

bazutti
June 9th, 2015, 23:37
<ravenloft>
<name type="string">Barovian Calendar</name>
<setting type="string">Ravenloft</setting>
<lunardaycalc type="string">barovian</lunardaycalc>
<lunarweek>
<day1 type="string">Sunday</day1>
<day2 type="string">Monday</day2>
<day3 type="string">Tuesday</day3>
<day4 type="string">Wednesday</day4>
<day5 type="string">Thursday</day5>
<day6 type="string">Friday</day6>
<day7 type="string">Saturday</day7>
</lunarweek>
<periodvarcalc type="string">barovian</periodvarcalc>
<periods>
<period1>
<days type="number">30</days>
<holidays>
<holiday1>
<duration type="number">1</duration>
<name type="string">New Year Feast (fireworks Rokushima Taiyoo) / Day of Penance (Hazlan)</name>
<startday type="number">1</startday>
</holiday1>
<holiday2>
<duration type="number">1</duration>
<name type="string">Fanton Griswold's Day (Barovia, Tepest, Falkovnia, G'Hen)</name>
<startday type="number">27</startday>
</holiday2>
<holiday3>
<duration type="number">1</duration>
<name type="string">Rememberance (Necropolis)</name>
<startday type="number">14</startday>
</holiday3>
</holidays>
<name type="string">January</name>
</period1>
<period2>
<days type="number">30</days>
<holiday5>
<duration type="number">1</duration>
<name type="string">Equinox / Imbolc</name>
<startday type="number">2</startday>
</holiday5>
<holiday6>
<duration type="number">1</duration>
<name type="string">Day of Silent Hope (Barovia)</name>
<startday type="number">3</startday>
</holiday6>
<holiday7>
<duration type="number">1</duration>
<name type="string">Lucine Carnival (Dement, Mordent)</name>
<startday type="number">20</startday>
</holiday7>
<holiday8>
<duration type="number">1</duration>
<name type="string">Census Eve (once every 3 years - Falkovnia, Invidia)</name>
<startday type="number">30</startday>
</holiday8>
<name type="string">February</name>
</period2>
<period3>
<days type="number">30</days>
<holiday1>
<duration type="number">1</duration>
<name type="string">Census Day (once every 3 years - Falkovnia, Invidia) / New Year's Day (Sithicus)</name>
<startday type="number">1</startday>
</holiday1>
<holiday2>
<duration type="number">1</duration>
<name type="string">Rose Day (Dement, Richem, Mordent, Necropolis)</name>
<startday type="number">9</startday>
</holiday2>
<holiday3>
<duration type="number">1</duration>
<name type="string">Spring Solstice / Ostara (Forlorn) / Spring Mourning (Vorostokov)</name>
<startday type="number">21</startday>
</holiday3>
<name type="string">March</name>
</period3>
<period4>
<days type="number">30</days>
<name type="string">April</name>
</period4>
<period5>
<days type="number">31</days>
<name type="string">May</name>
</period5>
<period6>
<days type="number">30</days>
<name type="string">June</name>
</period6>
<period7>
<days type="number">31</days>
<name type="string">July</name>
</period7>
<period8>
<days type="number">31</days>
<name type="string">August</name>
</period8>
<period9>
<days type="number">30</days>
<name type="string">September</name>
</period9>
<period10>
<days type="number">31</days>
<name type="string">October</name>
</period10>
<period11>
<days type="number">30</days>
<name type="string">November</name>
</period11>
<period12>
<days type="number">31</days>
<holidays>
<holiday1>
<duration type="number">1</duration>
<name type="string">Christmas</name>
<startday type="number">25</startday>
</holiday1>
</holidays>
<name type="string">December</name>
</period12>
</periods>
</ravenloft>

Trenloe
June 10th, 2015, 00:03
You need to have:

<holidays>
...
</holidays>

around each set of holidays.

bazutti
June 10th, 2015, 00:32
You need to have:

<holidays>
...
</holidays>

around each set of holidays.

*smacks self on forehead

I swear my eyes just don't see the simple stuff. Thanks a lot!