Log in

View Full Version : record_char_weapon.xml of 5e.pak is not well formed



fugue
February 25th, 2025, 20:00
Hi!

New to Fantasy Grounds! Did an update and was getting script error from the 5e.pak
Disabled addons, cleared the rulesets and the error was still there. Opened the 5e.pak and the xml in question (record_char_weapon.xml) and found the issue (ln 45):


<stringc_listitem_right_static name="damageview">
<anchored width="100" height="-1" />
<top parent="contentanchor" relation="relative" offset="0" postoffset="0" />
</anchored>
<multilinespacing>20</multilinespacing>
<script>
function onDragStart(_, _, _, draginfo)
return window.onDamageAction(draginfo);
end
</script>
</stringc_listitem_right_static>

The anchored tag is prematurely closed. I fixed it, put it in the pak, and everything loaded ok.

Hopefully this helps!

superteddy57
February 25th, 2025, 20:01
It's been fixed and pushed LIVE. Please run another update.

fugue
February 25th, 2025, 20:02
Nice, I took too long to write my post. Ha ha! :)

Thanks!!!!