Bla reports: [testserver] choppy seems to h ... #3877

Open
opened 2023-02-23 23:16:57 +00:00 by yourland-report · 6 comments

Bla reports a bug:

[testserver] choppy seems to have less durability cost than cutting by hand

Player position:

{
	y = 14.5,
	z = 1291.3929443359,
	x = 2040.3990478516
}

Player look:

{
	y = -0.0017453283071518,
	z = 0.37670895457268,
	x = -0.9263299703598
}

Player information:

{
	protocol_version = 41,
	state = "Active",
	max_rtt = 1.1080000400543,
	minor = 7,
	ip_version = 6,
	min_rtt = 0.024000000208616,
	avg_rtt = 0.03999999910593,
	max_jitter = 0.89499998092651,
	avg_jitter = 0.014999998733401,
	connection_uptime = 3727,
	lang_code = "",
	patch = 0,
	major = 5,
	version_string = "5.7.0-dev-4cd6b773b-dirty",
	serialization_version = 29,
	formspec_version = 6,
	min_jitter = 0
}

Player meta:

{
	fields = {
		["unified_inventory:bags"] = "return {\"water_life:croc_bag\", \"water_life:croc_bag\", \"water_life:croc_bag\", \"water_life:croc_bag\"}",
		["stamina:poisoned"] = "no",
		ui_waypoints = "{\"data\":[{\"active\":false,\"color\":2.0,\"display_pos\":true,\"world_pos\":{\"x\":-448.0,\"y\":25.0,\"z\":1341.0}},{\"active\":false,\"world_pos\":{\"x\":-447.0,\"y\":25.0,\"z\":1344.0}}],\"selected\":1.0}",
		["signslib:pos"] = "(4476,-56,-29877)",
		played_time = "10787669",
		digged_nodes = "1768781",
		placed_nodes = "659557",
		died = "105",
		["ocean_build.forbidden"] = "true",
		crafted = "31544",
		yl_commons_player_joined = "1677190533",
		yl_church = "return {[\"last_death_portal\"] = 1677098951, [\"last_death\"] = {[\"y\"] = 15, [\"z\"] = 1220, [\"x\"] = 1995}, [\"last_heal\"] = 1635970005}",
		punch_count = "184240",
		["stamina:level"] = "18",
		inflicted_damage = "3693020",
		arenalib_infobox_arenaID = "0",
		partychat = "party",
		["stamina:exhaustion"] = "0",
		["ocean_build.last_warning"] = "1.66187e+09",
		hud_state = "on",
		xp = "2186213",
		yl_commons_player_created = "1635266646",
		["ambience.svol"] = "1",
		repellant = "0",
		["3d_armor_inventory"] = "return {\"3d_armor:chestplate_crystal 1 14880\", \"3d_armor:helmet_crystal 1 14880\", \"3d_armor:boots_crystal 1 14880\", \"3d_armor:leggings_crystal 1 14880\", \"shields:shield_crystal 1 14880\", \"\"}",
		jointime = "1635266646",
		bitten = "0",
		yl_commons_thankyou = "372",
		["ocean_build.ocean_built"] = "12"
	}
}

Log identifier


[MOD] yl_report log identifier = gK6ZT7um4s5pvg4QRh6bqBwa2WzEkZMl

Profiler save:

profile-20230223T231657.json_prettyEE

Status:

# Server: version: 5.6.1-yl-debug | game: Minetest Game | uptime: 11h 30min 36s | max lag: 0.183s | clients (1/52): Bla

Teleport command:

/teleport xyz 2040 15 1291

Compass command:

/give_compass Construction gK6ZT7um4s5pvg4QRh6bqBwa2WzEkZMl D2691E 2040 15 1291
Bla reports a bug: > [testserver] choppy seems to have less durability cost than cutting by hand Player position: ``` { y = 14.5, z = 1291.3929443359, x = 2040.3990478516 } ``` Player look: ``` { y = -0.0017453283071518, z = 0.37670895457268, x = -0.9263299703598 } ``` Player information: ``` { protocol_version = 41, state = "Active", max_rtt = 1.1080000400543, minor = 7, ip_version = 6, min_rtt = 0.024000000208616, avg_rtt = 0.03999999910593, max_jitter = 0.89499998092651, avg_jitter = 0.014999998733401, connection_uptime = 3727, lang_code = "", patch = 0, major = 5, version_string = "5.7.0-dev-4cd6b773b-dirty", serialization_version = 29, formspec_version = 6, min_jitter = 0 } ``` Player meta: ``` { fields = { ["unified_inventory:bags"] = "return {\"water_life:croc_bag\", \"water_life:croc_bag\", \"water_life:croc_bag\", \"water_life:croc_bag\"}", ["stamina:poisoned"] = "no", ui_waypoints = "{\"data\":[{\"active\":false,\"color\":2.0,\"display_pos\":true,\"world_pos\":{\"x\":-448.0,\"y\":25.0,\"z\":1341.0}},{\"active\":false,\"world_pos\":{\"x\":-447.0,\"y\":25.0,\"z\":1344.0}}],\"selected\":1.0}", ["signslib:pos"] = "(4476,-56,-29877)", played_time = "10787669", digged_nodes = "1768781", placed_nodes = "659557", died = "105", ["ocean_build.forbidden"] = "true", crafted = "31544", yl_commons_player_joined = "1677190533", yl_church = "return {[\"last_death_portal\"] = 1677098951, [\"last_death\"] = {[\"y\"] = 15, [\"z\"] = 1220, [\"x\"] = 1995}, [\"last_heal\"] = 1635970005}", punch_count = "184240", ["stamina:level"] = "18", inflicted_damage = "3693020", arenalib_infobox_arenaID = "0", partychat = "party", ["stamina:exhaustion"] = "0", ["ocean_build.last_warning"] = "1.66187e+09", hud_state = "on", xp = "2186213", yl_commons_player_created = "1635266646", ["ambience.svol"] = "1", repellant = "0", ["3d_armor_inventory"] = "return {\"3d_armor:chestplate_crystal 1 14880\", \"3d_armor:helmet_crystal 1 14880\", \"3d_armor:boots_crystal 1 14880\", \"3d_armor:leggings_crystal 1 14880\", \"shields:shield_crystal 1 14880\", \"\"}", jointime = "1635266646", bitten = "0", yl_commons_thankyou = "372", ["ocean_build.ocean_built"] = "12" } } ``` Log identifier ``` [MOD] yl_report log identifier = gK6ZT7um4s5pvg4QRh6bqBwa2WzEkZMl ``` Profiler save: ``` profile-20230223T231657.json_prettyEE ``` Status: ``` # Server: version: 5.6.1-yl-debug | game: Minetest Game | uptime: 11h 30min 36s | max lag: 0.183s | clients (1/52): Bla ``` Teleport command: ``` /teleport xyz 2040 15 1291 ``` Compass command: ``` /give_compass Construction gK6ZT7um4s5pvg4QRh6bqBwa2WzEkZMl D2691E 2040 15 1291 ```
AliasAlreadyTaken was assigned by yourland-report 2023-02-23 23:16:57 +00:00
flux added the
4. step/needs confirmation
label 2023-02-24 00:46:58 +00:00
Member

