rabenkind reports: a new tool for protecting roads would be nice. doing so much areas is an heavy task. more in the fir ... #8431

Open
opened 2025-04-17 10:46:14 +02:00 by yourland-report · 6 comments

rabenkind reports a bug:

a new tool for protecting roads would be nice. doing so much areas is an heavy task. more in the first answer.

Player position:

{
	z = -220.1780090332,
	x = 2208.1538085938,
	y = 22.5
}

Player look:

{
	z = -0.014167506247759,
	x = 0.9779360294342,
	y = -0.20842380821705
}

Player information:

{
	min_rtt = 0.013000000268221,
	min_jitter = 0,
	max_jitter = 0.11299999803305,
	avg_jitter = 0.0020000003278255,
	connection_uptime = 2830,
	serialization_version = 29,
	patch = 0,
	version_string = "5.11.0",
	max_rtt = 0.13199999928474,
	lang_code = "",
	major = 5,
	avg_rtt = 0.01799999922514,
	state = "Active",
	minor = 11,
	ip_version = 6,
	protocol_version = 46,
	formspec_version = 8
}

Player meta:

{
	fields = {
		["stamina:exhaustion"] = "104.5",
		punch_count = "92784",
		inflicted_damage = "1978654",
		repellant = "0",
		["3d_armor_inventory"] = "return {\"\", \"3d_armor:helmet_nether 1 1500\", \"shields:shield_rainbow 1 816\", \"3d_armor:chestplate_nether 1 3000\", \"3d_armor:boots_crystal 1 2880\", \"3d_armor:leggings_nether 1 3000\"}",
		yl_commons_player_created = "1650393800",
		yl_commons_player_joined = "1744876750",
		["ocean_build.last_warning"] = "1.65685e+09",
		["ocean_build.forbidden"] = "true",
		["ocean_build.ocean_built"] = "12",
		["petz:werewolf"] = "0",
		["petz:lycanthropy"] = "0",
		xp = "4173364",
		["signslib:pos"] = "(2676,15,-679)",
		["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}",
		snakecount = "2",
		arenalib_infobox_arenaID = "0",
		["petz:old_override_table"] = "return {[\"new_move\"] = true, [\"jump\"] = 1.5, [\"gravity\"] = 1, [\"sneak_glitch\"] = false, [\"speed\"] = 2, [\"sneak\"] = true}",
		played_time = "10968656",
		digged_nodes = "4180754",
		placed_nodes = "1021940",
		died = "155",
		crafted = "637301",
		yl_church = "return {[\"last_death\"] = {[\"z\"] = 1499, [\"x\"] = 2000, [\"y\"] = -7463}, [\"last_death_portal\"] = 1744731179}",
		jointime = "1650393800",
		bitten = "0",
		["petz:werewolf_clan_idx"] = "2",
		yl_commons_thankyou = "217",
		partychat = "party",
		hud_state = "on",
		["stamina:level"] = "14",
		["petz:werewolf_vignette_id"] = "19",
		["hud_manager:yl_snowball:hud__enabled"] = "n"
	}
}

Log identifier


[MOD] yl_report log identifier = C5K7GP70nNelQa9VJqQKdupwAJPIdBlA

Profiler save:

profile-20250417T104614.json_prettyEE

Status:

# Server: version: 5.11.0-yl-lt | game: Minetest Game | uptime: 9d 11h 11min 56s | max lag: 0.525s | clients (20/52): Administrator, AliasAlreadyTaken, ask3r, Bailiff, bluie, CheeZe, flux, gduyeg, Imprest, jgep69, Keya, Murmel, nakama-ta, rabenkind, RxTxDoc, Service, Spain, tagtraum, testmineweirdo, visibleObject2

Teleport command:

/teleport xyz 2208 23 -220

Compass command:

/give_compass Construction C5K7GP70nNelQa9VJqQKdupwAJPIdBlA D2691E 2208 23 -220
rabenkind reports a bug: > a new tool for protecting roads would be nice. doing so much areas is an heavy task. more in the first answer. Player position: ``` { z = -220.1780090332, x = 2208.1538085938, y = 22.5 } ``` Player look: ``` { z = -0.014167506247759, x = 0.9779360294342, y = -0.20842380821705 } ``` Player information: ``` { min_rtt = 0.013000000268221, min_jitter = 0, max_jitter = 0.11299999803305, avg_jitter = 0.0020000003278255, connection_uptime = 2830, serialization_version = 29, patch = 0, version_string = "5.11.0", max_rtt = 0.13199999928474, lang_code = "", major = 5, avg_rtt = 0.01799999922514, state = "Active", minor = 11, ip_version = 6, protocol_version = 46, formspec_version = 8 } ``` Player meta: ``` { fields = { ["stamina:exhaustion"] = "104.5", punch_count = "92784", inflicted_damage = "1978654", repellant = "0", ["3d_armor_inventory"] = "return {\"\", \"3d_armor:helmet_nether 1 1500\", \"shields:shield_rainbow 1 816\", \"3d_armor:chestplate_nether 1 3000\", \"3d_armor:boots_crystal 1 2880\", \"3d_armor:leggings_nether 1 3000\"}", yl_commons_player_created = "1650393800", yl_commons_player_joined = "1744876750", ["ocean_build.last_warning"] = "1.65685e+09", ["ocean_build.forbidden"] = "true", ["ocean_build.ocean_built"] = "12", ["petz:werewolf"] = "0", ["petz:lycanthropy"] = "0", xp = "4173364", ["signslib:pos"] = "(2676,15,-679)", ["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}", snakecount = "2", arenalib_infobox_arenaID = "0", ["petz:old_override_table"] = "return {[\"new_move\"] = true, [\"jump\"] = 1.5, [\"gravity\"] = 1, [\"sneak_glitch\"] = false, [\"speed\"] = 2, [\"sneak\"] = true}", played_time = "10968656", digged_nodes = "4180754", placed_nodes = "1021940", died = "155", crafted = "637301", yl_church = "return {[\"last_death\"] = {[\"z\"] = 1499, [\"x\"] = 2000, [\"y\"] = -7463}, [\"last_death_portal\"] = 1744731179}", jointime = "1650393800", bitten = "0", ["petz:werewolf_clan_idx"] = "2", yl_commons_thankyou = "217", partychat = "party", hud_state = "on", ["stamina:level"] = "14", ["petz:werewolf_vignette_id"] = "19", ["hud_manager:yl_snowball:hud__enabled"] = "n" } } ``` Log identifier ``` [MOD] yl_report log identifier = C5K7GP70nNelQa9VJqQKdupwAJPIdBlA ``` Profiler save: ``` profile-20250417T104614.json_prettyEE ``` Status: ``` # Server: version: 5.11.0-yl-lt | game: Minetest Game | uptime: 9d 11h 11min 56s | max lag: 0.525s | clients (20/52): Administrator, AliasAlreadyTaken, ask3r, Bailiff, bluie, CheeZe, flux, gduyeg, Imprest, jgep69, Keya, Murmel, nakama-ta, rabenkind, RxTxDoc, Service, Spain, tagtraum, testmineweirdo, visibleObject2 ``` Teleport command: ``` /teleport xyz 2208 23 -220 ``` Compass command: ``` /give_compass Construction C5K7GP70nNelQa9VJqQKdupwAJPIdBlA D2691E 2208 23 -220 ```
AliasAlreadyTaken was assigned by yourland-report 2025-04-17 10:46:14 +02:00

A block like the one from protector_redo would be good. You just build it into the road.

This may also work with an extension of the area mod so that there are no problems. So that you can't place these blocks in an existing area, unless it's your own. Road Acc should automatically be a co-owner. Also, the distance rule should only be severely limited here. e.g. 10 blocks and not 150.

So to say, an Area that is bound to a block.

I know that something like that could be heavily misused. Therefore, a good restriction have to take place. Making it expensive is not a solution, but maybe a priv?

This is only an idea to talk about a solution.

Greetings rabenkind

A block like the one from protector_redo would be good. You just build it into the road. This may also work with an extension of the area mod so that there are no problems. So that you can't place these blocks in an existing area, unless it's your own. Road Acc should automatically be a co-owner. Also, the distance rule should only be severely limited here. e.g. 10 blocks and not 150. So to say, an Area that is bound to a block. I know that something like that could be heavily misused. Therefore, a good restriction have to take place. Making it expensive is not a solution, but maybe a priv? This is only an idea to talk about a solution. Greetings rabenkind
AliasAlreadyTaken added the
1. kind/enhancement
label 2025-04-25 22:14:07 +02:00
AliasAlreadyTaken added this to the 1.2 Cities and Invasions milestone 2025-04-25 22:14:11 +02:00
AliasAlreadyTaken added this to the Alias@work project 2025-04-25 22:14:45 +02:00

mixing areas with protector may have its caveats. I have brief experience from other server and if you place protector, it does not prevent anyone from creating an area that includes your protectors - as a result, neither a protector or area owner can build at where they intersect. Having to perform two distinct protection checks will not help performace either (protector = scan 11x11x11 cube for protection for every mined/placed block)

mixing areas with protector may have its caveats. I have brief experience from other server and if you place protector, it does not prevent anyone from creating an area that includes your protectors - as a result, neither a protector or area owner can build at where they intersect. Having to perform two distinct protection checks will not help performace either (protector = scan 11x11x11 cube for protection for every mined/placed block)
Member

I think this is fine if protection block is just another way to call addition/removal of areas that we create with commands?

Although WE may leave some areas behind, but in that case staff is already involved, so, not a big issue.

Would be nice if blocks were smart enough to merge multiple small areas into one large area (if those are in a straight line, for example) - to reduce the number of areas overall.

I think this is fine if protection block is just another way to call addition/removal of areas that we create with commands? Although WE may leave some areas behind, but in that case staff is already involved, so, not a big issue. Would be nice if blocks were smart enough to merge multiple small areas into one large area (if those are in a straight line, for example) - to reduce the number of areas overall.

I think this is fine if protection block is just another way to call addition/removal of areas that we create with commands?

That was the idea. Only a block that calls the relevant area commands. But with the advantage of only placing it and not doing the same commands over and over again.

> I think this is fine if protection block is just another way to call addition/removal of areas that we create with commands? That was the idea. Only a block that calls the relevant area commands. But with the advantage of only placing it and not doing the same commands over and over again.

Looks like we're just deciding to make another protector_redo_redo instead of using command line. Automatic merging of areas that could be described as one big area is a neat thing, but it is tricky to give mod a permission to /merge. maybe we could teach people how to use /merge? Also, it is almost unseen to have big and straight roads, so 11x11x11 protector blocks is a fair use as well.

Maybe it would be logical to add code for /areas to permit placing that protector block if it would interfere with someone's area and, wise-versa, permit protecting area with /protect if there's a protector block 12-15 blocks near?

Looks like we're just deciding to make another protector_redo_redo instead of using command line. Automatic merging of areas that could be described as one big area is a neat thing, but it is tricky to give mod a permission to /merge. maybe we could teach people how to use /merge? Also, it is almost unseen to have big and straight roads, so 11x11x11 protector blocks is a fair use as well. Maybe it would be logical to add code for /areas to permit placing that protector block if it would interfere with someone's area and, wise-versa, permit protecting area with /protect if there's a protector block 12-15 blocks near?

That was the idea. Only a block that calls the relevant area commands.

Considering you have only few areas (I think between 4 to 12 based on your level, with at least one likely used elsewhere, like your house ....), this will not be very useful. You would be able to protect only very small part of a road.

> That was the idea. Only a block that calls the relevant area commands. Considering you have only few areas (I think between 4 to 12 based on your level, with at least one likely used elsewhere, like your house ....), this will not be very useful. You would be able to protect only very small part of a road.
Sign in to join this conversation.
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.

Dependencies

No dependencies set.

Reference: your-land/bugtracker#8431
No description provided.