LPMuds.net
September 03, 2010, 11:48:40 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: This is the forum page. For the main LPMuds page, visit http://lpmuds.net
 
   Home   SITE FAQ INTERMUD DOWNLOADS LINKS Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Just New - Can't Delete Rooms  (Read 1459 times)
Noodels
Acquaintance
*
Offline Offline

Posts: 9


View Profile
« on: April 02, 2007, 03:07:12 PM »

Hi there,
I've been working on a Dead Souls download trying to convert it into my own mud. My problem is this. I keep having to unzip the original file and lose all my progress because I try to delete one room. After deleting a room the damage seems to be permanent and I can no longer build a new room in that direction due to a message telling me that it's still looking for the old room. How can I safely delete rooms? And why can't I place an item permanently in one of the sample rooms?
Logged
cratylus
Your favorite and best
Administrator
***
Offline Offline

Posts: 918


Cratylus@Dead Souls <ds> np


View Profile WWW
« Reply #1 on: April 02, 2007, 06:01:48 PM »

Hi Noodels. I know you're trying to be descriptive in your post, but it's
actually very, very vague and doesn't have enough information to try
to help you.

I'd like to know some detailed specfifcs.

Quote
My problem is this. I keep having to unzip the original file and lose all my progress because I try to delete one room.
What room are you deleting?
And what *exactly* are you doing to delete it? Are you using the QCS delete comand?
Are you using the mud's rm command? Are you deleting from the OS?
And why do you have to reinstall the mud?

Quote
After deleting a room the damage seems to be permanent and I can no longer build a new room in that direction due to a message telling me that it's still looking for the old room.
Please copy and paste the *exact* error here.

Quote
How can I safely delete rooms?
Type: help delete

Quote
And why can't I place an item permanently in one of the sample rooms?
Type: help add

-Crat

Logged
Noodels
Acquaintance
*
Offline Offline

Posts: 9


View Profile
« Reply #2 on: April 02, 2007, 06:08:05 PM »

Okay, this means I have to go and do the error again. Whenever I try to delete using QCS sometimes it works but frequently a huge error box comes up. Okay the mud still works but that exit stays there and when I try to walk that way another large error comes up. I'll get the errors now. This is the box that comes up when I try to delete an exit (this cost me my game) and that's one of the sample rooms:

Quote
> delete exit east
Indenting file...
"/tmp/indent.1175529989.tmp.dat" 26 lines 499 bytes
Exit from ed.

/realms/scaryface/area/room/sample_room.c line 2: Cannot #include
    /realms/customdefs.h
   
/realms/scaryface/area/room/sample_room.c line 19: Undefined variable 'MY_OBJ'
   
/realms/scaryface/area/room/sample_room.c line 19: syntax error
   
---
2007.04.02-12.06
*Error in loading object '/realms/scaryface/area/room/sample_room'
Object: /secure/cmds/creators/update at line 155

'<function>' at /secure/save/creators/s/scaryface (<function>) at /:0
'cmdAll' at /secure/save/creators/s/scaryface (/lib/command.c) at line 145
'do_delete_exit_str' at /verbs/creators/delete at line 59
'eventDeleteExit' at /verbs/creators/delete at line 163
'eventRemoveExit' at /secure/obj/glasses#28 (/secure/modules/room.c) at line 231
'reload' at /secure/sefun/sefun at /secure/sefun/reload.c:75
'unguarded' at /secure/sefun/sefun at /secure/sefun/security.c:92
'apply_unguarded' at /secure/daemon/master at line 453
'CATCH' at /secure/daemon/master at line 453
'<function>' at /secure/sefun/sefun (<function>) at /:0
'<function>' at /secure/sefun/sefun at /secure/sefun/reload.c:75
'CATCH' at /secure/sefun/sefun at /secure/sefun/reload.c:75
'cmd' at /secure/cmds/creators/update at line 112
'eventUpdate' at /secure/cmds/creators/update at line 155
'CATCH' at /secure/cmds/creators/update at line 155
Trace written to /log/catch
/realms/scaryface/area/room/sample_room.c line 2: Cannot #include
    /realms/customdefs.h
   
