Log in

View Full Version : Error: "CoreRPG:scripts/manager_dice_roll.lua"]:241: attempt to index global 'GlobalR



Pendrake
June 19th, 2023, 14:22
I'm trying to load my 5th edition D&D game and I am getting some errors. Any advice?

Error log snippit:

[6/19/2023 9:11:07 AM] MEASURE: MODULE LOAD - 2.5083733 - D&D Monster Manual
[6/19/2023 9:11:09 AM] MEASURE: MODULE LOAD - 1.4498449 - D&D Mordenkainen's Tome of Foes
[6/19/2023 9:11:09 AM] MEASURE: MODULE LOAD - 0.066149 - D&D Mordenkainen's Tome of Foes - Players
[6/19/2023 9:11:15 AM] MEASURE: MODULE LOAD - 5.5275302 - D&D Player's Handbook
[6/19/2023 9:11:15 AM] [ERROR] Script execution error: [string "CoreRPG:scripts/manager_dice_roll.lua"]:241: attempt to index global 'GlobalRegistry' (a nil value)
[6/19/2023 9:11:16 AM] [ERROR] Script execution error: [string "CoreRPG:..pts/manager_image_deathmarker.lua"]:177: attempt to index global 'GlobalRegistry' (a nil value)
[6/19/2023 9:11:25 AM] RULESET: Dungeons and Dragons (5E) ruleset (2023-06-13) for Fantasy Grounds
Copyright 2023 Smiteworks USA, LLC
[6/19/2023 9:11:25 AM] RULESET: Core RPG ruleset (2023-06-13) for Fantasy Grounds
Copyright 2023 Smiteworks USA, LLC

Zacchaeus
June 19th, 2023, 14:46
First thing to try is disable all extensions; or test in a new campaign without extensions. If the error goes away then one or more extension is the issue.

Pendrake
June 19th, 2023, 15:09
Full log from New campaign with no ext's installed:

================================================== ============================
[6/19/2023 10:02:13 AM] FGU: v4.4.0 ULTIMATE (2023-06-13)
[6/19/2023 10:02:13 AM] OS: Windows 11 (10.0.22621) 64bit
[6/19/2023 10:02:13 AM] GRAPHICS: Intel(R) UHD Graphics 600 : 1959
[6/19/2023 10:02:13 AM] UI SCALE: 1
[6/19/2023 10:02:13 AM] USER: Pendrake
[6/19/2023 10:02:13 AM] Launcher scene starting.
[6/19/2023 10:02:41 AM] Daily session backup created.
[6/19/2023 10:02:41 AM] Starting cloud server mode. [Pendrake]
[6/19/2023 10:02:42 AM] Game server started. [REDACTED]
[6/19/2023 10:02:42 AM] Launcher scene exiting.
[6/19/2023 10:02:42 AM] Match successfully created on lobby.
[6/19/2023 10:02:43 AM] Tabletop scene starting.
[6/19/2023 10:02:43 AM] CAMPAIGN: D&D Oneshot
[6/19/2023 10:02:43 AM] RULESET: 5E
[6/19/2023 10:02:43 AM] NETWORK STATUS: [Server] [Connected]
[Server Type - CLOUD - PRIVATE]
[6/19/2023 10:03:34 AM] MEASURE: RULESETS LOAD - 51.5816499 - 5E
[6/19/2023 10:03:34 AM] MEASURE: EXTENSIONS LOAD - 0.0104477 - 0
[6/19/2023 10:04:07 AM] MEASURE: MODULE LIST BUILD - 32.6865243 - 91
[6/19/2023 10:04:08 AM] MEASURE: REFRESH IMAGE ASSETS - 0.8678515
[6/19/2023 10:04:08 AM] MEASURE: REFRESH PORTRAIT ASSETS - 0.0735871
[6/19/2023 10:04:08 AM] MEASURE: REFRESH TOKEN ASSETS - 0.424523
[6/19/2023 10:04:08 AM] MEASURE: ASSET LIST BUILD - 1.3679849
[6/19/2023 10:04:15 AM] MEASURE: LOAD - PART 1 - 92.4389907
[6/19/2023 10:04:16 AM] [ERROR] Script execution error: [string "CoreRPG:..ipts/manager_sound_syrinscape.lua"]:714: attempt to index global 'GlobalRegistry' (a nil value)
[6/19/2023 10:04:16 AM] [ERROR] Script execution error: [string "CoreRPG:scripts/manager_version.lua"]:63: attempt to index global 'GlobalRegistry' (a nil value)
[6/19/2023 10:04:16 AM] [ERROR] Script execution error: [string "CoreRPG:scripts/manager_dice_roll.lua"]:241: attempt to index global 'GlobalRegistry' (a nil value)
[6/19/2023 10:04:16 AM] [ERROR] Script execution error: [string "CoreRPG:..pts/manager_image_deathmarker.lua"]:177: attempt to index global 'GlobalRegistry' (a nil value)
[6/19/2023 10:04:21 AM] RULESET: Dungeons and Dragons (5E) ruleset (2023-06-13) for Fantasy Grounds
Copyright 2023 Smiteworks USA, LLC
[6/19/2023 10:04:21 AM] RULESET: Core RPG ruleset (2023-06-13) for Fantasy Grounds
Copyright 2023 Smiteworks USA, LLC
[6/19/2023 10:04:21 AM] MEASURE: LOAD - PART 2 - 6.217944

