Laylem reports: a rat attacked me through glas ... #2967

Open
opened 2022-11-06 03:49:12 +00:00 by yourland-report · 3 comments

Laylem reports a bug:

a rat attacked me through glass... it somehow spawned in the glass room in here.

Player position:

{
	x = -980.23400878906,
	y = -56.5,
	z = -1984.6350097656
}

Player look:

{
	x = 0.97447288036346,
	y = -0.18566660583019,
	z = -0.12621620297432
}

Player information:

{
	connection_uptime = 502,
	serialization_version = 29,
	protocol_version = 41,
	major = 5,
	minor = 6,
	version_string = "5.6.1",
	state = "Active",
	lang_code = "",
	formspec_version = 6,
	patch = 1,
	max_jitter = 2.186999797821,
	ip_version = 6,
	min_rtt = 0.16799999773502,
	max_rtt = 2.3610000610352,
	avg_rtt = 0.18099999427795,
	min_jitter = 0,
	avg_jitter = 0.0039999932050705
}

Player meta:

{
	fields = {
		repellant = "0",
		["ocean_build.last_warning"] = "1.66072e+09",
		["signslib:pos"] = "(-946,-7,-1995)",
		played_time = "1236278",
		digged_nodes = "256371",
		placed_nodes = "61949",
		died = "28",
		hud_state = "on",
		arenalib_infobox_arenaID = "0",
		["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}",
		bitten = "0",
		yl_commons_player_created = "1659420654",
		["ocean_build.ocean_built"] = "11",
		yl_commons_thankyou = "43",
		["3d_armor_inventory"] = "return {\"3d_armor:boots_crystal 1 2360\", \"3d_armor:chestplate_crystal 1 2360\", \"3d_armor:helmet_crystal 1 2360\", \"3d_armor:leggings_crystal 1 2360\", \"shields:shield_rainbow 1 944\", \"\"}",
		xp = "263911",
		punch_count = "19966",
		crafted = "38880",
		jointime = "1659420654",
		yl_church = "return {[\"last_death\"] = {[\"y\"] = 12, [\"z\"] = 1801, [\"x\"] = -842}, [\"last_heal\"] = 1662278340, [\"last_death_portal\"] = 1665804266}",
		yl_commons_player_joined = "1667706077",
		["stamina:level"] = "6",
		inflicted_damage = "410580",
		["stamina:poisoned"] = "no",
		partychat = "main",
		["stamina:exhaustion"] = "17.5"
	}
}

Log identifier


[MOD] yl_report log identifier = DKYz6X12TZs52OycmDZuLEVt0aUah4L7

Profiler save:

profile-20221106T034911.json_prettyEE

Status:

# Server: version: 5.6.1-yl | game: Minetest Game | uptime: 6d 3h 45min 13s | max lag: 1.91s | clients: flux, Laylem, nitekin, DreamNotFound, icser, set, Hamster64, shanish3, jackofthebean000, Ivanhoe, Service, Bailiff, Parrish, AliasAlreadyTaken, shanish, daydream

Teleport command:

/teleport xyz -980 -57 -1985

Compass command:

/give_compass Construction DKYz6X12TZs52OycmDZuLEVt0aUah4L7 D2691E -980 -57 -1985
Laylem reports a bug: > a rat attacked me through glass... it somehow spawned in the glass room in here. Player position: ``` { x = -980.23400878906, y = -56.5, z = -1984.6350097656 } ``` Player look: ``` { x = 0.97447288036346, y = -0.18566660583019, z = -0.12621620297432 } ``` Player information: ``` { connection_uptime = 502, serialization_version = 29, protocol_version = 41, major = 5, minor = 6, version_string = "5.6.1", state = "Active", lang_code = "", formspec_version = 6, patch = 1, max_jitter = 2.186999797821, ip_version = 6, min_rtt = 0.16799999773502, max_rtt = 2.3610000610352, avg_rtt = 0.18099999427795, min_jitter = 0, avg_jitter = 0.0039999932050705 } ``` Player meta: ``` { fields = { repellant = "0", ["ocean_build.last_warning"] = "1.66072e+09", ["signslib:pos"] = "(-946,-7,-1995)", played_time = "1236278", digged_nodes = "256371", placed_nodes = "61949", died = "28", hud_state = "on", arenalib_infobox_arenaID = "0", ["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}", bitten = "0", yl_commons_player_created = "1659420654", ["ocean_build.ocean_built"] = "11", yl_commons_thankyou = "43", ["3d_armor_inventory"] = "return {\"3d_armor:boots_crystal 1 2360\", \"3d_armor:chestplate_crystal 1 2360\", \"3d_armor:helmet_crystal 1 2360\", \"3d_armor:leggings_crystal 1 2360\", \"shields:shield_rainbow 1 944\", \"\"}", xp = "263911", punch_count = "19966", crafted = "38880", jointime = "1659420654", yl_church = "return {[\"last_death\"] = {[\"y\"] = 12, [\"z\"] = 1801, [\"x\"] = -842}, [\"last_heal\"] = 1662278340, [\"last_death_portal\"] = 1665804266}", yl_commons_player_joined = "1667706077", ["stamina:level"] = "6", inflicted_damage = "410580", ["stamina:poisoned"] = "no", partychat = "main", ["stamina:exhaustion"] = "17.5" } } ``` Log identifier ``` [MOD] yl_report log identifier = DKYz6X12TZs52OycmDZuLEVt0aUah4L7 ``` Profiler save: ``` profile-20221106T034911.json_prettyEE ``` Status: ``` # Server: version: 5.6.1-yl | game: Minetest Game | uptime: 6d 3h 45min 13s | max lag: 1.91s | clients: flux, Laylem, nitekin, DreamNotFound, icser, set, Hamster64, shanish3, jackofthebean000, Ivanhoe, Service, Bailiff, Parrish, AliasAlreadyTaken, shanish, daydream ``` Teleport command: ``` /teleport xyz -980 -57 -1985 ``` Compass command: ``` /give_compass Construction DKYz6X12TZs52OycmDZuLEVt0aUah4L7 D2691E -980 -57 -1985 ```
AliasAlreadyTaken was assigned by yourland-report 2022-11-06 03:49:12 +00:00
Member

the area isn't protected.

rat spawning rules:

  • spawns on group:soil,group:stone,rainbow_source:black_water_source
  • spawns between y = -31000 and y = 5000
  • max daylight level = 10
  • spawns at night

so, the only thing i can see that'd keep a rat from spawning in that area is the lack of any of the nodes it's supposed to spawn on, which suggests it spawned elsewhere and somehow snuck in.

the area is cut off, but only by 1 layer of glass in places. petz have a habit of sensing players through walls, and all entities have a habit of glitching through walls if they walk up against them enough.

solution is better mob AI.

the area isn't protected. rat spawning rules: * spawns on `group:soil,group:stone,rainbow_source:black_water_source` * spawns between `y = -31000` and `y = 5000` * max *daylight* level = 10 * spawns at night ![](https://gitea.your-land.de/attachments/42aa1dde-cbed-4423-b4af-7d18aefa0264) so, the only thing i can see that'd keep a rat from spawning in that area is the lack of any of the nodes it's supposed to spawn on, which suggests it spawned elsewhere and somehow snuck in. the area is cut off, but only by 1 layer of glass in places. petz have a habit of sensing players through walls, and all entities have a habit of glitching through walls if they walk up against them enough. solution is better mob AI.
flux added the
1. kind/bug
4. step/at work
ugh/petz
labels 2022-11-06 15:12:47 +00:00
flux added this to the flux's TODO list project 2022-11-06 15:12:49 +00:00
AliasAlreadyTaken was unassigned by flux 2022-11-06 15:12:54 +00:00
flux self-assigned this 2022-11-06 15:12:54 +00:00
Member

found the place where they were spawning:

apparently a petz that is in a 1 block gap, and jumps, goes into the ceiling and is transported upward.

found the place where they were spawning: apparently a petz that is in a 1 block gap, and jumps, goes into the ceiling and is transported upward. ![](https://gitea.your-land.de/attachments/92d66f6b-d378-40ca-88b7-8b2a41b51489)
Member
upstream petz issue: https://github.com/runsy/petz/issues/133
flux added the
3. source/mod upstream
label 2022-12-16 17:08:52 +00:00
flux removed the
4. step/at work
label 2023-02-27 21:10:51 +00:00
Sign in to join this conversation.
No Milestone
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#2967
No description provided.