Mojira Archive
MCM-1051

Playsounds with numbers starting their names no longer play, break in validator

Partner Rank: 2

Partner Team Reporting: Noxcrew

Verification builds and Platforms: 

Beta 1.16.63

Summary:

Playsound files break in the validator when they start with numbers. For example, "/playsound 3hdoor @a" will no longer work.

Impact:

We frequently use numbers in sound filenames as it's an easy accurate way to convey numerical information. We'll do things like "3hdoor"/"4hdoor" etc. to denote sounds that are essentially the same but last for different lengths. If these sounds no longer parse/play, we'll have to update 4 of our live maps, and 2 of them will have to be re-downloaded and restarted by players because these commands exist in command blocks.

If this is an intentional change, we feel this should be protected by backwards compatibility so purchasers don't have to restart their worlds to have them continue working as they expect.

ADDITIONAL INFO:
We tried the following:

playsound 3hdoor @a
playsound h3door @a
playsound hdoor3 @a
playsound 3 @a

 

And got the following results:

[Commands][warning]-Function mapinfo failed to load correctly with error(s):

[Commands][warning]-Error on line 17: command failed to parse with error 'Syntax error: Unexpected "3hdoor": at "playsound >>3hdoor<< @a"'

[Commands][warning]-Error on line 20: command failed to parse with error 'Syntax error: Unexpected "3": at "playsound >>3<< @a"'

 

This should narrow down that it's only numbers STARTING the playsound name, or playsound names which are entirely numbers, which have broken.

Repro Steps:

  1. Download DestructoBot vs. Dinosaurs from the store
  2. Open the map
  3. Teleport to 35 115 176 and pull the lever
  4. Listen for the sound of the door opening

Observed Results:

The sound does not play. You will also notice a content log error calling out the "3hdoor" in playsound commands.

Expected Results:
The sound plays, no content log errors.

Screenshots/Videos attached:

1.16.61 (Working properly): https://www.youtube.com/watch?v=nYgfgrqezi4
1.16.63 (Not working properly): https://www.youtube.com/watch?v=wpGLlyOAnbk

Fixed

[Noxcrew] Joe Arsenault

2020-05-21, 05:50 PM

2020-05-28, 09:52 PM

2020-05-28, 09:52 PM

0

0

Future Release

-