niceride reports: mime spawned in protected area ... #2939

Open
opened 2022-10-31 04:42:28 +00:00 by yourland-report · 14 comments

niceride reports a bug:

mime spawned in protected area

Player position:

{
	x = 47.14400100708,
	y = -156.49899291992,
	z = 54.098999023438
}

Player look:

{
	x = 0.45605969429016,
	y = -0.16263715922832,
	z = 0.87496209144592
}

Player information:

{
	protocol_version = 41,
	major = 5,
	minor = 6,
	version_string = "5.6.1",
	state = "Active",
	lang_code = "",
	formspec_version = 6,
	ip_version = 6,
	min_rtt = 0.16599999368191,
	max_rtt = 3.0529999732971,
	avg_rtt = 0.23299999535084,
	min_jitter = 0,
	max_jitter = 2.8559999465942,
	avg_jitter = 0.052000001072884,
	connection_uptime = 441,
	serialization_version = 29,
	patch = 1
}

Player meta:

{
	fields = {
		repellant = "0",
		["ocean_build.last_warning"] = "1.66312e+09",
		["ocean_build.forbidden"] = "true",
		["ocean_build.ocean_built"] = "12",
		played_time = "2932596",
		yl_commons_thankyou = "15",
		["petz:werewolf_clan_idx"] = "2",
		died = "41",
		crafted = "228964",
		yl_commons_player_created = "1660920889",
		arenalib_infobox_arenaID = "0",
		["stamina:exhaustion"] = "0",
		yl_church = "return {[\"last_death_portal\"] = 1667059855, [\"last_death\"] = {[\"y\"] = -191, [\"z\"] = 66, [\"x\"] = 66}}",
		["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}",
		digged_nodes = "808301",
		punch_count = "48355",
		hud_state = "on",
		["signslib:pos"] = "(22,-151,71)",
		["petz:werewolf_vignette_id"] = "20",
		xp = "931541",
		["stamina:level"] = "18",
		placed_nodes = "285016",
		["petz:old_override_table"] = "return {[\"new_move\"] = true, [\"jump\"] = 1.5, [\"speed\"] = 2, [\"gravity\"] = 1, [\"sneak_glitch\"] = false, [\"sneak\"] = true}",
		jointime = "1660920889",
		bitten = "0",
		yl_commons_player_joined = "1667190922",
		["petz:werewolf"] = "0",
		["petz:lycanthropy"] = "0",
		["stamina:poisoned"] = "no",
		inflicted_damage = "1025158",
		["3d_armor_inventory"] = "return {\"3d_armor:helmet_crystal 1 25860\", \"\", \"3d_armor:chestplate_crystal 1 25860\", \"shields:shield_rainbow 1 10224\", \"3d_armor:leggings_crystal 1 25560\", \"3d_armor:boots_crystal 1 25560\"}"
	}
}

Log identifier


[MOD] yl_report log identifier = y1zfRkLinCTCP4AZxzbmk8U1ZiRdVKGp

Profiler save:

profile-20221031T044228.json_prettyEE

Status:

# Server: version: 5.6.1-yl | game: Minetest Game | uptime: 5h 5min 48s | max lag: 1.53s | clients: PinkNebulosa, Service, annah, shanish2, Parrish, AliasAlreadyTaken, HorusDamocles, Bailiff, niceride, 9T9, daydream, drgn

Teleport command:

/teleport xyz 47 -156 54

Compass command:

/give_compass Construction y1zfRkLinCTCP4AZxzbmk8U1ZiRdVKGp D2691E 47 -156 54
niceride reports a bug: > mime spawned in protected area Player position: ``` { x = 47.14400100708, y = -156.49899291992, z = 54.098999023438 } ``` Player look: ``` { x = 0.45605969429016, y = -0.16263715922832, z = 0.87496209144592 } ``` Player information: ``` { protocol_version = 41, major = 5, minor = 6, version_string = "5.6.1", state = "Active", lang_code = "", formspec_version = 6, ip_version = 6, min_rtt = 0.16599999368191, max_rtt = 3.0529999732971, avg_rtt = 0.23299999535084, min_jitter = 0, max_jitter = 2.8559999465942, avg_jitter = 0.052000001072884, connection_uptime = 441, serialization_version = 29, patch = 1 } ``` Player meta: ``` { fields = { repellant = "0", ["ocean_build.last_warning"] = "1.66312e+09", ["ocean_build.forbidden"] = "true", ["ocean_build.ocean_built"] = "12", played_time = "2932596", yl_commons_thankyou = "15", ["petz:werewolf_clan_idx"] = "2", died = "41", crafted = "228964", yl_commons_player_created = "1660920889", arenalib_infobox_arenaID = "0", ["stamina:exhaustion"] = "0", yl_church = "return {[\"last_death_portal\"] = 1667059855, [\"last_death\"] = {[\"y\"] = -191, [\"z\"] = 66, [\"x\"] = 66}}", ["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}", digged_nodes = "808301", punch_count = "48355", hud_state = "on", ["signslib:pos"] = "(22,-151,71)", ["petz:werewolf_vignette_id"] = "20", xp = "931541", ["stamina:level"] = "18", placed_nodes = "285016", ["petz:old_override_table"] = "return {[\"new_move\"] = true, [\"jump\"] = 1.5, [\"speed\"] = 2, [\"gravity\"] = 1, [\"sneak_glitch\"] = false, [\"sneak\"] = true}", jointime = "1660920889", bitten = "0", yl_commons_player_joined = "1667190922", ["petz:werewolf"] = "0", ["petz:lycanthropy"] = "0", ["stamina:poisoned"] = "no", inflicted_damage = "1025158", ["3d_armor_inventory"] = "return {\"3d_armor:helmet_crystal 1 25860\", \"\", \"3d_armor:chestplate_crystal 1 25860\", \"shields:shield_rainbow 1 10224\", \"3d_armor:leggings_crystal 1 25560\", \"3d_armor:boots_crystal 1 25560\"}" } } ``` Log identifier ``` [MOD] yl_report log identifier = y1zfRkLinCTCP4AZxzbmk8U1ZiRdVKGp ``` Profiler save: ``` profile-20221031T044228.json_prettyEE ``` Status: ``` # Server: version: 5.6.1-yl | game: Minetest Game | uptime: 5h 5min 48s | max lag: 1.53s | clients: PinkNebulosa, Service, annah, shanish2, Parrish, AliasAlreadyTaken, HorusDamocles, Bailiff, niceride, 9T9, daydream, drgn ``` Teleport command: ``` /teleport xyz 47 -156 54 ``` Compass command: ``` /give_compass Construction y1zfRkLinCTCP4AZxzbmk8U1ZiRdVKGp D2691E 47 -156 54 ```
AliasAlreadyTaken was assigned by yourland-report 2022-10-31 04:42:28 +00:00

I've been seeing ghosts spawn inside the same protected area 4222 anytime I'm near the wall/floor/ceiling that is inside the protected area. Off-by-one on protection check? Is there a missing brick in the wall (it looks pretty complete to me, at least in the areas where it matters). For sure there is unprotected cave area on the "outside" of the wall, so I am looking for why this happens and what I can do about it if the code is working as intended; or what is the bug.

I've been seeing ghosts spawn inside the same protected area 4222 anytime I'm near the wall/floor/ceiling that is inside the protected area. Off-by-one on protection check? Is there a missing brick in the wall (it looks pretty complete to me, at least in the areas where it matters). For sure there is unprotected cave area on the "outside" of the wall, so I am looking for why this happens and what I can do about it if the code is working as intended; or what is the bug.
flux added the
1. kind/bug
4. step/at work
labels 2022-10-31 15:02:30 +00:00
Member

after talking to niceride, this has turned into an issue about how to keep ghosts from flying through walls in your protected area.

after talking to niceride, this has turned into an issue about how to keep ghosts from flying through walls in your protected area.
flux added this to the flux's TODO list project 2022-10-31 15:03:16 +00:00
AliasAlreadyTaken was unassigned by flux 2022-10-31 15:03:20 +00:00
flux self-assigned this 2022-10-31 15:03:20 +00:00

it's not just an issue about ghosts. Attached: mime spawned in protected area.

it's not just an issue about ghosts. Attached: mime spawned in protected area. ![](https://gitea.your-land.de/attachments/968f5c6a-5123-467f-a092-d90ba77cf3b7)
Member

it's not just an issue about ghosts. Attached: mime spawned in protected area.

they absolutely cannot spawn in protected areas. haven would be overrun by them. but i'll entertain the idea that they're somehow glitching through walls. i've certainly noticed some inside of mountains while flying/noclipping.

> it's not just an issue about ghosts. Attached: mime spawned in protected area. they absolutely cannot spawn in protected areas. haven would be overrun by them. but i'll entertain the idea that they're somehow glitching through walls. i've certainly noticed some inside of mountains while flying/noclipping.
flux added the
4. step/ready to QA test
4. step/partially fixed
labels 2022-11-01 16:54:01 +00:00
AliasAlreadyTaken was assigned by flux 2022-11-01 16:54:05 +00:00
Member

i've made it so that mimes will die if they somehow end up in a wall, to prevent them from clipping in:

b62353802a

i've made it so that mimes will die if they somehow end up in a wall, to prevent them from clipping in: https://github.com/fluxionary/minetest-mobs_mime/commit/b62353802a849f76089e9af926dc1c7161fb719b

...and spiders, apparently.

...and spiders, apparently. ![](https://gitea.your-land.de/attachments/0cf487e2-229c-4216-a8aa-ba9a0ac459a4)
Member

...and spiders, apparently.

the spiders i understand, though i'm not sure it covers the current case pefectly.

if a petz is in a one-block-tall gap and jumps, it gets teleported up until the next available surface. spiderz and ratz do this easily (see #2048, #2967, #2982).

however, i can't find exactly where they're getting into your build.

> ...and spiders, apparently. the spiders i understand, though i'm not sure it covers the current case pefectly. if a petz is in a one-block-tall gap and jumps, it gets teleported up until the next available surface. spiderz and ratz do this easily (see #2048, #2967, #2982). however, i can't find exactly where they're getting into your build.
Member

flying around your base, i found a couple places where mobs outside could teleport up, but that doesn't answer how they'd get inside.

on the other hand, the walls are filled w/ mimes and batz O_O

flying around your base, i found a couple places where mobs outside could teleport up, but that doesn't answer how they'd get *inside*. on the other hand, the walls are filled w/ mimes and batz O_O
Member

figured out that there's a large thin gap in the unprotected area below the base, which is how spiders/ratz are getting in.

adding it to the todo list to change that behavior.

figured out that there's a large thin gap in the unprotected area below the base, which is how spiders/ratz are getting in. adding it to the todo list to change that behavior.

and mese monster.

and mese monster. ![](https://gitea.your-land.de/attachments/0d43d18d-812b-48ed-8075-35deda6feb0e)
AliasAlreadyTaken added this to the 1.1.116 milestone 2022-11-11 03:39:59 +00:00
Member

wall mimes are no longer a thing.

keeping petz (or their replacement) from glitching through walls is still a long way off

wall mimes are no longer a thing. keeping petz (or their replacement) from glitching through walls is still a long way off
flux removed the
4. step/ready to QA test
label 2022-11-16 16:50:30 +00:00
flux removed this from the 1.1.116 milestone 2022-11-18 21:18:00 +00:00

Can we not simply kill entities when they're inside a block? Means: Outside breathable environments?

Can we not simply kill entities when they're inside a block? Means: Outside breathable environments?
Member

Can we not simply kill entities when they're inside a block? Means: Outside breathable environments?

yes, but that AI needs to be written. overall, mobs must:

  • keep track of where they should be - the engine is terrible for this.
  • if they're not where they should be, they should teleport to where they should be and stop moving.
  • only if they're somewhere they shouldn't be and they can't get back to where they should be, should they despawn.
  • if tamed mobs despawn, they should leave a programmatic trace to allow resurrection.
> Can we not simply kill entities when they're inside a block? Means: Outside breathable environments? yes, but that AI needs to be written. overall, mobs must: * keep track of where they should be - the engine is terrible for this. * if they're not where they should be, they should teleport to where they should be and stop moving. * only if they're somewhere they shouldn't be and they can't get back to where they should be, should they despawn. * if tamed mobs despawn, they should leave a programmatic trace to allow resurrection.
Member
upstream petz issue: https://github.com/runsy/petz/issues/133
flux added the
3. source/mod upstream
label 2022-12-16 17:09:14 +00:00
flux removed the
4. step/at work
label 2023-02-27 21:09:47 +00:00
Sign in to join this conversation.
No Milestone
4 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#2939
No description provided.