evil123 reports: So, I was right clicking my ch ... #2574

Open
opened 2022-08-30 11:45:50 +00:00 by yourland-report · 4 comments

evil123 reports a bug:

So, I was right clicking my chest, but then I was accidentally holding left click, which resulted in me breaking the chest right before the menu showed up, resulting in the chest having no slots. Once I escape, the chest suddenly reappears, but now I have a chest in my inv. This is chest duplication.

Player position:

{
	x = -1316.8000488281,
	y = 74.5,
	z = 1071.9200439453
}

Player look:

{
	x = 0.95371574163437,
	y = -0.0015707956627011,
	z = -0.30070540308952
}

Player information:

{
	major = 5,
	minor = 4,
	min_rtt = 0.2509999871254,
	max_rtt = 2.4900000095367,
	avg_rtt = 0.27300000190735,
	min_jitter = 0,
	max_jitter = 2.2160000801086,
	avg_jitter = 0.00099998712539673,
	connection_uptime = 113,
	serialization_version = 28,
	patch = 1,
	formspec_version = 4,
	state = "Active",
	version_string = "5.4.1",
	protocol_version = 39,
	lang_code = "",
	ip_version = 6
}

Player meta:

{
	fields = {
		played_time = "4835550",
		["ocean_build.forbidden"] = "true",
		repellant = "0",
		died = "346",
		crafted = "336906",
		["3d_armor_inventory"] = "return {\"3d_armor:chestplate_rainbow 1 6706\", \"3d_armor:helmet_rainbow 1 6706\", \"3d_armor:leggings_rainbow 1 6706\", \"shields:shield_rainbow 1 6706\", \"3d_armor:boots_crystal 1 16140\", \"\"}",
		arenalib_infobox_arenaID = "0",
		hud_state = "on",
		punch_count = "32350",
		yl_commons_thankyou = "72",
		partychat = "party",
		yl_church = "return {[\"last_death_portal\"] = 1661660515, [\"last_death\"] = {[\"x\"] = -1507, [\"y\"] = -6, [\"z\"] = 1727}}",
		bitten = "0",
		["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"water_life:croc_bag\"}",
		["signslib:pos"] = "(865,5,1940)",
		arenalib_watchID = "0",
		yl_commons_player_joined = "1661859872",
		placed_nodes = "177063",
		jointime = "1612610117",
		["stamina:level"] = "14",
		xp = "1084074",
		["stamina:poisoned"] = "no",
		["ocean_build.last_warning"] = "1.65638e+09",
		["stamina:exhaustion"] = "24",
		["ocean_build.ocean_built"] = "12",
		inflicted_damage = "625312",
		digged_nodes = "1378924",
		yl_commons_player_created = "1612610117"
	}
}

Log identifier


[MOD] yl_report log identifier = ZCG6bP9XCuwzAfzpXvqer1J7T0zyJ8Y5

Profiler save:

profile-20220830T114550.json_prettyEE

Status:

# Server: version: 5.5.1-yl | game: Minetest Game | uptime: 5h 45min 13s | max lag: 1.44s | clients: evil123, mtvisitor, mtwalker, Stevee, Aero, Segmentation_Fault, Bishiro, Service, bluattire, AliasAlreadyTaken, quellequn, Aayush0350C, celestial, Bailiff

Teleport command:

/teleport xyz -1317 75 1072

Compass command:

/give_compass Construction ZCG6bP9XCuwzAfzpXvqer1J7T0zyJ8Y5 D2691E -1317 75 1072
evil123 reports a bug: > So, I was right clicking my chest, but then I was accidentally holding left click, which resulted in me breaking the chest right before the menu showed up, resulting in the chest having no slots. Once I escape, the chest suddenly reappears, but now I have a chest in my inv. This is chest duplication. Player position: ``` { x = -1316.8000488281, y = 74.5, z = 1071.9200439453 } ``` Player look: ``` { x = 0.95371574163437, y = -0.0015707956627011, z = -0.30070540308952 } ``` Player information: ``` { major = 5, minor = 4, min_rtt = 0.2509999871254, max_rtt = 2.4900000095367, avg_rtt = 0.27300000190735, min_jitter = 0, max_jitter = 2.2160000801086, avg_jitter = 0.00099998712539673, connection_uptime = 113, serialization_version = 28, patch = 1, formspec_version = 4, state = "Active", version_string = "5.4.1", protocol_version = 39, lang_code = "", ip_version = 6 } ``` Player meta: ``` { fields = { played_time = "4835550", ["ocean_build.forbidden"] = "true", repellant = "0", died = "346", crafted = "336906", ["3d_armor_inventory"] = "return {\"3d_armor:chestplate_rainbow 1 6706\", \"3d_armor:helmet_rainbow 1 6706\", \"3d_armor:leggings_rainbow 1 6706\", \"shields:shield_rainbow 1 6706\", \"3d_armor:boots_crystal 1 16140\", \"\"}", arenalib_infobox_arenaID = "0", hud_state = "on", punch_count = "32350", yl_commons_thankyou = "72", partychat = "party", yl_church = "return {[\"last_death_portal\"] = 1661660515, [\"last_death\"] = {[\"x\"] = -1507, [\"y\"] = -6, [\"z\"] = 1727}}", bitten = "0", ["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"water_life:croc_bag\"}", ["signslib:pos"] = "(865,5,1940)", arenalib_watchID = "0", yl_commons_player_joined = "1661859872", placed_nodes = "177063", jointime = "1612610117", ["stamina:level"] = "14", xp = "1084074", ["stamina:poisoned"] = "no", ["ocean_build.last_warning"] = "1.65638e+09", ["stamina:exhaustion"] = "24", ["ocean_build.ocean_built"] = "12", inflicted_damage = "625312", digged_nodes = "1378924", yl_commons_player_created = "1612610117" } } ``` Log identifier ``` [MOD] yl_report log identifier = ZCG6bP9XCuwzAfzpXvqer1J7T0zyJ8Y5 ``` Profiler save: ``` profile-20220830T114550.json_prettyEE ``` Status: ``` # Server: version: 5.5.1-yl | game: Minetest Game | uptime: 5h 45min 13s | max lag: 1.44s | clients: evil123, mtvisitor, mtwalker, Stevee, Aero, Segmentation_Fault, Bishiro, Service, bluattire, AliasAlreadyTaken, quellequn, Aayush0350C, celestial, Bailiff ``` Teleport command: ``` /teleport xyz -1317 75 1072 ``` Compass command: ``` /give_compass Construction ZCG6bP9XCuwzAfzpXvqer1J7T0zyJ8Y5 D2691E -1317 75 1072 ```
AliasAlreadyTaken was assigned by yourland-report 2022-08-30 11:45:50 +00:00
flux added the
1. kind/bug
3. source/mod upstream
labels 2022-08-30 16:24:43 +00:00
Member

guessing that the "swap_node" code for opening a chest doesn't check to see if the chest was destroyed.

EDIT: it doesn't, but only for closing the chest... opening the chest shouldn't trigger this. need to test.

guessing that the "swap_node" code for opening a chest doesn't check to see if the chest was destroyed. EDIT: it doesn't, but only for *closing* the chest... opening the chest shouldn't trigger this. need to test.
flux added the
4. step/needs confirmation
label 2022-08-30 16:34:03 +00:00
flux added this to the flux's TODO list project 2022-08-30 16:34:06 +00:00
flux self-assigned this 2022-08-30 16:34:11 +00:00
Member

tried doing some tests, but wasn't able to replicate this. need to test again w/ more lag, and possibly programatically

tried doing some tests, but wasn't able to replicate this. need to test again w/ more lag, and possibly programatically

evil123 showed me a repro, but I couldn'tr reproduce it either.

evil123 showed me a repro, but I couldn'tr reproduce it either.

The duplication part sounds much like #5085
The no-slots effect can be archived by putting a node above the chest (chest not switching into the open-state). If no item is in the chest, such a chest can be easily dug by a second account.

Note that the duping is currently still possible on main. Test seems to run the updated mtg, so no duping there...

The duplication part sounds much like #5085 The no-slots effect can be archived by putting a node above the chest (chest not switching into the open-state). If no item is in the chest, such a chest can be easily dug by a second account. Note that the duping is currently still possible on main. Test seems to run the updated mtg, so no duping there...
Sign in to join this conversation.
No Milestone
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#2574
No description provided.