Zizis reports: sit in chir and do /sit ... #3313

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

Zizis reports a bug:

sit in chir and do /sit

Player position:

{
	z = 1160.5729980469,
	x = 2047.0150146484,
	y = 21.298999786377
}

Player look:

{
	z = -0.79872435331345,
	x = -0.44237521290779,
	y = -0.40785244107246
}

Player information:

{
	state = "Active",
	ip_version = 6,
	min_rtt = 0.1140000000596,
	avg_rtt = 0.11599999666214,
	min_jitter = 0,
	max_jitter = 3.9570000171661,
	avg_jitter = 0,
	connection_uptime = 458,
	patch = 1,
	lang_code = "",
	formspec_version = 6,
	major = 5,
	version_string = "5.6.1",
	minor = 6,
	max_rtt = 4.981999874115,
	protocol_version = 41,
	serialization_version = 29
}

Player meta:

{
	fields = {
		played_time = "506170",
		digged_nodes = "84403",
		placed_nodes = "26071",
		died = "92",
		["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}",
		crafted = "2125",
		yl_church = "return {[\"last_heal\"] = 1653615755, [\"last_death_portal\"] = 1671574808, [\"last_death\"] = {[\"z\"] = 1291, [\"x\"] = 2021, [\"y\"] = 20}}",
		["stamina:poisoned"] = "no",
		["stamina:level"] = "18",
		["stamina:exhaustion"] = "139.5",
		partychat = "party",
		bitten = "0",
		repellant = "0",
		xp = "70063",
		yl_commons_thankyou = "7",
		["ocean_build.last_warning"] = "1.67192e+09",
		hud_state = "on",
		jointime = "1652823902",
		["petz:old_override_table"] = "return {[\"new_move\"] = true, [\"speed\"] = 2, [\"jump\"] = 1.5, [\"sneak\"] = true, [\"gravity\"] = 1, [\"sneak_glitch\"] = false}",
		["petz:werewolf"] = "0",
		arenalib_infobox_arenaID = "0",
		yl_commons_player_created = "1652823902",
		yl_commons_player_joined = "1671925152",
		["signslib:pos"] = "(2028,-5408,1450)",
		["ocean_build.ocean_built"] = "12",
		["ocean_build.forbidden"] = "true",
		["petz:werewolf_vignette_id"] = "5",
		punch_count = "8052",
		["petz:lycanthropy"] = "0",
		inflicted_damage = "135334",
		["3d_armor_inventory"] = "return {\"3d_armor:leggings_crystal 1 12060\", \"3d_armor:boots_crystal 1 12060\", \"3d_armor:helmet_crystal 1 12060\", \"3d_armor:chestplate_rainbow 1 9956\", \"shields:shield_crystal 1 12060\", \"\"}",
		["petz:werewolf_clan_idx"] = "1"
	}
}

Log identifier


[MOD] yl_report log identifier = g5yq8SpjyM9mOj5J0R6XhspfFy91eIAx

Profiler save:

profile-20221224T234638.json_prettyEE

Status:

# Server: version: 5.6.1-yl | game: Minetest Game | uptime: 17h 34min 58s | max lag: 3.37s | clients (25/42): afonsan, AliasAlreadyTaken, Aliza, Bailiff, Bla, Boris, daydream, Domough, Ecklair, ElusiveAstropath, flux, Kalek, Katze, labrat, Mica, niceride, Pocrom, Redshirt, rewired_X, Service, set, shanish3, Sysmatic, WhereIsHommy, Zizis

Teleport command:

/teleport xyz 2047 21 1161

Compass command:

/give_compass Construction g5yq8SpjyM9mOj5J0R6XhspfFy91eIAx D2691E 2047 21 1161
Zizis reports a bug: > sit in chir and do /sit Player position: ``` { z = 1160.5729980469, x = 2047.0150146484, y = 21.298999786377 } ``` Player look: ``` { z = -0.79872435331345, x = -0.44237521290779, y = -0.40785244107246 } ``` Player information: ``` { state = "Active", ip_version = 6, min_rtt = 0.1140000000596, avg_rtt = 0.11599999666214, min_jitter = 0, max_jitter = 3.9570000171661, avg_jitter = 0, connection_uptime = 458, patch = 1, lang_code = "", formspec_version = 6, major = 5, version_string = "5.6.1", minor = 6, max_rtt = 4.981999874115, protocol_version = 41, serialization_version = 29 } ``` Player meta: ``` { fields = { played_time = "506170", digged_nodes = "84403", placed_nodes = "26071", died = "92", ["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}", crafted = "2125", yl_church = "return {[\"last_heal\"] = 1653615755, [\"last_death_portal\"] = 1671574808, [\"last_death\"] = {[\"z\"] = 1291, [\"x\"] = 2021, [\"y\"] = 20}}", ["stamina:poisoned"] = "no", ["stamina:level"] = "18", ["stamina:exhaustion"] = "139.5", partychat = "party", bitten = "0", repellant = "0", xp = "70063", yl_commons_thankyou = "7", ["ocean_build.last_warning"] = "1.67192e+09", hud_state = "on", jointime = "1652823902", ["petz:old_override_table"] = "return {[\"new_move\"] = true, [\"speed\"] = 2, [\"jump\"] = 1.5, [\"sneak\"] = true, [\"gravity\"] = 1, [\"sneak_glitch\"] = false}", ["petz:werewolf"] = "0", arenalib_infobox_arenaID = "0", yl_commons_player_created = "1652823902", yl_commons_player_joined = "1671925152", ["signslib:pos"] = "(2028,-5408,1450)", ["ocean_build.ocean_built"] = "12", ["ocean_build.forbidden"] = "true", ["petz:werewolf_vignette_id"] = "5", punch_count = "8052", ["petz:lycanthropy"] = "0", inflicted_damage = "135334", ["3d_armor_inventory"] = "return {\"3d_armor:leggings_crystal 1 12060\", \"3d_armor:boots_crystal 1 12060\", \"3d_armor:helmet_crystal 1 12060\", \"3d_armor:chestplate_rainbow 1 9956\", \"shields:shield_crystal 1 12060\", \"\"}", ["petz:werewolf_clan_idx"] = "1" } } ``` Log identifier ``` [MOD] yl_report log identifier = g5yq8SpjyM9mOj5J0R6XhspfFy91eIAx ``` Profiler save: ``` profile-20221224T234638.json_prettyEE ``` Status: ``` # Server: version: 5.6.1-yl | game: Minetest Game | uptime: 17h 34min 58s | max lag: 3.37s | clients (25/42): afonsan, AliasAlreadyTaken, Aliza, Bailiff, Bla, Boris, daydream, Domough, Ecklair, ElusiveAstropath, flux, Kalek, Katze, labrat, Mica, niceride, Pocrom, Redshirt, rewired_X, Service, set, shanish3, Sysmatic, WhereIsHommy, Zizis ``` Teleport command: ``` /teleport xyz 2047 21 1161 ``` Compass command: ``` /give_compass Construction g5yq8SpjyM9mOj5J0R6XhspfFy91eIAx D2691E 2047 21 1161 ```
AliasAlreadyTaken was assigned by yourland-report 3 months ago
flux added the 1. kind/bug 2. prio/good first issue labels 3 months ago
flux added the 2. prio/elevated label 3 months ago
flux commented 3 months ago
Collaborator

this is actually a pretty impressive exploit. the weirdness here doesn't happen when you /sit after right-clicking a chair. the weirdness happens if you try to "walk" out of the chair after doing both things (it seems to work in either order).

the weirdness can be reset by right-clicking the chair again.

the weirdness is that you seem to never be properly detached from the dummy chair entity. somehow /sit's logic breaks that. the effect is that you can walk around now, but you y-velocity is stuck at 0 (well, it seems to get stuck at any value, but i don't know a way to change it w/out the fly priv). this means you can neither jump, nor can you fall. this effectively allows anyone to fly around, though only at a fixed y level.

