[crossfire] More server speed reducing the objects number

Alberto Sáez Lodeiros cerzeo at gmail.com
Sun Oct 16 07:18:18 CDT 2005


>
      Mark Wedel wrote:
     >
        Downsides:
     >
     
     >
      1) Monsters that pick up loot would now need to do more work (instead of the
     >
      objects of 5 dead creatures merging, they would be all seperate, instead of the
     >
      common objects merging.
     
Monsters can pick up only the objects over the flor, but not into the
corpse-container.
Or maybe, when the monster is over the corpse-container, check the
object into it, and then move one random object from corpse-container
to monster inventory.

>
      2) point 2 from above- fire effects may now have more objects to check for
     >
      destruction because they don't merge.
     
When a fire spell (for example) burns the corpse, you can make a
simple python routine, which destroy all objects into the
corpse-container. Or simply, the same thing that occurs when fire
reaches a chest, which is also a container.

>
        All that said, I'd think this should be more driven by actually thinking this
     >
      is a good or bad feature, not memory or performance reasons.
     
You can set a timer in the corpse which will destroy the corpse and
all its contens, past 5 minutes, for example. In this way, we will not
wait for server resets to clean the maps.

--
-- Powered by Fedora Core 4 Linux --
-- AMD Duron 1.3 GHz --
-- 512 Mb RAM DDR 400 MHz --
-- HDD 80 Gb 7200 RPM --
-- GeForce 2 MX 400 --

    


More information about the crossfire mailing list