Zacchaeus
June 19th, 2023, 15:12
Try deleting the CoreRPG.pak and 5e.pak files from your rulesets folder and then do an update. Also if you see any folders or .tmp files in there delete those as well.

Pendrake
June 19th, 2023, 15:44
Try deleting the CoreRPG.pak and 5e.pak files from your rulesets folder and then do an update. Also if you see any folders or .tmp files in there delete those as well.

Wiped the rulesset folder, ran an update, started fresh game with no exts... still throwing errors.


================================================== ==============
[6/19/2023 10:37:54 AM] FGU: v4.4.0 ULTIMATE (2023-06-13)
[6/19/2023 10:37:54 AM] OS: Windows 11 (10.0.22621) 64bit
[6/19/2023 10:37:54 AM] GRAPHICS: Intel(R) UHD Graphics 600 : 1959
[6/19/2023 10:37:54 AM] UI SCALE: 1
[6/19/2023 10:37:54 AM] USER: Pendrake
[6/19/2023 10:37:54 AM] Launcher scene starting.
[6/19/2023 10:38:59 AM] Starting cloud server mode. [Pendrake]
[6/19/2023 10:39:01 AM] Game server started. [REDACTED]
[6/19/2023 10:39:01 AM] Launcher scene exiting.
[6/19/2023 10:39:01 AM] Match successfully created on lobby.
[6/19/2023 10:39:01 AM] Tabletop scene starting.
[6/19/2023 10:39:01 AM] CAMPAIGN: Test Campaign
[6/19/2023 10:39:01 AM] RULESET: 5E
[6/19/2023 10:39:01 AM] NETWORK STATUS: [Server] [Connected]
[Server Type - CLOUD - PRIVATE]
[6/19/2023 10:39:53 AM] MEASURE: RULESETS LOAD - 51.5430831 - 5E
[6/19/2023 10:39:53 AM] MEASURE: EXTENSIONS LOAD - 0.0134914 - 0
[6/19/2023 10:40:26 AM] MEASURE: MODULE LIST BUILD - 33.1681871 - 91
[6/19/2023 10:40:27 AM] MEASURE: REFRESH IMAGE ASSETS - 0.8377661
[6/19/2023 10:40:27 AM] MEASURE: REFRESH PORTRAIT ASSETS - 0.1204082
[6/19/2023 10:40:27 AM] MEASURE: REFRESH TOKEN ASSETS - 0.5426385
[6/19/2023 10:40:27 AM] MEASURE: ASSET LIST BUILD - 1.5027959
[6/19/2023 10:40:34 AM] MEASURE: LOAD - PART 1 - 92.8552559
[6/19/2023 10:40:35 AM] [ERROR] Script execution error: [string "CoreRPG:..ipts/manager_sound_syrinscape.lua"]:714: attempt to index global 'GlobalRegistry' (a nil value)
[6/19/2023 10:40:35 AM] [ERROR] Script execution error: [string "CoreRPG:scripts/manager_version.lua"]:63: attempt to index global 'GlobalRegistry' (a nil value)
[6/19/2023 10:40:35 AM] [ERROR] Script execution error: [string "CoreRPG:scripts/manager_dice_roll.lua"]:241: attempt to index global 'GlobalRegistry' (a nil value)
[6/19/2023 10:40:35 AM] [ERROR] Script execution error: [string "CoreRPG:..pts/manager_image_deathmarker.lua"]:177: attempt to index global 'GlobalRegistry' (a nil value)
[6/19/2023 10:40:40 AM] RULESET: Dungeons and Dragons (5E) ruleset (2023-06-13) for Fantasy Grounds
Copyright 2023 Smiteworks USA, LLC
[6/19/2023 10:40:40 AM] RULESET: Core RPG ruleset (2023-06-13) for Fantasy Grounds
Copyright 2023 Smiteworks USA, LLC
[6/19/2023 10:40:40 AM] MEASURE: LOAD - PART 2 - 6.4046362

Moon Wizard
June 19th, 2023, 16:21
The GlobalRegistry is something that the application automatically sets up, and should default to an empty table on a failed condition.

Can you try these steps?
* Open FG
* Click on Folder button in upper left corner of FG launch screen
* Close FG
* In the FG data folder, rename the "GlobalRegistry.lua" file to "GlobalRegistry.backup.txt".
* Restart FG
* Attempt to load your campaign.

If that works, can you please attach a copy of the problem file to this thread?

Regards,
JPG

Pendrake
June 19th, 2023, 17:04
The GlobalRegistry is something that the application automatically sets up, and should default to an empty table on a failed condition.

Can you try these steps?
* Open FG
* Click on Folder button in upper left corner of FG launch screen
* Close FG
* In the FG data folder, rename the "GlobalRegistry.lua" file to "GlobalRegistry.backup.txt".
* Restart FG
* Attempt to load your campaign.

If that works, can you please attach a copy of the problem file to this thread?

Regards,
JPG

Success! Thanks guys!