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

Furniture

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


Posted by Metsuro   USA  (389 posts)  Bio
Date Mon 22 May 2006 10:52 PM (UTC)
Message
Alright objects can be furniture... but theres no actual way to sit on them, or anything of that fashion is there? If not what might be the easiest way to allow players to sit on them? and have them displayed as players on them?

Everything turns around in the end
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #1 on Mon 22 May 2006 10:58 PM (UTC)
Message
Being able to sit, lie or rest on furniture has been a part of my MUD far before I took over the coding -- and the MUD was originally SMAUG 1.0. I'd be moderately surprised if this wasn't a standard feature of SMAUG by now.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

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

Posted by Metsuro   USA  (389 posts)  Bio
Date Reply #2 on Mon 22 May 2006 11:04 PM (UTC)
Message
Looking at do_sit... doesn't make me think as much, but I could be wrong, and just not seeing how it works?

Everything turns around in the end
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #3 on Mon 22 May 2006 11:32 PM (UTC)
Message
I'll be darned; it doesn't appear to be a standard feature.

I googled for "SMAUG sit snippet" and found this:
http://www.rafermand.net/modules.php?name=Downloads&d_op=viewdownloaddetails&lid=29&ttitle=Furniture

It'll probably do the trick for you, although I admit that I didn't actually download it.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

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

Posted by Conner   USA  (381 posts)  Bio
Date Reply #4 on Tue 23 May 2006 04:23 AM (UTC)
Message
Then I'll vouch for it for you, as I do use that snippet and it does work well enough for my mud.

-=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 Metsuro   USA  (389 posts)  Bio
Date Reply #5 on Tue 23 May 2006 04:32 AM (UTC)
Message
alright, I took a quick look at it, to tired to try to put it in, but I didn't see if it could only handle one person per object to sit on and such? so I would need a way to try give an object an amount of how many can sit on it, and then a way to store how many are sitting on it. I could use a value for the first, but then how might I do the second part?

Everything turns around in the end
Top

Posted by Tzaro   USA  (41 posts)  Bio
Date Reply #6 on Tue 23 May 2006 04:52 AM (UTC)
Message
Hey Saito!

Just a quick side-note on the furniture code...
Our mud has been using it for quite a while. We love it. We have noticed, however, that recalling while utilizing the funiture will result in you showing up to the recall point as if you were still on/in the object. You'll look as if you're still sitting on a chair, etc. to everyone walking by. The issue was fixed a long while back on our mud.. I'd suggest you consider updating yours to do the same, assuming you install the snippet. :)

Best,
Tzaro

Implementer of Lost Prophecy,
Tzaro
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.


23,530 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.