flux reports: smartshop: Ignoring escape seq ... #2282

Closed
opened 2022-07-20 03:18:54 +00:00 by yourland-report · 5 comments

flux reports a bug:

smartshop: Ignoring escape sequence 'T@nether' in translation

Player position:

{
	y = 0.5,
	x = 1582.7810058594,
	z = 1123.2399902344
}

Player look:

{
	y = -0.59285682439804,
	x = 0.062062814831734,
	z = -0.80291283130646
}

Player information:

{
	min_rtt = 0.15000000596046,
	max_rtt = 5.5920000076294,
	connection_uptime = 40362,
	max_jitter = 4.4359998703003,
	minor = 6,
	major = 5,
	ip_version = 6,
	formspec_version = 5,
	patch = 0,
	protocol_version = 40,
	serialization_version = 29,
	lang_code = "",
	version_string = "5.6.0-dev-0db22e793-dirty",
	avg_rtt = 0.1630000025034,
	state = "Active",
	avg_jitter = 0.0020000040531158,
	min_jitter = 0
}

Player meta:

{
	fields = {
		["3d_armor_inventory"] = "return {\"nether_mobs:dragon_boots 1 4180\", \"3d_armor:leggings_nether 1 8360\", \"3d_armor:chestplate_nether 1 8360\", \"3d_armor:helmet_nether 1 4180\", \"nether_mobs:dragon_shield 1 4180\", \"\"}",
		["petz:werewolf_vignette_id"] = "20",
		["petz:werewolf"] = "0",
		jointime = "1615351173",
		["stamina:poisoned"] = "no",
		["stamina:exhaustion"] = "59.5",
		["signslib:pos"] = "(1274,70,546)",
		digged_nodes = "1078550",
		yl_commons_player_joined = "1658246790",
		yl_commons_thankyou = "130",
		bitten = "0",
		["unified_inventory:bags"] = "return {\"water_life:croc_bag\", \"water_life:croc_bag\", \"water_life:croc_bag\", \"water_life:croc_bag\"}",
		partychat = "party",
		played_time = "20073880",
		["petz:lycanthropy"] = "1",
		yl_church = "return {[\"last_death\"] = {[\"y\"] = 48, [\"x\"] = 1289, [\"z\"] = 624}, [\"last_heal\"] = 1615504208, [\"last_death_portal\"] = 1653796347}",
		["petz:old_override_table"] = "return {[\"new_move\"] = true, [\"sneak\"] = true, [\"sneak_glitch\"] = false, [\"jump\"] = 1.5, [\"speed\"] = 2, [\"gravity\"] = 1}",
		["stamina:level"] = "13",
		xp = "1268676",
		arenalib_infobox_arenaID = "0",
		inflicted_damage = "1355034",
		crafted = "38779",
		["petz:werewolf_clan_idx"] = "1",
		punch_count = "83136",
		died = "66",
		placed_nodes = "353055",
		hud_state = "on",
		repellant = "0",
		yl_commons_player_created = "1615351173"
	}
}

Log identifier


[MOD] yl_report log identifier = 8zWPYXrE8FBPvibItthi28AONpNX9IC5

Profiler save:

profile-20220720T051853.json_prettyEE

Status:

# Server: version: 5.5.1-yl | game: Minetest Game | uptime: 1d 17h 59min 46s | max lag: 2.39s | clients: DanteLives, evil123, NiceSasa, Cody, Service, AliasAlreadyTaken, Therottenpotato, Bailiff, AspireMint, flux, tontolava

Teleport command:

/teleport xyz 1583 1 1123

Compass command:

