PDA

View Full Version : Die rolls in stringfields does not work anymore [BRP, CoC6 and CoC7]



peterb
March 4th, 2022, 16:05
[3/4/2022 2:59:25 PM] FGU: v4.1.14 ULTIMATE (2022-03-03)
[3/4/2022 2:59:25 PM] OS: Windows 10 (10.0.19043) 64bit
[3/4/2022 4:50:29 PM] RULESET: Basic Roleplaying: the Chaosium Roleplaying System (2022-03-01)
[3/4/2022 4:50:29 PM] RULESET: Core RPG ruleset (2022-03-01) for Fantasy Grounds Copyright 2022 Smiteworks USA, LLC

Tested in a new campaign, without any extensions.

Updated FG at about 13:00 UTC+1 today, 2022-03-04.

After updating today die rolls from dice strings stored in stringfields does not work properly. Only the bonus to the die roll is shown, see the image below. So for example if I click on the dice string "1d8+2", the result is shown as "2". I have done the same test on the CoC6 and CoC7 rulesets with the same result. It seems like the parsing of the dice sting is broken. I noticed that there where a hot fix released yesterday related to die strings, maybe it's related.

51787

I last used the BRP ruleset on Tuesday evening (UTC+1), before updating, and then the dice parsed fine in the stringfields.

/Peter

bayne7400
March 4th, 2022, 16:36
Peter can you edit that Die field? Could you try a lower case d and see what happens?

peterb
March 4th, 2022, 16:56
Peter can you edit that Die field? Could you try a lower case d and see what happens?

That did help. Only problem now is that all weapons in BRP and CoC6 and CoC7 are shipped with uppercase D in their damage strings, so now everybody needs to manually edit the weapon damages. Or the modules needs to be updated. Or whatever change that was made needs to be reverted.

Thanks bayne7400!

/Peter

bayne7400
March 4th, 2022, 17:03
Yeah the developer is going to have to fix that or MW is going to have do some magic. I thought that might be the case. I am sure he will see this.

superteddy57
March 4th, 2022, 19:17
It's on my list of things to look over

Moon Wizard
March 4th, 2022, 19:28
I guess I needed some magic. I added some exception code to handle rulesets that alternate between D# and d#. I just pushed a new update of CoreRPG and BRP (should work for CoC6/CoC7 too)

For any future developers that might come across this, the die asset definitions must still start with lowercase d.

Regards,
JPG