digdeep reports: when a big scorpion spawns sma ... #2227

Closed
opened 2022-07-14 23:25:54 +00:00 by yourland-report · 7 comments

digdeep reports a bug:

when a big scorpion spawns smaller scorpions, they can spawn inside walls, or in 1 block wide gaps where they would'nt be able to fit normally

Player position:

{
	y = -59.499000549316,
	x = -696.57897949219,
	z = 22507.44140625
}

Player look:

{
	y = -0.39313966035843,
	x = 0.3647269308567,
	z = -0.84404706954956
}

Player information:

{
	min_rtt = 0.1630000025034,
	max_rtt = 4.3289999961853,
	connection_uptime = 12744,
	max_jitter = 4.1570000648499,
	minor = 5,
	major = 5,
	ip_version = 6,
	formspec_version = 5,
	patch = 0,
	protocol_version = 40,
	serialization_version = 29,
	lang_code = "",
	version_string = "5.5.0",
	avg_rtt = 0.1710000038147,
	state = "Active",
	avg_jitter = 0.0030000060796738,
	min_jitter = 0
}

Player meta:

{
	fields = {
		["3d_armor_inventory"] = "return {\"\", \"shields:shield_rainbow 1 14656\", \"3d_armor:chestplate_crystal 1 8380\", \"3d_armor:leggings_crystal 1 8380\", \"3d_armor:boots_crystal 1 8380\", \"3d_armor:helmet_crystal 1 8380\"}",
		["petz:werewolf_vignette_id"] = "15",
		played_time = "1971904",
		yl_commons_thankyou = "21",
		["ocean_build.ocean_built"] = "12",
		died = "234",
		jointime = "1634688875",
		["stamina:poisoned"] = "no",
		["stamina:exhaustion"] = "119.5",
		["signslib:pos"] = "(-286,-1280,22396)",
		digged_nodes = "184372",
		["ocean_build.last_warning"] = "1.65784e+09",
		xp = "198521",
		bitten = "0",
		["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}",
		partychat = "party",
		yl_commons_player_joined = "1657828446",
		["petz:lycanthropy"] = "0",
		yl_church = "return {[\"last_death\"] = {[\"y\"] = 11, [\"x\"] = -1279, [\"z\"] = -2923}, [\"last_death_portal\"] = 1657840227}",
		["ocean_build.forbidden"] = "true",
		["stamina:level"] = "13",
		punch_count = "11374",
		arenalib_infobox_arenaID = "0",
		inflicted_damage = "212368",
		crafted = "9898",
		["petz:werewolf_clan_idx"] = "2",
		["petz:old_override_table"] = "return {[\"new_move\"] = true, [\"sneak\"] = true, [\"sneak_glitch\"] = false, [\"jump\"] = 1.5, [\"speed\"] = 2, [\"gravity\"] = 1}",
		["petz:werewolf"] = "0",
		placed_nodes = "132689",
		hud_state = "on",
		repellant = "0",
		yl_commons_player_created = "1634688875"
	}
}

Log identifier


[MOD] yl_report log identifier = Qgw8qH05AZxeMuPEZB6MD6vE8T0aOSw0

Profiler save:

profile-20220715T012553.json_prettyEE

Status:

# Server: version: 5.5.1-yl | game: Minetest Game | uptime: 3d 17h 18min 43s | max lag: 3.87s | clients: funland, denki_kami_thecat, jackofthebean000, Therottenpotato, paneg, KITTYGIRL, Anaconda, Grey, Nibsokube, Sokomine, Chache, SoozieQ, digdeep, rabenkind, pitman, AliasAlreadyTaken, Bailiff, flux

Teleport command:

/teleport xyz -697 -59 22507

Compass command:

/give_compass Construction Qgw8qH05AZxeMuPEZB6MD6vE8T0aOSw0 D2691E -697 -59 22507
digdeep reports a bug: > when a big scorpion spawns smaller scorpions, they can spawn inside walls, or in 1 block wide gaps where they would'nt be able to fit normally Player position: ``` { y = -59.499000549316, x = -696.57897949219, z = 22507.44140625 } ``` Player look: ``` { y = -0.39313966035843, x = 0.3647269308567, z = -0.84404706954956 } ``` Player information: ``` { min_rtt = 0.1630000025034, max_rtt = 4.3289999961853, connection_uptime = 12744, max_jitter = 4.1570000648499, minor = 5, major = 5, ip_version = 6, formspec_version = 5, patch = 0, protocol_version = 40, serialization_version = 29, lang_code = "", version_string = "5.5.0", avg_rtt = 0.1710000038147, state = "Active", avg_jitter = 0.0030000060796738, min_jitter = 0 } ``` Player meta: ``` { fields = { ["3d_armor_inventory"] = "return {\"\", \"shields:shield_rainbow 1 14656\", \"3d_armor:chestplate_crystal 1 8380\", \"3d_armor:leggings_crystal 1 8380\", \"3d_armor:boots_crystal 1 8380\", \"3d_armor:helmet_crystal 1 8380\"}", ["petz:werewolf_vignette_id"] = "15", played_time = "1971904", yl_commons_thankyou = "21", ["ocean_build.ocean_built"] = "12", died = "234", jointime = "1634688875", ["stamina:poisoned"] = "no", ["stamina:exhaustion"] = "119.5", ["signslib:pos"] = "(-286,-1280,22396)", digged_nodes = "184372", ["ocean_build.last_warning"] = "1.65784e+09", xp = "198521", bitten = "0", ["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}", partychat = "party", yl_commons_player_joined = "1657828446", ["petz:lycanthropy"] = "0", yl_church = "return {[\"last_death\"] = {[\"y\"] = 11, [\"x\"] = -1279, [\"z\"] = -2923}, [\"last_death_portal\"] = 1657840227}", ["ocean_build.forbidden"] = "true", ["stamina:level"] = "13", punch_count = "11374", arenalib_infobox_arenaID = "0", inflicted_damage = "212368", crafted = "9898", ["petz:werewolf_clan_idx"] = "2", ["petz:old_override_table"] = "return {[\"new_move\"] = true, [\"sneak\"] = true, [\"sneak_glitch\"] = false, [\"jump\"] = 1.5, [\"speed\"] = 2, [\"gravity\"] = 1}", ["petz:werewolf"] = "0", placed_nodes = "132689", hud_state = "on", repellant = "0", yl_commons_player_created = "1634688875" } } ``` Log identifier ``` [MOD] yl_report log identifier = Qgw8qH05AZxeMuPEZB6MD6vE8T0aOSw0 ``` Profiler save: ``` profile-20220715T012553.json_prettyEE ``` Status: ``` # Server: version: 5.5.1-yl | game: Minetest Game | uptime: 3d 17h 18min 43s | max lag: 3.87s | clients: funland, denki_kami_thecat, jackofthebean000, Therottenpotato, paneg, KITTYGIRL, Anaconda, Grey, Nibsokube, Sokomine, Chache, SoozieQ, digdeep, rabenkind, pitman, AliasAlreadyTaken, Bailiff, flux ``` Teleport command: ``` /teleport xyz -697 -59 22507 ``` Compass command: ``` /give_compass Construction Qgw8qH05AZxeMuPEZB6MD6vE8T0aOSw0 D2691E -697 -59 22507 ```
AliasAlreadyTaken was assigned by yourland-report 2022-07-14 23:25:54 +00:00
flux added the
1. kind/bug
label 2022-07-15 00:57:15 +00:00
Member

this has certainly been discussed before, but apparently never reported as a bug (pun not intended).

this has certainly been discussed before, but apparently never reported as a bug (pun not intended).
flux added this to the flux's TODO list project 2022-07-15 01:02:30 +00:00
flux added the
2. prio/elevated
label 2022-07-15 01:02:48 +00:00

"Spawn only if enough space" should be a feature of any mob api

your-land/administration#144

"Spawn only if enough space" should be a feature of any mob api https://gitea.your-land.de/your-land/administration/issues/144
Member

"Spawn only if enough space" should be a feature of any mob api

true, properly checking for space on spawn is on my todo list, but the "summon scorpion" behavior is discrete from other "spawning". if a mob comes into existence inside of a wall or in a space which is too small, should it just disappear? that would have consequences for e.g. tamed animals. if someone traps and buries someone's pony, that'd effectively kill it when it was unloaded/reloaded. actually, it'd be easy to add an exception for tamed mobs.

so it becomes "spawn only if enough space unless tamed"

> "Spawn only if enough space" should be a feature of any mob api true, properly checking for space on spawn is on my todo list, but the "summon scorpion" behavior is discrete from other "spawning". if a mob comes into existence inside of a wall or in a space which is too small, should it just disappear? that would have consequences for e.g. tamed animals. if someone traps and buries someone's pony, that'd effectively kill it when it was unloaded/reloaded. actually, it'd be easy to add an exception for tamed mobs. so it becomes "spawn only if enough space unless tamed"
flux added the
4. step/at work
label 2022-10-30 20:21:41 +00:00
AliasAlreadyTaken was unassigned by flux 2022-10-30 20:21:45 +00:00
flux self-assigned this 2022-10-30 20:21:45 +00:00
flux removed the
4. step/at work
label 2023-02-27 21:16:46 +00:00
Member

"spawn only if enough space" is one of the fundamental features of my new spawnit mod, though this currently only applies to "spawning out of nature" and not "spawned because a player placed a mob, or called minetest.add_entity() manually"

"spawn only if enough space" is one of the fundamental features of my new spawnit mod, though this currently only applies to "spawning out of nature" and not "spawned because a player placed a mob, or called `minetest.add_entity()` manually"
flux added the
4. step/at work
label 2023-08-09 00:35:24 +00:00
flux added
4. step/ready to QA test
and removed
4. step/at work
labels 2023-11-26 21:42:10 +00:00
Member

this is also implemented in ad69fc6ae4, the fix for #5070.

this is also implemented in https://gitea.your-land.de/your-land/Scorpion/commit/ad69fc6ae4bdfc0ac1aa4d3382a02548f24a49a1, the fix for #5070.
AliasAlreadyTaken added this to the 1.1.122 milestone 2023-11-27 00:56:12 +00:00

QA

Looks good - only when the space is SO small that there is no other way than spawning them very close, they might glitch out, like in a 3x3 trap

QA Looks good - only when the space is SO small that there is no other way than spawning them very close, they might glitch out, like in a 3x3 trap
AliasAlreadyTaken added the
ugh/QA OK
label 2023-12-04 20:39:46 +00:00
flux added
5. result/fixed
and removed
4. step/ready to QA test
labels 2023-12-17 22:51:53 +00:00
flux removed this from the flux's TODO list project 2023-12-17 22:51:56 +00:00
flux removed their assignment 2023-12-17 22:51:58 +00:00
Member

this is live

this is live
flux closed this issue 2023-12-17 22:52:06 +00:00
Sign in to join this conversation.
No Milestone
No project
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#2227
No description provided.