/give_compass Construction 8zWPYXrE8FBPvibItthi28AONpNX9IC5 D2691E 1583 1 1123
flux reports a bug: > smartshop: Ignoring escape sequence 'T@nether' in translation Player position: ``` { y = 0.5, x = 1582.7810058594, z = 1123.2399902344 } ``` Player look: ``` { y = -0.59285682439804, x = 0.062062814831734, z = -0.80291283130646 } ``` Player information: ``` { min_rtt = 0.15000000596046, max_rtt = 5.5920000076294, connection_uptime = 40362, max_jitter = 4.4359998703003, minor = 6, major = 5, ip_version = 6, formspec_version = 5, patch = 0, protocol_version = 40, serialization_version = 29, lang_code = "", version_string = "5.6.0-dev-0db22e793-dirty", avg_rtt = 0.1630000025034, state = "Active", avg_jitter = 0.0020000040531158, min_jitter = 0 } ``` Player meta: ``` { fields = { ["3d_armor_inventory"] = "return {\"nether_mobs:dragon_boots 1 4180\", \"3d_armor:leggings_nether 1 8360\", \"3d_armor:chestplate_nether 1 8360\", \"3d_armor:helmet_nether 1 4180\", \"nether_mobs:dragon_shield 1 4180\", \"\"}", ["petz:werewolf_vignette_id"] = "20", ["petz:werewolf"] = "0", jointime = "1615351173", ["stamina:poisoned"] = "no", ["stamina:exhaustion"] = "59.5", ["signslib:pos"] = "(1274,70,546)", digged_nodes = "1078550", yl_commons_player_joined = "1658246790", yl_commons_thankyou = "130", bitten = "0", ["unified_inventory:bags"] = "return {\"water_life:croc_bag\", \"water_life:croc_bag\", \"water_life:croc_bag\", \"water_life:croc_bag\"}", partychat = "party", played_time = "20073880", ["petz:lycanthropy"] = "1", yl_church = "return {[\"last_death\"] = {[\"y\"] = 48, [\"x\"] = 1289, [\"z\"] = 624}, [\"last_heal\"] = 1615504208, [\"last_death_portal\"] = 1653796347}", ["petz:old_override_table"] = "return {[\"new_move\"] = true, [\"sneak\"] = true, [\"sneak_glitch\"] = false, [\"jump\"] = 1.5, [\"speed\"] = 2, [\"gravity\"] = 1}", ["stamina:level"] = "13", xp = "1268676", arenalib_infobox_arenaID = "0", inflicted_damage = "1355034", crafted = "38779", ["petz:werewolf_clan_idx"] = "1", punch_count = "83136", died = "66", placed_nodes = "353055", hud_state = "on", repellant = "0", yl_commons_player_created = "1615351173" } } ``` Log identifier ``` [MOD] yl_report log identifier = 8zWPYXrE8FBPvibItthi28AONpNX9IC5 ``` Profiler save: ``` profile-20220720T051853.json_prettyEE ``` Status: ``` # Server: version: 5.5.1-yl | game: Minetest Game | uptime: 1d 17h 59min 46s | max lag: 2.39s | clients: DanteLives, evil123, NiceSasa, Cody, Service, AliasAlreadyTaken, Therottenpotato, Bailiff, AspireMint, flux, tontolava ``` Teleport command: ``` /teleport xyz 1583 1 1123 ``` Compass command: ``` /give_compass Construction 8zWPYXrE8FBPvibItthi28AONpNX9IC5 D2691E 1583 1 1123 ```
AliasAlreadyTaken was assigned by yourland-report 2022-07-20 03:18:54 +00:00
flux added the
1. kind/bug
2. prio/elevated
labels 2022-07-20 15:24:42 +00:00
flux added this to the flux's TODO list project 2022-07-20 15:24:45 +00:00
Member

ugh this is a bug w/ the engine. ItemStack():get_short_description() doesn't handle multiline translations (or multiline colored text) properly.

ugh this is a bug w/ the engine. `ItemStack():get_short_description()` doesn't handle multiline translations (or multiline colored text) properly.
Member
upstream issue: https://github.com/minetest/minetest/issues/12566
flux added the
3. source/mod upstream
3. source/engine
labels 2022-07-20 17:14:55 +00:00
Member

in the meantime, i guess i'll have to write a parser that can properly close escape sequences when truncating a description to the first line

in the meantime, i guess i'll have to write a parser that can properly close escape sequences when truncating a description to the first line
flux added the
4. step/at work
label 2022-07-20 18:20:06 +00:00
Member

fixed for the smartshop specifically, via 01c7ad8688

fixed for the smartshop specifically, via https://github.com/fluxionary/minetest-smartshop/commit/01c7ad8688bcb8f27b5fcbfc93452f7115b67f19
flux self-assigned this 2022-07-20 21:54:07 +00:00
flux added
4. step/ready to QA test
and removed
4. step/at work
labels 2022-07-20 21:54:11 +00:00
flux removed the
3. source/mod upstream
label 2022-07-20 22:56:26 +00:00
flux added
5. result/fixed
and removed
4. step/ready to QA test
labels 2022-07-28 18:50:20 +00:00
flux removed this from the flux's TODO list project 2022-07-28 18:50:27 +00:00
AliasAlreadyTaken was unassigned by flux 2022-07-28 18:50:30 +00:00
flux removed their assignment 2022-07-28 18:50:30 +00:00
Member

this is live (at least the smartshop fix)

this is live (at least the smartshop fix)
flux closed this issue 2022-07-28 18:50:41 +00:00
AliasAlreadyTaken added this to the 1.1.115 milestone 2022-07-29 18:12:53 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 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#2282
No description provided.