Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
auth_update crash
Dec 23, 2017, 10:15 pm
By Remcon
check_tumble
Dec 18, 2017, 7:21 pm
By Remcon
parse description bug
Dec 15, 2017, 10:08 pm
By Remcon
Couple bugs
Dec 12, 2017, 5:42 pm
By Remcon
Bug in disarm( )
Nov 12, 2017, 6:54 pm
By GatewaySysop
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
LOP Heroes Edition
Author: Vladaar
Submitted by: Vladaar
Heroes sound extras
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.3
Author: Vladaar
Submitted by: Vladaar
Users Online
CommonCrawl, Google, Yahoo!, Yandex

Members: 0
Guests: 3
Stats
Files
Topics
Posts
Members
Newest Member
478
3,708
19,242
612
Jacki72H
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » Codebases » AFKMud Support & Development » Morgue
Forum Rules | Mark all | Recent Posts

Morgue
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Dec 13, 2005, 7:09 pm   Last edited Dec 14, 2005, 1:41 am by Demosk
Go to the top of the page
Go to the bottom of the page

Demosk

GroupMembers
Posts4
JoinedDec 13, 2005

Hello everyone, I am currently working on adding a morgue type system to afkmud 1.76a. I plan to have it set up so that untill level 10 your corpse goes to the morgue and after that you can use the healer mob as a undertaker as afkmud seems to be allready set up for. The problem is i was going to do this based off the morgue snippet and a few if()s. With the new code there is the continent code for sending players. unfortunatly when i do a if(ch->level) in mudcfg.c it sends both the dead player and there corpse to the vnum i set. I would really appreciate any help you can give. I am not a expert programmer and am learning as i go.

EDIT::

I have figured alittle of it out myself. Iv found that the code uses the the recover corpse from the healer code. But when setting the room to send corpse there it still sends both to the vnum. Also could someone please explain to me the healer code part. I understand it sends the corpse to the HEALER. But i dont have a healer and there is no healer act flag. What am I missing. The more I look thru the code the more I feel clueless. Thanks again for any help.
       
Post is unread #2 Dec 20, 2005, 4:42 pm
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,639
JoinedJan 1, 2002

The corpse recovery code is actually transporting the person to the room where the healer usually sits. If there's no healer there, then it's just another empty room. Until level 10, dead players have their corpses transported to the temple with them. This makes it easier on them at first and gives them a chance to get used to the game. After that, devotion to a deity is possible and they should seriously consider that since death past level 10 means the corpse stays put, but the victim is transported to the temple.

If this wasn't what you were looking for, let me know :)
       
Pages:<< prev 1 next >>