mojira.dev
MC-44636

Command Block "testfor" command bug

I added a new objective, "fk", to the scoreboard. The "Counter" was totalKillCount. I also added a new team, called "fire". After that, I needed to use testfor, so that I can get rewarded when I reach the Required amount, which was 5. The command I put in was:

"testfor @p[[score_fk_min=5,team=fire]]" without quotes.

In the output box of the command block, it said "[[09:39:53]] The entity UUID provided is in an invalid format". This makes no sense, is it a bug?

Also, If you see 2 brackets for each command, it is because my computer thinks that it is HTML code, so I have to add in an Extra Bracket to each Side

Linked issues

Attachments

Comments 9

You can 'escape' the '[' character. Click on the '?' icon below the edit box, and see the 'Misc' section.

Yes, same problem with this command : /testfor @p[x=270,y=49,z=-88,dx=-2,dy=1,dz=2]

In 14w11b

My command that result in "invalid format":

testfor @p[r=10,name=nicklase99]

Version: 14w11b

Can not reproduce, was this fixed already?

No, it wasn't. Same problem in 14w28b.

I'm having the same problem, works on 1.7.9, but not on 14w25a. This should be fixed immediately by Mojang, I don't know how it hasn't been brought up yet.

If no players exist on team fire with at least a score of 5 in fk, the game will output "The entity UUID provided is in an invalid format". This seems like just the wrong error message; if at least one player has at least a score of 5 and is on team fire, it will successfully find them.

The actual bug here is that the game gives an improper error message for some combinations of failing selector arguments.

Is this still a concern in the current Minecraft version 1.8.1 Prerelease 3 or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Ticket resolved as incomplete, because no answer in a reasonable amount of time (1+ year), if it still happens, please update the ticket.

Eric Wiles

(Unassigned)

Unconfirmed

command_block

Minecraft 14w02c, Minecraft 14w04a, Minecraft 14w05a, Minecraft 14w28b

Retrieved