Bla reports: [matterbridge] names starting ... #2815

Closed
opened 2022-10-05 11:17:29 +00:00 by yourland-report · 1 comment

Bla reports a bug:

[matterbridge] names starting & ending with _ are displayed on discord as italic which isnt that bad but the _ get removed which alters the displayed playername

edit: had to quote the _ because gitea also parses them 😆

Player position:

{
	x = 2033.8400878906,
	y = 15,
	z = 1108.0400390625
}

Player look:

{
	x = 0.89741826057434,
	y = -0.11355002969503,
	z = -0.42631778120995
}

Player information:

{
	ip_version = 6,
	min_rtt = 0.026000000536442,
	max_rtt = 0.91799998283386,
	avg_rtt = 0.028000000864267,
	min_jitter = 0,
	max_jitter = 0.72699999809265,
	avg_jitter = 0,
	connection_uptime = 560,
	serialization_version = 29,
	patch = 0,
	major = 5,
	minor = 7,
	version_string = "5.7.0-dev-ec778508d-dirty",
	state = "Active",
	lang_code = "",
	protocol_version = 41,
	formspec_version = 6
}

Player meta:

{
	fields = {
		xp = "1648535",
		partychat = "party",
		yl_church = "return {[\"last_death_portal\"] = 1663192717, [\"last_death\"] = {[\"z\"] = 797, [\"x\"] = 2400, [\"y\"] = 29607}, [\"last_heal\"] = 1635970005}",
		["ocean_build.last_warning"] = "1.66187e+09",
		["ocean_build.forbidden"] = "true",
		["ocean_build.ocean_built"] = "12",
		yl_commons_player_created = "1635266646",
		yl_commons_player_joined = "1664968109",
		yl_commons_thankyou = "313",
		["3d_armor_inventory"] = "return {\"3d_armor:boots_crystal 1 5800\", \"shields:shield_crystal 1 8880\", \"3d_armor:leggings_crystal 1 8880\", \"3d_armor:chestplate_crystal 1 8880\", \"3d_armor:helmet_crystal 1 8880\", \"\"}",
		bitten = "0",
		["unified_inventory:bags"] = "return {\"water_life:croc_bag\", \"water_life:croc_bag\", \"water_life:croc_bag\", \"water_life:croc_bag\"}",
		repellant = "0",
		played_time = "9375568",
		["stamina:level"] = "15",
		ui_waypoints = "{\"data\":[{\"active\":false,\"color\":2.0,\"display_pos\":true,\"world_pos\":{\"x\":-448.0,\"y\":25.0,\"z\":1341.0}},{\"active\":false,\"world_pos\":{\"x\":-447.0,\"y\":25.0,\"z\":1344.0}}],\"selected\":1.0}",
		["stamina:poisoned"] = "no",
		inflicted_damage = "2768340",
		["stamina:exhaustion"] = "15.5",
		digged_nodes = "1374288",
		punch_count = "141227",
		["signslib:pos"] = "(1038,15,1987)",
		jointime = "1635266646",
		hud_state = "on",
		placed_nodes = "429295",
		died = "101",
		crafted = "31263",
		arenalib_infobox_arenaID = "0"
	}
}

Log identifier


[MOD] yl_report log identifier = rPdT9iHRMWChRRtFLpC5W9k6qpaGKf53

Profiler save:

profile-20221005T111729.json_prettyEE

Status:

# Server: version: 5.6.1-yl | game: Minetest Game | uptime: 27min 29s | max lag: 1.07s | clients: Murmel, Bla, mtwalker, 9T9, _PENNY_, Service, AliasAlreadyTaken, Ernesto, Bailiff

Teleport command:

/teleport xyz 2034 15 1108

Compass command:

