Huggert reports: When placing a written book in ... #653

Open
opened 3 months ago by yourland-report · 2 comments

Huggert reports a bug:

When placing a written book in an item frame, the book is not taken from your hand. The new book in the item frame can be placed, and dug back up, to make a copy of the original written book.

Player position:

{
	y = 31.562000274658,
	x = 3496.8698730469,
	z = 1534.8499755859
}

Player look:

{
	y = -0.0260024741292,
	x = 0.95854502916336,
	z = -0.2837521135807
}

Player information:

{
	min_rtt = 0.032000001519918,
	max_rtt = 0.46999999880791,
	connection_uptime = 9949,
	max_jitter = 0.43500000238419,
	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.037999998778105,
	state = "Active",
	avg_jitter = 0.0020000003278255,
	min_jitter = 0,
	address = "::ffff:92.243.231.220"
}

Player meta:

{
	fields = {
		["3d_armor_inventory"] = "return {\"3d_armor:leggings_steel 1 38400\", \"3d_armor:boots_steel 1 38400\", \"3d_armor:helmet_steel 1 38400\", \"3d_armor:chestplate_steel 1 38400\", \"\", \"\"}",
		played_time = "122831",
		jointime = "1623408840",
		yl_commons_player_joined = "1623834680",
		["signslib:pos"] = "(3497,32,1535)",
		digged_nodes = "18826",
		bitten = "0",
		yl_church = "return {[\"last_death\"] = {[\"y\"] = 32, [\"x\"] = 3497, [\"z\"] = 1536}, [\"last_death_portal\"] = 1623612239}",
		["stamina:level"] = "11.35",
		punch_count = "433",
		arenalib_infobox_arenaID = "0",
		crafted = "224",
		died = "21",
		xp = "17505",
		placed_nodes = "3401",
		hud_state = "on",
		repellant = "0",
		yl_commons_player_created = "1623408840"
	}
}

Log identifier


[MOD] yl_report log identifier = v15Kvw5Tcfmej0pFtiAT8Wk8P5dd7YE9

Profiler save:

profile-20210616T135640.json_pretty

Status:

# Server: version=5.4.1-yl, uptime=16529.6, max_lag=2.46365, clients={DatOneFox, NaNNaLySa, ElishQa, Oakenshield, Service, Huggert, Bailiff, whosit, AliasAlreadyTaken, Portal_repairman}
Huggert reports a bug: > When placing a written book in an item frame, the book is not taken from your hand. The new book in the item frame can be placed, and dug back up, to make a copy of the original written book. Player position: ``` { y = 31.562000274658, x = 3496.8698730469, z = 1534.8499755859 } ``` Player look: ``` { y = -0.0260024741292, x = 0.95854502916336, z = -0.2837521135807 } ``` Player information: ``` { min_rtt = 0.032000001519918, max_rtt = 0.46999999880791, connection_uptime = 9949, max_jitter = 0.43500000238419, 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.037999998778105, state = "Active", avg_jitter = 0.0020000003278255, min_jitter = 0, address = "::ffff:92.243.231.220" } ``` Player meta: ``` { fields = { ["3d_armor_inventory"] = "return {\"3d_armor:leggings_steel 1 38400\", \"3d_armor:boots_steel 1 38400\", \"3d_armor:helmet_steel 1 38400\", \"3d_armor:chestplate_steel 1 38400\", \"\", \"\"}", played_time = "122831", jointime = "1623408840", yl_commons_player_joined = "1623834680", ["signslib:pos"] = "(3497,32,1535)", digged_nodes = "18826", bitten = "0", yl_church = "return {[\"last_death\"] = {[\"y\"] = 32, [\"x\"] = 3497, [\"z\"] = 1536}, [\"last_death_portal\"] = 1623612239}", ["stamina:level"] = "11.35", punch_count = "433", arenalib_infobox_arenaID = "0", crafted = "224", died = "21", xp = "17505", placed_nodes = "3401", hud_state = "on", repellant = "0", yl_commons_player_created = "1623408840" } } ``` Log identifier ``` [MOD] yl_report log identifier = v15Kvw5Tcfmej0pFtiAT8Wk8P5dd7YE9 ``` Profiler save: ``` profile-20210616T135640.json_pretty ``` Status: ``` # Server: version=5.4.1-yl, uptime=16529.6, max_lag=2.46365, clients={DatOneFox, NaNNaLySa, ElishQa, Oakenshield, Service, Huggert, Bailiff, whosit, AliasAlreadyTaken, Portal_repairman} ```
AliasAlreadyTaken was assigned by yourland-report 3 months ago
Collaborator

I've looked at this:
https://notabug.org/TenPlus1/itemframes/src/master/init.lua#L284
and this:
https://github.com/everamzah/books/blob/master/init.lua#L16
And it looks like it should work. And upon testing it, it did work properly: item in the frame was just a inventory_icon item, not a "block"-book. And does not dupe it.

Are those wrong versions or something else interfering with it?

I've looked at this: https://notabug.org/TenPlus1/itemframes/src/master/init.lua#L284 and this: https://github.com/everamzah/books/blob/master/init.lua#L16 And it looks like it should work. And upon testing it, it did work properly: item in the frame was just a inventory_icon item, not a "block"-book. And does not dupe it. Are those wrong versions or something else interfering with it?
AliasAlreadyTaken added the
kind/bug
source/upstream
source/integration
labels 2 months ago
AliasAlreadyTaken added the
step/help wanted
label 2 months ago

Hi,

You said:

When placing a written book in an item frame, the book is not taken from your hand. The new book in the item frame can be placed, and dug back up, to make a copy of the original written book.

in

https://gitea.your-land.de/your-land/bugtracker/issues/653

We cannot reproduce this behaviour. Can you show it to me?

Greetings, Alias

Hi, You said: When placing a written book in an item frame, the book is not taken from your hand. The new book in the item frame can be placed, and dug back up, to make a copy of the original written book. in https://gitea.your-land.de/your-land/bugtracker/issues/653 We cannot reproduce this behaviour. Can you show it to me? Greetings, Alias
Sign in to join this conversation.
Loading…
There is no content yet.