Machtrollo reports: I want doors and trapdoors tha ... #889

Open
opened 2021-09-06 05:05:55 +00:00 by yourland-report · 2 comments

Machtrollo reports a bug:

I want doors and trapdoors that return to their closed position about 1-5 seconds after they were last opened. Ideally that time would be adjustable. (maybe by crafting weights onto the spring, or add sand for more friction = slower close?) a multi-block construction won't do because I need it to fit in 1 block.

Player position:

{
	y = 14.5,
	x = 2083.6589355469,
	z = 1123.7540283203
}

Player look:

{
	y = -0.3985889852047,
	x = 0.15736597776413,
	z = -0.9035279750824
}

Player information:

{
	min_rtt = 0.014999999664724,
	max_rtt = 3.8650000095367,
	connection_uptime = 56181,
	max_jitter = 2.6429998874664,
	minor = 4,
	major = 5,
	ip_version = 6,
	formspec_version = 4,
	patch = 1,
	protocol_version = 39,
	serialization_version = 28,
	lang_code = "",
	version_string = "5.4.1",
	avg_rtt = 0.019999999552965,
	state = "Active",
	avg_jitter = 0.0089999996125698,
	min_jitter = 0
}

Player meta:

{
	fields = {
		["3d_armor_inventory"] = "return {\"3d_armor:helmet_bronze 1 18640\", \"shields:shield_bronze 1 18640\", \"3d_armor:chestplate_bronze 1 18640\", \"3d_armor:leggings_bronze 1 18640\", \"3d_armor:boots_crystal 1 4220\", \"\"}",
		played_time = "2534607",
		yl_commons_player_joined = "1630848625",
		["signslib:pos"] = "(2081,16,1120)",
		digged_nodes = "34982",
		bitten = "0",
		["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}",
		partychat = "party",
		yl_church = "return {[\"last_death\"] = {[\"y\"] = 7, [\"x\"] = 1276, [\"z\"] = 2326}, [\"last_death_portal\"] = 1628262529}",
		["stamina:level"] = "11",
		xp = "37514",
		arenalib_infobox_arenaID = "0",
		inflicted_damage = "3896",
		crafted = "16062",
		died = "33",
		yl_commons_thankyou = "2",
		punch_count = "554",
		placed_nodes = "17467",
		hud_state = "on",
		repellant = "0",
		yl_commons_player_created = "1610685920"
	}
}

Log identifier


[MOD] yl_report log identifier = zbQnp4gUcIwBVmwGe5ZJi0Nk2NA5AgKE

Profiler save:

profile-20210906T070554.json_pretty

Status:

# Server: version=5.4.1-yl, uptime=548786, max_lag=3.54171, clients={Menche, noodlebot01, noodles, dert, flux, Burnhard, FrostRanger, WollKhan, Bailiff, AliasAlreadyTaken, Service, Billr, Machtrollo}

Teleport command:

/teleport xyz 2084 15 1124

Compass command:

/give_compass Construction zbQnp4gUcIwBVmwGe5ZJi0Nk2NA5AgKE D2691E 2084 15 1124
Machtrollo reports a bug: > I want doors and trapdoors that return to their closed position about 1-5 seconds after they were last opened. Ideally that time would be adjustable. (maybe by crafting weights onto the spring, or add sand for more friction = slower close?) a multi-block construction won't do because I need it to fit in 1 block. Player position: ``` { y = 14.5, x = 2083.6589355469, z = 1123.7540283203 } ``` Player look: ``` { y = -0.3985889852047, x = 0.15736597776413, z = -0.9035279750824 } ``` Player information: ``` { min_rtt = 0.014999999664724, max_rtt = 3.8650000095367, connection_uptime = 56181, max_jitter = 2.6429998874664, minor = 4, major = 5, ip_version = 6, formspec_version = 4, patch = 1, protocol_version = 39, serialization_version = 28, lang_code = "", version_string = "5.4.1", avg_rtt = 0.019999999552965, state = "Active", avg_jitter = 0.0089999996125698, min_jitter = 0 } ``` Player meta: ``` { fields = { ["3d_armor_inventory"] = "return {\"3d_armor:helmet_bronze 1 18640\", \"shields:shield_bronze 1 18640\", \"3d_armor:chestplate_bronze 1 18640\", \"3d_armor:leggings_bronze 1 18640\", \"3d_armor:boots_crystal 1 4220\", \"\"}", played_time = "2534607", yl_commons_player_joined = "1630848625", ["signslib:pos"] = "(2081,16,1120)", digged_nodes = "34982", bitten = "0", ["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}", partychat = "party", yl_church = "return {[\"last_death\"] = {[\"y\"] = 7, [\"x\"] = 1276, [\"z\"] = 2326}, [\"last_death_portal\"] = 1628262529}", ["stamina:level"] = "11", xp = "37514", arenalib_infobox_arenaID = "0", inflicted_damage = "3896", crafted = "16062", died = "33", yl_commons_thankyou = "2", punch_count = "554", placed_nodes = "17467", hud_state = "on", repellant = "0", yl_commons_player_created = "1610685920" } } ``` Log identifier ``` [MOD] yl_report log identifier = zbQnp4gUcIwBVmwGe5ZJi0Nk2NA5AgKE ``` Profiler save: ``` profile-20210906T070554.json_pretty ``` Status: ``` # Server: version=5.4.1-yl, uptime=548786, max_lag=3.54171, clients={Menche, noodlebot01, noodles, dert, flux, Burnhard, FrostRanger, WollKhan, Bailiff, AliasAlreadyTaken, Service, Billr, Machtrollo} ``` Teleport command: ``` /teleport xyz 2084 15 1124 ``` Compass command: ``` /give_compass Construction zbQnp4gUcIwBVmwGe5ZJi0Nk2NA5AgKE D2691E 2084 15 1124 ```
AliasAlreadyTaken was assigned by yourland-report 2021-09-06 05:05:55 +00:00
Styxcolor added the
1. kind/enhancement
label 2021-11-03 04:15:22 +00:00

Its a nice idea, but the problem is to find the "close" position.

Its a nice idea, but the problem is to find the "close" position.
Member

Its a nice idea, but the problem is to find the "close" position.

Doors have well defined open & close positions, and the API provides an easy way to close them. This could be implemented by starting a timer after the door is opened. The question is whether to apply this to all doors, or just some of them? If some of them, which?

Also, this behavior can already sort-of be done w/ mesecons pressure plates, though those are unreliable, particularly when lag.

> Its a nice idea, but the problem is to find the "close" position. Doors have well defined open & close positions, and [the API](https://github.com/minetest/minetest_game/blob/b0cf06136013aa1cd9cee92747071c4dd4ac17fd/game_api.txt#L192-L202) provides an easy way to close them. This could be implemented by starting a timer after the door is opened. The question is whether to apply this to *all* doors, or just some of them? If some of them, which? Also, this behavior can already sort-of be done w/ mesecons pressure plates, though those are unreliable, particularly when lag.
flux added the
4. step/want approval
label 2022-05-28 22:59:52 +00:00
flux added this to the flux's TODO list project 2022-07-02 18:50:18 +00:00
flux added a new dependency 2022-10-24 22:57:36 +00:00
flux removed a dependency 2022-10-24 22:57:41 +00:00
flux added a new dependency 2022-10-24 22:57:55 +00:00
Sign in to join this conversation.
No Milestone
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.

Depends on
You do not have permission to read 1 dependency
Reference: your-land/bugtracker#889
No description provided.