/realms/scaryface/area/room/sample_room.c line 19: Undefined variable 'MY_OBJ'
   
/realms/scaryface/area/room/sample_room.c line 19: syntax error
   
---
2007.04.02-12.06
*Error in loading object '/realms/scaryface/area/room/sample_room'
Object: /secure/save/creators/s/scaryface (/lib/props/move.c) at line 31

'<function>' at /secure/save/creators/s/scaryface (<function>) at /:0
'cmdAll' at /secure/save/creators/s/scaryface (/lib/command.c) at line 145
'do_delete_exit_str' at /verbs/creators/delete at line 59
'eventDeleteExit' at /verbs/creators/delete at line 163
'eventRemoveExit' at /secure/obj/glasses#28 (/secure/modules/room.c) at line 231
'reload' at /secure/sefun/sefun at /secure/sefun/reload.c:83
'eventMove' at /secure/save/creators/s/scaryface (/lib/player.c) at line 227
'eventMove' at /secure/save/creators/s/scaryface (/lib/interactive.c) at line
513
'eventMove' at /secure/save/creators/s/scaryface (/lib/props/move.c) at line 31
'CATCH' at /secure/save/creators/s/scaryface (/lib/props/move.c) at line 31
Trace written to /log/catch
*Error in loading object '/realms/scaryface/area/room/sample_room'

Reload complete.
With a puff of smoke, an exit vanishes!
/realms/scaryface/area/room/sample_room.c line 2: Cannot #include
    /realms/customdefs.h
   
/realms/scaryface/area/room/sample_room.c line 19: Undefined variable 'MY_OBJ'
   
/realms/scaryface/area/room/sample_room.c line 19: syntax error
   
---
2007.04.02-12.06
*Error in loading object '/realms/scaryface/area/room/sample_room'
Object: /secure/sefun/sefun at /secure/sefun/load_object.c:14

'<function>' at /secure/save/creators/s/scaryface (<function>) at /:0
'cmdAll' at /secure/save/creators/s/scaryface (/lib/command.c) at line 145
'do_delete_exit_str' at /verbs/creators/delete at line 59
'eventDeleteExit' at /verbs/creators/delete at line 165
'cmd' at /secure/cmds/creators/update at line 112
'eventUpdate' at /secure/cmds/creators/update at line 142
'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
/realms/scaryface/area/room/sample_room.c line 2: Cannot #include
    /realms/customdefs.h
   
/realms/scaryface/area/room/sample_room.c line 19: Undefined variable 'MY_OBJ'
   
/realms/scaryface/area/room/sample_room.c line 19: syntax error
   
---
2007.04.02-12.06
*Error in loading object '/realms/scaryface/area/room/sample_room'
Object: /secure/cmds/creators/update at line 155

'<function>' at /secure/save/creators/s/scaryface (<function>) at /:0
'cmdAll' at /secure/save/creators/s/scaryface (/lib/command.c) at line 145
'do_delete_exit_str' at /verbs/creators/delete at line 59
'eventDeleteExit' at /verbs/creators/delete at line 165
'cmd' at /secure/cmds/creators/update at line 112
'eventUpdate' at /secure/cmds/creators/update at line 155
'CATCH' at /secure/cmds/creators/update at line 155
Trace written to /log/catch
/realms/scaryface/area/room/sample_room.c line 2: Cannot #include
    /realms/customdefs.h
   
/realms/scaryface/area/room/sample_room.c line 19: Undefined variable 'MY_OBJ'
   
/realms/scaryface/area/room/sample_room.c line 19: syntax error
   
---
2007.04.02-12.06
*Error in loading object '/realms/scaryface/area/room/sample_room'
Object: /secure/sefun/sefun at /secure/sefun/load_object.c:14

