intfiction.org

The Interactive Fiction Community Forum
It is currently Sun May 19, 2013 11:03 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Sat Jun 02, 2012 9:47 am 
Offline
User avatar

Joined: Sat Feb 19, 2011 9:27 am
Posts: 66
The subject message has started popping up at every entry (>) starting with the first one. There does not seem to be an associated error condition, i.e. nothing that was working is now not working.
I have searched without success looking for a source or a cause. Has anyone encountered this ghost? 8-)

Greg


Top
 Profile Send private message  
 
PostPosted: Sat Jun 02, 2012 12:08 pm 
Offline

Joined: Wed May 30, 2012 4:53 pm
Posts: 21
Do you have any custom commands that might be interfering with the prompt's default behaviour?


Top
 Profile Send private message  
 
PostPosted: Sat Jun 02, 2012 12:59 pm 
Offline
User avatar

Joined: Tue Aug 02, 2011 3:45 pm
Posts: 224
Location: Iowa
When this happened to me, it turned out to be related to an action that I was having an NPC try to do. Something like:

Code:
Creeping is an action applying to one thing.

Every turn:
     Try Margot creeping.


It might not even be a custom command, though.

_________________
we gotta move these refrigerators


Top
 Profile Send private message  
 
PostPosted: Sat Aug 04, 2012 10:49 am 
Offline
User avatar

Joined: Sat Feb 19, 2011 9:27 am
Posts: 66
Let's revisit this problem. I still can't seem to find a solution.


Top
 Profile Send private message  
 
PostPosted: Sat Aug 04, 2012 11:15 am 
Offline

Joined: Sat Jan 23, 2010 4:56 pm
Posts: 2082
Have you tried the debugging command "actions" to find what action is generating the message? Or, at a finer level of detail, "rules all".


Top
 Profile Send private message  
 
PostPosted: Sun Aug 05, 2012 6:44 am 
Offline

Joined: Wed Feb 29, 2012 2:00 pm
Posts: 672
Actually the problem has nothing to do with NPCs performing the action or the action being a custom action. This will give the same problem.

Code:
"Test"

Every turn: try cutting.

The Testing Room is A Room.


Afterward wrote:
Code:
Creeping is an action applying to one thing.

Every turn:
     Try Margot creeping.


What's going on here is that you have defined an action to apply to one thing, then *not* supplied that thing, therefore the noun is still nothing and the error message is given.

There are three ways you can fix this.

1. You can add a rule for supplying a missing noun to automatically set the noun, like so.

Code:
"Test"

Creeping is an action applying to one thing.

Rule for supplying a missing noun while creeping: now the noun is the person asked.

Every turn: try creeping.

The Testing Room is A Room.


2. You can supply the noun directly, like so.

Code:
"Test"

Creeping is an action applying to one thing.

Every turn: try creeping the player.

The Testing Room is A Room.


3. You can redefine the action to apply to nothing, like so.

Code:
"Test"

Creeping is an action applying to nothing.

Every turn: try creeping.

The Testing Room is A Room.


Overall, you need to make sure you have the right number of nouns to fit the action.

Hope this helps.

_________________
"Will you stop breaking the fourth wall? It's costing me an absolute fortune to replace it!"


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 3 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