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 ➜ Containers

Containers

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


Posted by Tahakki   (18 posts)  Bio
Date Thu 01 May 2008 09:19 PM (UTC)
Message
I've put an object into a container, with a reset so it goes back there, but when I examine the crate in-game it shows it as empty.

I don't really understand containers, what am I doing wrong?
Top

Posted by Conner   USA  (381 posts)  Bio
Date Reply #1 on Fri 02 May 2008 09:36 PM (UTC)
Message
This would probably be much easier for someone to respond to if you told us, in a bit more detail, what you're doing rather than asking us what you're doing wrong..

-=Conner=-
--
Come test your mettle in the Land of Legends at telnet://tcdbbs.zapto.org:4000
or, for a little family oriented medieval fun, come join us at The Castle's Dungeon BBS at telnet://tcdbbs.zapto.org
or, if you just want information about either, check our web page at http://tcdbbs.zapto.org
Top

Posted by Tahakki   (18 posts)  Bio
Date Reply #2 on Sat 03 May 2008 06:38 AM (UTC)
Message
Okay...
I've got an item called a crate, which is set to type 'container'. I have an item called Short Sword, which is set as a weapon. I have a reset that puts the sword into the box. However, it doesn't show up when I use EXAM CRATE in-game.
Top

Posted by Conner   USA  (381 posts)  Bio
Date Reply #3 on Sat 03 May 2008 09:37 PM (UTC)
Message
Can you paste the reset in here for us? (go to the room and do
redit rlist
then paste here for us what the mud returns)

Have you reset the area before you examine the crate to see if the sword is in it? (try
goto <room vnum>
purge
reset area
exam crate

and see if that works)

-=Conner=-
--
Come test your mettle in the Land of Legends at telnet://tcdbbs.zapto.org:4000
or, for a little family oriented medieval fun, come join us at The Castle's Dungeon BBS at telnet://tcdbbs.zapto.org
or, if you just want information about either, check our web page at http://tcdbbs.zapto.org
Top

Posted by Gadush   (92 posts)  Bio
Date Reply #4 on Sun 04 May 2008 04:31 AM (UTC)
Message
Examine the crate? Don't you have to 'look in' the container to see its contents?

Regards,
JFK
Top

Posted by Conner   USA  (381 posts)  Bio
Date Reply #5 on Sun 04 May 2008 09:31 PM (UTC)
Message
Nope, do_examine uses calls to do_look so you could get the same results by doing look in crate as you would from examine crate but you don't have to use look in.

-=Conner=-
--
Come test your mettle in the Land of Legends at telnet://tcdbbs.zapto.org:4000
or, for a little family oriented medieval fun, come join us at The Castle's Dungeon BBS at telnet://tcdbbs.zapto.org
or, if you just want information about either, check our web page at http://tcdbbs.zapto.org
Top

Posted by Tahakki   (18 posts)  Bio
Date Reply #6 on Wed 07 May 2008 06:57 PM (UTC)
Message
Reset didn't work...

I tried redit rlist, and got this.

1) (object) Wooden Crate (9900) -> Basic Traning - Room One Room: 10304 [1]

Which is odd, because the reset for the weapon shows up in AreaEditor. It's called:

Put #9901 short sword => #9900 A wooden crate

Suggestions?
Top

Posted by Gogoicarus   Japan  (15 posts)  Bio
Date Reply #7 on Thu 08 May 2008 01:34 AM (UTC)
Message
what are the values on the crate?

is the crate prototype when you set these values, or did you set these values after removing the prototype flag?

ostat the crate and sword both before and after reset for me, wouldja?

Star wars 'is a good movie.'
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.


28,265 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.