PDA

View Full Version : Error when loading non brand new campaigns with or without extensions/modules loaded



rmilmine
December 30th, 2023, 11:29
The following is the console log file. I bolded the error message.
I am getting this error in all active campaigns
I started the campaign with no extensions loaded. Didn't make a difference.
I unloaded all of the modules. Didn't make a difference.
I created a brand new campaign and it doesn't happen.
All I can think of is that may be an update to CoreRPG yesterday is causing this. I remember seeing it being updated last night.
The zip file of one of the affected campaigns is 69670KB so too large to post here.
This was the first console log I copied, not the last with everything removed.

[12/30/2023 5:40:07 AM] FGU: v4.4.9 STANDARD (2023-12-18)
[12/30/2023 5:40:07 AM] OS: Windows 10 (10.0.19045) 64bit
[12/30/2023 5:40:07 AM] GRAPHICS: NVIDIA GeForce GTX 1080 : 8073
[12/30/2023 5:40:07 AM] UI SCALE: 1.1
[12/30/2023 5:40:07 AM] USER: rmilmine
[12/30/2023 5:40:07 AM] Launcher scene starting.
[12/30/2023 5:40:12 AM] Starting private server mode. [(192.168.0.108:1802) (fe80::3ae2:1925:e9c5:e96d:1802)]
[12/30/2023 5:40:12 AM] Game server started. [192.168.0.108:1802]
[12/30/2023 5:40:12 AM] Launcher scene exiting.
[12/30/2023 5:40:12 AM] Tabletop scene starting.
[12/30/2023 5:40:12 AM] CAMPAIGN: Wrath of the Righteous
[12/30/2023 5:40:12 AM] RULESET: PFRPG
[12/30/2023 5:40:12 AM] NETWORK STATUS: [Server] [Connected]
[Server Type - LAN]
[12/30/2023 5:40:22 AM] MEASURE: RULESETS LOAD - 10.4949846 - PFRPG
[12/30/2023 5:40:22 AM] MEASURE: EXTENSIONS LOAD - 0.0009975 - 0
[12/30/2023 5:40:31 AM] MEASURE: MODULE LIST BUILD - 8.5545358 - 97
[12/30/2023 5:40:31 AM] MEASURE: REFRESH IMAGE ASSETS - 0.0658363
[12/30/2023 5:40:31 AM] MEASURE: REFRESH PORTRAIT ASSETS - 0.0029933
[12/30/2023 5:40:31 AM] MEASURE: REFRESH TOKEN ASSETS - 0.0628513
[12/30/2023 5:40:31 AM] MEASURE: ASSET LIST BUILD - 0.1316809
[12/30/2023 5:40:34 AM] MEASURE: LOAD - PART 1 - 22.3583178
[12/30/2023 5:40:36 AM] [ERROR] Script execution error: [string "CoreRPG:scripts/manager_dice.lua"]:44: getDiceInfo: Invalid parameter 1
[12/30/2023 5:40:36 AM] MEASURE: MODULE LOAD - 0.0728048 - Big List of Effects
[12/30/2023 5:40:36 AM] MEASURE: MODULE LOAD - 0.0049861 - Calendars
[12/30/2023 5:40:37 AM] MEASURE: MODULE LOAD - 0.9879289 - Pathfinder Advanced Players Guide
[12/30/2023 5:40:38 AM] MEASURE: MODULE LOAD - 0.6239855 - Pathfinder Advanced Race Guide
[12/30/2023 5:40:39 AM] MEASURE: MODULE LOAD - 1.7646202 - Pathfinder Bestiary
[12/30/2023 5:40:42 AM] MEASURE: MODULE LOAD - 2.3341559 - Pathfinder Bestiary 2
[12/30/2023 5:40:42 AM] MEASURE: MODULE LOAD - 0.0149594 - Pathfinder Bestiary 2 Player Resource
[12/30/2023 5:40:44 AM] MEASURE: MODULE LOAD - 2.3479141 - Pathfinder Bestiary 3
[12/30/2023 5:40:44 AM] MEASURE: MODULE LOAD - 0.1984819 - Pathfinder Bestiary 3 Player Resource
[12/30/2023 5:40:51 AM] MEASURE: MODULE LOAD - 6.4334223 - Pathfinder Bestiary 4
[12/30/2023 5:40:51 AM] MEASURE: MODULE LOAD - 0.2533268 - Pathfinder Bestiary 4 Player Resource
[12/30/2023 5:40:53 AM] MEASURE: MODULE LOAD - 1.4513445 - Pathfinder Bestiary 5
[12/30/2023 5:40:53 AM] MEASURE: MODULE LOAD - 0.017952 - Pathfinder Bestiary 5 Player Resource
[12/30/2023 5:40:56 AM] MEASURE: MODULE LOAD - 3.7765065 - Pathfinder Bestiary 6
[12/30/2023 5:40:57 AM] MEASURE: MODULE LOAD - 0.0119713 - Pathfinder Bestiary 6 Player Resource
[12/30/2023 5:41:03 AM] MEASURE: MODULE LOAD - 6.4690112 - Pathfinder Core Rules
[12/30/2023 5:41:04 AM] MEASURE: MODULE LOAD - 0.0518609 - Pathfinder Melee Tactics Toolbox
[12/30/2023 5:41:04 AM] MEASURE: MODULE LOAD - 0.6924166 - Pathfinder Mythic Adventures
[12/30/2023 5:41:24 AM] MEASURE: MODULE LOAD - 19.9729759 - Pathfinder NPC Codex
[12/30/2023 5:41:26 AM] RULESET: Pathfinder (1E) ruleset (2023-12-12) for Fantasy Grounds
Copyright 2023 Smiteworks USA, LLC
[12/30/2023 5:41:26 AM] RULESET: Dungeons and Dragons (3.5E) ruleset (2023-12-12) for Fantasy Grounds
Copyright 2023 Smiteworks USA, LLC
[12/30/2023 5:41:26 AM] RULESET: Core RPG ruleset (2023-12-28) for Fantasy Grounds
Copyright 2023 Smiteworks USA, LLC
[12/30/2023 5:41:27 AM] MEASURE: LOAD - PART 2 - 52.2498904
[12/30/2023 5:43:34 AM] NETWORK STATUS: [Server] [Connected]
[Server Type - LAN]
[12/30/2023 5:43:35 AM] Tabletop scene exiting.

