RPiManiac reports: player model is soooo glitched ... #8071

Closed
opened 2025-01-29 02:25:04 +01:00 by yourland-report · 5 comments

RPiManiac reports a bug:

player model is soooo glitched...

Player position:

{
	y = 38.5,
	z = -3032.0029296875,
	x = -909.20397949219
}

Player look:

{
	y = 0.42119413614273,
	z = 0.35569253563881,
	x = -0.83431309461594
}

Player information:

{
	version_string = "5.11.0-dev-29cfb6eff",
	formspec_version = 8,
	min_rtt = 0.17299999296665,
	min_jitter = 0,
	lang_code = "",
	avg_rtt = 0.21500000357628,
	serialization_version = 29,
	patch = 0,
	protocol_version = 46,
	state = "Active",
	avg_jitter = 0.030000001192093,
	max_jitter = 1.027999997139,
	ip_version = 6,
	minor = 11,
	max_rtt = 1.2940000295639,
	major = 5,
	connection_uptime = 108
}

Player meta:

{
	fields = {
		["petz:lycanthropy"] = "0",
		yl_commons_thankyou = "44",
		xp = "37724",
		jointime = "1714162735",
		bitten = "0",
		punch_count = "10159",
		["petz:werewolf_clan_idx"] = "4",
		["hud_manager:yl_snowball:hud__enabled"] = "n",
		repellant = "0",
		inflicted_damage = "225914",
		yl_church = "return {[\"last_death_portal\"] = 1737140695, [\"last_death\"] = {[\"z\"] = -2990, [\"x\"] = -756, [\"y\"] = -1551}}",
		["3d_armor_inventory"] = "return {\"3d_armor:boots_crystal\", \"3d_armor:leggings_party\", \"3d_armor:helmet_rainbow\", \"3d_armor:chestplate_rainbow\", \"shields:shield_rainbow\", \"\"}",
		partychat = "party",
		["stamina:exhaustion"] = "145.5",
		["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}",
		yl_commons_player_created = "1714162735",
		yl_commons_player_joined = "1738113853",
		["stamina:level"] = "15",
		played_time = "1048778",
		digged_nodes = "46764",
		placed_nodes = "8710",
		crafted = "29231",
		["signslib:pos"] = "(9061,91,-2121)",
		hud_state = "on",
		died = "93",
		["petz:werewolf"] = "0"
	}
}

Log identifier


[MOD] yl_report log identifier = GpS1ARQKtzjnjZaC43nVTVEjs7yon0xT

Profiler save:

profile-20250129T012504.json_prettyEE

Status:

# Server: version: 5.11.0-yl-RelWithDebInfo | game: Minetest Game | uptime: 5h 48min 11s | max lag: 0.25s | clients (20/52): AliasAlreadyTaken, Anniewho15, Azelf, Bailiff, cachorro, crispycat, Dark-Side, Deathwing, ganzha, GoldDigger, Gravastar, jackofthebean000, Keya, RandyButternubs, RPiManiac, Service, TafferBell, testmineweirdo, toddie, user9999

Teleport command:

/teleport xyz -909 39 -3032

Compass command:

/give_compass Construction GpS1ARQKtzjnjZaC43nVTVEjs7yon0xT D2691E -909 39 -3032
RPiManiac reports a bug: > player model is soooo glitched... Player position: ``` { y = 38.5, z = -3032.0029296875, x = -909.20397949219 } ``` Player look: ``` { y = 0.42119413614273, z = 0.35569253563881, x = -0.83431309461594 } ``` Player information: ``` { version_string = "5.11.0-dev-29cfb6eff", formspec_version = 8, min_rtt = 0.17299999296665, min_jitter = 0, lang_code = "", avg_rtt = 0.21500000357628, serialization_version = 29, patch = 0, protocol_version = 46, state = "Active", avg_jitter = 0.030000001192093, max_jitter = 1.027999997139, ip_version = 6, minor = 11, max_rtt = 1.2940000295639, major = 5, connection_uptime = 108 } ``` Player meta: ``` { fields = { ["petz:lycanthropy"] = "0", yl_commons_thankyou = "44", xp = "37724", jointime = "1714162735", bitten = "0", punch_count = "10159", ["petz:werewolf_clan_idx"] = "4", ["hud_manager:yl_snowball:hud__enabled"] = "n", repellant = "0", inflicted_damage = "225914", yl_church = "return {[\"last_death_portal\"] = 1737140695, [\"last_death\"] = {[\"z\"] = -2990, [\"x\"] = -756, [\"y\"] = -1551}}", ["3d_armor_inventory"] = "return {\"3d_armor:boots_crystal\", \"3d_armor:leggings_party\", \"3d_armor:helmet_rainbow\", \"3d_armor:chestplate_rainbow\", \"shields:shield_rainbow\", \"\"}", partychat = "party", ["stamina:exhaustion"] = "145.5", ["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}", yl_commons_player_created = "1714162735", yl_commons_player_joined = "1738113853", ["stamina:level"] = "15", played_time = "1048778", digged_nodes = "46764", placed_nodes = "8710", crafted = "29231", ["signslib:pos"] = "(9061,91,-2121)", hud_state = "on", died = "93", ["petz:werewolf"] = "0" } } ``` Log identifier ``` [MOD] yl_report log identifier = GpS1ARQKtzjnjZaC43nVTVEjs7yon0xT ``` Profiler save: ``` profile-20250129T012504.json_prettyEE ``` Status: ``` # Server: version: 5.11.0-yl-RelWithDebInfo | game: Minetest Game | uptime: 5h 48min 11s | max lag: 0.25s | clients (20/52): AliasAlreadyTaken, Anniewho15, Azelf, Bailiff, cachorro, crispycat, Dark-Side, Deathwing, ganzha, GoldDigger, Gravastar, jackofthebean000, Keya, RandyButternubs, RPiManiac, Service, TafferBell, testmineweirdo, toddie, user9999 ``` Teleport command: ``` /teleport xyz -909 39 -3032 ``` Compass command: ``` /give_compass Construction GpS1ARQKtzjnjZaC43nVTVEjs7yon0xT D2691E -909 39 -3032 ```
AliasAlreadyTaken was assigned by yourland-report 2025-01-29 02:25:04 +01:00
Owner
image

someone took this - maybe RPi took it of himself, but he looked perfectly normal to me. He's on 5.11 dev and I'm on 5.10

<img width="250" alt="image" src="attachments/0b4a31a3-5e8e-426a-8f6e-acc1ec2dad55"> someone took this - maybe RPi took it of himself, but he looked perfectly normal to me. He's on 5.11 dev and I'm on 5.10
Member

When I met Sokomine these days she also reported, "my head was in wrong position", also on 5.11 dev.

When I met Sokomine these days she also reported, "my head was in wrong position", also on 5.11 dev.
Murmel added the
3. source/client
label 2025-01-29 08:18:40 +01:00
Member

https://github.com/luanti-org/luanti/issues/15692

Somewhat interesting bc. there was a client bug, so the mod had to work around it. Now the client bug is fixed, so the workaround of playeranim breaks the models...

Quite funny, it seems like multicraft fixed that client-bug before luanti, so playermodels broke there first: #6126


I've dug a bit into playeranim's code... I don't think it's worth the effort to keep it... citing their readme:

This is an ugly hack.

what does playeranim do?

  1. animate the head (we could use headanim for that feature too, it's way more efficient)
  2. sneaking players lean foreward
  3. delay player rotations (exept for the head) by 7 serversteps (not really working bc. of network latency, so the delay is much higher than in singleplayer)...
  4. break player_api and mods that rely on it: #3504 (comment)

How important are 2. & 3.?
In case they are not important, we could replace it with headanim.
Otherwise: rewriting it in a way that keeps compat with player_api should be easier than fixing all the models by hand.


Another option would be https://content.luanti.org/packages/LMD/character_anim/, but I haven't looked into that...


As a quickfix I would sugest to remove playeranim altogether. It looks really bad and 5.11 is about to come out very soon...

https://github.com/luanti-org/luanti/issues/15692 Somewhat interesting bc. there was a client bug, so the mod had to work around it. Now the client bug is fixed, so the workaround of playeranim breaks the models... Quite funny, it seems like multicraft fixed that client-bug before luanti, so playermodels broke there first: #6126 --- I've dug a bit into playeranim's code... I don't think it's worth the effort to keep it... citing their readme: > This is an ugly hack. what does playeranim do? 1. animate the head (we could use [headanim](https://content.luanti.org/packages/Lone_Wolf/headanim/) for that feature too, it's way more efficient) 2. sneaking players lean foreward 3. delay player rotations (exept for the head) by 7 serversteps (not really working bc. of network latency, so the delay is much higher than in singleplayer)... 4. break player_api and mods that rely on it: https://gitea.your-land.de/your-land/bugtracker/issues/3504#issuecomment-46927 How important are 2. & 3.? In case they are not important, we could replace it with headanim. Otherwise: rewriting it in a way that keeps compat with player_api should be easier than fixing all the models by hand. --- Another option would be https://content.luanti.org/packages/LMD/character_anim/, but I haven't looked into that... --- As a quickfix I would sugest to remove playeranim altogether. It looks really bad and 5.11 is about to come out very soon...
tour added the
1. kind/bug
2. prio/elevated
1. kind/breaking
labels 2025-02-12 19:29:45 +01:00
AliasAlreadyTaken added this to the Alias@work project 2025-02-14 20:31:57 +01:00
Member

Since we use headanim, this can be closed, I think?

Since we use headanim, this can be closed, I think?
AliasAlreadyTaken added the
5. result/fixed
label 2025-05-06 20:11:18 +02:00
AliasAlreadyTaken added this to the 1.1.127 milestone 2025-05-06 20:11:24 +02:00

The change happened in 1.1.127, so I added it to the milestone. Even though it was not QAed there

The change happened in 1.1.127, so I added it to the milestone. Even though it was not QAed there
Sign in to join this conversation.
No Milestone
No project
No Assignees
6 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#8071
No description provided.