rheo reports: create a //distance command ... #5135

Closed
opened 2023-08-15 23:54:33 +00:00 by yourland-report · 11 comments

rheo reports a bug:

create a //distance command

Player position:

{
	y = 119.14100646973,
	z = 1705.6480712891,
	x = 470.19100952148
}

Player look:

{
	y = -0.87764859199524,
	z = 0.36283099651337,
	x = -0.31318783760071
}

Player information:

{
	min_rtt = 0.16799999773502,
	avg_rtt = 0.18099999427795,
	min_jitter = 0,
	max_jitter = 3.6640000343323,
	avg_jitter = 0.011000007390976,
	connection_uptime = 2359,
	serialization_version = 29,
	patch = 0,
	protocol_version = 42,
	major = 5,
	state = "Active",
	max_rtt = 3.8589999675751,
	version_string = "5.8.0-dev-7388c87ad",
	ip_version = 6,
	formspec_version = 6,
	minor = 8,
	lang_code = ""
}

Player meta:

{
	fields = {
		inflicted_damage = "246734",
		["stamina:level"] = "0",
		["ethereal:fly_timer"] = "-99",
		["stamina:poisoned"] = "no",
		["stamina:exhaustion"] = "103.5",
		["petz:werewolf_vignette_id"] = "16",
		["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}",
		yl_church = "return {[\"last_death\"] = {[\"y\"] = 15, [\"x\"] = 1353, [\"z\"] = 1089}}",
		["petz:werewolf_clan_idx"] = "2",
		["ocean_build.last_warning"] = "1.66814e+09",
		bitten = "0",
		["ocean_build.ocean_built"] = "6",
		repellant = "0",
		hud_state = "off",
		partychat = "party",
		yl_commons_player_created = "1644205752",
		yl_commons_player_joined = "1692141339",
		yl_commons_thankyou = "61",
		["3d_armor_inventory"] = "return {\"nether_mobs:dragon_boots\", \"\", \"\", \"\", \"\", \"\"}",
		["petz:old_override_table"] = "return {[\"sneak\"] = true, [\"speed\"] = 2, [\"new_move\"] = true, [\"jump\"] = 1.5, [\"gravity\"] = 1, [\"sneak_glitch\"] = false}",
		crafted = "2175",
		["petz:lycanthropy"] = "0",
		arenalib_infobox_arenaID = "0",
		xp = "0",
		["petz:werewolf"] = "0",
		jointime = "1644205752",
		played_time = "5678105",
		digged_nodes = "15079",
		placed_nodes = "18847",
		died = "2",
		punch_count = "1076",
		["signslib:pos"] = "(6758,58,6221)"
	}
}

Log identifier


[MOD] yl_report log identifier = Mg1XVmXCm36aQJeUtVz04FFDIaz2WAvx

Profiler save:

profile-20230815T235433.json_prettyEE

Status:

# Server: version: 5.7.0-yl-thx-tmm | game: Minetest Game | uptime: 2d 7h 6min 5s | max lag: 0.939s | clients (28/52): afonsan, AliasAlreadyTaken, Aliza, arealhero788axwqq, Azelf, Bingo, crankyape, daydream, DragonWrangler1, EB8699, flux, Glacierville, jackofthebean000, mazthelizard123, mindfrost, MineWorlds, nazthelizard122, NoiceFrogo, Parrish, PhilStein, rheo, Service, Shortstack07, sixer, Sysmatic, tagtraum, Therottenpotato, XeLNaGa

Teleport command:

/teleport xyz 470 119 1706

Compass command:

/give_compass Construction Mg1XVmXCm36aQJeUtVz04FFDIaz2WAvx D2691E 470 119 1706
rheo reports a bug: > create a //distance command Player position: ``` { y = 119.14100646973, z = 1705.6480712891, x = 470.19100952148 } ``` Player look: ``` { y = -0.87764859199524, z = 0.36283099651337, x = -0.31318783760071 } ``` Player information: ``` { min_rtt = 0.16799999773502, avg_rtt = 0.18099999427795, min_jitter = 0, max_jitter = 3.6640000343323, avg_jitter = 0.011000007390976, connection_uptime = 2359, serialization_version = 29, patch = 0, protocol_version = 42, major = 5, state = "Active", max_rtt = 3.8589999675751, version_string = "5.8.0-dev-7388c87ad", ip_version = 6, formspec_version = 6, minor = 8, lang_code = "" } ``` Player meta: ``` { fields = { inflicted_damage = "246734", ["stamina:level"] = "0", ["ethereal:fly_timer"] = "-99", ["stamina:poisoned"] = "no", ["stamina:exhaustion"] = "103.5", ["petz:werewolf_vignette_id"] = "16", ["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}", yl_church = "return {[\"last_death\"] = {[\"y\"] = 15, [\"x\"] = 1353, [\"z\"] = 1089}}", ["petz:werewolf_clan_idx"] = "2", ["ocean_build.last_warning"] = "1.66814e+09", bitten = "0", ["ocean_build.ocean_built"] = "6", repellant = "0", hud_state = "off", partychat = "party", yl_commons_player_created = "1644205752", yl_commons_player_joined = "1692141339", yl_commons_thankyou = "61", ["3d_armor_inventory"] = "return {\"nether_mobs:dragon_boots\", \"\", \"\", \"\", \"\", \"\"}", ["petz:old_override_table"] = "return {[\"sneak\"] = true, [\"speed\"] = 2, [\"new_move\"] = true, [\"jump\"] = 1.5, [\"gravity\"] = 1, [\"sneak_glitch\"] = false}", crafted = "2175", ["petz:lycanthropy"] = "0", arenalib_infobox_arenaID = "0", xp = "0", ["petz:werewolf"] = "0", jointime = "1644205752", played_time = "5678105", digged_nodes = "15079", placed_nodes = "18847", died = "2", punch_count = "1076", ["signslib:pos"] = "(6758,58,6221)" } } ``` Log identifier ``` [MOD] yl_report log identifier = Mg1XVmXCm36aQJeUtVz04FFDIaz2WAvx ``` Profiler save: ``` profile-20230815T235433.json_prettyEE ``` Status: ``` # Server: version: 5.7.0-yl-thx-tmm | game: Minetest Game | uptime: 2d 7h 6min 5s | max lag: 0.939s | clients (28/52): afonsan, AliasAlreadyTaken, Aliza, arealhero788axwqq, Azelf, Bingo, crankyape, daydream, DragonWrangler1, EB8699, flux, Glacierville, jackofthebean000, mazthelizard123, mindfrost, MineWorlds, nazthelizard122, NoiceFrogo, Parrish, PhilStein, rheo, Service, Shortstack07, sixer, Sysmatic, tagtraum, Therottenpotato, XeLNaGa ``` Teleport command: ``` /teleport xyz 470 119 1706 ``` Compass command: ``` /give_compass Construction Mg1XVmXCm36aQJeUtVz04FFDIaz2WAvx D2691E 470 119 1706 ```
AliasAlreadyTaken was assigned by yourland-report 2023-08-15 23:54:33 +00:00
flux added the
1. kind/enhancement
label 2023-08-16 00:10:15 +00:00
Member

Pretty hard to comment with so little to go on. How can we discuss a new feature with zero details? Distance to what?

Pretty hard to comment with so little to go on. How can we discuss a new feature with zero details? Distance to what?
Member

between two marked worldedit positions.

between two marked worldedit positions.
flux added the
4. step/ready to QA test
label 2023-08-19 16:36:25 +00:00
Member

added to debuggery 179536eee4

added to debuggery https://github.com/fluxionary/minetest-debuggery/commit/179536eee479bf267642ad77d16b57d04e5784a3
Member

Could be useful as a general tool for all players.

Could be useful as a general tool for all players.

Players who do not have worldedit use a multitude of other tools - the waypoint compass or the markers.

Players who do not have worldedit use a multitude of other tools - the waypoint compass or the markers.
Member

as implemented, most players don't have access to worldedit markers. but it also supports areas markers, which players generally can use... i suppose there's no harm in allowing regular players to use it.

as implemented, most players don't have access to worldedit markers. but it also supports areas markers, which players generally *can* use... i suppose there's no harm in allowing regular players to use it.
AliasAlreadyTaken added this to the 1.1.120 milestone 2023-08-20 05:23:07 +00:00

I don't see how this could be abused, when we already have compass that does the exact same thing. To the contrary it's yet another way for builders to measure things. I like.

I don't see how this could be abused, when we already have compass that does the exact same thing. To the contrary it's yet another way for builders to measure things. I like.

QA

For some reason, when I do /area_pos1 and /area_pos2 or //1 and //2 and then //distance I get an output of .1f ?

@flux What am I doing wrong?

QA For some reason, when I do /area_pos1 and /area_pos2 or //1 and //2 and then `//distance` I get an output of `.1f` ? @flux What am I doing wrong?
AliasAlreadyTaken added the
ugh/QA NOK
label 2023-08-25 03:14:41 +00:00
Member

QA

For some reason, when I do /area_pos1 and /area_pos2 or //1 and //2 and then //distance I get an output of .1f ?

@flux What am I doing wrong?

bug in the formatting code.

fixed in 20aedc7b7f

> QA > > For some reason, when I do /area_pos1 and /area_pos2 or //1 and //2 and then `//distance` I get an output of `.1f` ? > > @flux What am I doing wrong? bug in the formatting code. fixed in https://github.com/fluxionary/minetest-debuggery/commit/20aedc7b7fd31c4edbb8393736e7bdc43cbdfbc8

QA

Works :)

QA Works :)
AliasAlreadyTaken added
ugh/QA OK
and removed
ugh/QA NOK
labels 2023-09-11 05:45:44 +00:00
flux added
5. result/fixed
and removed
4. step/ready to QA test
labels 2023-11-17 00:32:07 +00:00
AliasAlreadyTaken was unassigned by flux 2023-11-17 00:32:12 +00:00
Member

this is live :)

this is live :)
flux closed this issue 2023-11-17 00:32:22 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
5 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#5135
No description provided.