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
➜ Changing where people end up when they die
|
Changing where people end up when they die
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Myotis
(2 posts) Bio
|
| Date
| Wed 06 Nov 2002 09:37 PM (UTC) |
| Message
| | I can't seem to find the piece of code that determines where players repop after they get killed. Any help is appreciated. | | Top |
|
| Posted by
| Meerclar
USA (733 posts) Bio
|
| Date
| Reply #1 on Thu 07 Nov 2002 02:44 PM (UTC) |
| Message
| | Should be somewhere in mud.h (or whatever the SMAUG equiv of merc.h is), look for _morgue for the location..... at least I believe SMAUG uses a morgue by default..... |
Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.org | | Top |
|
| Posted by
| Myotis
(2 posts) Bio
|
| Date
| Reply #2 on Fri 08 Nov 2002 12:31 AM (UTC) |
| Message
| | I know where to define the room vnums but I wanna make it so that if someone is over a certain level, they repop at a different place than those of a lower level and I can't find where in the code I can set this. | | Top |
|
| Posted by
| Meerclar
USA (733 posts) Bio
|
| Date
| Reply #3 on Fri 08 Nov 2002 07:26 PM (UTC) |
| Message
| That would require actually defining a second morgue. I took the cheap way out of solving this problem on Stormbringer by making the morgue an isolated room once a char is inside and changing the recall point for newbies to the center of our revised academy. As for where to change where ppls recall to after a certain level, take a look at the do_recall function, its probly in act_move somewhere.
Hope that helps a bit. |
Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.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.
14,305 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top