Lucien_II reports: note:during lag @6 today. I ca ... #4391

Open
opened 2023-05-03 18:23:46 +00:00 by yourland-report · 3 comments

Lucien_II reports a bug:

note:during lag @6 today. I can easily open purple chests but not shared.

Player position:

{
	x = -4124.498046875,
	y = -10031.5,
	z = -5324.0263671875
}

Player look:

{
	x = -0.10764349997044,
	y = -0.38896316289902,
	z = -0.91494297981262
}

Player information:

{
	state = "Active",
	ip_version = 6,
	min_rtt = 0.039000000804663,
	minor = 7,
	min_jitter = 0,
	max_jitter = 58.824005126953,
	avg_jitter = 0.11499999463558,
	connection_uptime = 2800,
	serialization_version = 29,
	patch = 0,
	version_string = "5.7.0-dev-75d88dc",
	lang_code = "",
	formspec_version = 6,
	max_rtt = 92.958999633789,
	avg_rtt = 0.15899999439716,
	protocol_version = 41,
	major = 5
}

Player meta:

{
	fields = {
		jointime = "1637790663",
		bitten = "0",
		yl_church = "return {[\"last_death_portal\"] = 1682887494, [\"last_death\"] = {[\"x\"] = -4168, [\"y\"] = -10032, [\"z\"] = -5309}, [\"last_heal\"] = 1654037245}",
		xp = "412695",
		played_time = "2354568",
		punch_count = "40573",
		["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}",
		inflicted_damage = "764888",
		crafted = "241695",
		yl_commons_player_created = "1637790663",
		yl_commons_player_joined = "1683135458",
		repellant = "0",
		["signslib:pos"] = "(2083,7,-37)",
		placed_nodes = "153015",
		digged_nodes = "548239",
		yl_commons_thankyou = "15",
		["stamina:exhaustion"] = "105.5",
		hud_state = "on",
		["3d_armor_inventory"] = "return {\"3d_armor:boots_crystal 1 7880\", \"3d_armor:leggings_crystal 1 31190\", \"shields:shield_rainbow 1 12476\", \"3d_armor:chestplate_crystal 1 31140\", \"3d_armor:helmet_crystal 1 31190\", \"\"}",
		died = "189",
		["stamina:poisoned"] = "no",
		arenalib_infobox_arenaID = "0",
		["stamina:level"] = "7"
	}
}

Log identifier


[MOD] yl_report log identifier = Af4H0yUZuDXxmLnXa9n8BnCWu2EDBk4o

Profiler save:

profile-20230503T182346.json_prettyEE

Status:

# Server: version: 5.6.1-yl | game: Minetest Game | uptime: 20h 24min 28s | max lag: 0.655s | clients (29/52): AliasAlreadyTaken, AspireMint, Astroni, Bailiff, BibaBoba, Bishiro, Boot, Chache, DanteLeo, daydream, flux, FullmetalBOI, Halvar, ihc, jackofthebean000, johanlegend, laira, Lucien_II, Murmel, pableras, Pathfinder, Ravise, rewired_X, Service, shanish3, sixer, SphinxPortalService, Stelio, toomanycharacter2

Teleport command:

/teleport xyz -4124 -10032 -5324

Compass command:

/give_compass Construction Af4H0yUZuDXxmLnXa9n8BnCWu2EDBk4o D2691E -4124 -10032 -5324
Lucien_II reports a bug: > note:during lag @6 today. I can easily open purple chests but not shared. Player position: ``` { x = -4124.498046875, y = -10031.5, z = -5324.0263671875 } ``` Player look: ``` { x = -0.10764349997044, y = -0.38896316289902, z = -0.91494297981262 } ``` Player information: ``` { state = "Active", ip_version = 6, min_rtt = 0.039000000804663, minor = 7, min_jitter = 0, max_jitter = 58.824005126953, avg_jitter = 0.11499999463558, connection_uptime = 2800, serialization_version = 29, patch = 0, version_string = "5.7.0-dev-75d88dc", lang_code = "", formspec_version = 6, max_rtt = 92.958999633789, avg_rtt = 0.15899999439716, protocol_version = 41, major = 5 } ``` Player meta: ``` { fields = { jointime = "1637790663", bitten = "0", yl_church = "return {[\"last_death_portal\"] = 1682887494, [\"last_death\"] = {[\"x\"] = -4168, [\"y\"] = -10032, [\"z\"] = -5309}, [\"last_heal\"] = 1654037245}", xp = "412695", played_time = "2354568", punch_count = "40573", ["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}", inflicted_damage = "764888", crafted = "241695", yl_commons_player_created = "1637790663", yl_commons_player_joined = "1683135458", repellant = "0", ["signslib:pos"] = "(2083,7,-37)", placed_nodes = "153015", digged_nodes = "548239", yl_commons_thankyou = "15", ["stamina:exhaustion"] = "105.5", hud_state = "on", ["3d_armor_inventory"] = "return {\"3d_armor:boots_crystal 1 7880\", \"3d_armor:leggings_crystal 1 31190\", \"shields:shield_rainbow 1 12476\", \"3d_armor:chestplate_crystal 1 31140\", \"3d_armor:helmet_crystal 1 31190\", \"\"}", died = "189", ["stamina:poisoned"] = "no", arenalib_infobox_arenaID = "0", ["stamina:level"] = "7" } } ``` Log identifier ``` [MOD] yl_report log identifier = Af4H0yUZuDXxmLnXa9n8BnCWu2EDBk4o ``` Profiler save: ``` profile-20230503T182346.json_prettyEE ``` Status: ``` # Server: version: 5.6.1-yl | game: Minetest Game | uptime: 20h 24min 28s | max lag: 0.655s | clients (29/52): AliasAlreadyTaken, AspireMint, Astroni, Bailiff, BibaBoba, Bishiro, Boot, Chache, DanteLeo, daydream, flux, FullmetalBOI, Halvar, ihc, jackofthebean000, johanlegend, laira, Lucien_II, Murmel, pableras, Pathfinder, Ravise, rewired_X, Service, shanish3, sixer, SphinxPortalService, Stelio, toomanycharacter2 ``` Teleport command: ``` /teleport xyz -4124 -10032 -5324 ``` Compass command: ``` /give_compass Construction Af4H0yUZuDXxmLnXa9n8BnCWu2EDBk4o D2691E -4124 -10032 -5324 ```
AliasAlreadyTaken was assigned by yourland-report 2023-05-03 18:23:46 +00:00
flux added the
1. kind/bug
3. source/lag
labels 2023-05-06 19:07:26 +00:00
Member

this is because purple chests use a node metadata formspec, whereas shared chests require a round-trip interaction w/ the server to get the formspec. this prevents players w/out access to interact w/ the chest from seeing its contents, which the purple chest does not.

this is because purple chests use a node metadata formspec, whereas shared chests require a round-trip interaction w/ the server to get the formspec. this prevents players w/out access to interact w/ the chest from seeing its contents, which the purple chest does not.
flux added the
3. source/mod upstream
label 2023-05-06 19:09:36 +00:00

Which one is the superior mechanic? I assume the one that doesn't send all the contents to the client if there is no interact priv?

Which one is the superior mechanic? I assume the one that doesn't send all the contents to the client if there is no interact priv?
Member

Which one is the superior mechanic? I assume the one that doesn't send all the contents to the client if there is no interact priv?

neither one is superior, they've both got their ups and downs.

node metadata formspecs are much faster for clients to open, particularly if there is lag. the client gets this data when it loads a mapblock from the server. however, they are static - they will look the same to all players in all contexts (though they can be changed as often as you want). this means that you can't "hide" them.

the other formspecs (minetest.show_formspec) are much more flexible, but lag can make them unusable sometimes, and these can actually result in a huge amount of network traffic (e.g. unified_inventory searches).

in the future, i hope SSCSM will provide a mechanism for generating dynamic formspecs client-side.

> Which one is the superior mechanic? I assume the one that doesn't send all the contents to the client if there is no interact priv? neither one is superior, they've both got their ups and downs. node metadata formspecs are much faster for clients to open, particularly if there is lag. the client gets this data when it loads a mapblock from the server. however, they are static - they will look the same to all players in all contexts (though they can be changed as often as you want). this means that you can't "hide" them. the other formspecs ([minetest.show_formspec](https://github.com/minetest/minetest/blob/1b95998d11fb0d51fbfeedc56de4ca2191ad3f7a/doc/lua_api.txt#L5894-L5898)) are much more flexible, but lag can make them unusable sometimes, and these can actually result in a huge amount of network traffic (e.g. unified_inventory searches). in the future, i hope SSCSM will provide a mechanism for generating dynamic formspecs client-side.
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#4391
No description provided.