intfiction.org

The Interactive Fiction Community Forum
It is currently Thu Sep 20, 2018 8:40 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 19 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Mon Jan 01, 2018 3:30 pm 
Offline

Joined: Sun Dec 05, 2010 11:07 am
Posts: 466
Location: Baltimore
GillianCrowley wrote:
If the parser ever has to disambiguate between rooms, even outside conversation, the extension will interrupt the disambiguation question to say that "You're not talking to anyone right now." The same happens with directions though that's a more obscure situation. If a "Does the player mean" rule resolves the disambiguation, then the correct action goes through but if it has to ask the player then "Rule for asking which do you mean when everything parse-matched is a quip" interrupts for reasons I can't trace. Here's a minimal reproduction:


"Error Test" by Gillian Crowley

Include Threaded Conversation by Chris Conley.

land alpha is a room. land beta is east of land alpha.

warping to is an action applying to one thing. Understand "warp to [any room]" as warping. Carry out warping to: now the player is in the noun.

Test me with "warp to land".


Hmmmmmm.

As the Rules trace suggests, the problem lies in the "Rule for asking which do you mean when everything parse-matched is a quip". I've added a hotfix to the extension which at least runs your minimal source properly:

Quote:
>warp to land
[Rule "flatten ifs rule" applies.]
[Rule "thrashing hopelessly rule" applies.]
[Rule "initialize quip plausibility before disambiguating rule" applies.]
[Rule "Rule for asking which do you mean when everything parse-matched is a quip" applies.]
Which do you mean, land alpha or land beta?

>


If you don't mind, could you try this test extension in your larger project and let me know if you're still getting any strange behavior? You'll need to change the inclusion at the top of your source to "Include Threaded Conversation v7 by Chris Conley".


Attachments:
Threaded Conversation v7.i7x [137.79 KiB]
Downloaded 39 times
Top
 Profile Send private message  
Reply with quote  
PostPosted: Mon Jan 01, 2018 3:45 pm 
Offline

Joined: Fri Dec 29, 2017 2:13 pm
Posts: 3
Seems to work so far. I'll let you know if that changes; the project is still pretty new. Thanks for the fast response!


Top
 Profile Send private message  
Reply with quote  
PostPosted: Wed Jul 25, 2018 1:38 pm 
Offline

Joined: Sun Dec 05, 2010 11:07 am
Posts: 466
Location: Baltimore
That version is now official, as well as fixing another parser-error-related bug identified on the Github repo.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Wed Aug 08, 2018 12:29 am 
Offline

Joined: Wed Aug 08, 2018 12:12 am
Posts: 2
Hi, is the public library update working for anyone else?
For me it offers an update to version 7, but then the popup says version 5 was installed successfully, and it still offers to update. If I go look at the extension installed it's still version 5. I tried deleting it and installing from the library again, but it still gave me version 5.
I've never had to update extensions through the library before (I guess I'm new here) so is this just a normal approval process thing?


Top
 Profile Send private message  
Reply with quote  
PostPosted: Wed Aug 08, 2018 8:44 pm 
Offline

Joined: Fri Sep 19, 2008 12:31 pm
Posts: 57
Lucy Bean wrote:
I've never had to update extensions through the library before (I guess I'm new here) so is this just a normal approval process thing?


No, that's not normal. I just tried it myself (Inform Version 1.65 on MacOS Sierra) but it installed the latest version correctly. Could you provide details of your setup?


Top
 Profile Send private message  
Reply with quote  
PostPosted: Wed Aug 08, 2018 9:07 pm 
Offline

Joined: Sun Dec 05, 2010 11:07 am
Posts: 466
Location: Baltimore
I just tried it and had the same result as Mark on Windows 10.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Thu Aug 09, 2018 4:23 am 
Offline

Joined: Wed Aug 08, 2018 12:12 am
Posts: 2
Oh, I've solved it! I have Windows 7 & 8.1 on two computers, and the problem is IE caching Inform's downloads.

