Hi all,
Just curious. I have created a Desk for a PC office. I have made the desk a container so she can put things in it. So far so good :-)
However, when she logs out and logs back in, the contents are gone from the desk. Is there a way to fix this so that the desk keeps the items in even if the mud is down or she logs out?
Thanks in advance for anyhelp
Jennan
I'm not sure what your running but in SWR it would be to make it a player home. Whatever codebase you run I'm fairly sure there is a empty_home room flag. Just slap the flag on the room and tell her to use buyhome.*
*: Note that buyhome costs money, not sure how much, you could just take it out of the code.
Anyways, what this will do is anything that is dropped in the room will be there whenever she gets on, after a reboot, and if you do it right, even after a copyover.
Hope that helpped, if it didn't tell us what codebase your using so we might be able to help a bit more.
Good luck :)
Hi,
Thanks for the advice :-)
My oops, was in a rush when i wrote the post, and forgot to mention what i am writting the mud in. I am using Area Editor v1.31. I just took a quick peek in the flags for the room, all i can see that come close are; private and solitary.
Once again Thanks
Jennan
Registered copies of the Area Editor allow you to use more flags - check out the smaugconfig.dat file that ships with it, and see if you can find the appropriate flag in there.
If it is, then registering your copy allows you to use that flag.
Hi,
First off, thank you to those who have offered sdvice. :-)
Well, i have since registered my copy of area editor and still having the same issue. I have tried all the flags...solo or in combination, and still no luck. Am, i missing something? IS there a snippet out there to add?
Once again, thanks for the help.
Off i go to try more ideas out.
Jennan
When a player logs out the things s/he is carrying are saved in the player file (take a look at it to see the general idea).
However AFIK the rooms (and their contents) are read-only. Things that you leave lying around persist for a while, as you know, but after a server reboot it "resets" all rooms to a known state. This is done by reading the area files, they aren't written back at server shut-down.
I don't know why simply logging out makes things go away, however the general problem means you would need a way of saving object contents to some file, so they could be restored after a reboot.
hey, how can I make a room like storage in limbo (vnum 4) hold objects when I shutdown the server and restart it? I'm running smaug...
also, what is swr, and is it better than smaug?
thanks
If you want the player to have a personal room to store their items in then you would need to get a player house snippet, it would allow the items to persist over reboot, etc. You can find a housing snippet at mudworld.inetsolve.com/downloads/
SWR = Star Wars Reality
It's a SMAUG derivitive that is based around, you guessed it, Star Wars :P As to wheather it's better... that depends on who you ask. If you ask a fantasy fan they might say no, but a Star Wars fan would say it is better. Just check it out, see which you like and use that one.