/give_compass Construction rPdT9iHRMWChRRtFLpC5W9k6qpaGKf53 D2691E 2034 15 1108
Bla reports a bug: > [matterbridge] names starting & ending with _ are displayed on discord as italic which isnt that bad but the _ get removed which alters the displayed playername edit: had to quote the _ because gitea also parses them 😆 Player position: ``` { x = 2033.8400878906, y = 15, z = 1108.0400390625 } ``` Player look: ``` { x = 0.89741826057434, y = -0.11355002969503, z = -0.42631778120995 } ``` Player information: ``` { ip_version = 6, min_rtt = 0.026000000536442, max_rtt = 0.91799998283386, avg_rtt = 0.028000000864267, min_jitter = 0, max_jitter = 0.72699999809265, avg_jitter = 0, connection_uptime = 560, serialization_version = 29, patch = 0, major = 5, minor = 7, version_string = "5.7.0-dev-ec778508d-dirty", state = "Active", lang_code = "", protocol_version = 41, formspec_version = 6 } ``` Player meta: ``` { fields = { xp = "1648535", partychat = "party", yl_church = "return {[\"last_death_portal\"] = 1663192717, [\"last_death\"] = {[\"z\"] = 797, [\"x\"] = 2400, [\"y\"] = 29607}, [\"last_heal\"] = 1635970005}", ["ocean_build.last_warning"] = "1.66187e+09", ["ocean_build.forbidden"] = "true", ["ocean_build.ocean_built"] = "12", yl_commons_player_created = "1635266646", yl_commons_player_joined = "1664968109", yl_commons_thankyou = "313", ["3d_armor_inventory"] = "return {\"3d_armor:boots_crystal 1 5800\", \"shields:shield_crystal 1 8880\", \"3d_armor:leggings_crystal 1 8880\", \"3d_armor:chestplate_crystal 1 8880\", \"3d_armor:helmet_crystal 1 8880\", \"\"}", bitten = "0", ["unified_inventory:bags"] = "return {\"water_life:croc_bag\", \"water_life:croc_bag\", \"water_life:croc_bag\", \"water_life:croc_bag\"}", repellant = "0", played_time = "9375568", ["stamina:level"] = "15", ui_waypoints = "{\"data\":[{\"active\":false,\"color\":2.0,\"display_pos\":true,\"world_pos\":{\"x\":-448.0,\"y\":25.0,\"z\":1341.0}},{\"active\":false,\"world_pos\":{\"x\":-447.0,\"y\":25.0,\"z\":1344.0}}],\"selected\":1.0}", ["stamina:poisoned"] = "no", inflicted_damage = "2768340", ["stamina:exhaustion"] = "15.5", digged_nodes = "1374288", punch_count = "141227", ["signslib:pos"] = "(1038,15,1987)", jointime = "1635266646", hud_state = "on", placed_nodes = "429295", died = "101", crafted = "31263", arenalib_infobox_arenaID = "0" } } ``` Log identifier ``` [MOD] yl_report log identifier = rPdT9iHRMWChRRtFLpC5W9k6qpaGKf53 ``` Profiler save: ``` profile-20221005T111729.json_prettyEE ``` Status: ``` # Server: version: 5.6.1-yl | game: Minetest Game | uptime: 27min 29s | max lag: 1.07s | clients: Murmel, Bla, mtwalker, 9T9, _PENNY_, Service, AliasAlreadyTaken, Ernesto, Bailiff ``` Teleport command: ``` /teleport xyz 2034 15 1108 ``` Compass command: ``` /give_compass Construction rPdT9iHRMWChRRtFLpC5W9k6qpaGKf53 D2691E 2034 15 1108 ```
AliasAlreadyTaken was assigned by yourland-report 2022-10-05 11:17:29 +00:00
flux added the
1. kind/bug
3. source/mod upstream
labels 2022-10-05 14:12:19 +00:00
flux removed the
3. source/mod upstream
label 2022-10-05 14:14:18 +00:00

There is no way to prevent formatting of messages in a discord channel.

This will affect any other chat system as well as soon as someone uses formatting characters.

https://github.com/42wim/matterbridge/wiki/Section-Discord-%28basic%29

However there is a way to format the nick.

I changed

RemoteNickFormat="<{NICK}> "

to

RemoteNickFormat="`<{NICK}>` "
There is no way to prevent formatting of messages in a discord channel. This will affect any other chat system as well as soon as someone uses formatting characters. https://github.com/42wim/matterbridge/wiki/Section-Discord-%28basic%29 However there is a way to format the nick. I changed ``` RemoteNickFormat="<{NICK}> " ``` to ``` RemoteNickFormat="`<{NICK}>` " ```
AliasAlreadyTaken added the
3. source/integration
5. result/fixed
labels 2022-10-10 11:19:16 +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#2815
No description provided.