Zacchaeus
December 30th, 2023, 15:13
If you aren't getting the error in a new campaign this suggests an extension or one of the campaign files has become corrupted. Try starting a new campaign and then shut it down. Then copy (not move) the db.xml file from the campaign where you are getting an error into the one you just started (overwriting the existing db.xml). If this works without error you can then copy over any images from the old to the new.

rmilmine
December 30th, 2023, 16:27
As I said in the first post, I turned off all of the extensions, turned off all of modules the only thing it was loading and still giving the error with was the pf1e, 3.5e and corerpg rulesets.
It makes no sense that multiple campaigns that were working yesterday are now not working.

rmilmine
December 30th, 2023, 16:31
Copying the db file to a new campaign allowed me to load the campaign with that data.
Thank you.
Is there a way to rename a campaign?

rmilmine
December 30th, 2023, 16:36
Any idea what file would be used for calling the function giving the error?
May be I can edit out the offending data in it.

Laerun
December 30th, 2023, 16:50
Any idea what file would be used for calling the function giving the error?
May be I can edit out the offending data in it.

That's likely a difficult task. Some extensions leave behind artifacts, even when not active or after deletion. Generally the more complex extensions that change the way Fantasy Grounds behaves or effects character records are suspect, and depending on exactly what they do.

Griogre
December 30th, 2023, 17:15
Copying the db file to a new campaign allowed me to load the campaign with that data.
Thank you.
Is there a way to rename a campaign?

Rename the folder the folder the new campaign is in.

In your situation, you could rename your original campaign by adding "Bad" after it and rename the new campaign to your old one. This is mildly risky since the extension artifacts in your db.xml might re-trigger so a better option might be two rename your new campaign from "old campaign name" to old campaign pluse the number 2, ie "Griogre Campaign" to "Griogre Campaign 2".

rmilmine
December 30th, 2023, 23:00
Thanks I ended up moving the entire folder out of the Fantasy Grounds folder and then created the new Campaigns for the damaged Campaigns.I then moved the files as needed to the new folder.