alexandre2005 reports: you can take out and put stuff ... #2680

Open
opened 2022-09-14 13:48:09 +00:00 by yourland-report · 11 comments

alexandre2005 reports a bug:

you can take out and put stuff i vessels:shelf on protected areas

Player position:

{
	z = 1179.5440673828,
	x = 1912.2769775391,
	y = 21.5
}

Player look:

{
	z = 0.46116131544113,
	x = -0.023280832916498,
	y = 0.8870108127594
}

Player information:

{
	state = "Active",
	ip_version = 6,
	min_rtt = 0.027000000700355,
	max_rtt = 0.36399999260902,
	major = 5,
	minor = 5,
	max_jitter = 0.30500000715256,
	avg_jitter = 0,
	connection_uptime = 673,
	serialization_version = 29,
	patch = 0,
	formspec_version = 5,
	version_string = "5.5.0",
	avg_rtt = 0.028000000864267,
	lang_code = "fr",
	min_jitter = 0,
	protocol_version = 40
}

Player meta:

{
	fields = {
		["stamina:level"] = "18",
		arenalib_infobox_arenaID = "0",
		["stamina:poisoned"] = "no",
		["petz:werewolf_vignette_id"] = "19",
		["stamina:exhaustion"] = "16.5",
		partychat = "main",
		["petz:werewolf_clan_idx"] = "2",
		yl_church = "return {[\"last_death\"] = {[\"z\"] = 574, [\"x\"] = 1480, [\"y\"] = 93}, [\"last_death_portal\"] = 1661081227, [\"last_heal\"] = 1638658034}",
		digged_nodes = "756781",
		xp = "703367",
		["petz:werewolf"] = "0",
		punch_count = "43468",
		bitten = "0",
		repellant = "0",
		jointime = "1620902771",
		placed_nodes = "348119",
		died = "182",
		crafted = "46095",
		partypvp = "true",
		hud_state = "on",
		["3d_armor_inventory"] = "return {\"3d_armor:helmet_crystal 1 4400\", \"nether_mobs:dragon_boots 1 4400\", \"3d_armor:leggings_crystal 1 4400\", \"shields:shield_crystal 1 4400\", \"petz:prince_north_coat 1 22820\", \"\"}",
		["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}",
		["signslib:pos"] = "(30841,30502,30909)",
		played_time = "3271718",
		yl_commons_thankyou = "62",
		inflicted_damage = "497846",
		yl_commons_player_created = "1620902771",
		yl_commons_player_joined = "1663162634",
		["petz:lycanthropy"] = "0",
		["petz:old_override_table"] = "return {[\"sneak\"] = true, [\"sneak_glitch\"] = false, [\"new_move\"] = true, [\"jump\"] = 1, [\"speed\"] = 1, [\"gravity\"] = 1}"
	}
}

Log identifier


[MOD] yl_report log identifier = I59pKFMpt3tOO5S9WMhnEVDU2kXBBMFM

Profiler save:

profile-20220914T134809.json_prettyEE

Status:

# Server: version: 5.5.1-yl | game: Minetest Game | uptime: 15h 56min 57s | max lag: 3.56s | clients: aila29, sparrow, aila29a, LOR, davi29, rabenkind, The4spaceconstants, LinuxIsGreat, enzo29, cypis, Chacha, Antimatter_76, SkyKnife, Davidsoft, Pecka, Segmentation_Fault, Bailiff, flux, Bishiro, Aero, daydream, hbreturns, Armades, AliasAlreadyTaken, niceride, alexandre2005, Service

Teleport command:

/teleport xyz 1912 22 1180

Compass command:

/give_compass Construction I59pKFMpt3tOO5S9WMhnEVDU2kXBBMFM D2691E 1912 22 1180
alexandre2005 reports a bug: > you can take out and put stuff i vessels:shelf on protected areas Player position: ``` { z = 1179.5440673828, x = 1912.2769775391, y = 21.5 } ``` Player look: ``` { z = 0.46116131544113, x = -0.023280832916498, y = 0.8870108127594 } ``` Player information: ``` { state = "Active", ip_version = 6, min_rtt = 0.027000000700355, max_rtt = 0.36399999260902, major = 5, minor = 5, max_jitter = 0.30500000715256, avg_jitter = 0, connection_uptime = 673, serialization_version = 29, patch = 0, formspec_version = 5, version_string = "5.5.0", avg_rtt = 0.028000000864267, lang_code = "fr", min_jitter = 0, protocol_version = 40 } ``` Player meta: ``` { fields = { ["stamina:level"] = "18", arenalib_infobox_arenaID = "0", ["stamina:poisoned"] = "no", ["petz:werewolf_vignette_id"] = "19", ["stamina:exhaustion"] = "16.5", partychat = "main", ["petz:werewolf_clan_idx"] = "2", yl_church = "return {[\"last_death\"] = {[\"z\"] = 574, [\"x\"] = 1480, [\"y\"] = 93}, [\"last_death_portal\"] = 1661081227, [\"last_heal\"] = 1638658034}", digged_nodes = "756781", xp = "703367", ["petz:werewolf"] = "0", punch_count = "43468", bitten = "0", repellant = "0", jointime = "1620902771", placed_nodes = "348119", died = "182", crafted = "46095", partypvp = "true", hud_state = "on", ["3d_armor_inventory"] = "return {\"3d_armor:helmet_crystal 1 4400\", \"nether_mobs:dragon_boots 1 4400\", \"3d_armor:leggings_crystal 1 4400\", \"shields:shield_crystal 1 4400\", \"petz:prince_north_coat 1 22820\", \"\"}", ["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}", ["signslib:pos"] = "(30841,30502,30909)", played_time = "3271718", yl_commons_thankyou = "62", inflicted_damage = "497846", yl_commons_player_created = "1620902771", yl_commons_player_joined = "1663162634", ["petz:lycanthropy"] = "0", ["petz:old_override_table"] = "return {[\"sneak\"] = true, [\"sneak_glitch\"] = false, [\"new_move\"] = true, [\"jump\"] = 1, [\"speed\"] = 1, [\"gravity\"] = 1}" } } ``` Log identifier ``` [MOD] yl_report log identifier = I59pKFMpt3tOO5S9WMhnEVDU2kXBBMFM ``` Profiler save: ``` profile-20220914T134809.json_prettyEE ``` Status: ``` # Server: version: 5.5.1-yl | game: Minetest Game | uptime: 15h 56min 57s | max lag: 3.56s | clients: aila29, sparrow, aila29a, LOR, davi29, rabenkind, The4spaceconstants, LinuxIsGreat, enzo29, cypis, Chacha, Antimatter_76, SkyKnife, Davidsoft, Pecka, Segmentation_Fault, Bailiff, flux, Bishiro, Aero, daydream, hbreturns, Armades, AliasAlreadyTaken, niceride, alexandre2005, Service ``` Teleport command: ``` /teleport xyz 1912 22 1180 ``` Compass command: ``` /give_compass Construction I59pKFMpt3tOO5S9WMhnEVDU2kXBBMFM D2691E 1912 22 1180 ```
AliasAlreadyTaken was assigned by yourland-report 2022-09-14 13:48:09 +00:00
flux added the
1. kind/balancing
label 2022-09-14 16:18:32 +00:00
Member

that's the way it's always been.

it's easy to override though, see e.g. https://github.com/BlockySurvival/bls_custom/blob/master/node_inventory_protection.lua

that's the way it's always been. it's easy to override though, see e.g. https://github.com/BlockySurvival/bls_custom/blob/master/node_inventory_protection.lua

Maybe we should create a unified protection API. One doesn't need much more than a public chest, a locked chest and a protected chest. Every other "storage" block should get a public, locked and protected version as well IMO. Bookshelves, chests, ...

Opinions?

Maybe we should create a unified protection API. One doesn't need much more than a public chest, a locked chest and a protected chest. Every other "storage" block should get a public, locked and protected version as well IMO. Bookshelves, chests, ... Opinions?
AliasAlreadyTaken added the
4. step/question
label 2022-09-15 00:00:37 +00:00
Member

Maybe we should create a unified protection API. One doesn't need much more than a public chest, a locked chest and a protected chest. Every other "storage" block should get a public, locked and protected version as well IMO. Bookshelves, chests, ...

Opinions?

i'm currently implementing something like this for my cottages update, but it's a something that's controlled by clicking a button in the formspec. one thing it doesn't do is handle different appearances for nodes w/ different protection levels - there's no way to apply texture overlays to "variants" of a node w/out creating new node IDs.

so you could easily have chests that you could toggle between "private, protected, and public", but they'd all look the same, or they'd all have to have separate node IDs.

> > Maybe we should create a unified protection API. One doesn't need much more than a public chest, a locked chest and a protected chest. Every other "storage" block should get a public, locked and protected version as well IMO. Bookshelves, chests, ... > > Opinions? i'm currently implementing something like this for my cottages update, but it's a something that's controlled by clicking a button in the formspec. one thing it doesn't do is handle different appearances for nodes w/ different protection levels - there's no way to apply texture overlays to "variants" of a node w/out creating new node IDs. so you could easily have chests that you could toggle between "private, protected, and public", but they'd all look the same, or they'd all have to have separate node IDs.

Maybe we should create a unified protection API.

https://gitea.your-land.de/your-land/locks

> > Maybe we should create a unified protection API. https://gitea.your-land.de/your-land/locks
Member

Maybe we should create a unified protection API.

https://gitea.your-land.de/your-land/locks

IMO that mod makes the situation worse and should be gotten rid of. the mechanic of sharing keys to share protection is entirely orthogonal to the public/private/protected model.

> > > > Maybe we should create a unified protection API. > > https://gitea.your-land.de/your-land/locks IMO that mod makes the situation *worse* and should be gotten rid of. the mechanic of sharing keys to share protection is entirely orthogonal to the public/private/protected model.
Member

for chests that don't have special function (digilines, mese), we currently have

variant all can use in protected area all can use in public area area owners can use area owners can remove chest owner can use in other player's protected area comments
default:chest yes yes yes yes N/A
default:chest_locked no no no no yes
chesttools:shared_chest no no yes no yes useful buttons
shared_chest:shared_chest no no yes no* yes like the chesttools chest but less useful
yl_tools:chest_protected no yes yes yes yes see #1507
locks:shared_locked_chest no no no no yes can be used by owner & those manually listed or with a password. non-owners must have a keyring item in inventory, for some reason.
for chests that don't have special function (digilines, mese), we currently have | variant | all can use in protected area | all can use in public area | area owners can use | area owners can remove | chest owner can use in other player's protected area | comments | | -------- | -------- | -------- | -------- | -------- | -- | -------- | | default:chest | yes | yes | yes | yes | N/A | | | default:chest_locked | no | no | no | no | yes | | | chesttools:shared_chest | no | no | yes | no | yes | useful buttons | | shared_chest:shared_chest | no | no | yes | no[\*](https://github.com/Sokomine/chesttools/pull/3) | yes | like the chesttools chest but less useful | | yl_tools:chest_protected | no | yes | yes | yes | yes | see #1507 | | locks:shared_locked_chest | no | no | no | no | yes | can be used by owner & those manually listed or with a password. non-owners must have a keyring item in inventory, for some reason. |
Member

IMO shared_chest:shared_chest and locks:shared_locked_chest should be aliased to chesttools:shared_chest, and yl_tools:chest_protected shouldn't be craftable and should be not_in_creative_inventory.

IMO `shared_chest:shared_chest` and `locks:shared_locked_chest` should be aliased to `chesttools:shared_chest`, and `yl_tools:chest_protected` shouldn't be craftable and should be `not_in_creative_inventory`.

We should gather all named block, protected chest, locked something here:

your-land/administration#172

We should gather all named block, protected chest, locked something here: https://gitea.your-land.de/your-land/administration/issues/172
flux added a new dependency 2022-11-05 21:24:46 +00:00

minor omission on the rubric

for chests that don't have special function (digilines, mese), we currently have
...

what happens when you place the chest in another's protected area at the time you have a sub-area protection to do so, and the sub-area protection is removed? i.e. yl_tools:chest_protected the player that placed the chest retains access to it (violating area protections?)

minor omission on the rubric > for chests that don't have special function (digilines, mese), we currently have > ... what happens when you place the chest in another's protected area at the time you have a sub-area protection to do so, and the sub-area protection is removed? i.e. `yl_tools:chest_protected` the player that placed the chest retains access to it (violating area protections?)
Member

minor omission on the rubric

for chests that don't have special function (digilines, mese), we currently have
...

what happens when you place the chest in another's protected area at the time you have a sub-area protection to do so, and the sub-area protection is removed? i.e. yl_tools:chest_protected the player that placed the chest retains access to it (violating area protections?)

sure i can add that. it seems that all chests allow the owner to use them even if they don't control the area.

> minor omission on the rubric > > > for chests that don't have special function (digilines, mese), we currently have > > ... > > what happens when you place the chest in another's protected area at the time you have a sub-area protection to do so, and the sub-area protection is removed? i.e. `yl_tools:chest_protected` the player that placed the chest retains access to it (violating area protections?) sure i can add that. it seems that all chests allow the owner to use them even if they don't control the area.

Have been using smartshop:storage instead of chests, and it has the interesting benefit of being able to dynamically mark private/protected. If you can dig in the area and it is un-marked private, and you mark the checkbox private again, it is (correctly) no longer accessible to non-owners that can build in the area. Perhaps worth adding to the rubric ; there's a lot of storage nodes that could be added.

Have been using `smartshop:storage` instead of chests, and it has the interesting benefit of being able to dynamically mark private/protected. If you can dig in the area and it is un-marked private, and you mark the checkbox private again, it is (correctly) no longer accessible to non-owners that can build in the area. Perhaps worth adding to the rubric ; there's a lot of storage nodes that could be added.
Sign in to join this conversation.
No Milestone
No project
No Assignees
5 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#2680
No description provided.