PDA

View Full Version : Abundance of db.script files



UrsaTeddy
March 7th, 2022, 20:06
Greetings.

So I know that the db.script files in the campaign folder are for data migration when rulesets change ... as per the wiki



db.script.*.xml = Some rulesets need to migrate campaign data when upgrading features. The original data file before migration is saved in this way.

However, every time I run Fantasy Grounds, I am generating a lot db.script files. I am not migrating rulesets or anything of that nature (that I know of). This occurs both in my development campaign as well as my regular game.

Any ideas of why this is happening? It does not just happen when I upgrade to a new version of the ruleset, it happens every time I run a campaign.

The development campaign generates a lot more of them because I edit / restart that campaign more regularly.

Moon Wizard
March 8th, 2022, 00:18
Yeah, that's a bug. I just reviewed the code, and it was triggering the database migration code on every session load for some reason.

I'm working on a fix for later this week, since Ikael has been busy.

Regards,
JPG

UrsaTeddy
March 8th, 2022, 00:58
Cool.

Just to be clear, this is not a recent bug is it .. ?

I seem to think it has been going on for a long time.

Moon Wizard
March 8th, 2022, 01:28
It does not appear to be a recent issue; but something that has been going on for a while.

Regards,
JPG

UrsaTeddy
March 8th, 2022, 01:30
Thanks, just wanted to make sure I wasn't going crazy.