intfiction.org

The Interactive Fiction Community Forum
It is currently Mon Nov 20, 2017 2:55 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 31 posts ]  Go to page Previous  1, 2, 3, 4
Author Message
 Post subject: Re: Most-wanted updates
PostPosted: Fri Sep 08, 2017 8:01 am 
Offline

Joined: Tue Mar 09, 2010 2:34 pm
Posts: 5115
Location: Burlington, VT
OK, I've tracked down the source of the error. It comes from this line:

Code:
Responding with is an action applying to one number.
Understand "[number]" or "say [number]" as responding with when RQ is active.


The issue is that, when you have an Understand line with "[number]", it makes the topic understood go wrong when processing commands of the form "NPC, TEXT THAT'S NOT A VERB." As can be seen with this minimal case:

Code:
Vault
You can see a guard here.

>test me
(Testing.)

>[1] answer sesame to guard
The guard doesn't seem to understand "sesame."

>[2] guard, sesame
The guard doesn't seem to understand "
*** Run-time problem P39: Attempt to say a snippet value which is currently invalid: words 0 to 3.

."

>[3] actions
Actions listing on.

>[4] answer sesame to guard
[answering the guard that "sesame"]
The guard doesn't seem to understand "sesame."
[answering the guard that "sesame" - failed]

>[5] guard, sesame
[answering the guard that "
[** Programming error: tried to read from -->-1 in the array "parse", which has entries 0 up to 60 **]
 guard , sesame"]
The guard doesn't seem to understand "
*** Run-time problem P39: Attempt to say a snippet value which is currently invalid: words 0 to 3.

."
[answering the guard that "
[** Programming error: tried to read from -->-1 in the array "parse", which has entries 0 up to 60 **]
 guard , sesame" - failed]


Anyhow, that definitely shouldn't happen, so I filed a bug report. And again, if you're using Quip-Based Conversation, it probably won't affect you, because Quip-Based Conversation intercepts answering that actions in order to tell the player to type "TALK TO NPC," without printing the topic understood.


Top
 Profile Send private message  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 31 posts ]  Go to page Previous  1, 2, 3, 4

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group