Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ SMAUG coding ➜ Saving objects?

Saving objects?

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Alkarindil   Brazil  (70 posts)  Bio
Date Wed 09 Apr 2008 02:15 PM (UTC)

Amended on Wed 09 Apr 2008 02:19 PM (UTC) by Alkarindil

Message
Hey guys, I need some help with making new objects:

I am trying to make a chest in a new room, but why the file with the new area does not save the objects! Am I missing something?
This is what I am doing:


<4001hp 104m 110mv> loadarea Alarindil.are
Log: Alkarindil: load Alkarindil.are
Loading...
Planing...
Linking exits...
Done.

<4001hp 104m 110mv> goto 25004

Develop Room (25004)
Nothing to see here.
Exits: !e.

<4001hp 104m 110mv> ocreate 25900 3415
Build: Alkarindil: ocreate 25900 3415
You make arcane gestures, and open your hands to reveal a stone sarcophagus!
ObjVnum:  25900   Keywords:  

<4001hp 104m 110mv> ocreate 25901 3416
Build: Alkarindil: ocreate 25901 3416
You make arcane gestures, and open your hands to reveal a heavy iron key!
ObjVnum:  25901   Keywords: 

<4001hp 104m 110mv> oset 25900 name heavy golden chest
Build: Alkarindil: oset 25900 name heavy golden chest

<4001hp 104m 110mv> oset 25901 name heavy golden key
Build: Alkarindil: oset 25901 name heavy golden key

<4001hp 104m 110mv> oset 25900 short a heavy golden chest
Build: Alkarindil: oset 25900 short a heavy golden chest

<4001hp 104m 110mv> oset 25901 short a heavy golden key
Build: Alkarindil: oset 25901 short a heavy golden key

<4001hp 104m 110mv> oset 25900 long A heavy golden chest lies here.
Build: Alkarindil: oset 25900 long A heavy golden chest lies here.

<4001hp 104m 110mv> oset 25901 long A golden key lies here.
Build: Alkarindil: oset 25901 long A golden key lies here.

<4001hp 104m 110mv> oset 25900 value2 25901
Build: Alkarindil: oset 25900 value2 25901

<4001hp 104m 110mv> oset 25900 flags prototype
Build: Alkarindil: oset 25900 flags prototype

<4001hp 104m 110mv> oset 25901 flags prototype
Build: Alkarindil: oset 25901 flags prototype

<4001hp 104m 110mv> get chest
You take a heavy golden chest.

<4001hp 104m 110mv> eat key
You eat a heavy golden key.

<4001hp 104m 110mv> eat chest
You eat a heavy golden chest.

<4001hp 104m 110mv> oinvoke 25900
Log: Alkarindil: oinvoke 25900
You invoke a heavy golden chest (#25900 - heavy golden chest - lvl 1000)

<4001hp 104m 110mv> oinvoke 25901
Log: Alkarindil: oinvoke 25901
You invoke a heavy golden key (#25901 - heavy golden key - lvl 1000)

<4001hp 104m 110mv> drop key
You drop a heavy golden key.

<4001hp 104m 110mv> look

Develop Room (25004)
Nothing to see here.
Exits: !e.
A heavy golden chest lies here. (25900)
A golden key lies here. (25901)

<4001hp 104m 110mv> savearea
Build: Alkarindil: savearea
Saving area...
Log: Saving Alkarindil.are...
Done.

Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #1 on Wed 09 Apr 2008 05:08 PM (UTC)
Message
You need to install resets in the area. Once upon a time the commands were instaroom, instazone, etc. but those might have changed since.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Alkarindil   Brazil  (70 posts)  Bio
Date Reply #2 on Wed 09 Apr 2008 07:09 PM (UTC)
Message
okay, now I am using, after all this stuff, this lines:

aassign file.are
bestowarea self file.are

(...)

instazone
savearea
aasign none
foldarea file.are
foldarea file.are
shutdown mud now

But I am putting some equipment in the chest. Horever, only the last one remains when I restart the mud. Why?
How can I save everything inside the chest?
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #3 on Wed 09 Apr 2008 08:47 PM (UTC)
Message
Why are you restarting the MUD?

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #4 on Wed 09 Apr 2008 09:30 PM (UTC)
Message
What are the vnums of the objects you are putting in the room, and what is the vnum range of that area?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


18,949 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.