this is actually a pretty impressive exploit. the weirdness here doesn't happen when you `/sit` after right-clicking a chair. the weirdness happens if you try to "walk" out of the chair after doing both things (it seems to work in either order). the weirdness can be reset by right-clicking the chair again. the weirdness is that you seem to never be properly detached from the dummy chair entity. somehow `/sit`'s logic breaks that. the effect is that you can walk around now, but you y-velocity is stuck at 0 (well, it seems to get stuck at any value, but i don't know a way to change it w/out the fly priv). this means you can neither jump, nor can you fall. this effectively allows anyone to fly around, though only at a fixed y level.

I tried it and noticed you can change your y-level by swimming, using stairs, and if you swim up into air, your y-velocity is non-zero when you exit the water and you float up. (It's a pretty interesting way of flying, maybe flying with some odd limitations like this would be desirable for Builder's flight?)

I tried it and noticed you can change your y-level by swimming, using stairs, and if you swim up into air, your y-velocity is non-zero when you exit the water and you float up. (It's a pretty interesting way of flying, maybe flying with some odd limitations like this would be desirable for Builder's flight?)
flux added the 3. source/integration label 2 months ago
flux commented 2 weeks ago
Collaborator

note that this is related to, but not the same issue as #1814

note that this is related to, but not the same issue as #1814
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: your-land/bugtracker#3313
Loading…
There is no content yet.