PDA

View Full Version : PC Corpse


Melciah
10-27-2004, 06:35 PM
Ok, I've gotten my Minilogin server working, and have been trying a few different databases, but I haven't found a SQL string to enter into the database to get PC Corpses to remain behind.

Now don't get me wrong, I still want the items to return with the person, but I would like a naked corpse to be left, so a cleric may rez someone back to the spot.

I have noticed the code for making rez only work once (see below), but can't find one to make a naked corpse spawn. (Time switch on that would be nice to modify as well)

ALTER TABLE `player_corpses` ADD `rezzed` TINYINT UNSIGNED DEFAULT "0"

Any assistance on this would be greatly appreciated.

Liscadipesce
10-27-2004, 11:59 PM
Look in your variables table. Their is an entry called leavecorpses. Turn it to '1' to leave PC corpses.

UPDATE `variables` SET `value`='1' WHERE `varname`='leavecorpses';

Melciah
10-29-2004, 12:12 PM
Thanks for the reply, very helpful.

bushman77
12-22-2004, 04:49 AM
after doing the variable switch, players cannot loot their corpses