Machtrollo reports: I'd like a command /whome (whe ... #631

Closed
opened 2021-06-06 22:37:35 +00:00 by yourland-report · 7 comments

Machtrollo reports a bug:

I'd like a command /whome (where is my home) that displays coordinates of /home, and the 3D distance to it. Optional additions: coordinate deltas, approximate compass direction, absolute yaw, absolute pitch.

Player position:

{
	y = 14.625,
	x = 2087.3100585938,
	z = 1119.4000244141
}

Player look:

{
	y = -0.80592828989029,
	x = -0.40908628702164,
	z = -0.4279345870018
}

Player information:

{
	min_rtt = 0.014000000432134,
	max_rtt = 0.15999999642372,
	connection_uptime = 719,
	max_jitter = 0.14299999177456,
	minor = 4,
	major = 5,
	ip_version = 6,
	formspec_version = 4,
	patch = 1,
	protocol_version = 39,
	serialization_version = 28,
	lang_code = "",
	version_string = "5.4.1",
	avg_rtt = 0.01799999922514,
	state = "Active",
	avg_jitter = 0.0040000006556511,
	min_jitter = 0,
	address = "::ffff:176.199.209.66"
}

Player meta:

{
	fields = {
		["3d_armor_inventory"] = "return {\"3d_armor:helmet_steel 1 12202\", \"shields:shield_steel 1 12202\", \"3d_armor:chestplate_steel 1 12202\", \"3d_armor:boots_crystal 1 1325\", \"\", \"\"}",
		played_time = "940477",
		yl_commons_player_joined = "1623018356",
		["signslib:pos"] = "(2081,16,1119)",
		digged_nodes = "29967",
		bitten = "0",
		partychat = "party",
		yl_church = "return {[\"last_death\"] = {[\"y\"] = 17, [\"x\"] = 1941, [\"z\"] = 1122}}",
		["stamina:level"] = "4",
		xp = "32234",
		arenalib_infobox_arenaID = "0",
		inflicted_damage = "2648",
		crafted = "1280",
		died = "23",
		yl_commons_thankyou = "1",
		punch_count = "371",
		placed_nodes = "14857",
		hud_state = "on",
		repellant = "0",
		yl_commons_player_created = "1610685920"
	}
}

Log identifier


[MOD] yl_report log identifier = n3jwCAYFj1Cgu4RTZ0P6hF0k8P74LenL

Profiler save:

profile-20210607T003734.json_pretty

Status:

# Server: version=5.4.1-yl, uptime=399488, max_lag=1.50504, clients={Sokomine, Machtrollo, Probator, LadyK, ElishQa, ADRIS777, Makenji, Test_User, Ygor, whosit, Service, AliasAlreadyTaken, Bailiff}
Machtrollo reports a bug: > I'd like a command /whome (where is my home) that displays coordinates of /home, and the 3D distance to it. Optional additions: coordinate deltas, approximate compass direction, absolute yaw, absolute pitch. Player position: ``` { y = 14.625, x = 2087.3100585938, z = 1119.4000244141 } ``` Player look: ``` { y = -0.80592828989029, x = -0.40908628702164, z = -0.4279345870018 } ``` Player information: ``` { min_rtt = 0.014000000432134, max_rtt = 0.15999999642372, connection_uptime = 719, max_jitter = 0.14299999177456, minor = 4, major = 5, ip_version = 6, formspec_version = 4, patch = 1, protocol_version = 39, serialization_version = 28, lang_code = "", version_string = "5.4.1", avg_rtt = 0.01799999922514, state = "Active", avg_jitter = 0.0040000006556511, min_jitter = 0, address = "::ffff:176.199.209.66" } ``` Player meta: ``` { fields = { ["3d_armor_inventory"] = "return {\"3d_armor:helmet_steel 1 12202\", \"shields:shield_steel 1 12202\", \"3d_armor:chestplate_steel 1 12202\", \"3d_armor:boots_crystal 1 1325\", \"\", \"\"}", played_time = "940477", yl_commons_player_joined = "1623018356", ["signslib:pos"] = "(2081,16,1119)", digged_nodes = "29967", bitten = "0", partychat = "party", yl_church = "return {[\"last_death\"] = {[\"y\"] = 17, [\"x\"] = 1941, [\"z\"] = 1122}}", ["stamina:level"] = "4", xp = "32234", arenalib_infobox_arenaID = "0", inflicted_damage = "2648", crafted = "1280", died = "23", yl_commons_thankyou = "1", punch_count = "371", placed_nodes = "14857", hud_state = "on", repellant = "0", yl_commons_player_created = "1610685920" } } ``` Log identifier ``` [MOD] yl_report log identifier = n3jwCAYFj1Cgu4RTZ0P6hF0k8P74LenL ``` Profiler save: ``` profile-20210607T003734.json_pretty ``` Status: ``` # Server: version=5.4.1-yl, uptime=399488, max_lag=1.50504, clients={Sokomine, Machtrollo, Probator, LadyK, ElishQa, ADRIS777, Makenji, Test_User, Ygor, whosit, Service, AliasAlreadyTaken, Bailiff} ```
AliasAlreadyTaken was assigned by yourland-report 2021-06-06 22:37:35 +00:00
whosit added the
1. kind/enhancement
label 2021-06-07 07:34:45 +00:00

Having such a command sounds reasonable. Will implement.

Having such a command sounds reasonable. Will implement.
Member

whome reads as "who, me?" and not "(W)here is my (home)"

`whome` reads as "who, me?" and not "(W)here is my (home)"
flux added the
4. step/want approval
label 2022-04-01 21:49:09 +00:00
Member

Perhaps if it was easier to program compasses; cf. #1845. I also swear I once requested that the compass be programmable w/ coordinates from the "personal log", but I can't find a reference to that now...

Perhaps if it was easier to program compasses; cf. #1845. I also swear I once requested that the compass be programmable w/ coordinates from the "personal log", but I can't find a reference to that now...
flux added this to the flux's TODO list project 2022-07-02 18:41:48 +00:00
flux removed the
4. step/want approval
label 2022-07-03 00:44:01 +00:00
flux added the
2. prio/good first issue
label 2022-09-20 20:32:31 +00:00
Member

also, vetoing /whome in favor of /whoami which is a standard unix command.

also, vetoing `/whome` in favor of `/whoami` which is a standard unix command.
flux removed this from the flux's TODO list project 2022-11-19 19:55:51 +00:00

Let's have /whoami output a couple more values. Current level, xp, home position, death position come to mind. Those are no secrets and can be read easily.

Let's have /whoami output a couple more values. Current level, xp, home position, death position come to mind. Those are no secrets and can be read easily.

Fixed in ab17785fc7

Fixed in https://gitea.your-land.de/your-land/yl_commons/commit/ab17785fc746f0ab9e25eb261c8035b7adc1a2dc
AliasAlreadyTaken added the
4. step/ready to QA test
label 2023-03-31 14:58:09 +00:00
AliasAlreadyTaken added this to the 1.1.118 milestone 2023-03-31 14:58:12 +00:00
AliasAlreadyTaken added the
ugh/QA OK
label 2023-04-14 07:09:17 +00:00
flux added
5. result/fixed
and removed
4. step/ready to QA test
labels 2023-04-25 20:13:04 +00:00
AliasAlreadyTaken was unassigned by flux 2023-04-25 20:13:06 +00:00
Member

this is live

this is live
flux closed this issue 2023-04-25 20:13:14 +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#631
No description provided.