AspireMint reports: Show infotext (name) when poin ... #6584

Open
opened 2024-03-28 16:11:19 +00:00 by yourland-report · 5 comments

AspireMint reports a bug:

Show infotext (name) when pointing at coat of arms. Show formspec on left-click with details/shortstory (+ maybe image of shield/area)

Player position:

{
	y = 18,
	z = 1172.3010253906,
	x = 1981.1240234375
}

Player look:

{
	y = -0.51638388633728,
	z = 0.85631632804871,
	x = -0.0083697093650699
}

Player information:

{
	formspec_version = 6,
	max_rtt = 42.09700012207,
	ip_version = 6,
	min_rtt = 0.025000000372529,
	major = 5,
	min_jitter = 0,
	max_jitter = 41.705001831055,
	avg_jitter = 0.0030000004917383,
	connection_uptime = 10903,
	serialization_version = 29,
	patch = 0,
	state = "Active",
	minor = 7,
	lang_code = "",
	protocol_version = 42,
	version_string = "5.7.0",
	avg_rtt = 0.029999999329448
}

Player meta:

{
	fields = {
		["petz:werewolf"] = "0",
		crafted = "161721",
		["petz:lycanthropy"] = "1",
		hud_state = "on",
		["3d_armor_inventory"] = "return {\"3d_armor:helmet_nether 1 12120\", \"shields:shield_nether 1 24240\", \"3d_armor:boots_crystal 1 12120\", \"3d_armor:leggings_nether 1 34400\", \"3d_armor:chestplate_nether 1 24240\", \"\"}",
		bitten = "0",
		partychat = "party",
		yl_commons_player_created = "1619715757",
		["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"water_life:croc_bag\"}",
		["stamina:level"] = "10",
		yl_church = "return {[\"last_death\"] = {[\"y\"] = 47, [\"z\"] = 21486, [\"x\"] = -407}, [\"last_death_portal\"] = 1711641268, [\"last_heal\"] = 1708702962}",
		["stamina:poisoned"] = "no",
		jointime = "1619715757",
		["stamina:exhaustion"] = "0",
		xp = "2258008",
		yl_commons_thankyou = "333",
		played_time = "7739214",
		digged_nodes = "2176551",
		placed_nodes = "411323",
		died = "396",
		["signslib:pos"] = "(-428,56,21498)",
		yl_commons_player_joined = "1711631441",
		["petz:werewolf_clan_idx"] = "3",
		arenalib_infobox_arenaID = "0",
		inflicted_damage = "12669410",
		repellant = "0",
		hotbar_size = "16",
		["ocean_build.last_warning"] = "1.65674e+09",
		["ocean_build.forbidden"] = "true",
		["ocean_build.ocean_built"] = "12",
		punch_count = "585815"
	}
}

Log identifier


[MOD] yl_report log identifier = bs5rHAaHo6PWULrulsaFWhnzzOatySaG

Profiler save:

profile-20240328T161119.json_prettyEE

Status:

# Server: version: 5.7.0-yl-thx-tmm | game: Minetest Game | uptime: 4d 3h 33min 23s | max lag: 0.771s | clients (14/52): AliasAlreadyTaken, Archibald, AspireMint, Bailiff, Boot, Davidsoft, flux, JinnyC, Joelchacko, LeetPeet, Murmel, pifo, rheo, Service

Teleport command:

/teleport xyz 1981 18 1172

Compass command:

/give_compass Construction bs5rHAaHo6PWULrulsaFWhnzzOatySaG D2691E 1981 18 1172
AspireMint reports a bug: > Show infotext (name) when pointing at coat of arms. Show formspec on left-click with details/shortstory (+ maybe image of shield/area) Player position: ``` { y = 18, z = 1172.3010253906, x = 1981.1240234375 } ``` Player look: ``` { y = -0.51638388633728, z = 0.85631632804871, x = -0.0083697093650699 } ``` Player information: ``` { formspec_version = 6, max_rtt = 42.09700012207, ip_version = 6, min_rtt = 0.025000000372529, major = 5, min_jitter = 0, max_jitter = 41.705001831055, avg_jitter = 0.0030000004917383, connection_uptime = 10903, serialization_version = 29, patch = 0, state = "Active", minor = 7, lang_code = "", protocol_version = 42, version_string = "5.7.0", avg_rtt = 0.029999999329448 } ``` Player meta: ``` { fields = { ["petz:werewolf"] = "0", crafted = "161721", ["petz:lycanthropy"] = "1", hud_state = "on", ["3d_armor_inventory"] = "return {\"3d_armor:helmet_nether 1 12120\", \"shields:shield_nether 1 24240\", \"3d_armor:boots_crystal 1 12120\", \"3d_armor:leggings_nether 1 34400\", \"3d_armor:chestplate_nether 1 24240\", \"\"}", bitten = "0", partychat = "party", yl_commons_player_created = "1619715757", ["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"water_life:croc_bag\"}", ["stamina:level"] = "10", yl_church = "return {[\"last_death\"] = {[\"y\"] = 47, [\"z\"] = 21486, [\"x\"] = -407}, [\"last_death_portal\"] = 1711641268, [\"last_heal\"] = 1708702962}", ["stamina:poisoned"] = "no", jointime = "1619715757", ["stamina:exhaustion"] = "0", xp = "2258008", yl_commons_thankyou = "333", played_time = "7739214", digged_nodes = "2176551", placed_nodes = "411323", died = "396", ["signslib:pos"] = "(-428,56,21498)", yl_commons_player_joined = "1711631441", ["petz:werewolf_clan_idx"] = "3", arenalib_infobox_arenaID = "0", inflicted_damage = "12669410", repellant = "0", hotbar_size = "16", ["ocean_build.last_warning"] = "1.65674e+09", ["ocean_build.forbidden"] = "true", ["ocean_build.ocean_built"] = "12", punch_count = "585815" } } ``` Log identifier ``` [MOD] yl_report log identifier = bs5rHAaHo6PWULrulsaFWhnzzOatySaG ``` Profiler save: ``` profile-20240328T161119.json_prettyEE ``` Status: ``` # Server: version: 5.7.0-yl-thx-tmm | game: Minetest Game | uptime: 4d 3h 33min 23s | max lag: 0.771s | clients (14/52): AliasAlreadyTaken, Archibald, AspireMint, Bailiff, Boot, Davidsoft, flux, JinnyC, Joelchacko, LeetPeet, Murmel, pifo, rheo, Service ``` Teleport command: ``` /teleport xyz 1981 18 1172 ``` Compass command: ``` /give_compass Construction bs5rHAaHo6PWULrulsaFWhnzzOatySaG D2691E 1981 18 1172 ```
AliasAlreadyTaken was assigned by yourland-report 2024-03-28 16:11:19 +00:00
flux added the
1. kind/enhancement
label 2024-03-28 18:09:30 +00:00
Member

the infotext is something i've wanted for a long time, not sure why i didn't propose it earlier.

the infotext is something i've wanted for a long time, not sure why i didn't propose it earlier.

Sounds like a good idea. I'm trying to make castle_shields wearable these days anyways and the infotext part is a rather simple fix in comparison :P

Regarding the formspec ... hm. There is no "mouseover" event in minetest that lets us display more than this infotext, right?

A formspec could be part of the cities update.

Sounds like a good idea. I'm trying to make castle_shields wearable these days anyways and the infotext part is a rather simple fix in comparison :P Regarding the formspec ... hm. There is no "mouseover" event in minetest that lets us display more than this infotext, right? A formspec could be part of the cities update.
AliasAlreadyTaken added this to the 1.2 Cities and Invasions milestone 2024-03-29 03:59:10 +00:00
Member

There is no "mouseover" event in minetest that lets us display more than this infotext, right?

no, though we could hack something that every server step, checks where a player is looking and whether the thing they're looking at is within their interact range, and puts up something in the HUD. i'm not sure i'm in favor of that though.

> There is no "mouseover" event in minetest that lets us display more than this infotext, right? no, though we could hack something that every server step, checks where a player is looking and whether the thing they're looking at is within their interact range, and puts up something in the HUD. i'm not sure i'm in favor of that though.

"Where a player is looking" sounds like raycasting?

"Where a player is looking" sounds like raycasting?
Member

"Where a player is looking" sounds like raycasting?

yes

> "Where a player is looking" sounds like raycasting? yes
Sign in to join this conversation.
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#6584
No description provided.