shanish reports: /home puts me a block below my ... #1635

Open
opened 2022-03-28 16:39:38 +00:00 by yourland-report · 4 comments

shanish reports a bug:

/home puts me a block below my new /sethome

Player position:

{
	y = -31.5,
	x = 1566.5269775391,
	z = 1158.6199951172
}

Player look:

{
	y = -0.13018010556698,
	x = -0.33047688007355,
	z = -0.93479311466217
}

Player information:

{
	min_rtt = 0.15899999439716,
	max_rtt = 1.1449999809265,
	connection_uptime = 710,
	max_jitter = 0.96099996566772,
	minor = 1,
	major = 5,
	ip_version = 6,
	formspec_version = 2,
	patch = 1,
	protocol_version = 38,
	serialization_version = 28,
	lang_code = "",
	version_string = "5.1.1",
	avg_rtt = 0.16500000655651,
	state = "Active",
	avg_jitter = 0.0010000020265579,
	min_jitter = 0
}

Player meta:

{
	fields = {
		["3d_armor_inventory"] = "return {\"nether_mobs:dragon_boots 1 15380\", \"3d_armor:helmet_rainbow 1 6152\", \"shields:shield_rainbow 1 6152\", \"3d_armor:chestplate_rainbow 1 6152\", \"3d_armor:leggings_rainbow 1 17768\", \"\"}",
		["petz:werewolf_vignette_id"] = "19",
		played_time = "3627191",
		jointime = "1638658291",
		yl_commons_player_joined = "1648484944",
		["signslib:pos"] = "(1584,-25,1154)",
		digged_nodes = "813120",
		["petz:werewolf"] = "0",
		bitten = "0",
		["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}",
		partychat = "party",
		placed_nodes = "208198",
		["petz:lycanthropy"] = "1",
		yl_church = "return {[\"last_death\"] = {[\"y\"] = 29938, [\"x\"] = 1606, [\"z\"] = 1135}, [\"last_death_portal\"] = 1645405003}",
		["petz:old_override_table"] = "return {[\"new_move\"] = true, [\"sneak\"] = true, [\"sneak_glitch\"] = false, [\"jump\"] = 1.5, [\"speed\"] = 2, [\"gravity\"] = 1}",
		["stamina:level"] = "19.025",
		punch_count = "1252866",
		arenalib_infobox_arenaID = "0",
		inflicted_damage = "14175098",
		crafted = "737",
		["petz:werewolf_clan_idx"] = "2",
		xp = "3718422",
		yl_commons_thankyou = "6",
		died = "64",
		hud_state = "on",
		repellant = "0",
		yl_commons_player_created = "1638658291"
	}
}

Log identifier


[MOD] yl_report log identifier = 71ZAkpu0p1GgpJ1d4Q4Ov9pr19Wzpbjn

Profiler save:

profile-20220328T183937.json_prettyEE

Status:

# Server: version: 5.5.0-yl | game: Minetest Game | uptime: 10h 1min 51s | max lag: 4.28s | clients: shanish2, Noofky, ilias009, debiankaios, krecikodkrywca, flux, wishingirl, upie, Boot, aliwoto, Bla, Empempires, Service, Bailiff, a_happy_chick, cloudy, shanish, AliasAlreadyTaken

Teleport command:

/teleport xyz 1567 -32 1159

Compass command:

/give_compass Construction 71ZAkpu0p1GgpJ1d4Q4Ov9pr19Wzpbjn D2691E 1567 -32 1159
shanish reports a bug: > /home puts me a block below my new /sethome Player position: ``` { y = -31.5, x = 1566.5269775391, z = 1158.6199951172 } ``` Player look: ``` { y = -0.13018010556698, x = -0.33047688007355, z = -0.93479311466217 } ``` Player information: ``` { min_rtt = 0.15899999439716, max_rtt = 1.1449999809265, connection_uptime = 710, max_jitter = 0.96099996566772, minor = 1, major = 5, ip_version = 6, formspec_version = 2, patch = 1, protocol_version = 38, serialization_version = 28, lang_code = "", version_string = "5.1.1", avg_rtt = 0.16500000655651, state = "Active", avg_jitter = 0.0010000020265579, min_jitter = 0 } ``` Player meta: ``` { fields = { ["3d_armor_inventory"] = "return {\"nether_mobs:dragon_boots 1 15380\", \"3d_armor:helmet_rainbow 1 6152\", \"shields:shield_rainbow 1 6152\", \"3d_armor:chestplate_rainbow 1 6152\", \"3d_armor:leggings_rainbow 1 17768\", \"\"}", ["petz:werewolf_vignette_id"] = "19", played_time = "3627191", jointime = "1638658291", yl_commons_player_joined = "1648484944", ["signslib:pos"] = "(1584,-25,1154)", digged_nodes = "813120", ["petz:werewolf"] = "0", bitten = "0", ["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}", partychat = "party", placed_nodes = "208198", ["petz:lycanthropy"] = "1", yl_church = "return {[\"last_death\"] = {[\"y\"] = 29938, [\"x\"] = 1606, [\"z\"] = 1135}, [\"last_death_portal\"] = 1645405003}", ["petz:old_override_table"] = "return {[\"new_move\"] = true, [\"sneak\"] = true, [\"sneak_glitch\"] = false, [\"jump\"] = 1.5, [\"speed\"] = 2, [\"gravity\"] = 1}", ["stamina:level"] = "19.025", punch_count = "1252866", arenalib_infobox_arenaID = "0", inflicted_damage = "14175098", crafted = "737", ["petz:werewolf_clan_idx"] = "2", xp = "3718422", yl_commons_thankyou = "6", died = "64", hud_state = "on", repellant = "0", yl_commons_player_created = "1638658291" } } ``` Log identifier ``` [MOD] yl_report log identifier = 71ZAkpu0p1GgpJ1d4Q4Ov9pr19Wzpbjn ``` Profiler save: ``` profile-20220328T183937.json_prettyEE ``` Status: ``` # Server: version: 5.5.0-yl | game: Minetest Game | uptime: 10h 1min 51s | max lag: 4.28s | clients: shanish2, Noofky, ilias009, debiankaios, krecikodkrywca, flux, wishingirl, upie, Boot, aliwoto, Bla, Empempires, Service, Bailiff, a_happy_chick, cloudy, shanish, AliasAlreadyTaken ``` Teleport command: ``` /teleport xyz 1567 -32 1159 ``` Compass command: ``` /give_compass Construction 71ZAkpu0p1GgpJ1d4Q4Ov9pr19Wzpbjn D2691E 1567 -32 1159 ```
AliasAlreadyTaken was assigned by yourland-report 2022-03-28 16:39:38 +00:00

Cannot reproduce, I asked shanish to show me.

Cannot reproduce, I asked shanish to show me.
AliasAlreadyTaken added the
1. kind/bug
4. step/help wanted
labels 2022-03-31 11:52:42 +00:00
Member

Hm. I reproduced this once, but now it's not happening...

Hm. I reproduced this once, but now it's not happening...
Member

I found 26d56294b4, which indicates that the velocity is set to -v instead of 0, which is odd... but setting it to 0 doesn't seem to keep players from dying to fall damage when they do /home. Probably the solution is to do set_velocity(vector.new(0,0,0)) in one step, and then minetest.after(0, function() set_pos(home) end)

I found https://gitea.your-land.de/your-land/yl_commons/commit/26d56294b4462a03f8537f40788b5542ac96707e, which indicates that the velocity is set to `-v` instead of 0, which is odd... but setting it to 0 doesn't seem to keep players from dying to fall damage when they do `/home`. Probably the solution is to do `set_velocity(vector.new(0,0,0))` in one step, and then `minetest.after(0, function() set_pos(home) end)`
flux added this to the flux's TODO list project 2022-07-02 20:16:12 +00:00
Member

this recently happened again, to Giuseppe: #2195

this recently happened again, to Giuseppe: #2195
flux added the
2. prio/elevated
label 2022-10-07 21:04:40 +00:00
flux added the
3. source/unknown
label 2022-10-26 18:44:46 +00:00
Sign in to join this conversation.
No Milestone
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#1635
No description provided.