Sokomine reports: This block is protected! Your ... #3882

Closed
opened 2023-02-24 23:05:47 +00:00 by yourland-report · 5 comments

Sokomine reports a bug:

This block is protected! Your hit glanced off of the protection and turned you around. The protection deals you 3 damage. was trying to dig a wild bee colony that had died due to lag of flowers. dealing dammage for protection violation and turning players around is seen by me as a severe bug that needs fixing. else the server is guily of actively griefing

Player position:

{
	y = 13.586999893188,
	z = 1656.9019775391,
	x = 3637.0090332031
}

Player look:

{
	y = -0.44291472434998,
	z = 0.081413239240646,
	x = 0.89285969734192
}

Player information:

{
	max_rtt = 5.3699998855591,
	lang_code = "",
	formspec_version = 6,
	protocol_version = 41,
	major = 5,
	min_rtt = 0.01799999922514,
	minor = 7,
	min_jitter = 0,
	max_jitter = 5.3379998207092,
	avg_jitter = 0,
	connection_uptime = 10783,
	serialization_version = 29,
	patch = 0,
	state = "Active",
	version_string = "5.7.0-dev-4cd6b773b-dirty",
	avg_rtt = 0.019999999552965,
	ip_version = 6
}

Player meta:

{
	fields = {
		xp = "1883135",
		played_time = "11853295",
		["stamina:level"] = "13",
		placed_nodes = "285395",
		died = "38",
		jointime = "1617905120",
		bitten = "0",
		["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"water_life:croc_bag\"}",
		["stamina:poisoned"] = "no",
		hud_state = "on",
		yl_church = "return {[\"last_death\"] = {[\"x\"] = 3187, [\"y\"] = 94, [\"z\"] = 455}, [\"last_death_portal\"] = 1676580612, [\"last_heal\"] = 1673909657}",
		punch_count = "194757",
		crafted = "503004",
		["3d_armor_inventory"] = "return {\"\", \"3d_armor:helmet_crystal 1 580\", \"shields:shield_rainbow 1 232\", \"3d_armor:chestplate_crystal 1 580\", \"3d_armor:boots_crystal 1 580\", \"3d_armor:leggings_crystal 1 580\"}",
		inflicted_damage = "4010070",
		yl_commons_player_created = "1617905120",
		yl_commons_player_joined = "1677269188",
		partychat = "main",
		yl_commons_thankyou = "289",
		["stamina:exhaustion"] = "106.5",
		["ethereal:fly_timer"] = "-99",
		arenalib_infobox_arenaID = "0",
		repellant = "0",
		digged_nodes = "1632012",
		["ocean_build.last_warning"] = "1.65032e+09",
		["signslib:pos"] = "(-114,9,22492)",
		["ocean_build.ocean_built"] = "5"
	}
}

Log identifier


[MOD] yl_report log identifier = FlX0YTv7M89ZBJ3Vs9oTsdXymQHwocFu

Profiler save:

profile-20230224T230547.json_prettyEE

Status:

# Server: version: 5.6.1-yl | game: Minetest Game | uptime: 5d 18h 39min 51s | max lag: 3.14s | clients (24/52): Adrian530, AliasAlreadyTaken, Aliza, AspireMint, Bailiff, BibaBoba, Bla, Chazz, daydream, Elias, flux, Idknow, itaca94, jackofthebean000, johanlegend, mahou, mrminer, NatorGreen, niceride, Service, shanish3, Sokomine, Sysmatic, tour

Teleport command:

/teleport xyz 3637 14 1657

Compass command:

/give_compass Construction FlX0YTv7M89ZBJ3Vs9oTsdXymQHwocFu D2691E 3637 14 1657
Sokomine reports a bug: > This block is protected! Your hit glanced off of the protection and turned you around. The protection deals you 3 damage. was trying to dig a wild bee colony that had died due to lag of flowers. dealing dammage for protection violation and turning players around is seen by me as a severe bug that needs fixing. else the server is guily of actively griefing Player position: ``` { y = 13.586999893188, z = 1656.9019775391, x = 3637.0090332031 } ``` Player look: ``` { y = -0.44291472434998, z = 0.081413239240646, x = 0.89285969734192 } ``` Player information: ``` { max_rtt = 5.3699998855591, lang_code = "", formspec_version = 6, protocol_version = 41, major = 5, min_rtt = 0.01799999922514, minor = 7, min_jitter = 0, max_jitter = 5.3379998207092, avg_jitter = 0, connection_uptime = 10783, serialization_version = 29, patch = 0, state = "Active", version_string = "5.7.0-dev-4cd6b773b-dirty", avg_rtt = 0.019999999552965, ip_version = 6 } ``` Player meta: ``` { fields = { xp = "1883135", played_time = "11853295", ["stamina:level"] = "13", placed_nodes = "285395", died = "38", jointime = "1617905120", bitten = "0", ["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"water_life:croc_bag\"}", ["stamina:poisoned"] = "no", hud_state = "on", yl_church = "return {[\"last_death\"] = {[\"x\"] = 3187, [\"y\"] = 94, [\"z\"] = 455}, [\"last_death_portal\"] = 1676580612, [\"last_heal\"] = 1673909657}", punch_count = "194757", crafted = "503004", ["3d_armor_inventory"] = "return {\"\", \"3d_armor:helmet_crystal 1 580\", \"shields:shield_rainbow 1 232\", \"3d_armor:chestplate_crystal 1 580\", \"3d_armor:boots_crystal 1 580\", \"3d_armor:leggings_crystal 1 580\"}", inflicted_damage = "4010070", yl_commons_player_created = "1617905120", yl_commons_player_joined = "1677269188", partychat = "main", yl_commons_thankyou = "289", ["stamina:exhaustion"] = "106.5", ["ethereal:fly_timer"] = "-99", arenalib_infobox_arenaID = "0", repellant = "0", digged_nodes = "1632012", ["ocean_build.last_warning"] = "1.65032e+09", ["signslib:pos"] = "(-114,9,22492)", ["ocean_build.ocean_built"] = "5" } } ``` Log identifier ``` [MOD] yl_report log identifier = FlX0YTv7M89ZBJ3Vs9oTsdXymQHwocFu ``` Profiler save: ``` profile-20230224T230547.json_prettyEE ``` Status: ``` # Server: version: 5.6.1-yl | game: Minetest Game | uptime: 5d 18h 39min 51s | max lag: 3.14s | clients (24/52): Adrian530, AliasAlreadyTaken, Aliza, AspireMint, Bailiff, BibaBoba, Bla, Chazz, daydream, Elias, flux, Idknow, itaca94, jackofthebean000, johanlegend, mahou, mrminer, NatorGreen, niceride, Service, shanish3, Sokomine, Sysmatic, tour ``` Teleport command: ``` /teleport xyz 3637 14 1657 ``` Compass command: ``` /give_compass Construction FlX0YTv7M89ZBJ3Vs9oTsdXymQHwocFu D2691E 3637 14 1657 ```
AliasAlreadyTaken was assigned by yourland-report 2023-02-24 23:05:47 +00:00
flux added the
1. kind/bug
label 2023-02-25 00:37:33 +00:00
flux added the
4. step/needs confirmation
label 2023-02-25 00:55:50 +00:00
Member

Sokomine reports that this was a bees:hive_wild. i can't see any code in the bees mod that invokes custom protection violations, and i can't trigger this behavior locally (though the hive i'm testing with is still alive). i am noticing that trying to dig a single node of protected dirt with an empty hand is dealing me 3 damage, which is not right.

Sokomine reports that this was a `bees:hive_wild`. i can't see any code in the bees mod that invokes custom protection violations, and i can't trigger this behavior locally (though the hive i'm testing with is still alive). i *am* noticing that trying to dig a single node of protected dirt with an empty hand is dealing me 3 damage, which is *not* right.
flux added the
2. prio/elevated
label 2023-02-25 00:57:18 +00:00
flux self-assigned this 2023-02-25 00:57:24 +00:00
flux added this to the flux's TODO list project 2023-02-25 00:57:26 +00:00
Member

i'm pretty sure this doesn't have anything to do w/ the hive itself, and moreso that the anti-cheat system isn't behaving sanely for some reason. i'll poke at this more tomorrow.

i'm pretty sure this doesn't have anything to do w/ the hive itself, and moreso that the anti-cheat system isn't behaving sanely for some reason. i'll poke at this more tomorrow.
flux removed the
4. step/needs confirmation
label 2023-02-25 01:04:18 +00:00
Member

probably the anti-cheat system needs to take into account actual digging speed when levying punishments, not anticipated digging speed. also, lag. currently it seems to punish slow tools more than fast tools, though we also need to avoid punishing people w/ fast tools when there's actual server lag.

probably the anti-cheat system needs to take into account *actual* digging speed when levying punishments, not *anticipated* digging speed. also, lag. currently it seems to punish slow tools more than fast tools, though we also need to avoid punishing people w/ fast tools when there's actual server lag.
flux added the
4. step/at work
3. source/integration
labels 2023-02-27 21:05:44 +00:00
Member

i figured out a big part of the issue - the protection violation wasn't taking into account the capabilities of the player's "hand" (default dig parameters) when breaking nodes, leading to punching leaves w/ an empty hand quickly creating big penalties.

this should be fixed w/ 7d06dd39d7

i figured out a big part of the issue - the protection violation wasn't taking into account the capabilities of the player's "hand" (default dig parameters) when breaking nodes, leading to punching leaves w/ an empty hand quickly creating big penalties. this should be fixed w/ https://gitea.your-land.de/your-land/yl_areas_addon/commit/7d06dd39d7b5704e7c2895c5fa745d597ca5165c
flux added
4. step/ready to QA test
and removed
4. step/at work
labels 2023-02-28 22:15:59 +00:00
AliasAlreadyTaken added the
ugh/QA OK
label 2023-04-13 01:39:03 +00:00
AliasAlreadyTaken added this to the 1.1.118 milestone 2023-04-13 01:39:06 +00:00
flux added
5. result/fixed
and removed
4. step/ready to QA test
labels 2023-04-25 22:51:02 +00:00
flux removed this from the flux's TODO list project 2023-04-25 22:51:05 +00:00
AliasAlreadyTaken was unassigned by flux 2023-04-25 22:51:08 +00:00
flux removed their assignment 2023-04-25 22:51:08 +00:00
Member

this is live

this is live
flux closed this issue 2023-04-25 22:51:17 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 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#3882
No description provided.