Page 1 of 1

Got a bug at college of magic

Posted: Thu Mar 21, 2024 2:42 am
by Imp
Error: cannot execute widget <<AllowedSpellsTempArray>>: unable to parse macro argument """: unterminated double quoted string Options
Combat spells
Error: <<if>>: bad conditional expression in <<if>> clause: Cannot read properties of undefined (reading 'length')
Error: <<if>>: bad conditional expression in <<if>> clause: Cannot read properties of undefined (reading 'length')
Error: <<if>>: bad conditional expression in <<if>> clause: Cannot read properties of undefined (reading 'length')
Error: <<if>>: bad conditional expression in <<if>> clause: Cannot read properties of undefined (reading 'length')
Error: <<if>>: bad conditional expression in <<if>> clause: Cannot read properties of undefined (reading 'length') Utility spells
Error: <<if>>: bad conditional expression in <<if>> clause: Cannot read properties of undefined (reading 'length')
Error: <<if>>: bad conditional expression in <<if>> clause: Cannot read properties of undefined (reading 'length')
Error: <<if>>: bad conditional expression in <<if>> clause: Cannot read properties of undefined (reading 'length')
Error: <<if>>: bad conditional expression in <<if>> clause: Cannot read properties of undefined (reading 'length')
Error: <<if>>: bad conditional expression in <<if>> clause: Cannot read properties of undefined (reading 'length')
Error: <<if>>: bad conditional expression in <<if>> clause: Cannot read properties of undefined (reading 'length')

This i did saw at the college of magic instead of spell list. Also there was arrows for receiving detailed error message:
<<if setup.FindInArray(_AllowedSpells, "soultrap") > -1>>\
<<if $PC[$CC][$PCspellbook].soultrap > 0>>\
Soultrap
<<else>>\
<span id="soultrap">\
<<link "Learn soultrap">>
<<set $PC[$CC][$PCspellbook].soultrap to 1>>
<<set $PC[$CC][$PCspellbook].any to true>>
<<SpellAchieveCheck>>
<<replace "#soultrap">><</replace>>\
<</link>>
</span>\
<<endif>>\
<<else>>\
Cannot learn soul trap
<<endif>>

Re: Got a bug at college of magic

Posted: Thu Mar 21, 2024 4:40 am
by ArcDragon
Hotfixed. Refresh your browser tab and it should be ok now.

Re: Got a bug at college of magic

Posted: Thu Mar 21, 2024 8:30 am
by Imp
Thanks, work fine now.

Re: Got a bug at college of magic

Posted: Fri Mar 22, 2024 3:36 am
by Nechochwen
Could you add this hotfix to the downloads page too?

Re: Got a bug at college of magic

Posted: Wed Mar 27, 2024 6:43 am
by ArcDragon
Nechochwen wrote: Fri Mar 22, 2024 3:36 am Could you add this hotfix to the downloads page too?
It should already be included in the latest version. Look for "TowerOfTriumph-24-3-18hotfix2.html" within the rar file.