'<function>' at /secure/save/creators/s/scaryface (<function>) at /:0
'cmdAll' at /secure/save/creators/s/scaryface (/lib/command.c) at line 145
'do_delete_exit_str' at /verbs/creators/delete at line 59
'eventDeleteExit' at /verbs/creators/delete at line 166
'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
/realms/scaryface/area/room/sample_room.c line 2: Cannot #include
    /realms/customdefs.h
   
/realms/scaryface/area/room/sample_room.c line 19: Undefined variable 'MY_OBJ'
   
/realms/scaryface/area/room/sample_room.c line 19: syntax error
   
---
2007.04.02-12.06
*Error in loading object '/realms/scaryface/area/room/sample_room'
Object: /secure/sefun/sefun at /secure/sefun/load_object.c:14

'<function>' at /secure/save/creators/s/scaryface (<function>) at /:0
'cmdAll' at /secure/save/creators/s/scaryface (/lib/command.c) at line 145
'do_delete_exit_str' at /verbs/creators/delete at line 59
'eventDeleteExit' at /verbs/creators/delete at line 168
'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
---
2007.04.02-12.06
*Bad argument 1 to call_other()
Expected: string or array or object Got: 0.
Object: /verbs/creators/delete at line 168

'<function>' at /secure/save/creators/s/scaryface (<function>) at /:0
'cmdAll' at /secure/save/creators/s/scaryface (/lib/command.c) at line 145
'do_delete_exit_str' at /verbs/creators/delete at line 59
'eventDeleteExit' at /verbs/creators/delete at line 168
Trace written to /log/runtime
Logged
Noodels
Acquaintance
*
Offline Offline

Posts: 9


View Profile
« Reply #3 on: April 02, 2007, 06:09:20 PM »

And after that if I try to walk that when I try to return to the room I deleted from (sorry I made a mistake earlier) the following appears :

Quote
> e
/realms/scaryface/area/room/sample_room.c line 2: Cannot #include
    /realms/customdefs.h
   
/realms/scaryface/area/room/sample_room.c line 19: Undefined variable 'MY_OBJ'
   
/realms/scaryface/area/room/sample_room.c line 19: syntax error
   
---
2007.04.02-12.08
*Error in loading object '/realms/scaryface/area/room/sample_room'
Object: /secure/save/creators/s/scaryface (/lib/props/move.c) at line 31

'<function>' at /secure/save/creators/s/scaryface (<function>) at /:0
'cmdAll' at /secure/save/creators/s/scaryface (/lib/command.c) at line 145
'do_go_str' at /verbs/rooms/go at line 48
'eventGo' at /realms/scaryface/workroom (/lib/exits.c) at line 65
'eventMoveLiving' at /secure/save/creators/s/scaryface (/lib/player.c) at line
247
'eventMove' at /secure/save/creators/s/scaryface (/lib/player.c) at line 227
'eventMove' at /secure/save/creators/s/scaryface (/lib/interactive.c) at line
513
'eventMove' at /secure/save/creators/s/scaryface (/lib/props/move.c) at line 31
'CATCH' at /secure/save/creators/s/scaryface (/lib/props/move.c) at line 31
Trace written to /log/catch
*Error in loading object '/realms/scaryface/area/room/sample_room'

You remain where you are.
Logged
cratylus
Your favorite and best
Administrator
***
Offline Offline

Posts: 918


Cratylus@Dead Souls <ds> np


View Profile WWW
« Reply #4 on: April 02, 2007, 06:39:17 PM »

This is the problem:
Quote
/realms/scaryface/area/room/sample_room.c line 2: Cannot #include /realms/customdefs.h

I don't know what's causing it, but somewhere along the line,
your rooms are receiving bad info about where things go. And the
bad information involves omitting your name.

Is there something unusual about your name? Try avoiding
spaces, numbers, punctuation, accented characters, or anything like that. Just
use regular roman alphabetic characters.

-Crat
Logged
Noodels
Acquaintance
*
Offline Offline

