Log in

View Full Version : addBlockText function on CoreRPG:scripts/manager_referencemanual.lua fails



dsaraujo
June 17th, 2023, 05:59
Looks like the updates on the reference manual change some some code that requires blocks to have a name or throw an error. This was reported in the Discord:

[ERROR] windowcontrol: Database type mismatch on path (text) in control (text) in class (referencemanualtextblock)
[ERROR] Handler error: [string "CoreRPG:scripts/manager_referencemanual.lua"]:1404: attempt to index local 'cText' (a nil value)

Moon Wizard
June 17th, 2023, 20:49
How did you generate the error?

There are different data types used for the header text and body text block types; and it’s controlled by the block type setting.

There was a bug earlier in the week that caused creating a header block to not get set up correctly when creating a new header block, but it was fixed in a subsequent update.

You may have to delete and recreate the block; if it was created earlier in the week. Also, make sure you don’t have any unpacked rulesets that you might have been looking at.

If you are still having the issue, please provide me with the steps you are following to see the issue.

Thanks,
JPG