Minecraft
  1. Minecraft
  2. MC-46223

@a, @p, @e or @r doesn't include dead player

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 14w04b, Minecraft 14w05a, Minecraft 14w06b, Minecraft 14w07a
    • Fix Version/s: Minecraft 14w10a
    • Security Level: Minecraft - Public (Viewable by everyone)
    • Labels:
      None
    • Environment:

      Windows 7 - Java 64bits

    • Confirmation Status:
      Unconfirmed

      Description

      EDIT 2 : simple way to reproduce this bug :
      1. Create a random scoreboard objectives : /scoreboard objectives add random dummy - /scoreboard objectives setdisplay sidebar random
      2. Setup a hopper clock runing on a commandblock with this command : /scoreboard players add @a random 1
      3. You will see your score increasing
      4. Kill you with the /kill command : your score doesn't increase anymore (the @a couldn't find you)

      EDIT : ok doing more research it appears that none of the selector detect a player when he is dead (and haven't respawn yet). I'm not sure if it's a bug or intentional, but as described in the documentation, @a should target any player, without taking into account any other condition (ex : dead or not). A player dead is still a player and should be in the @a collection.

      Original description : Since the 1.8 snapshots, deathcount objectives (or stats.deathcount, same problem) are updated when the player respawn, not when the player died as it was before. It should be updated when the player died.

        Issue Links

          Activity

          Hide
          jodi850 added a comment - - edited

          so far nothing. is this gonna be fixed before 1.8?
          its already 3-4 snapshots ago this bug popped up. is it so hard to fix? o_O
          just add an argument :
          alive=boolean
          and if you dont put that argument in. it will check for both.
          if you do it that way. you can check for only death or alive players. or both
          and most maps will work normaly again

          Show
          jodi850 added a comment - - edited so far nothing. is this gonna be fixed before 1.8? its already 3-4 snapshots ago this bug popped up. is it so hard to fix? o_O just add an argument : alive=boolean and if you dont put that argument in. it will check for both. if you do it that way. you can check for only death or alive players. or both and most maps will work normaly again
          Hide
          [Mojang] Searge (Michael Stoyke) added a comment -

          Keep the discussion on topic and civilized in the future please, this is a place to report and fix bugs, not about complaining why something is still broken after being reported long time ago. If a ticket is annoying to look at, it's less likely to be fixed quickly.

          Show
          [Mojang] Searge (Michael Stoyke) added a comment - Keep the discussion on topic and civilized in the future please, this is a place to report and fix bugs, not about complaining why something is still broken after being reported long time ago. If a ticket is annoying to look at, it's less likely to be fixed quickly.
          Hide
          Auspicious added a comment -

          Thanks Searge!

          Show
          Auspicious added a comment - Thanks Searge!
          Hide
          Marcono1234 added a comment -

          Confirmed for 14w21b

          /scoreboard player add @p Test 1

          isn't working

          Please reopen

          Show
          Marcono1234 added a comment - Confirmed for 14w21b /scoreboard player add @p Test 1 isn't working Please reopen
          Hide
          [Mojang] Searge (Michael Stoyke) added a comment -

          No, I explicitly said before that only @a will work for dead players. Please read all comments before requesting that a ticket should be reopened.

          Show
          [Mojang] Searge (Michael Stoyke) added a comment - No, I explicitly said before that only @a will work for dead players. Please read all comments before requesting that a ticket should be reopened.

            People

            • Assignee:
              [Mojang] Searge (Michael Stoyke)
              Reporter:
              aymeric pierre
            • Votes:
              9 Vote for this issue
              Watchers:
              29 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: