Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002069Documentation, Examples, and Web SiteExamplespublic2018-08-03 14:452018-08-09 20:28
ReporterCJGidman 
Assigned To 
PrioritynormalSeveritymildReproducibilityalways
StatusconfirmedResolutionopen 
PlatformOSWindowsOS Version10
Product Version6M62 
Target VersionFixed in Version 
Summary0002069: Example 376 "Complimentary Peanuts" Produces a Run-Time Error
DescriptionThe example looks for the topic understood when asking someone for something. According to the action index, asking someone for something is not treated as speech. The system generates a run-time an error when it tries to get the topic understood.

I think this isn't a coding issue. The example just needs to be modified, removing the following line:

Asking someone for something is speech.
Minimal Source Text To Reproduce
Play the Complimentary Peanuts example. Ask Martha for rations.
Additional InformationFWIW, the error message is:
*** Run-time problem P41: Attempt to match a snippet value which is currently invalid: words 0 to -1.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0004795)
CJGidman (reporter)
2018-08-03 14:47

The summary should say: Example number 376 "Complimentary Peanuts" Produces a Run-Time Error.

This tool likes to convert the hash symbol followed by a number to a reference to another ticket. Sorry about the reporting error.
(0004796)
zarf (developer)
2018-08-09 20:28

Confirmed.

The suggested fix looks right. Without the "Asking someone for something is speech" declaration, ASK MARTHA FOR RATIONS is caught by the first rule, which correctly selects the third table row because the player's command contains "RATIONS".

- Issue History
Date Modified Username Field Change
2018-08-03 14:45 CJGidman New Issue
2018-08-03 14:47 CJGidman Note Added: 0004795
2018-08-09 20:20 zarf Summary Example 0000376 "Complimentary Peanuts" Produces a Run-Time Error => Example 376 "Complimentary Peanuts" Produces a Run-Time Error
2018-08-09 20:28 zarf Note Added: 0004796
2018-08-09 20:28 zarf Status new => confirmed


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker