Jump to content

Death Bug


Recommended Posts

Posted

Mangos Rev: 8763

Custom Patches: NO

SD2 Version: 2009040501

Database Name and Version: PSDB - 259

How it works:

If you try to cast a spell whem you are reciving the last hit, you got a bug "undead", you got all dead flags but you corspe don't become a ghost.

Posted

Apply manually in src/game/Player.cpp

    {
        RegenerateAll();
    }
-
+    if (!isAlive() && !HasFlag(PLAYER_FLAGS, PLAYER_FLAGS_GHOST))
+    {
+        SetHealth(0);
+    }
    if (m_deathState == JUST_DIED)
    {
        KillPlayer();

here works perfectly

I'm having some bugs when a player leaves one dead in Arena, he can not revive when it is teleported out.

Posted
anyone found a repeatable way of reproducing the death bug? so i can test this patch

my friend was testing a mage and told me that he was casting a spell and died before finishing the cast and got the bug.

  • 2 weeks later...
Posted

cause this is a hack.. would be good if we can find out why the ghostflag isn't set..

btw: this patch works fine here.. don't know if any side-effects (like this arena-death-bug) are caused through this one

  • 3 months later...
Posted

hello there, i systematically use this patch in my compil but i wonder if it is still needed, can someone don't using it tell if this bug occurs ?

  • 2 weeks later...
  • 3 weeks later...
×
×
  • 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