My MUD is going to be up soon (about 2 or 3 months by now), and
what we have done about this is:
1st) Add to the list of alias of the object "corpse" the name of
the dead player. This way u can verify if it is a player corpse or not
just comparing the string "corpse" to alias list, and avoid other to
loot the corpse unless the not-anymore-dead one.
2nd) To avoid situations of a low-levelled player go to a really-
really-high-level zone and no one seems capable to go there, my crew
made a command called TRUST. What TRUST does is to allow others to
loot the corpse of whom TRUSTed them. In fact it's a toggle: to TRUST
somebody both TRUSTer and TRUSTed must be in the same room and type:
>TRUST TRUSTed
And to stop TRUSTing somebody the TRUSTer just type anywhere:
>TRUST TRUSTed
And TRUSTed looses the right to loot the TRUSTer corpse. But
attention to this: THIS WAS ONE OF THE WORST THING TO BE IMPLEMENTED
AND DO NOT TRY TO IMPLEMENT THIS UNLESS YOU ARE A REALLY C MASTER! We
had implemented a lot of stuff (size for the weapons - so short guys
just can't wield some weapons or the weapon become two-handed, races,
smart mobs - this one rocks, joinable objects) and you can be sure
that it's not as simple as it seems to br... Anyway, if you wanna try,
go on. But my crew and I just can't release code until our MUD is up
and running. Sorry...
aKUMA! (MystaraMUD under construction...)
> I was testing a pk room flag and noticed, anyone can loot anyone
> else's corpse. What I need is something that will pervent people from
> looting other players corpses. Any thoughts?
>
*********************************************
* Demetrius de Vasconcelos Santos *
* E-mail:demontri@lci.ufrj.br *
* deme@cagarras.redetec.org.br *
* deme@redetec.org.br *
*********************************************
This archive was generated by hypermail 2b30 : 12/18/00 PST