Jump to content
  • Add handling for corpse death location


    madmax
    • Status: Confirmed
      Main Category: Core / Mangos Daemon
      Sub-Category: Code Enhancement
      Version: 0.20 Milestone: 20 Priority: Normal
      Implemented Version: 0.20

    Tracking corpse locations

    If a server restarts or goes down and comes back up corpses should remain dead in there corpse state at the location they were killed at. Currently a corpse will appear at the normal spawn-in location when the NPC is alive.

    We need to add the required info to the database to track the location of an NPCs when they are killed

    When an NPC respawns normally via timer the information can be removed.

    Currently the database tracks "deathState" (creature table) to let the core know if the NPC is dead or not.

    I am proposing we add "deathPosition_x" deathposition_y" "deathposition_z" - these would be empty if "DeathState" is 0.


    User Feedback

    Recommended Comments

    There are no comments to display.



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use