I hope nobody minds if I create more bisquixe threads. Forum is slow atm so I don’t think I’ll shout anyone down if I do so.
Even though this is a bisquixe error, it occurs in the IDE. It isn’t a web-specific error.
I’d like to make a game that can be completed 100% using only hyperlinks (no keyboard). Hyperlinks in bisquixe are straightforward for authors.
The syntaxt is hyperlink "[text]" as "[text2]"
. ‘text’ is the printed link, and ‘text2’ is entered verbatim at the command prompt.
This mostly works well, but filling in disambiguation questions generates a programming error. Here’s some code:
lab is a room.
include glulx entry points by emily short.
include simple multimedia effects for v10 by mathbrush.
there is a blue ball in lab.
there is a red ball in lab.
the description of lab is "Would you like to take a [ball]?".
to say ball:
hyperlink "ball" as "take ball".
rule for printing the name of a thing (called T) while asking which do you mean:
hyperlink "[the printed name of T]" as "[the printed name of T]";
rule for printing the name of a thing (called T) while listing nondescript items:
hyperlink "[the printed name of T]" as "examine [the printed name of T]";
test me with clicking "ball" then clicking one of the items listed while asking 'which do you mean'
transcript. note that the “correct” (by appearance) input appears at the prompt.
transcript
Welcome
An Interactive Fiction
Release 1 / Serial number 250526 / Inform 7 v10.1.2 / D
lab
Would you like to take a ball?
You can see a blue ball and a red ball here.
take ball
Which do you mean, the blue ball or the red ball?
blue ball
[** Programming error: tried to write to ->264 in the buffer array “buffer”, which has entries 4 up to 263 **]
[** Programming error: tried to write to ->265 in the buffer array “buffer”, which has entries 4 up to 263 **]
[** Programming error: tried to write to ->266 in the buffer array “buffer”, which has entries 4 up to 263 **]
[** Programming error: tried to write to ->267 in the buffer array “buffer”, which has entries 4 up to 263 **]
[** Programming error: tried to write to ->268 in the buffer array “buffer”, which has entries 4 up to 263 **]
[** Programming error: tried to read from ->264 in the buffer array “buffer2”, which has entries 4 up to 263 **]
[** Programming error: tried to write to ->269 in the buffer array “buffer”, which has entries 4 up to 263 **]
[** Programming error: tried to write to ->269 in the buffer array “buffer”, which has entries 4 up to 263 **]
That’s not a verb I recognise.
I may be doing this wrong, it’s a little rich for me!
I am using 10.0.150101
of GEP.