[bug report] Interpretation of @desc content as command

Post Reply
mcgiwer
Posts: 3
Joined: Tue Nov 25, 2014 6:47 pm

[bug report] Interpretation of @desc content as command

Post by mcgiwer »

While trying to enter a room description, some of the text are interpreted as commands and cause following:
  • the description becomes trunchated
  • getting the "I can't see that here" message
Mcgiwer

User avatar
demonnic
Posts: 786
Joined: Sat Dec 05, 2009 3:19 pm

Re: [bug report] Interpretation of @desc content as command

Post by demonnic »

Can you give an example of what you mean? I'm not following you.

mcgiwer
Posts: 3
Joined: Tue Nov 25, 2014 6:47 pm

Re: [bug report] Interpretation of @desc content as command

Post by mcgiwer »

Sure. The orginal text was:
You are standing in a large green field. It is warm, and the smell of wild flowers greets your nose. To the north you see hills, and then mountains farther away. To the south you see a large body of water. Looking east, you see a small town or village far away, and to the west a great forest.
and the result:
"You are standing in a large green field. It is warm, and the smell of wild flowers greets your
Obvious exits:
plus the mentioned message. The strange thing is that this issue appear when I try to set it thru

Code: Select all

@desc here=description
. When I do it with the

Code: Select all

@desc [zone dbref]=description
then it does work correctly.

===

Additionally, I recieved an error related to the mapper:

Code: Select all

[  LUA  ] - error in event handler for onNewRoom:
            <[string "Script: Map Script"]:2390: map.sanitizeRoomName: bad argument #1 expected 
room title, got nil!>
Mcgiwer

Post Reply