it should be executing the same code that's used for hand cutting, i'll need to test this

it should be executing the same code that's used for hand cutting, i'll need to test this
flux added the
1. kind/bug
label 2023-02-24 00:47:22 +00:00
Member

@Bla it seems to be exactly the same for me, though i only tested wooden axes on jungle trees:

mode tool cut wear
choppy wooden axe 29 jungle trunks 63351
hand wooden axe 29 jungle trunks 63351
@Bla it seems to be exactly the same for me, though i only tested wooden axes on jungle trees: | mode | tool | cut | wear | | ------ | ---------- | ---------------- | ----- | | choppy | wooden axe | 29 jungle trunks | 63351 | | hand | wooden axe | 29 jungle trunks | 63351 |

yeah hard to say if you can just judge it based on the durability bar.

I tried it with a wooden axe on public farm default:tree, it looked like it lost less with choppy while doing several trees than cutting the leftovers manually.

yeah hard to say if you can just judge it based on the durability bar. I tried it with a wooden axe on public farm default:tree, it looked like it lost less with choppy while doing several trees than cutting the leftovers manually.
Member

yeah hard to say if you can just judge it based on the durability bar.

I tried it with a wooden axe on public farm default:tree, it looked like it lost less with choppy while doing several trees than cutting the leftovers manually.

if you provide some evidence (rough measurements are fine), i'll look into this more, otherwise i'm inclined to close it. choppy certainly has a slight advantage over hand-cutting time-wise, because

  • it never accidentally looks at the wrong node and interrupts a chop
  • it doesn't have to wait for your client to target the next node
  • it cuts all leaves w/ the equivalent of a diamond axe (which doesn't cause any wear w/ choppy or by hand)

per that last point, if we modify our axes to have actual "snappy" attributes, cutting leaves w/ choppy will automatically be axe-dependent, and can exact a tool-dependent amount of wear. if you think that's worth doing, please open a separate issue.

> yeah hard to say if you can just judge it based on the durability bar. > > I tried it with a wooden axe on public farm default:tree, it looked like it lost less with choppy while doing several trees than cutting the leftovers manually. if you provide some evidence (rough measurements are fine), i'll look into this more, otherwise i'm inclined to close it. choppy certainly has a slight advantage over hand-cutting *time*-wise, because * it never accidentally looks at the wrong node and interrupts a chop * it doesn't have to wait for your client to target the next node * it cuts all leaves w/ the equivalent of a diamond axe (which doesn't cause any wear w/ choppy or by hand) per that last point, if we modify our axes to have actual "snappy" attributes, cutting leaves w/ choppy will automatically be axe-dependent, and can exact a tool-dependent amount of wear. if you think that's worth doing, please open a separate issue.

if you provide some evidence (rough measurements are fine), i'll look into this more, otherwise i'm inclined to close it.

please go ahead and close it if you are sure.
Beecause the only rough measurements I could do on the testserver is taking screenshots and count pixels of the durability bar which sounds a bit overcomplicated.

> if you provide some evidence (rough measurements are fine), i'll look into this more, otherwise i'm inclined to close it. please go ahead and close it if you are sure. Beecause the only rough measurements I could do on the testserver is taking screenshots and count pixels of the durability bar which sounds a bit overcomplicated.
Member

if you provide some evidence (rough measurements are fine), i'll look into this more, otherwise i'm inclined to close it.

please go ahead and close it if you are sure.
Beecause the only rough measurements I could do on the testserver is taking screenshots and count pixels of the durability bar which sounds a bit overcomplicated.

i'm basically sure, but you can get tool wear w/ /whatisthis, or i can give you privs to execute arbitrary lua commands on the test server.

> > if you provide some evidence (rough measurements are fine), i'll look into this more, otherwise i'm inclined to close it. > > please go ahead and close it if you are sure. > Beecause the only rough measurements I could do on the testserver is taking screenshots and count pixels of the durability bar which sounds a bit overcomplicated. i'm basically sure, but you can get tool wear w/ `/whatisthis`, or i can give you privs to execute arbitrary lua commands on the test server.
Sign in to join this conversation.
No Milestone
No project
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.

Dependencies

No dependencies set.

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