Got a bug at college of magic

For discussions relating to Tower of Triumph
Post Reply
Imp
Posts: 4
Joined: Tue Feb 27, 2024 8:30 am

Got a bug at college of magic

Post 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>>
User avatar
ArcDragon
Site Admin
Posts: 26
Joined: Sat Jun 03, 2023 8:05 pm
Contact:

Re: Got a bug at college of magic

Post by ArcDragon »

Hotfixed. Refresh your browser tab and it should be ok now.
Imp
Posts: 4
Joined: Tue Feb 27, 2024 8:30 am

Re: Got a bug at college of magic

Post by Imp »

Thanks, work fine now.
Nechochwen
Posts: 1
Joined: Fri Mar 22, 2024 2:38 am

Re: Got a bug at college of magic

Post by Nechochwen »

Could you add this hotfix to the downloads page too?
User avatar
ArcDragon
Site Admin
Posts: 26
Joined: Sat Jun 03, 2023 8:05 pm
Contact:

Re: Got a bug at college of magic

Post 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.
Post Reply