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
➜ bodyduffel
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Ithildin
USA (262 posts) Bio
|
| Date
| Fri 21 May 2004 06:29 AM (UTC) |
| Message
| | ok, something i've been thinking about. an imm was talking to me about this so i figured i'd try and look into it. I want to incorporate a duffel that somebody can get into, duffel be closed and then someone can pick up the duffel and smuggle the player through a zone that the smuggled player couldn't normally go. i'm not really sure where to start or how to do it. i don't know if making an object a container would work. or if i would have to make an extra if statement in do_enter. anyone ever hear of this? any thoughts on how to go about it? | | Top |
|
| Posted by
| Greven
Canada (835 posts) Bio
|
| Date
| Reply #1 on Fri 21 May 2004 07:14 AM (UTC) |
| Message
| | Well... here is what I would do: add something to do_enter that allows someone to go inside of an object type of duffel. The objects could be held, but you could only enter if the targetted object is duffel. I has to be closed before it can be picked up(could follow the same for containers, I think its v1.) At that pointer, the player inside goes to a different connection state, maybe? of is given the blind affect and just char_from_room()'ed. They would be there, but not in a real room. Then when its opened by person 2, they can then leave it, but not before, and are just char_to_room()'ed to the vnum the bag is in? a little complicated, but not impossible, only part to figure out would be what to do with them in the mean time. |
Nobody ever expects the spanish inquisition!
darkwarriors.net:4848
http://darkwarriors.net | | Top |
|
| Posted by
| Ithildin
USA (262 posts) Bio
|
| Date
| Reply #2 on Fri 21 May 2004 06:59 PM (UTC) |
| Message
| | well, i was thinking blinding, silencing, no tells, no channels, maybe even no move(ie scan), i don't know how that would work though. maybe instead of a different connect state. have the duffel just go to a vnum, so when they enter the duffel, they go to the vnum. and since they would be blind, no scan, no anything, if more than one people were in the room then they wouldn't know it. then when the other person opens the duffel, they'll get a message sent to the character, then they just leave duffel or something along those lines. it seems pretty in depth. | | Top |
|
| Posted by
| David Haley
USA (3,881 posts) Bio
|
| Date
| Reply #3 on Fri 21 May 2004 09:57 PM (UTC) |
| Message
| You could add a flag, in_duffel or whatever, that is checked not on commands but rather on interpret. They shoudn't be able to do *anything* while in the duffel - not even quit - so interpret would just kill whatever they do and not let it through.
What worries me is the potential for things getting broken. What happens if someone is in a duffel and the person supposed to carry them, abandons them? Or goes link-dead? Or gets killed?
I think this is a fairly dangerous idea. Typically level-restricted zones are there for a reason, and if you have to go through them to get somewhere, then you should make an area to go around it. My recommendation would be to think carefully about what problem you're trying to solve, and to figure out if this is really what you want to do. |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | | Top |
|
| Posted by
| Ithildin
USA (262 posts) Bio
|
| Date
| Reply #4 on Sat 22 May 2004 05:31 AM (UTC) |
| Message
| | yea, i had those same questions as well. i'm not really sure how i would go about it. it was just a thought. but i would seem more against then implementing it. i'll just wait on that until i become more experienced. | | Top |
|
| Posted by
| David Haley
USA (3,881 posts) Bio
|
| Date
| Reply #5 on Sat 22 May 2004 09:18 AM (UTC) |
| Message
| | Personally I think it's a bad idea (too dangerous, defeats the purpose of important game mechanics) no matter how good you are, but that's just me. :) It's trying to solve a problem that really should be solved another way. |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | | 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.
20,531 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top