rewired_X reports: fishtanks here in bluoxides sh ... #5786

Open
opened 2023-12-22 15:07:19 +00:00 by yourland-report · 2 comments

rewired_X reports a bug:

fishtanks here in bluoxides shop don't show up as an item they are selling when you point your cursor at the smartshop

Player position:

{
	z = 1134.8580322266,
	x = 2085.6899414063,
	y = 15.5
}

Player look:

{
	z = -0.30322536826134,
	x = -0.92553037405014,
	y = 0.22682127356529
}

Player information:

{
	major = 5,
	ip_version = 6,
	min_rtt = 0.11200000345707,
	avg_rtt = 0.11299999803305,
	min_jitter = 0,
	max_jitter = 3.7250001430511,
	avg_jitter = 0.0010000020265579,
	protocol_version = 42,
	minor = 8,
	formspec_version = 7,
	connection_uptime = 1702,
	serialization_version = 29,
	patch = 0,
	lang_code = "",
	max_rtt = 3.8380000591278,
	state = "Active",
	version_string = "5.8.0"
}

Player meta:

{
	fields = {
		played_time = "5951253",
		digged_nodes = "355485",
		placed_nodes = "77163",
		died = "848",
		crafted = "131680",
		["stamina:exhaustion"] = "37.5",
		partychat = "party",
		yl_commons_player_created = "1659200153",
		yl_commons_player_joined = "1703255958",
		["stamina:poisoned"] = "no",
		arenalib_watchID = "0",
		["signslib:pos"] = "(3475,65,715)",
		["stamina:level"] = "17",
		jointime = "1659200153",
		bitten = "0",
		["ocean_build.last_warning"] = "1.67388e+09",
		xp = "273099",
		hud_state = "on",
		["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}",
		yl_commons_thankyou = "55",
		["ocean_build.forbidden"] = "true",
		punch_count = "191304",
		["ocean_build.ocean_built"] = "12",
		inflicted_damage = "4038050",
		arenalib_infobox_arenaID = "0",
		["3d_armor_inventory"] = "return {\"3d_armor:boots_crystal 1 25160\", \"3d_armor:chestplate_crystal 1 23100\", \"shields:shield_rainbow 1 18400\", \"3d_armor:leggings_crystal 1 32460\", \"3d_armor:helmet_crystal 1 23100\", \"\"}",
		yl_church = "return {[\"last_death\"] = {[\"z\"] = 1395, [\"x\"] = -2409, [\"y\"] = 46}, [\"last_heal\"] = 1690328119, [\"last_death_portal\"] = 1703248947}",
		xp_redo_hud_color = "0xFF00FF",
		repellant = "0"
	}
}

Log identifier


[MOD] yl_report log identifier = xLlCbPVQwvpioMGthBGbgK46nbAGHHFE

Profiler save:

profile-20231222T150719.json_prettyEE

Status:

# Server: version: 5.7.0-yl-thx-tmm | game: Minetest Game | uptime: 3d 58min 44s | max lag: 1.59s | clients (25/52): Administrator, AliasAlreadyTaken, Bingo, bleek, Boot, BTS-, Davidsoft, daydream, DragonWrangler1, Giuseppe, Heron, Keya, mahou, Murmel, Neon_, Noii, Parrish, pasqualino, Rattrap, Ravise, rewired_X, Service, Sybil, Transformers, Tute

Teleport command:

/teleport xyz 2086 16 1135

Compass command:

/give_compass Construction xLlCbPVQwvpioMGthBGbgK46nbAGHHFE D2691E 2086 16 1135
rewired_X reports a bug: > fishtanks here in bluoxides shop don't show up as an item they are selling when you point your cursor at the smartshop Player position: ``` { z = 1134.8580322266, x = 2085.6899414063, y = 15.5 } ``` Player look: ``` { z = -0.30322536826134, x = -0.92553037405014, y = 0.22682127356529 } ``` Player information: ``` { major = 5, ip_version = 6, min_rtt = 0.11200000345707, avg_rtt = 0.11299999803305, min_jitter = 0, max_jitter = 3.7250001430511, avg_jitter = 0.0010000020265579, protocol_version = 42, minor = 8, formspec_version = 7, connection_uptime = 1702, serialization_version = 29, patch = 0, lang_code = "", max_rtt = 3.8380000591278, state = "Active", version_string = "5.8.0" } ``` Player meta: ``` { fields = { played_time = "5951253", digged_nodes = "355485", placed_nodes = "77163", died = "848", crafted = "131680", ["stamina:exhaustion"] = "37.5", partychat = "party", yl_commons_player_created = "1659200153", yl_commons_player_joined = "1703255958", ["stamina:poisoned"] = "no", arenalib_watchID = "0", ["signslib:pos"] = "(3475,65,715)", ["stamina:level"] = "17", jointime = "1659200153", bitten = "0", ["ocean_build.last_warning"] = "1.67388e+09", xp = "273099", hud_state = "on", ["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}", yl_commons_thankyou = "55", ["ocean_build.forbidden"] = "true", punch_count = "191304", ["ocean_build.ocean_built"] = "12", inflicted_damage = "4038050", arenalib_infobox_arenaID = "0", ["3d_armor_inventory"] = "return {\"3d_armor:boots_crystal 1 25160\", \"3d_armor:chestplate_crystal 1 23100\", \"shields:shield_rainbow 1 18400\", \"3d_armor:leggings_crystal 1 32460\", \"3d_armor:helmet_crystal 1 23100\", \"\"}", yl_church = "return {[\"last_death\"] = {[\"z\"] = 1395, [\"x\"] = -2409, [\"y\"] = 46}, [\"last_heal\"] = 1690328119, [\"last_death_portal\"] = 1703248947}", xp_redo_hud_color = "0xFF00FF", repellant = "0" } } ``` Log identifier ``` [MOD] yl_report log identifier = xLlCbPVQwvpioMGthBGbgK46nbAGHHFE ``` Profiler save: ``` profile-20231222T150719.json_prettyEE ``` Status: ``` # Server: version: 5.7.0-yl-thx-tmm | game: Minetest Game | uptime: 3d 58min 44s | max lag: 1.59s | clients (25/52): Administrator, AliasAlreadyTaken, Bingo, bleek, Boot, BTS-, Davidsoft, daydream, DragonWrangler1, Giuseppe, Heron, Keya, mahou, Murmel, Neon_, Noii, Parrish, pasqualino, Rattrap, Ravise, rewired_X, Service, Sybil, Transformers, Tute ``` Teleport command: ``` /teleport xyz 2086 16 1135 ``` Compass command: ``` /give_compass Construction xLlCbPVQwvpioMGthBGbgK46nbAGHHFE D2691E 2086 16 1135 ```
AliasAlreadyTaken was assigned by yourland-report 2023-12-22 15:07:19 +00:00

![](https://gitea.your-land.de/attachments/3a81305c-42b0-4c1b-a358-301b3584a8e6)
flux added the
1. kind/bug
3. source/client
labels 2023-12-22 20:21:27 +00:00
Member

this is a limitation of the "infotext" feature of the minetest client: e0d4a9d575/doc/lua_api.md?plain=1#L2461-L2463

there is no programmatic control over how many lines it can be, or how wide. because we're displaying item descriptions, we also can't truncate them without losing translation abilities.

possible solutions which don't involve some sort of fundamental change to the client:

  • don't put lots of items with long descriptions in the same smartshop
  • create better short descriptions for individual items
this is a limitation of the "infotext" feature of the minetest client: https://github.com/minetest/minetest/blob/e0d4a9d5756e66102cfc05dc9a187c5ada8cf0be/doc/lua_api.md?plain=1#L2461-L2463 there is no programmatic control over how many lines it can be, or how wide. because we're displaying item descriptions, we also can't truncate them without losing translation abilities. possible solutions which don't involve some sort of fundamental change to the client: * don't put lots of items with long descriptions in the same smartshop * create better short descriptions for individual items
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#5786
No description provided.