ptdrchuisqui reports: (i am new so it may just be fe ... #5896

Open
opened 2024-01-03 18:24:53 +00:00 by yourland-report · 4 comments

ptdrchuisqui reports a bug:

(i am new so it may just be feature and i may not know it) some bookshelf in the tuto house/building have slots with grey icons (makes sense to me) and some empty slots without icon (doesn't make sense to me)

Player position:

{
	z = 1131.0900878906,
	x = 1941.3609619141,
	y = 35.5
}

Player look:

{
	z = -0.21213273704052,
	x = -0.92547959089279,
	y = -0.31382673978806
}

Player information:

{
	state = "Active",
	lang_code = "fr",
	minor = 4,
	version_string = "5.4.1",
	formspec_version = 4,
	ip_version = 6,
	min_rtt = 0.037999998778105,
	avg_rtt = 0.039000000804663,
	min_jitter = 0,
	max_jitter = 0.65100002288818,
	avg_jitter = 0.00099999830126762,
	connection_uptime = 2092,
	serialization_version = 28,
	max_rtt = 0.7059999704361,
	major = 5,
	protocol_version = 39,
	patch = 1
}

Player meta:

{
	fields = {
		["stamina:poisoned"] = "no",
		["stamina:exhaustion"] = "97",
		yl_commons_player_created = "1704132419",
		yl_commons_player_joined = "1704304225",
		played_time = "3359",
		digged_nodes = "26",
		placed_nodes = "11",
		crafted = "4",
		repellant = "0",
		["3d_armor_inventory"] = "return {\"3d_armor:helmet_wood 1 16000\", \"\", \"\", \"\", \"\", \"\"}",
		inflicted_damage = "28",
		punch_count = "5",
		jointime = "1704132419",
		bitten = "0",
		xp = "44",
		["stamina:level"] = "14",
		hud_state = "on"
	}
}

Log identifier


[MOD] yl_report log identifier = 7pU5sS6RFYliy3hn2femrj9G9hxH4pFz

Profiler save:

profile-20240103T182453.json_prettyEE

Status:

# Server: version: 5.7.0-yl-thx-tmm | game: Minetest Game | uptime: 8h 48min 32s | max lag: 1.39s | clients (24/52): Administrator, afonsan, ALCOHOL3, AliasAlreadyTaken, bleek, Boot, Brabenec, Davidsoft, DragonWrangler1, FireThatFollows, flux, geomagas, Giuseppe, LisiaGea, mahou, Noii, Parrish, Pelu, phillip, prowler, ptdrchuisqui, threehymns, visibleObject2, whostand

Teleport command:

/teleport xyz 1941 36 1131

Compass command:

/give_compass Construction 7pU5sS6RFYliy3hn2femrj9G9hxH4pFz D2691E 1941 36 1131
ptdrchuisqui reports a bug: > (i am new so it may just be feature and i may not know it) some bookshelf in the tuto house/building have slots with grey icons (makes sense to me) and some empty slots without icon (doesn't make sense to me) Player position: ``` { z = 1131.0900878906, x = 1941.3609619141, y = 35.5 } ``` Player look: ``` { z = -0.21213273704052, x = -0.92547959089279, y = -0.31382673978806 } ``` Player information: ``` { state = "Active", lang_code = "fr", minor = 4, version_string = "5.4.1", formspec_version = 4, ip_version = 6, min_rtt = 0.037999998778105, avg_rtt = 0.039000000804663, min_jitter = 0, max_jitter = 0.65100002288818, avg_jitter = 0.00099999830126762, connection_uptime = 2092, serialization_version = 28, max_rtt = 0.7059999704361, major = 5, protocol_version = 39, patch = 1 } ``` Player meta: ``` { fields = { ["stamina:poisoned"] = "no", ["stamina:exhaustion"] = "97", yl_commons_player_created = "1704132419", yl_commons_player_joined = "1704304225", played_time = "3359", digged_nodes = "26", placed_nodes = "11", crafted = "4", repellant = "0", ["3d_armor_inventory"] = "return {\"3d_armor:helmet_wood 1 16000\", \"\", \"\", \"\", \"\", \"\"}", inflicted_damage = "28", punch_count = "5", jointime = "1704132419", bitten = "0", xp = "44", ["stamina:level"] = "14", hud_state = "on" } } ``` Log identifier ``` [MOD] yl_report log identifier = 7pU5sS6RFYliy3hn2femrj9G9hxH4pFz ``` Profiler save: ``` profile-20240103T182453.json_prettyEE ``` Status: ``` # Server: version: 5.7.0-yl-thx-tmm | game: Minetest Game | uptime: 8h 48min 32s | max lag: 1.39s | clients (24/52): Administrator, afonsan, ALCOHOL3, AliasAlreadyTaken, bleek, Boot, Brabenec, Davidsoft, DragonWrangler1, FireThatFollows, flux, geomagas, Giuseppe, LisiaGea, mahou, Noii, Parrish, Pelu, phillip, prowler, ptdrchuisqui, threehymns, visibleObject2, whostand ``` Teleport command: ``` /teleport xyz 1941 36 1131 ``` Compass command: ``` /give_compass Construction 7pU5sS6RFYliy3hn2femrj9G9hxH4pFz D2691E 1941 36 1131 ```
AliasAlreadyTaken was assigned by yourland-report 2024-01-03 18:24:53 +00:00
AliasAlreadyTaken added the
4. step/needs confirmation
label 2024-01-03 18:55:11 +00:00
Member

the bookshelf @ (1942,36,1129)

image

other bookshelves seem normal

the bookshelf @ (1942,36,1129) ![image](/attachments/8336ad2b-efa0-4c5d-8c08-9290e30c4da7) other bookshelves seem normal
flux added
1. kind/bug
4. step/at work
3. source/unknown
and removed
4. step/needs confirmation
labels 2024-01-04 01:23:53 +00:00
Member
{
	fields = {
		formspec = "size[8,7;]list[context;books;0,0.3;8,2;]list[current_player;main;0,2.85;8,1;]list[current_player;main;0,4.08;8,3;8]listring[context;books]listring[current_player;main]image[0,2.85;1,1;gui_hb_bg.png]image[1,2.85;1,1;gui_hb_bg.png]image[2,2.85;1,1;gui_hb_bg.png]image[3,2.85;1,1;gui_hb_bg.png]image[4,2.85;1,1;gui_hb_bg.png]image[5,2.85;1,1;gui_hb_bg.png]image[6,2.85;1,1;gui_hb_bg.png]image[7,2.85;1,1;gui_hb_bg.png]image[0,1.3;1,1;default_bookshelf_slot.png]image[2,1.3;1,1;default_bookshelf_slot.png]image[3,1.3;1,1;default_bookshelf_slot.png]image[4,1.3;1,1;default_bookshelf_slot.png]image[5,1.3;1,1;default_bookshelf_slot.png]image[6,1.3;1,1;default_bookshelf_slot.png]",
		infotext = "\27(T@default)Bookshelf (\27F10\27E written, \27F0\27E empty books)\27E"
	},
	inventory = {
		books = {
			ItemStack(""),
			ItemStack(""),
			ItemStack(""),
			ItemStack(""),
			ItemStack(""),
			ItemStack(""),
			ItemStack(""),
			ItemStack(""),
			ItemStack(""),
			ItemStack(""),
			ItemStack(""),
			ItemStack(""),
			ItemStack(""),
			ItemStack(""),
			ItemStack(""),
			ItemStack("")
		}
	}
}

vs.

{
	fields = {
		formspec = "size[8,7;]list[context;books;0,0.3;8,2;]list[current_player;main;0,2.85;8,1;]list[current_player;main;0,4.08;8,3;8]listring[context;books]listring[current_player;main]image[0,2.85;1,1;gui_hb_bg.png]image[1,2.85;1,1;gui_hb_bg.png]image[2,2.85;1,1;gui_hb_bg.png]image[3,2.85;1,1;gui_hb_bg.png]image[4,2.85;1,1;gui_hb_bg.png]image[5,2.85;1,1;gui_hb_bg.png]image[6,2.85;1,1;gui_hb_bg.png]image[7,2.85;1,1;gui_hb_bg.png]image[0,0.3;1,1;default_bookshelf_slot.png]image[1,0.3;1,1;default_bookshelf_slot.png]image[2,0.3;1,1;default_bookshelf_slot.png]image[3,0.3;1,1;default_bookshelf_slot.png]image[4,0.3;1,1;default_bookshelf_slot.png]image[5,0.3;1,1;default_bookshelf_slot.png]image[6,0.3;1,1;default_bookshelf_slot.png]image[7,0.3;1,1;default_bookshelf_slot.png]image[0,1.3;1,1;default_bookshelf_slot.png]image[1,1.3;1,1;default_bookshelf_slot.png]image[2,1.3;1,1;default_bookshelf_slot.png]image[3,1.3;1,1;default_bookshelf_slot.png]image[4,1.3;1,1;default_bookshelf_slot.png]image[5,1.3;1,1;default_bookshelf_slot.png]image[6,1.3;1,1;default_bookshelf_slot.png]image[7,1.3;1,1;default_bookshelf_slot.png]",
		infotext = "\27(T@default)Empty Bookshelf\27E"
	},
	inventory = {
		books = {
			ItemStack(""),
			ItemStack(""),
			ItemStack(""),
			ItemStack(""),
			ItemStack(""),
			ItemStack(""),
			ItemStack(""),
			ItemStack(""),
			ItemStack(""),
			ItemStack(""),
			ItemStack(""),
			ItemStack(""),
			ItemStack(""),
			ItemStack(""),
			ItemStack(""),
			ItemStack("")
		}
	}
}
```lua { fields = { formspec = "size[8,7;]list[context;books;0,0.3;8,2;]list[current_player;main;0,2.85;8,1;]list[current_player;main;0,4.08;8,3;8]listring[context;books]listring[current_player;main]image[0,2.85;1,1;gui_hb_bg.png]image[1,2.85;1,1;gui_hb_bg.png]image[2,2.85;1,1;gui_hb_bg.png]image[3,2.85;1,1;gui_hb_bg.png]image[4,2.85;1,1;gui_hb_bg.png]image[5,2.85;1,1;gui_hb_bg.png]image[6,2.85;1,1;gui_hb_bg.png]image[7,2.85;1,1;gui_hb_bg.png]image[0,1.3;1,1;default_bookshelf_slot.png]image[2,1.3;1,1;default_bookshelf_slot.png]image[3,1.3;1,1;default_bookshelf_slot.png]image[4,1.3;1,1;default_bookshelf_slot.png]image[5,1.3;1,1;default_bookshelf_slot.png]image[6,1.3;1,1;default_bookshelf_slot.png]", infotext = "\27(T@default)Bookshelf (\27F10\27E written, \27F0\27E empty books)\27E" }, inventory = { books = { ItemStack(""), ItemStack(""), ItemStack(""), ItemStack(""), ItemStack(""), ItemStack(""), ItemStack(""), ItemStack(""), ItemStack(""), ItemStack(""), ItemStack(""), ItemStack(""), ItemStack(""), ItemStack(""), ItemStack(""), ItemStack("") } } } ``` vs. ```lua { fields = { formspec = "size[8,7;]list[context;books;0,0.3;8,2;]list[current_player;main;0,2.85;8,1;]list[current_player;main;0,4.08;8,3;8]listring[context;books]listring[current_player;main]image[0,2.85;1,1;gui_hb_bg.png]image[1,2.85;1,1;gui_hb_bg.png]image[2,2.85;1,1;gui_hb_bg.png]image[3,2.85;1,1;gui_hb_bg.png]image[4,2.85;1,1;gui_hb_bg.png]image[5,2.85;1,1;gui_hb_bg.png]image[6,2.85;1,1;gui_hb_bg.png]image[7,2.85;1,1;gui_hb_bg.png]image[0,0.3;1,1;default_bookshelf_slot.png]image[1,0.3;1,1;default_bookshelf_slot.png]image[2,0.3;1,1;default_bookshelf_slot.png]image[3,0.3;1,1;default_bookshelf_slot.png]image[4,0.3;1,1;default_bookshelf_slot.png]image[5,0.3;1,1;default_bookshelf_slot.png]image[6,0.3;1,1;default_bookshelf_slot.png]image[7,0.3;1,1;default_bookshelf_slot.png]image[0,1.3;1,1;default_bookshelf_slot.png]image[1,1.3;1,1;default_bookshelf_slot.png]image[2,1.3;1,1;default_bookshelf_slot.png]image[3,1.3;1,1;default_bookshelf_slot.png]image[4,1.3;1,1;default_bookshelf_slot.png]image[5,1.3;1,1;default_bookshelf_slot.png]image[6,1.3;1,1;default_bookshelf_slot.png]image[7,1.3;1,1;default_bookshelf_slot.png]", infotext = "\27(T@default)Empty Bookshelf\27E" }, inventory = { books = { ItemStack(""), ItemStack(""), ItemStack(""), ItemStack(""), ItemStack(""), ItemStack(""), ItemStack(""), ItemStack(""), ItemStack(""), ItemStack(""), ItemStack(""), ItemStack(""), ItemStack(""), ItemStack(""), ItemStack(""), ItemStack("") } } } ```
Member

the formspecs do indeed appear to be different, i have no theory as to how something like this might happen.

the formspecs do indeed appear to be different, i have no theory as to how something like this might happen.

weird.

I noticed something similar (wrong infotext) earilier, but didn't test enough for a /bug

What happens: there is this function to update the formspec a3b171e317/mods/default/nodes.lua (L2491)
normally, it's called on every inventory action: a3b171e317/mods/default/nodes.lua (L2552)

This used to work fine for quite a long time.
But some update / mod seems to break this (latest mtg is still fine).
So formspec and infotext don't update any longer

I tested with my private bookshelf at (6900, 12, 3032) if someone needs such an old bookshelf... feel free to demolish it on test :D

weird. I noticed something similar (wrong infotext) earilier, but didn't test enough for a /bug What happens: there is this function to update the formspec https://github.com/minetest/minetest_game/blob/a3b171e317ec63428975915b821eb438c313adef/mods/default/nodes.lua#L2491 normally, it's called on every inventory action: https://github.com/minetest/minetest_game/blob/a3b171e317ec63428975915b821eb438c313adef/mods/default/nodes.lua#L2552 This used to work fine for quite a long time. But some update / mod seems to break this (latest mtg is still fine). So formspec and infotext don't update any longer I tested with my private bookshelf at (6900, 12, 3032) if someone needs such an old bookshelf... feel free to demolish it on test :D
AliasAlreadyTaken removed the
3. source/unknown
label 2024-01-04 12:24:40 +00:00
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#5896
No description provided.