I've junked most of the original SMAUG area files, except a few necessary ones such as limbo.are, gods.are, help.are, etc.
I've encountered a problem in which players are teleported to Limbo on death, after a bug message saying the room they were supposed to be sent to did not exist..
How do I define what room players are sent to, as a default?
My overall purpose would be to transfer ALL characters to a designated resurrection shrine (a room in my starting city) on death. I still want to deduct their exp penalties, but I would like to have the character themself transferred (stats, inventory, and all), and a corpse-object created only as a formality, to mark the spot where they died.
Could anyone even begin to point me in the right direction? I've picked through fight.c and can't seem to find anything useful, except the corpse creation function and the exp deduction functions. I can't even figure out what line of code transfers the victim's inventory to his or her corpse.
Also, a stupid question: In the current system, where items stay on a corpse, how does the player who originally owned the items retrieve them from his or her corpse?
Please help a newbie coder. Thanks.
I've encountered a problem in which players are teleported to Limbo on death, after a bug message saying the room they were supposed to be sent to did not exist..
How do I define what room players are sent to, as a default?
My overall purpose would be to transfer ALL characters to a designated resurrection shrine (a room in my starting city) on death. I still want to deduct their exp penalties, but I would like to have the character themself transferred (stats, inventory, and all), and a corpse-object created only as a formality, to mark the spot where they died.
Could anyone even begin to point me in the right direction? I've picked through fight.c and can't seem to find anything useful, except the corpse creation function and the exp deduction functions. I can't even figure out what line of code transfers the victim's inventory to his or her corpse.
Also, a stupid question: In the current system, where items stay on a corpse, how does the player who originally owned the items retrieve them from his or her corpse?
Please help a newbie coder. Thanks.