|
Changing where people end up when they die
|
Reply to this subject
Start a new subject
 
Refresh page
| Posted by |
Myotis
(2 posts) bio
|
| Date |
Wed 06 Nov 2002 09:37 PM (UTC) [ quote
] |
| 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 (554 posts) bio
|
| Date |
Reply #1 on Thu 07 Nov 2002 02:44 PM (UTC) [ quote
] |
| 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) [ quote
] |
| 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 (554 posts) bio
|
| Date |
Reply #3 on Fri 08 Nov 2002 07:26 PM (UTC) [ quote
] |
| 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.
1,264 views.
Reply to this subject
Start a new subject
 
Refresh page
top
Comments to:
Gammon Software support
Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )