Ravise reports: way to pre-program a /look fla ... #4677

Closed
opened 2023-06-03 20:43:30 +00:00 by yourland-report · 6 comments

Ravise reports a bug:

way to pre-program a /look flag (waypoint_announce:flag) with custom message - so a flag will always say e.g. regroup, or safe, or whatever

Player position:

{
	x = 3390.9809570313,
	y = 64.5,
	z = 747.02697753906
}

Player look:

{
	x = -0.07966735959053,
	y = -0.068015292286873,
	z = 0.99449837207794
}

Player information:

{
	max_rtt = 3,
	version_string = "5.8.0-dev-180ec92ef-dirty",
	formspec_version = 6,
	state = "Active",
	protocol_version = 42,
	minor = 8,
	ip_version = 6,
	min_rtt = 0.019999999552965,
	avg_rtt = 0.046999998390675,
	min_jitter = 0,
	max_jitter = 2.5339999198914,
	avg_jitter = 0.024999998509884,
	connection_uptime = 10609,
	major = 5,
	patch = 0,
	lang_code = "cs",
	serialization_version = 29
}

Player meta:

{
	fields = {
		xp = "669154",
		punch_count = "85231",
		inflicted_damage = "1583622",
		yl_church = "return {[\"last_death\"] = {[\"x\"] = 2397, [\"y\"] = 20, [\"z\"] = 2115}, [\"last_death_portal\"] = 1684441375}",
		died = "87",
		bitten = "0",
		partynoinvite = "true",
		["3d_armor_inventory"] = "return {\"3d_armor:helmet_rainbow 1 8432\", \"3d_armor:chestplate_rainbow 1 8432\", \"3d_armor:leggings_rainbow 1 8432\", \"shields:shield_rainbow 1 8432\", \"3d_armor:boots_crystal 1 4040\", \"\"}",
		yl_commons_thankyou = "126",
		["ocean_build.last_warning"] = "1.65212e+09",
		["stamina:poisoned"] = "no",
		["ocean_build.ocean_built"] = "11",
		["stamina:level"] = "16",
		partychat = "party",
		arenalib_infobox_arenaID = "0",
		played_time = "7207804",
		["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}",
		hud_state = "off",
		yl_commons_player_joined = "1685814409",
		repellant = "0",
		jointime = "1612098151",
		["signslib:pos"] = "(6521,-24,10490)",
		yl_commons_player_created = "1612098151",
		digged_nodes = "1174780",
		placed_nodes = "202400",
		["stamina:exhaustion"] = "147.5",
		crafted = "54883"
	}
}

Log identifier


[MOD] yl_report log identifier = i5Ry7bOmUNBGVCr6UMpfhsP3j9piyngy

Profiler save:

profile-20230603T204330.json_prettyEE

Status:

# Server: version: 5.7.0-yl-thx-tmm | game: Minetest Game | uptime: 1d 23h 15min 18s | max lag: 0.342s | clients (27/52): 1234, AliasAlreadyTaken, APercy, Bailiff, Bishiro, Boot, copper248, DanteLeo, drgn, flux, Giorge, Gojiban, IIIullaIII, jackofthebean000, Kalek, laira, niceride, Nodes, Ravise, savana_g, Sense, Service, smith1, Sokomine, STEALTH, Sysmatic, upie

Teleport command:

/teleport xyz 3391 65 747

Compass command:

/give_compass Construction i5Ry7bOmUNBGVCr6UMpfhsP3j9piyngy D2691E 3391 65 747
Ravise reports a bug: > way to pre-program a /look flag (waypoint_announce:flag) with custom message - so a flag will always say e.g. regroup, or safe, or whatever Player position: ``` { x = 3390.9809570313, y = 64.5, z = 747.02697753906 } ``` Player look: ``` { x = -0.07966735959053, y = -0.068015292286873, z = 0.99449837207794 } ``` Player information: ``` { max_rtt = 3, version_string = "5.8.0-dev-180ec92ef-dirty", formspec_version = 6, state = "Active", protocol_version = 42, minor = 8, ip_version = 6, min_rtt = 0.019999999552965, avg_rtt = 0.046999998390675, min_jitter = 0, max_jitter = 2.5339999198914, avg_jitter = 0.024999998509884, connection_uptime = 10609, major = 5, patch = 0, lang_code = "cs", serialization_version = 29 } ``` Player meta: ``` { fields = { xp = "669154", punch_count = "85231", inflicted_damage = "1583622", yl_church = "return {[\"last_death\"] = {[\"x\"] = 2397, [\"y\"] = 20, [\"z\"] = 2115}, [\"last_death_portal\"] = 1684441375}", died = "87", bitten = "0", partynoinvite = "true", ["3d_armor_inventory"] = "return {\"3d_armor:helmet_rainbow 1 8432\", \"3d_armor:chestplate_rainbow 1 8432\", \"3d_armor:leggings_rainbow 1 8432\", \"shields:shield_rainbow 1 8432\", \"3d_armor:boots_crystal 1 4040\", \"\"}", yl_commons_thankyou = "126", ["ocean_build.last_warning"] = "1.65212e+09", ["stamina:poisoned"] = "no", ["ocean_build.ocean_built"] = "11", ["stamina:level"] = "16", partychat = "party", arenalib_infobox_arenaID = "0", played_time = "7207804", ["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}", hud_state = "off", yl_commons_player_joined = "1685814409", repellant = "0", jointime = "1612098151", ["signslib:pos"] = "(6521,-24,10490)", yl_commons_player_created = "1612098151", digged_nodes = "1174780", placed_nodes = "202400", ["stamina:exhaustion"] = "147.5", crafted = "54883" } } ``` Log identifier ``` [MOD] yl_report log identifier = i5Ry7bOmUNBGVCr6UMpfhsP3j9piyngy ``` Profiler save: ``` profile-20230603T204330.json_prettyEE ``` Status: ``` # Server: version: 5.7.0-yl-thx-tmm | game: Minetest Game | uptime: 1d 23h 15min 18s | max lag: 0.342s | clients (27/52): 1234, AliasAlreadyTaken, APercy, Bailiff, Bishiro, Boot, copper248, DanteLeo, drgn, flux, Giorge, Gojiban, IIIullaIII, jackofthebean000, Kalek, laira, niceride, Nodes, Ravise, savana_g, Sense, Service, smith1, Sokomine, STEALTH, Sysmatic, upie ``` Teleport command: ``` /teleport xyz 3391 65 747 ``` Compass command: ``` /give_compass Construction i5Ry7bOmUNBGVCr6UMpfhsP3j9piyngy D2691E 3391 65 747 ```
AliasAlreadyTaken was assigned by yourland-report 2023-06-03 20:43:30 +00:00
AliasAlreadyTaken added the
1. kind/enhancement
label 2023-06-03 21:00:18 +00:00
Member

i like this idea

i like this idea
Member

I it's already implemented :D

sneak+place to edit the message

I guess I'll close this after I add the readme :P

(also, having colors configurable would be helpful)

I it's already implemented :D sneak+place to edit the message I guess I'll close this after I add the readme :P (also, having colors configurable would be helpful)
Member

Added readme here:
3a4aca356d

Expanded description:
43e7250352

Pretty interesting how this is a second requested feature for my mods that was already implemented 2 years ago, but since the usage is non-obvious and not documented in game, the knowledge was lost in time :)

