pakers reports: I've wrote a long story in a t ... #2720

Open
opened 2022-09-19 23:06:32 +00:00 by yourland-report · 5 comments

pakers reports a bug:

I've wrote a long story in a text editor and I've pasted it into a book (nice addition!) but as soon as I've try to read it again I don't see the text only:

Player position:

{
	x = -1084,
	y = 34.5,
	z = -2975
}

Player look:

{
	x = -0.96243703365326,
	y = -0.18206390738487,
	z = -0.20141424238682
}

Player information:

{
	protocol_version = 38,
	lang_code = "es",
	formspec_version = 2,
	state = "Active",
	ip_version = 6,
	major = 5,
	minor = 1,
	avg_rtt = 0.046999998390675,
	min_jitter = 0,
	max_jitter = 0.56800001859665,
	avg_jitter = 0,
	connection_uptime = 289,
	serialization_version = 28,
	patch = 1,
	version_string = "5.1.1",
	max_rtt = 1.2669999599457,
	min_rtt = 0.043999999761581
}

Player meta:

{
	fields = {
		repellant = "0",
		inflicted_damage = "81450",
		placed_nodes = "9343",
		died = "25",
		crafted = "1116",
		jointime = "1642190461",
		bitten = "0",
		yl_commons_thankyou = "8",
		hud_state = "on",
		yl_commons_player_joined = "1663628540",
		arenalib_infobox_arenaID = "0",
		played_time = "526879",
		xp = "50407",
		["stamina:exhaustion"] = "142.5",
		yl_church = "return {[\"last_death_portal\"] = 1647115461, [\"last_death\"] = {[\"z\"] = 1253, [\"x\"] = 2038, [\"y\"] = 10}, [\"last_heal\"] = 1645056008}",
		partychat = "main",
		["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}",
		digged_nodes = "38829",
		yl_commons_player_created = "1642190461",
		["stamina:level"] = "18",
		["signslib:pos"] = "(-1088,40,-2978)",
		["stamina:poisoned"] = "no",
		["3d_armor_inventory"] = "return {\"3d_armor:helmet_crystal 1 1800\", \"\", \"3d_armor:chestplate_crystal 1 1800\", \"shields:shield_crystal 1 1800\", \"3d_armor:boots_crystal 1 1800\", \"3d_armor:leggings_crystal 1 1800\"}",
		punch_count = "5439"
	}
}

Log identifier


[MOD] yl_report log identifier = A7VDYZaLtTlKiVf28mIl1UUuWBzj0s2f

Profiler save:

profile-20220919T230632.json_prettyEE

Status:

# Server: version: 5.5.1-yl | game: Minetest Game | uptime: 14h 1min 38s | max lag: 1.78s | clients: rheo, pakers, jackofthebean000, DreamNotFound, AspireMint, Bailiff, daydream, flux, Empempires, MarseySeether, NodeBreaker, Silvercastle, Insomniacs_Yello

Teleport command:

/teleport xyz -1084 35 -2975

Compass command:

/give_compass Construction A7VDYZaLtTlKiVf28mIl1UUuWBzj0s2f D2691E -1084 35 -2975
pakers reports a bug: > I've wrote a long story in a text editor and I've pasted it into a book (nice addition!) but as soon as I've try to read it again I don't see the text only: <invalid wstring> Player position: ``` { x = -1084, y = 34.5, z = -2975 } ``` Player look: ``` { x = -0.96243703365326, y = -0.18206390738487, z = -0.20141424238682 } ``` Player information: ``` { protocol_version = 38, lang_code = "es", formspec_version = 2, state = "Active", ip_version = 6, major = 5, minor = 1, avg_rtt = 0.046999998390675, min_jitter = 0, max_jitter = 0.56800001859665, avg_jitter = 0, connection_uptime = 289, serialization_version = 28, patch = 1, version_string = "5.1.1", max_rtt = 1.2669999599457, min_rtt = 0.043999999761581 } ``` Player meta: ``` { fields = { repellant = "0", inflicted_damage = "81450", placed_nodes = "9343", died = "25", crafted = "1116", jointime = "1642190461", bitten = "0", yl_commons_thankyou = "8", hud_state = "on", yl_commons_player_joined = "1663628540", arenalib_infobox_arenaID = "0", played_time = "526879", xp = "50407", ["stamina:exhaustion"] = "142.5", yl_church = "return {[\"last_death_portal\"] = 1647115461, [\"last_death\"] = {[\"z\"] = 1253, [\"x\"] = 2038, [\"y\"] = 10}, [\"last_heal\"] = 1645056008}", partychat = "main", ["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}", digged_nodes = "38829", yl_commons_player_created = "1642190461", ["stamina:level"] = "18", ["signslib:pos"] = "(-1088,40,-2978)", ["stamina:poisoned"] = "no", ["3d_armor_inventory"] = "return {\"3d_armor:helmet_crystal 1 1800\", \"\", \"3d_armor:chestplate_crystal 1 1800\", \"shields:shield_crystal 1 1800\", \"3d_armor:boots_crystal 1 1800\", \"3d_armor:leggings_crystal 1 1800\"}", punch_count = "5439" } } ``` Log identifier ``` [MOD] yl_report log identifier = A7VDYZaLtTlKiVf28mIl1UUuWBzj0s2f ``` Profiler save: ``` profile-20220919T230632.json_prettyEE ``` Status: ``` # Server: version: 5.5.1-yl | game: Minetest Game | uptime: 14h 1min 38s | max lag: 1.78s | clients: rheo, pakers, jackofthebean000, DreamNotFound, AspireMint, Bailiff, daydream, flux, Empempires, MarseySeether, NodeBreaker, Silvercastle, Insomniacs_Yello ``` Teleport command: ``` /teleport xyz -1084 35 -2975 ``` Compass command: ``` /give_compass Construction A7VDYZaLtTlKiVf28mIl1UUuWBzj0s2f D2691E -1084 35 -2975 ```
AliasAlreadyTaken was assigned by yourland-report 2022-09-19 23:06:32 +00:00
Member

possibly related:

possibly related: * #482 * #1724
flux added the
1. kind/bug
4. step/question
labels 2022-09-19 23:23:26 +00:00
Member

book contents are <invalid wstring>, which makes me think pakers accidentally has some unicode in his text.

book contents are `<invalid wstring>`, which makes me think pakers accidentally has some unicode in his text.
Member

so the <invalid wstring> is one issue. we can't fix minetest (irrlicht, really) not having fantastic unicode support.

a second is that while editing a book as an item you are holding, the maximum length of the body of the book is 10000 characters. this is hard-coded into minetest_game.

however, this limit is not active for books you edit while they're placed as nodes (books mod).

so the `<invalid wstring>` is one issue. we can't fix minetest (irrlicht, really) not having fantastic unicode support. a second is that while editing a book as an item you are holding, the maximum length of the body of the book is 10000 characters. this is hard-coded into minetest_game. however, this limit is not active for books you edit while they're placed as nodes (books mod).
flux added
3. source/mod upstream
and removed
4. step/question
labels 2022-09-19 23:56:39 +00:00
Member

ideally,

  1. the node and the item should behave the same way, whatever that is.
  2. if the player is encountering a limit on the size of the book, they should be informed about why their text is disappearing
  3. that limit should be configurable
ideally, 1. the node and the item should behave the same way, whatever that is. 2. if the player is encountering a limit on the size of the book, they should be informed about why their text is disappearing 3. that limit should be configurable
Member

for the moment, i've informed pakers about the behavior. because there's a work around, don't really need a solution for this problem. as this ideally requires PR'ing both MTG and books, i'd rather spend time doing other things for the moment.

for the moment, i've informed pakers about the behavior. because there's a work around, don't really need a solution for this problem. as this ideally requires PR'ing both [MTG](https://github.com/minetest/minetest_game) and [books](https://github.com/everamzah/books), i'd rather spend time doing other things for the moment.
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#2720
No description provided.