Possible Glitch: Squiffy doesn't like less than or greater than symbols after the game gets long.

IFforClassroom
A game I am writing (which involves money) was working fine up to a point. After about 400 lines (as Squiffy counts them) the < and > signs stopped getting read. I tried to make an example with lots of html to try to break it again. I'm not sure if I succeeded because I may have made a mistake. But this example doesn't work. Again, I may have just made mistakes here, but I really can't get any more 'less than' statements to work in my game no matter what I try.

Thanks.

<center><big><big><u>**You're Broke**</big></big></u></br><big>Get a dollar.</big> [[a]]</br><u>Get nothing.</u> [[b]]</br><small>Borrow money.</small> [[c]]</center>

[[a]]:
@inc money
<center><big>You got a dollar.</big></center></br><p align = right><big>Result: [[d]]</big>

[[b]]:
<center><u>You got nothing.</u></center></br><p align = right><big>Result: [[d]]</big>

[[c]]:
@dec money
<center><small>You used credit.</small></center></br><p align = right><big>Result: [[d]]</big>

[[d]]:
{if money=0:You have {money} dollars. (In other words you have no money.)}</br><big>{if money>0:You have {money} dollar(s). (In other words you have some money!)}</big></br><small>{if money<0:You have {money} dollars. (In other words you owe somebody money.)}</small>

jaynabonne
Not sure if this matters (being HTML instead of XML), but your nesting in the first line is off:

<center><big><big><u>**You're Broke**</big></big></u>


should probably be:

<center><big><big><u>**You're Broke**</u></big></big>

IFforClassroom
Thank you so much, jaynabonne. I'll redo my html and try it.

IFforClassroom
I think I may have isolated and resolved the bug: 1) It only shows up in games longer than 500 lines. 2) It is most likely to show up in games with non-English characters (e.g. with Spanish tone marks or Mandarin Characters). I found accidentally that I can get around it by typing statements with an extra space after the "<" sign. For example, {if dinero< 1:Ya gastaste todo el dinero}.

This topic is now closed. Topics are closed after 180 days of inactivity.

Support

Forums