rheo reports: default chest duplication glit ... #5068

Closed
opened 2023-08-07 02:29:17 +02:00 by yourland-report · 12 comments

rheo reports a bug:

default chest duplication glitch via sticky piston

Player position:

{
	z = 19934.03125,
	x = 19996.345703125,
	y = 20030.55078125
}

Player look:

{
	z = 0.023110132664442,
	x = 0.82221657037735,
	y = -0.56870543956757
}

Player information:

{
	protocol_version = 42,
	formspec_version = 6,
	min_rtt = 0.16799999773502,
	avg_rtt = 0.17599999904633,
	min_jitter = 0,
	max_rtt = 5.183000087738,
	avg_jitter = 0.0030000060796738,
	connection_uptime = 10674,
	serialization_version = 29,
	patch = 0,
	ip_version = 6,
	lang_code = "",
	state = "Active",
	max_jitter = 5.0090003013611,
	minor = 8,
	major = 5,
	version_string = "5.8.0-dev-7388c87ad"
}

Player meta:

{
	fields = {
		yl_commons_thankyou = "58",
		["petz:werewolf"] = "0",
		yl_commons_player_created = "1644205752",
		yl_commons_player_joined = "1691357509",
		partychat = "party",
		["petz:werewolf_vignette_id"] = "16",
		["ethereal:fly_timer"] = "-99",
		xp = "0",
		["signslib:pos"] = "(6758,58,6221)",
		digged_nodes = "14969",
		placed_nodes = "18784",
		died = "2",
		["petz:old_override_table"] = "return {[\"sneak\"] = true, [\"speed\"] = 2, [\"new_move\"] = true, [\"jump\"] = 1.5, [\"gravity\"] = 1, [\"sneak_glitch\"] = false}",
		["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}",
		jointime = "1644205752",
		bitten = "0",
		yl_church = "return {[\"last_death\"] = {[\"y\"] = 15, [\"x\"] = 1353, [\"z\"] = 1089}}",
		["ocean_build.last_warning"] = "1.66814e+09",
		repellant = "0",
		["ocean_build.ocean_built"] = "6",
		punch_count = "1075",
		arenalib_infobox_arenaID = "0",
		["petz:lycanthropy"] = "0",
		inflicted_damage = "244734",
		hud_state = "off",
		["petz:werewolf_clan_idx"] = "2",
		played_time = "5574398",
		["stamina:level"] = "0",
		["3d_armor_inventory"] = "return {\"nether_mobs:dragon_boots\", \"\", \"\", \"\", \"\", \"\"}",
		["stamina:poisoned"] = "no",
		crafted = "2175",
		["stamina:exhaustion"] = "116"
	}
}

Log identifier


[MOD] yl_report log identifier = GReqcCC66fJT6tQHgEuFnOIE6NAkmXcw

Profiler save:

profile-20230807T002917.json_prettyEE

Status:

# Server: version: 5.7.0-yl-thx-tmm | game: Minetest Game | uptime: 3h 13min 2s | max lag: 0.14s | clients (9/52): copper144, copper248, flux, jackofthebean000, Kenneth, mindfrost, mrminer, Oakenshield, rheo

Teleport command:

/teleport xyz 19996 20031 19934

Compass command:

/give_compass Construction GReqcCC66fJT6tQHgEuFnOIE6NAkmXcw D2691E 19996 20031 19934
rheo reports a bug: > default chest duplication glitch via sticky piston Player position: ``` { z = 19934.03125, x = 19996.345703125, y = 20030.55078125 } ``` Player look: ``` { z = 0.023110132664442, x = 0.82221657037735, y = -0.56870543956757 } ``` Player information: ``` { protocol_version = 42, formspec_version = 6, min_rtt = 0.16799999773502, avg_rtt = 0.17599999904633, min_jitter = 0, max_rtt = 5.183000087738, avg_jitter = 0.0030000060796738, connection_uptime = 10674, serialization_version = 29, patch = 0, ip_version = 6, lang_code = "", state = "Active", max_jitter = 5.0090003013611, minor = 8, major = 5, version_string = "5.8.0-dev-7388c87ad" } ``` Player meta: ``` { fields = { yl_commons_thankyou = "58", ["petz:werewolf"] = "0", yl_commons_player_created = "1644205752", yl_commons_player_joined = "1691357509", partychat = "party", ["petz:werewolf_vignette_id"] = "16", ["ethereal:fly_timer"] = "-99", xp = "0", ["signslib:pos"] = "(6758,58,6221)", digged_nodes = "14969", placed_nodes = "18784", died = "2", ["petz:old_override_table"] = "return {[\"sneak\"] = true, [\"speed\"] = 2, [\"new_move\"] = true, [\"jump\"] = 1.5, [\"gravity\"] = 1, [\"sneak_glitch\"] = false}", ["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}", jointime = "1644205752", bitten = "0", yl_church = "return {[\"last_death\"] = {[\"y\"] = 15, [\"x\"] = 1353, [\"z\"] = 1089}}", ["ocean_build.last_warning"] = "1.66814e+09", repellant = "0", ["ocean_build.ocean_built"] = "6", punch_count = "1075", arenalib_infobox_arenaID = "0", ["petz:lycanthropy"] = "0", inflicted_damage = "244734", hud_state = "off", ["petz:werewolf_clan_idx"] = "2", played_time = "5574398", ["stamina:level"] = "0", ["3d_armor_inventory"] = "return {\"nether_mobs:dragon_boots\", \"\", \"\", \"\", \"\", \"\"}", ["stamina:poisoned"] = "no", crafted = "2175", ["stamina:exhaustion"] = "116" } } ``` Log identifier ``` [MOD] yl_report log identifier = GReqcCC66fJT6tQHgEuFnOIE6NAkmXcw ``` Profiler save: ``` profile-20230807T002917.json_prettyEE ``` Status: ``` # Server: version: 5.7.0-yl-thx-tmm | game: Minetest Game | uptime: 3h 13min 2s | max lag: 0.14s | clients (9/52): copper144, copper248, flux, jackofthebean000, Kenneth, mindfrost, mrminer, Oakenshield, rheo ``` Teleport command: ``` /teleport xyz 19996 20031 19934 ``` Compass command: ``` /give_compass Construction GReqcCC66fJT6tQHgEuFnOIE6NAkmXcw D2691E 19996 20031 19934 ```
AliasAlreadyTaken was assigned by yourland-report 2023-08-07 02:29:17 +02:00
flux added the
1. kind/bug
3. source/integration
2. prio/critical
labels 2023-08-07 02:31:34 +02:00
Member

this is much easier in a "vanilla" world, because we've made open chests MVPS stoppers.

image

however i can still trigger it on YL, by opening and closing the chest rapidly when the piston is extended:

image

at least the new chests don't have duplicated contents - their node metadata doesn't get initialized.

proposed solution: any chest w/ an "open" variant should be an MVPS stopper.

this is much easier in a "vanilla" world, because we've made open chests MVPS stoppers. ![image](/attachments/263435fc-acae-47c6-93c8-4439a5fba650) however i can still trigger it on YL, by opening and closing the chest rapidly when the piston is extended: ![image](/attachments/d81aeb3b-12ce-438f-8b17-71a0b2988698) at least the new chests don't have duplicated contents - their node metadata doesn't get initialized. proposed solution: any chest w/ an "open" variant should be an MVPS stopper.
Member

oh right, the reason the open chests are already MVPS stoppers: #1905

but the problem persists w/ closed chests too, in some edge case

fixing this via something other than MVPS stoppers would be very tricky.

oh right, the reason the open chests are already MVPS stoppers: #1905 but the problem persists w/ closed chests too, in some edge case fixing this via something other than MVPS stoppers would be very tricky.

How about we add everything that has meta to mvps stoppers and replacer blacklist?

How about we add everything that has meta to mvps stoppers and replacer blacklist?

How about we add everything that has meta to mvps stoppers and replacer blacklist?

There is no way that this doesn't mess with some sort of mesecons build, I am all for replacer blacklisting them but making everything that has meta a mvps stopper is taking away one of the nicer features of mesecons, couldn't you just remove chest open entirely? I don't think many would care if a random animation disappeared, I haven't seen anyone complain about shared chests not opening. Honestly I think open chests are more trouble than they are worth.

Anyway that is my 2 cents

> How about we add everything that has meta to mvps stoppers and replacer blacklist? There is no way that this doesn't mess with some sort of mesecons build, I am all for replacer blacklisting them but making everything that has meta a mvps stopper is taking away one of the nicer features of mesecons, couldn't you just remove chest open entirely? I don't think many would care if a random animation disappeared, I haven't seen anyone complain about shared chests not opening. Honestly I think open chests are more trouble than they are worth. Anyway that is my 2 cents
Member

How about we add everything that has meta to mvps stoppers and replacer blacklist?

this is probably a good first step - this will prevent exploits.

There is no way that this doesn't mess with some sort of mesecons build

true. this will 100% break things. but probably these mechanics need to be whitelisted and possibly have special logic to handle the interactions, which we intentionally add when requested.

> How about we add everything that has meta to mvps stoppers and replacer blacklist? this is probably a good first step - this will prevent exploits. > There is no way that this doesn't mess with some sort of mesecons build true. this will 100% break things. but probably these mechanics need to be whitelisted and possibly have special logic to handle the interactions, which we intentionally add when requested.
Member

another option: get rid of the "open" chest variants, and have these chests work like e.g. the shared chest.

another option: get rid of the "open" chest variants, and have these chests work like e.g. the shared chest.

I'm not that big into machines, sorry. What examples or usecases would break by adding add blocks with inv to mvps stoppers?

If for some reason we cannot "tame" open chests, we can remove them. Especially since not all chests display the same behaviour.

We can add back that mechanic when we unify chests and we found a generic solution.

I'm not that big into machines, sorry. What examples or usecases would break by adding add blocks with inv to mvps stoppers? If for some reason we cannot "tame" open chests, we can remove them. Especially since not all chests display the same behaviour. We can add back that mechanic when we unify chests and we found a generic solution.

I'm not that big into machines, sorry. What examples or usecases would break by adding add blocks with inv to mvps stoppers?

If for some reason we cannot "tame" open chests, we can remove them. Especially since not all chests display the same behaviour.

We can add back that mechanic when we unify chests and we found a generic solution.

the problem is not items with metadata being mvps stoppers it is with open chests, see #5085 just kill 2 birds with 1 stone and get rid of them now before there is another way to destroy open chests

> I'm not that big into machines, sorry. What examples or usecases would break by adding add blocks with inv to mvps stoppers? > > If for some reason we cannot "tame" open chests, we can remove them. Especially since not all chests display the same behaviour. > > We can add back that mechanic when we unify chests and we found a generic solution. the problem is not items with metadata being mvps stoppers it is with open chests, see [#5085](https://gitea.your-land.de/your-land/bugtracker/issues/5085) just kill 2 birds with 1 stone and get rid of them now before there is another way to destroy open chests
Member

all nodes w/ mutable metadata or special construction actions are now MVPS stoppers: fbcc8cfe51

all nodes w/ mutable metadata or special construction actions are now MVPS stoppers: https://gitea.your-land.de/your-land/yl_commons/commit/fbcc8cfe51c12563e85583ba402b94a13cd460f6
Member

i got rid of open chests: 34fe76ee92

i got rid of open chests: https://gitea.your-land.de/your-land/yl_commons/commit/34fe76ee925571df70424b7813291957aee0ebd5
flux added the
4. step/ready to QA test
label 2023-08-10 22:12:11 +02:00
AliasAlreadyTaken added this to the 1.1.120 milestone 2023-08-11 00:42:14 +02:00

QA:

Open chests are still in due to #5085 (comment)

However, the issue was solved, I can't reproduce it.

QA: Open chests are still in due to https://gitea.your-land.de/your-land/bugtracker/issues/5085#issuecomment-59431 However, the issue was solved, I can't reproduce it.
AliasAlreadyTaken added the
4. step/QA OK
label 2023-09-05 05:28:28 +02:00
flux added
5. result/fixed
and removed
4. step/ready to QA test
labels 2023-11-17 01:09:04 +01:00
AliasAlreadyTaken was unassigned by flux 2023-11-17 01:09:07 +01:00
Member

this is live

this is live
flux closed this issue 2023-11-17 01:09:41 +01: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#5068
No description provided.