Author Topic: [RUNTIME] [DS 2.9a5] Odd knocking runtime error  (Read 3164 times)

Offline Grandfather

  • Acquaintance
  • *
  • Posts: 3
    • View Profile
[RUNTIME] [DS 2.9a5] Odd knocking runtime error
« 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.

Offline cratylus

  • Your favorite and best
  • Administrator
  • ***
  • Posts: 1024
  • Cratylus@Dead Souls <ds> np
    • View Profile
    • About Cratylus
Re: [RUNTIME] [DS 2.9a5] Odd knocking runtime error
« Reply #1 on: July 13, 2008, 02:02:27 pm »
Thank you :)

I'll put it on my to do list.

-Crat