Posts: 9


View Profile
« Reply #5 on: April 02, 2007, 06:41:53 PM »

Okay, I changed my name and at first when I tested this on a different room it seemed to be ok. But then I went back to the room with difficulty (Sample Room 2) and it failed again.
Logged
cratylus
Your favorite and best
Administrator
***
Offline Offline

Posts: 918


Cratylus@Dead Souls <ds> np


View Profile WWW
« Reply #6 on: April 02, 2007, 07:14:06 PM »

Ok, I can confirm this is a bug. It is specific to the two sample
rooms, and involves their relative define of customdefs.h.

This is the workaround:

walk into each of those two rooms, and issue the command:
Quote
modify here light 30

That will reset the define to be absolute, not relative, and
you should not see the problem again.

I'll have the bug fixed properly for the next release. Thanks for the
bug report!

-Crat
Logged
Noodels
Acquaintance
*
Offline Offline

Posts: 9


View Profile
« Reply #7 on: April 02, 2007, 07:16:16 PM »

Thanks, I'll unzip my game now.
Logged
Noodels
Acquaintance
*
Offline Offline

Posts: 9


View Profile
« Reply #8 on: April 02, 2007, 07:35:58 PM »

I tried twice. I can only delete the second sample room with this. The first sample room still brings up the error.
Logged
Krebsy
Acquaintance
*
Offline Offline

Posts: 5


View Profile
« Reply #9 on: November 25, 2008, 06:27:20 PM »

I've had a similar issue where I've tried creating a new room in a subdir of the room folder using :-

create room North empty_plain (this creates it in the room folder)
so tried:

create room North darkthorn/empty_plain
or
create room North /realms/krebsy/area/room/darkthorn/empty_plain

Both create an exit here and a link to a void room.  The void room exists with the correct filename in the right subfolder, but does not appear to inherit any properties.  if I add an extra ../ to the include customdefs.h then the room seems to behave once I've then set the properties, but if I create another room from this one then it gets the same issue..

I want to create a subfolder in my area/room dir for each area I'm working on, then publish the content to the domains folder when it's ready to go live. 

Once I've got an area defined and written up, how does it then get published?  Surely the references in the files are all akin to : "/realms/krebsy/area/room/roomname.c" so won't work if just copied to the domains folder? Or does the admin tool handle all the publishing?

Ta,

K.
Logged
cratylus
Your favorite and best
Administrator
***
Offline Offline

Posts: 918


Cratylus@Dead Souls <ds> np


View Profile WWW
« Reply #10 on: November 25, 2008, 06:37:17 PM »

Quote
create room North empty_plain (this creates it in the room folder)

I'm not sure why this would work, actually. "North" is capitalized and this
should generate an error regarding SetItems. The correct command line
would be:

create room north empty_plain

And this works fine for me. I'm not sure what problem you are having, really.

As for having subdirectories in your area/room/ directories, I haven't
tested that and wouldn't expect that to work with QCS. If you want to
work on separate areas you know will be published, you might as
well just create new domains for this purpose and use QCS inside
those domains. See the following FAQ entries for details:

http://dead-souls.net/ds-admin-faq.html#73

http://dead-souls.net/ds-creator-faq.html#5.1

-Crat
Logged
Krebsy
Acquaintance
*
Offline Offline

Posts: 5


View Profile
« Reply #11 on: November 25, 2008, 09:20:32 PM »

Ah..  Might've been a typo by me on the capitalisation....

  I got the impression from the creator guides that the rooms can be placed in subfolders and the \realms\user\area\room folder was the test-Dev space and it'd then be publishable to the domains dir, especially as creweb doesn't seem to access directories outside my own user space.

I'll fiddle about a bit.... Smiley

K.
Logged
agrippa
Acquaintance
*
Offline Offline

Posts: 21


View Profile
« Reply #12 on: November 25, 2008, 10:42:19 PM »

creweb is intentionally designed not to allow you access to directories outside of your own.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!