Mojira Archive
MCM-1634

TP command sent through websocket has decimal point cut off

Partner Rank: 2

Partner Team Reporting:

Glowfisch Design Studio

Verification builds:

1.19.60.24 and 1.19.70.20 (dev build)

Summary:

TP command sent through websocket has decimal point cut off

Impact:

This breaks preview in our own Cutscene Studio software, that we and some other partners are using to create cutscenes for marketplace worlds.

Repro steps:

  1. Send command `tp @s 5.37332 -58.57355 21.58811 273.97755 8.4821` through websocket

Observed Results:

The player is teleported to X: 5.5, Y:-58.0, Z: 21.5

Expected Results:

The player is teleported to X: 5.37332, Y:-58.57355, Z: 21.58811

Notes:

Using our own Cutscene Studio software, we're creating cutscenes for our content as well as other studios are creating their cutscenes.

To speed up the development, we're using websockets to make a live preview of the cutscene. After version 1.19.60.24, the command 

tp @s 5.37332 -58.57355 21.58811 273.97755 8.4821

 is interpreted as 

tp @s 5 -58 21 273.97755 8.4821

which makes preview different from actual outcome + it's more difficult to visualize it.

The teleport is correct when the tp command is executed directly from chat box.

Screenshots/Videos attached: Yes

1.19.60.23: https://files.stirante.com/ApplicationFrameHost_2023-02-04_16-45-26-4kJD0Ho.mp4

1.19.60.24: https://files.stirante.com/ApplicationFrameHost_2023-02-04_16-46-58-vepZA4r.mp4

Fixed

stirante

2023-02-04, 05:57 PM

2023-02-15, 01:09 PM

2023-02-14, 09:38 PM

0

0

Future Release

-