Bla reports: using /spawn while sitting in ... #1163

Closed
opened 2021-12-15 15:44:50 +00:00 by yourland-report · 8 comments

Bla reports a bug:

using /spawn (or /home) while sitting in a cart doesnt teleport you

Player position:

{
	y = 29406.67578125,
	x = 2359.8000488281,
	z = 791.79998779297
}

Player look:

{
	y = -0.095845751464367,
	x = 0.42837604880333,
	z = -0.89850294589996
}

Player information:

{
	min_rtt = 0.027000000700355,
	max_rtt = 0.74299997091293,
	connection_uptime = 7921,
	max_jitter = 0.57700002193451,
	minor = 5,
	major = 5,
	ip_version = 6,
	formspec_version = 4,
	patch = 0,
	protocol_version = 39,
	serialization_version = 28,
	lang_code = "",
	version_string = "5.5.0-dev-02292e03e-dirty",
	avg_rtt = 0.028000000864267,
	state = "Active",
	avg_jitter = 0,
	min_jitter = 0
}

Player meta:

{
	fields = {
		["3d_armor_inventory"] = "return {\"3d_armor:leggings_crystal 1 2480\", \"3d_armor:helmet_crystal 1 2480\", \"3d_armor:chestplate_crystal 1 2480\", \"3d_armor:boots_crystal 1 2480\", \"shields:shield_crystal 1 2480\", \"\"}",
		played_time = "2122490",
		ui_waypoints = "{\"data\":[{\"active\":false,\"color\":2.0,\"display_pos\":true,\"world_pos\":{\"x\":-448.0,\"y\":25.0,\"z\":1341.0}},{\"active\":false,\"world_pos\":{\"x\":-447.0,\"y\":25.0,\"z\":1344.0}}],\"selected\":1.0}",
		jointime = "1635266646",
		yl_commons_player_joined = "1639575207",
		["signslib:pos"] = "(2103,15,1166)",
		digged_nodes = "208711",
		bitten = "0",
		["unified_inventory:bags"] = "return {\"water_life:croc_bag\", \"water_life:croc_bag\", \"water_life:croc_bag\", \"water_life:croc_bag\"}",
		partychat = "party",
		yl_church = "return {[\"last_death\"] = {[\"y\"] = 29381, [\"x\"] = 2389, [\"z\"] = 797}, [\"last_heal\"] = 1635970005, [\"last_death_portal\"] = 1638538911}",
		["stamina:level"] = "15",
		punch_count = "10653",
		arenalib_infobox_arenaID = "0",
		inflicted_damage = "196558",
		crafted = "3059",
		xp = "166065",
		died = "39",
		yl_commons_thankyou = "72",
		placed_nodes = "53483",
		hud_state = "on",
		repellant = "0",
		yl_commons_player_created = "1635266646"
	}
}

Log identifier


[MOD] yl_report log identifier = vKmvKLRjEFL7UcOpnLfs3BVJM774Ln5B

Profiler save:

profile-20211215T164450.json_pretty

Status:

# Server: version=5.4.1-yl, uptime=114432, max_lag=5.95859, clients={Service, AliasAlreadyTaken, bakaxtreme, GrimPixel, kavink, jakob, MineWorlds, mareg, _DRAGON_, TobiasGaming, scr267, Lichberry, Flippster, Bla, Bailiff, tour}

Teleport command:

/teleport xyz 2360 29407 792

Compass command:

/give_compass Construction vKmvKLRjEFL7UcOpnLfs3BVJM774Ln5B D2691E 2360 29407 792
Bla reports a bug: > using /spawn (or /home) while sitting in a cart doesnt teleport you Player position: ``` { y = 29406.67578125, x = 2359.8000488281, z = 791.79998779297 } ``` Player look: ``` { y = -0.095845751464367, x = 0.42837604880333, z = -0.89850294589996 } ``` Player information: ``` { min_rtt = 0.027000000700355, max_rtt = 0.74299997091293, connection_uptime = 7921, max_jitter = 0.57700002193451, minor = 5, major = 5, ip_version = 6, formspec_version = 4, patch = 0, protocol_version = 39, serialization_version = 28, lang_code = "", version_string = "5.5.0-dev-02292e03e-dirty", avg_rtt = 0.028000000864267, state = "Active", avg_jitter = 0, min_jitter = 0 } ``` Player meta: ``` { fields = { ["3d_armor_inventory"] = "return {\"3d_armor:leggings_crystal 1 2480\", \"3d_armor:helmet_crystal 1 2480\", \"3d_armor:chestplate_crystal 1 2480\", \"3d_armor:boots_crystal 1 2480\", \"shields:shield_crystal 1 2480\", \"\"}", played_time = "2122490", ui_waypoints = "{\"data\":[{\"active\":false,\"color\":2.0,\"display_pos\":true,\"world_pos\":{\"x\":-448.0,\"y\":25.0,\"z\":1341.0}},{\"active\":false,\"world_pos\":{\"x\":-447.0,\"y\":25.0,\"z\":1344.0}}],\"selected\":1.0}", jointime = "1635266646", yl_commons_player_joined = "1639575207", ["signslib:pos"] = "(2103,15,1166)", digged_nodes = "208711", bitten = "0", ["unified_inventory:bags"] = "return {\"water_life:croc_bag\", \"water_life:croc_bag\", \"water_life:croc_bag\", \"water_life:croc_bag\"}", partychat = "party", yl_church = "return {[\"last_death\"] = {[\"y\"] = 29381, [\"x\"] = 2389, [\"z\"] = 797}, [\"last_heal\"] = 1635970005, [\"last_death_portal\"] = 1638538911}", ["stamina:level"] = "15", punch_count = "10653", arenalib_infobox_arenaID = "0", inflicted_damage = "196558", crafted = "3059", xp = "166065", died = "39", yl_commons_thankyou = "72", placed_nodes = "53483", hud_state = "on", repellant = "0", yl_commons_player_created = "1635266646" } } ``` Log identifier ``` [MOD] yl_report log identifier = vKmvKLRjEFL7UcOpnLfs3BVJM774Ln5B ``` Profiler save: ``` profile-20211215T164450.json_pretty ``` Status: ``` # Server: version=5.4.1-yl, uptime=114432, max_lag=5.95859, clients={Service, AliasAlreadyTaken, bakaxtreme, GrimPixel, kavink, jakob, MineWorlds, mareg, _DRAGON_, TobiasGaming, scr267, Lichberry, Flippster, Bla, Bailiff, tour} ``` Teleport command: ``` /teleport xyz 2360 29407 792 ``` Compass command: ``` /give_compass Construction vKmvKLRjEFL7UcOpnLfs3BVJM774Ln5B D2691E 2360 29407 792 ```
AliasAlreadyTaken was assigned by yourland-report 2021-12-15 15:44:50 +00:00

Unfortunately that is true for any attached entitiy, be it minecarts or horses and any command. Sitting on a horse and trying to travel via airhip also doesn't work. I'd have to forcedetach, and that's what I'd lie to avoid

Unfortunately that is true for any attached entitiy, be it minecarts or horses and any command. Sitting on a horse and trying to travel via airhip also doesn't work. I'd have to forcedetach, and that's what I'd lie to avoid
AliasAlreadyTaken added the
1. kind/enhancement
label 2021-12-15 15:47:35 +00:00
Member

What's wrong with detaching? Seems like that'd be the correct solution; perhaps at least provide a /detach command that'd work for detaching from any entity?

What's wrong with detaching? Seems like that'd be the correct solution; perhaps at least provide a `/detach` command that'd work for detaching from any entity?

Imagine not detaching from a cart, but from a prized horse and leaving it there.

Imagine not detaching from a cart, but from a prized horse and leaving it there.
Member

yeah, that'd suck. perhaps if the player is attached to something, it should be teleported to spawn with them?

yeah, that'd suck. perhaps if the player is attached to something, it should be teleported to spawn with them?

Let's look at two lists.

  • entities the user can safely detach from VS entities the user probably doesn't want to detach from

carts in general: OK
ponies: NOK

  • situations where the user wants to teleport and detach VS situations the user doesn't want to detach

using the airship/sailship network: OK
stuck in a cart and (/spawn or /home or admin teleport): OK

Let's look at two lists. - entities the user can safely detach from VS entities the user probably doesn't want to detach from carts in general: OK ponies: NOK - situations where the user wants to teleport and detach VS situations the user doesn't want to detach using the airship/sailship network: OK stuck in a cart and (/spawn or /home or admin teleport): OK
flux added this to the flux's TODO list project 2022-07-02 19:03:00 +00:00
flux added the
4. step/discussion
label 2022-10-25 12:48:25 +00:00
flux added the
2. prio/elevated
label 2022-11-16 19:01:31 +00:00
flux added
4. step/ready to QA test
and removed
4. step/discussion
labels 2023-08-12 21:05:17 +00:00
Member

6da0ef1670

similar to #5093, a player on a pony/camel will teleport with the animal, while a player in a minecart or attached to something else will detach before teleporting.

https://gitea.your-land.de/your-land/yl_commons/commit/6da0ef1670a7b0a5134c986ee07adfbf1e43a86a similar to #5093, a player on a pony/camel will teleport with the animal, while a player in a minecart or attached to something else will detach before teleporting.
AliasAlreadyTaken added this to the 1.1.120 milestone 2023-08-12 21:08:00 +00:00

QA: Works :)

QA: Works :)
AliasAlreadyTaken added the
ugh/QA OK
label 2023-08-25 03:31:38 +00:00
flux added
5. result/fixed
and removed
4. step/ready to QA test
labels 2023-11-16 21:00:48 +00:00
Member

this is live

this is live
flux closed this issue 2023-11-16 21:01:29 +00:00
flux removed this from the flux's TODO list project 2023-11-16 21:05:33 +00:00
AliasAlreadyTaken was unassigned by flux 2023-11-16 21:05:37 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: your-land/bugtracker#1163
No description provided.