[BDS-17611] typing in BDS console :tp <PlayerName> ~ ~ ~ send the player to 0 0 0 Created: 03/Sep/22 Updated: 04/Jan/24 Resolved: 04/Jan/24 |
|
| Status: | Resolved |
| Project: | Bedrock Dedicated Server |
| Affects Version/s: | 1.19.21 Hotfix, 1.19.22 Hotfix |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | limlom1 | Assignee: | Unassigned |
| Resolution: | Works As Intended | Votes: | 1 |
| Labels: | None | ||
| Attachments: |
|
| Confirmation Status: | Confirmed |
| ADO: | 888717 |
| Description |
|
Steps to Reproduce: Observed Results: Expected Results: |
| Comments |
| Comment by Alexei Alexandrovich [ 19/Sep/22 ] |
|
Console Command Origin still is Actor that has position on 0, 0, 0 For example Block Command Origin has "pos" on block position where command was executed. This works as expected. |
| Comment by [MCPE Mod] Auldrick [ 07/Sep/22 ] |
|
DAMcraft was correct and this works as expected. ~ ~ ~ doesn't return the coordinates of whatever player you name, it returns the coordinates of the actor executing the command. The /tp @s ~ ~ ~ only works because the actor is the same person as the <victim> @s, and the command output in chat shows the destination they were teleported to, which is the same position they're at. It's just a tricky way to find out where you are. The /execute command lets you specify the actor for the command that follows it. That's what it's for, in fact. So you can use /execute <PlayerName> ~ ~ ~ tp ~ ~ ~ to find out where the player is, if that's what you wanted to do. |
| Comment by limlom1 [ 05/Sep/22 ] |
|
@Maciej Piornik This bug only occurs on Bedrock dedicated servers |
| Comment by Maciej Piornik [ 05/Sep/22 ] |
|
Hi Does this issue occur only on bedrock dedicated server or it can be reproduced on local worlds/Realms? This ticket will automatically reopen when you reply. |
| Comment by limlom1 [ 04/Sep/22 ] |
|
@DAMcraft I know, but in Bedrock Edition, players use /tp @s to know their location. So typing that in the console must return the player's location to me (server owner). |
| Comment by DAMcraft [ 04/Sep/22 ] |
|
Looks like you are in the console. ~ is always relative to the player executing the command, in this case the console, which apparently is 0|0|0. Try /execute Bsayss ~~~ (your command) example: /execute Bsayss ~~~ tp @s ~ ~10 ~
will teleport the player 10 blocks up
hope this helps |