Page 1 of 1

[bug report] Interpretation of @desc content as command

Posted: Sun Jan 09, 2022 9:26 pm
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

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

Posted: Sun Jan 09, 2022 11:31 pm
by demonnic
Can you give an example of what you mean? I'm not following you.

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

Posted: Mon Jan 10, 2022 9:37 pm
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!>