Author Topic: Creating a Room  (Read 1962 times)

Offline syphon

  • Acquaintance
  • *
  • Posts: 0
    • View Profile
Creating a Room
« on: November 20, 2006, 03:08:25 PM »

I tried to create a room in /domains/town/room/adv_guild

And this is what happend



create room down trainroom.cfg

It appears you have write access to this area.

Reload complete.

Reload complete.

---

*call_other() couldn't find object

Object: /secure/sefun/sefun at /secure/sefun/load_object.c:14



'<function>' at /secure/save/creators/s/syphon (<function>) at /:0

'cmdAll' at /secure/save/creators/s/syphon (/lib/command.c) at line 93

'cmd' at /secure/cmds/creators/create at line 32

'make' at /secure/obj/staff#41 (/secure/modules/room.c) at line 113

'eventCreateExit' at /secure/obj/staff#41 (/secure/modules/room.c) at line 154

'eventCreateExit' at /secure/obj/staff#41 (/secure/modules/room.c) at line 140

'load_object' at /secure/sefun/sefun at /secure/sefun/load_object.c:14

'CATCH' at /secure/sefun/sefun at /secure/sefun/load_object.c:14

Trace written to /log/catch

---

*Bad argument 1 to call_other()

Expected: string or array or object Got: 0.

Object: /secure/obj/staff#41 (/secure/modules/room.c) at line 140



'<function>' at /secure/save/creators/s/syphon (<function>) at /:0

'cmdAll' at /secure/save/creators/s/syphon (/lib/command.c) at line 93

'cmd' at /secure/cmds/creators/create at line 32

'make' at /secure/obj/staff#41 (/secure/modules/room.c) at line 113

'eventCreateExit' at /secure/obj/staff#41 (/secure/modules/room.c) at line 154

'eventCreateExit' at /secure/obj/staff#41 (/secure/modules/room.c) at line 140

Trace written to /log/runtime

>

l

/domains/town/room/adv_guild

The Main HeadQuarters [n, s, e, w, d]

This small building is where adventurers can record their adventures and leave

messages and announcements for other brave souls. This is also the place one

can seek advancement, so if you deserve to be a higher level adventurer, asking

the guild master for it will make it so. A scroll lists quests one may perform,

and a sign contains some instructions. The Creator's Hall is south of here. A

special skills training area is west. A conference room is east, where folks

can discuss things in privacy.

The newbie bin, ten Us Army Issuied M16s, a dusty chalkboard, and a wooden

table are here.

Dirk the Tired is standing here.

Snoop the unaccomplished is standing here.

A Petty Drunk Soldier is standing here.

General Chaos is standing here.





>

d

---

*call_other() couldn't find object

Object: /secure/save/creators/s/syphon (/lib/props/move.c) at line 31



'<function>' at /secure/save/creators/s/syphon (<function>) at /:0

'cmdAll' at /secure/save/creators/s/syphon (/lib/command.c) at line 72

'do_go_str' at /verbs/rooms/go at line 48

'eventGo' at /domains/town/room/adv_guild (/lib/exits.c) at line 65

'eventMoveLiving' at /secure/save/creators/s/syphon (/lib/player.c) at line 245

'eventMove' at /secure/save/creators/s/syphon (/lib/player.c) at line 225

'eventMove' at /secure/save/creators/s/syphon (/lib/interactive.c) at line 464

'eventMove' at /secure/save/creators/s/syphon (/lib/props/move.c) at line 31

'CATCH' at /secure/save/creators/s/syphon (/lib/props/move.c) at line 31

Trace written to /log/catch

*call_other() couldn't find object



You remain where you are.

>

l

/domains/town/room/adv_guild

The Main HeadQuarters [n, s, e, w, d]

This small building is where adventurers can record their adventures


-Syphon

Offline cratylus

  • Your favorite and best
  • Administrator
  • ***
  • Posts: 1020
  • Cratylus@Dead Souls <ds> np
    • View Profile
    • About Cratylus
Creating a Room
« Reply #1 on: November 20, 2006, 05:55:12 PM »

Loadable objects, including rooms, need a ".c" extension

to the filename. You are using ".cfg", which, in my testing,

seems to fail in exactly the way you show here.



Offline syphon

  • Acquaintance
  • *
  • Posts: 0
    • View Profile
Creating a Room
« Reply #2 on: November 20, 2006, 07:07:06 PM »
LoL, I didn't even notice that, I feel like a complete idiot.
-Syphon

Offline cratylus

  • Your favorite and best
  • Administrator
  • ***
  • Posts: 1020
  • Cratylus@Dead Souls <ds> np
    • View Profile
    • About Cratylus
Creating a Room
« Reply #3 on: November 20, 2006, 07:49:37 PM »

There's nothing to be embarrassed about.



Nobody is leet when they start.