Spoiler: show
I was very thoroughly making sure there were no copies of "Threaded Conversation.i7x" hiding out somewhere on the computer, and there weren't. Then I extended my search to all extensions, so searching my entire computer for ".i7x", and found that extensions get cached when Inform downloads them, and apparently mine never get cleared out.
Deleting "Threaded%20Conversation[1].i7x" out of C:\Users\Lucy\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\21C8Z3Y0\" allowed Inform 7 to download the new version, instead of forever using the cached one.

I do use IE occasionally, but apparently not enough that it can be trusted to clear it's cache.
I don't see this issue on the bug tracker, so I'll report it when my signup goes through unless someone else wants to first.
I did update to the latest Inform front end dated 23rd February 2018 during troubleshooting, so it's still a current issue (previously I had July 2017).


Thanks for the update!


Top
 Profile Send private message  
Reply with quote  
PostPosted: Wed Sep 12, 2018 1:27 pm 
Offline

Joined: Wed Sep 12, 2018 12:58 pm
Posts: 1
In example "Not So Simple" if you type:
>ask barmaid about rumors
>ask wanderer about rumors

after second command
"the current interlocutor" is changed to wanderer, which is reflected in the status bar. - that's ok
Action [the wanderer discussing whether she's heard the stories] is executed - this is strange because quip "whether she's heard the stories" quip-supplies the barmaid.

Is this a bug or am I missing something obvious?

full transcript below:

Spoiler: show
Not So Simple
An Interactive Fiction
Release 1 / Serial number 180912 / Inform 7 build 6M62 (I6/v6.33 lib 6/12N) SD
Identification number: //16C3AD9B-8859-4C21-A8CE-314BFDB1DB74//
Interpreter version 0.5.2 / VM 3.1.2 / Library serial number 080126
Standard Rules version 3/120430 by Graham Nelson
Threaded Conversation version 7/180807 by Chris Conley (modified from Threaded Conversation by Emily Short and based on Alabaster by Emily Short, et. al.)
Conversation Framework version 12 by Eric Eve
Epistemology version 9 by Eric Eve

>ask barmaid about rumors
"Where I come from, over the black hills there, they say that men this side of the mountain live as old as Methuselah," you remark. "They say the secret of eternal life is here."

"Oh, do they?" she says, sweeping crumbs of cheese and crusty bread into her hand. "The oldest codger around these parts is old Garrick, and I wouldn't put him beyond his four-score and ten."

You could ask where Garrick lives, ask where the barmaid comes from or ask whether she's heard the stories.

>actions
Actions listing on.

>ask wanderer about rumors
[starting a conversation with the wanderer about "about rumors"]
[(1) saying hello to the wanderer]
[(1) saying hello to the wanderer - succeeded]

[starting a conversation with the wanderer about "about rumors" - succeeded]

[discussing whether she's heard the stories]
"Have you heard any stories of long-living men?" you press her.

[discussing whether she's heard the stories - succeeded]

[the wanderer discussing whether she's heard the stories]
She pinches her lips and scrubs at a circle-shaped stain on the table before her. "If you're a fool come looking for a spring of life or a vein of immortal gold buried in the black hills, you'd do better to go back home where you come from."

[the wanderer discussing whether she's heard the stories - succeeded]

You could ask whether the rumors tell truly.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Sat Sep 15, 2018 9:20 pm 
Offline

Joined: Sun Dec 05, 2010 11:07 am
Posts: 466
Location: Baltimore
Huh. That's interesting. That does look like a bug.

At first glance, I suspect it's because whether she's heard the stories indirectly-follows whether the rumors tell truly, and I bet the mechanism that parses the conversation action while the current interlocutor is not the person quip-supplied by the quip in question doesn't test quite as many conditions as the full-fledged system does. Note that the wanderer responds correctly if you ask him about the rumors after you're already talking to him. Let me investigate further.


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

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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