PDA

View Full Version : Script Error 46 - D&D 5e Ruleset



kronovan
March 29th, 2020, 11:36
Whenever I attempt to create a new campaign, or launch an existing one that uses the D&D 5e ruleset, I receive the following error:


Script Error: [string "scripts/data_options_5E.lua"]:46: attempt to call field 'isClientFGU' (a nil value)

I'm running Fantasy Grounds Classic v.3.3.10 Ultimate. I moved the 5e ruleset (5e.pak) file out of my \rulesets folder and updated to get a new one, but I still get the same error. I haven't ever unpacked my 5e ruleset, but that looks like some initial, starter script where there's a check being made as to whether it's the Classic or Unity client running?

If anyone has suggestions as how to resolve this, I'd appreciate hearing them.

Zacchaeus
March 29th, 2020, 11:40
Can you try deleting the CoreRPG.pak file from rulesets and do another update.

Also are you using any extensions? Doe the error occur in a new campaign without any extensions (remember themes and decals are extensions too).

kronovan
March 29th, 2020, 11:41
Can you try deleting the CoreRPG.pak file from rulesets and do another update.

Also are you using any extensions? Doe the error occur in a new campaign without any extensions (remember themes and decals are extensions too).

Thanks for the reply Zacchaeus, will do . The error is occurring on a new campaign without any extensions being loaded.

kronovan
March 29th, 2020, 11:48
Well I removed CoreRPG.pak and updated, but I'm still getting the same error when creating a new D&D 5e campaign without any extensions being loaded.

I'm willing to unpack the 5e.pak and checked that LUA script in the \Scripts folder. I'm far from savvy with FG extension programming, but if anyone could suggest what I should be checking for, I'll unpack and load that data_options_5E.lua script into NP++.

Trenloe
March 29th, 2020, 11:48
Are you running in the test or live channel?

kronovan
March 29th, 2020, 11:53
Are you running in the test or live channel?

Good question, I'm actually running with the Dev channel. I've been coding some extensions for the Savage Worlds ruleset, so I though that was the correct update channel to use. I haven't had any errors using the SW ruleset, but should I change channels?

Trenloe
March 29th, 2020, 11:58
Don't use the Dev channel - SmiteWorks use that for very specific development testing.

I'd also recommend you develop against live unless you've been told otherwise by SmiteWorks - the test channel frequently has future code in it, code that might not work for people on live and that may also raise errors.

kronovan
March 29th, 2020, 12:00
Don't use the Dev channel unless you've been specifically told to by SmiteWorks - they use that for very specific development testing.

I'd recommend you develop against live unless you've been told otherwise by SmiteWorks.

Thanks for the info Trenloe, I'll switch to Live and run some tests.

[Edit] OK...I switched to Live, updated and the error is now gone. Many thanks with all the help in resolving this. ;)

rscottfarris
April 3rd, 2021, 19:59
I just wanted to add a +1 to the solution Trenloe initially suggested. I was running a 5E campaign on Live channel with no extensions and getting the same script error 46. I deleted CoreRPG.pak and re-ran the updater as suggested. No more script error.

Hope this helps anyone else with this error down the road.