Page 1 of 1

Multiple Death Anchors

Posted: Sun Jul 10, 2022 4:09 pm
by Badziew
My Lich character Badziew (ID==10949) has two Death Anchors instead of one.

I am not sure when exactly he got the second anchor, he had it for some time (perhaps even in previous Breath, I cannot recall) but I always forgot to report the bug.

HTML source of the Phylactery Skill's form is not very helpful (whilespace added manually, for clarity):

Code: Select all

<form name="skilluse" action="clash.php" method="POST">
    <input type="hidden" name="op" value="respawn">
    <input type="hidden" name="skill" value="Phylactery">
    <select name="phylactery_id">
        <option value="" selected="">None</option>
        <option value="3032">Death Anchor</option>
        <option value="3033">Death Anchor</option>
        <option value="1917">Library 3, 12 Purgatorio</option>
    </select>
    <input type="submit" value="Use Phylactery ( AP)">
</form>
As you can see, UI gives no hint where the second anchor could come from.

I have a few wild theories but no proofs.
  • some kind of bug in Phylactery Skill code that fails to delete the used anchor
  • some kind of bug in character reset code that does not purge death anchors or even does not purge all phylacteries
  • that character has been a Lich in B4 too, so maybe it is some kind of bug in code importing a B4 character into B5
Other than that, I have no idea what is the cause. I think that the only thing I can do to help investigating this is to wait until the next death and check if the form will have identical or different option IDs.

And yes, I deliberately did not censor the name of the third option. It is a normal Phylactery that I created manually and I plan to use right now - and and I invite everyone to come there and help me die to investigate this bug ;)

Re: Multiple Death Anchors

Posted: Mon Jul 11, 2022 9:51 pm
by Badziew
The character has died, and this time the anchors have different, higher IDs:

Code: Select all

<form name="skilluse" action="clash.php" method="POST">
    <input type="hidden" name="op" value="respawn">
    <input type="hidden" name="skill" value="Phylactery">
    <select name="phylactery_id">
        <option value="" selected="">None</option>
        <option value="3083">Death Anchor</option>
        <option value="3084">Death Anchor</option>
    </select>
    <input type="submit" value="Use Phylactery ( AP)">
</form>
I think this narrows the location of the bug a bit - the IDs have changed so the second anchor is probably not a relic of a bad character reset etc but is recreated every time I die.

Re: Multiple Death Anchors

Posted: Thu Jul 21, 2022 3:57 pm
by Kandarin
I couldn't reproduce this on devserver, even with your character.

Re: Multiple Death Anchors

Posted: Thu Jul 21, 2022 4:14 pm
by Kandarin
Correction, I was able to reproduce it, it's a function of Death Mastery.

Re: Multiple Death Anchors

Posted: Thu Jul 21, 2022 4:45 pm
by Kandarin
There's a pending fix for this for the next patch.