Added readme here: https://gitea.your-land.de/whosit/waypoint_announce/commit/3a4aca356dbdd0b7fbd3d839060403b3c20d7777 Expanded description: https://gitea.your-land.de/whosit/waypoint_announce/commit/43e7250352e06ed08ec2a86e6e12a0f471befbe6 Pretty interesting how this is a second requested feature for my mods that was already implemented 2 years ago, but since the usage is non-obvious and not documented in game, the knowledge was lost in time :)
whosit added
1. kind/documentation
and removed
1. kind/enhancement
labels 2023-06-06 10:10:05 +00:00

I can confirm the game allows for storing text in flags. Unless you plan to implement coloring the flags on this issue, feel free to close it (and link the coloring here?).

I can confirm the game allows for storing text in flags. Unless you plan to implement coloring the flags on this issue, feel free to close it (and link the coloring here?).
Member

Flags are colored since this commit:
92ecbd898a

All old flags will become white sadly... (even though they were crafted from red wool).
Now you can craft flags from any wool and they will become respective color.
People with creative priv can set arbitrary RGB color to flags via message editing formspec.

Flags are colored since this commit: https://gitea.your-land.de/whosit/waypoint_announce/commit/92ecbd898a6befe196905fbf1dab5a8bf9193054 All old flags will become white sadly... (even though they were crafted from red wool). Now you can craft flags from any wool and they will become respective color. People with creative priv can set arbitrary RGB color to flags via message editing formspec.
Member

Made a new issue about colors here:
#4878

Made a new issue about colors here: https://gitea.your-land.de/your-land/bugtracker/issues/4878
whosit added the
5. result/fixed
label 2023-07-03 07:42:12 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 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#4677
No description provided.