LPMuds.net

LPMuds.net Forums => Bug Central => Topic started by: Grandfather on July 13, 2008, 01:55:10 pm

Title: [RUNTIME] [DS 2.9a5] Odd knocking runtime error
Post by: Grandfather on July 13, 2008, 01:55:10 pm
File: /domains/town/room/well2.c
Replication: type "knock bedrock"
Error:
Code: [Select]
Expected: string or array or object Got: 0.
Object: /lib/std/dummy#333 (/lib/enter.c) at line 135

'<fake>' at /secure/save/players/t/testchar (/<driver>) at line 0
'cmdAll' at /secure/save/players/t/testchar (/lib/command.c) at line 141
'do_knock_obj' at /verbs/items/knock at line 36
'eventKnock' at /lib/std/dummy#333 (/lib/std/base_dummy.c) at line 118
'eventKnock' at /lib/std/dummy#333 (/lib/enter.c) at line 135

Thoughts & Comments:
This is a fresh install of DS so everything except my realm folder is stock.

I'm not sure if it's an "error" so much as an uncaught exception. I don't know if you're supposed to be able to knock on the bedrock (given that it's just an item in the room file), but I would think that the knock verb would be able to catch and ignore invalid input.
Title: Re: [RUNTIME] [DS 2.9a5] Odd knocking runtime error
Post by: cratylus on July 13, 2008, 02:02:27 pm
Thank you :)

I'll put it on my to do list.

-Crat