debiankaios reports: polaer bear can spawn in cave ... #1359

Closed
opened 2022-01-16 08:03:19 +00:00 by yourland-report · 10 comments

debiankaios reports a bug:

polaer bear can spawn in cave if there is ice

Player position:

{
	y = -7516.4995117188,
	x = -1628.5450439453,
	z = 1555.7039794922
}

Player look:

{
	y = -0.67738968133926,
	x = 0.25774124264717,
	z = -0.6889939904213
}

Player information:

{
	min_rtt = 0.012000000104308,
	max_rtt = 0.74500000476837,
	connection_uptime = 609,
	max_jitter = 0.71799999475479,
	minor = 5,
	major = 5,
	ip_version = 6,
	formspec_version = 4,
	patch = 0,
	protocol_version = 39,
	serialization_version = 28,
	lang_code = "",
	version_string = "5.5.0-dev-0c4929f",
	avg_rtt = 0.017000000923872,
	state = "Active",
	avg_jitter = 0.0010000001639128,
	min_jitter = 0
}

Player meta:

{
	fields = {
		["3d_armor_inventory"] = "return {\"3d_armor:boots_crystal 1 15760\", \"3d_armor:leggings_rainbow 1 6304\", \"3d_armor:helmet_rainbow 1 6304\", \"shields:shield_rainbow 1 6304\", \"3d_armor:chestplate_rainbow 1 6304\", \"\"}",
		played_time = "1018341",
		jointime = "1618169882",
		yl_commons_player_joined = "1642319602",
		["signslib:pos"] = "(-1530,165,-3527)",
		digged_nodes = "73531",
		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_church = "return {[\"last_death\"] = {[\"y\"] = -937, [\"x\"] = -1498, [\"z\"] = 1563}, [\"last_death_portal\"] = 1642285310}",
		["stamina:level"] = "16.65",
		punch_count = "8935",
		arenalib_infobox_arenaID = "0",
		inflicted_damage = "164252",
		crafted = "1438",
		yl_commons_thankyou = "40",
		placed_nodes = "37505",
		xp = "49438",
		died = "185",
		hud_state = "on",
		repellant = "0",
		yl_commons_player_created = "1618169882"
	}
}

Log identifier


[MOD] yl_report log identifier = PWgfE2MrUFniJVijDkqdtR39YkVfbgkO

Profiler save:

profile-20220116T090318.json_pretty

Status:

# Server: version=5.4.1-yl, uptime=79691, max_lag=4.01392, clients={UNKNOWN63, debiankaios, Boot, debian44, evil123, abhinav, bakaxtreme, Bond007, jackofthebean000, Runy, rujal, kilvbz, Melon, wishingirl, flux, Bailiff, AliasAlreadyTaken, Service}

Teleport command:

/teleport xyz -1629 -7516 1556

Compass command:

/give_compass Construction PWgfE2MrUFniJVijDkqdtR39YkVfbgkO D2691E -1629 -7516 1556
debiankaios reports a bug: > polaer bear can spawn in cave if there is ice Player position: ``` { y = -7516.4995117188, x = -1628.5450439453, z = 1555.7039794922 } ``` Player look: ``` { y = -0.67738968133926, x = 0.25774124264717, z = -0.6889939904213 } ``` Player information: ``` { min_rtt = 0.012000000104308, max_rtt = 0.74500000476837, connection_uptime = 609, max_jitter = 0.71799999475479, minor = 5, major = 5, ip_version = 6, formspec_version = 4, patch = 0, protocol_version = 39, serialization_version = 28, lang_code = "", version_string = "5.5.0-dev-0c4929f", avg_rtt = 0.017000000923872, state = "Active", avg_jitter = 0.0010000001639128, min_jitter = 0 } ``` Player meta: ``` { fields = { ["3d_armor_inventory"] = "return {\"3d_armor:boots_crystal 1 15760\", \"3d_armor:leggings_rainbow 1 6304\", \"3d_armor:helmet_rainbow 1 6304\", \"shields:shield_rainbow 1 6304\", \"3d_armor:chestplate_rainbow 1 6304\", \"\"}", played_time = "1018341", jointime = "1618169882", yl_commons_player_joined = "1642319602", ["signslib:pos"] = "(-1530,165,-3527)", digged_nodes = "73531", 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_church = "return {[\"last_death\"] = {[\"y\"] = -937, [\"x\"] = -1498, [\"z\"] = 1563}, [\"last_death_portal\"] = 1642285310}", ["stamina:level"] = "16.65", punch_count = "8935", arenalib_infobox_arenaID = "0", inflicted_damage = "164252", crafted = "1438", yl_commons_thankyou = "40", placed_nodes = "37505", xp = "49438", died = "185", hud_state = "on", repellant = "0", yl_commons_player_created = "1618169882" } } ``` Log identifier ``` [MOD] yl_report log identifier = PWgfE2MrUFniJVijDkqdtR39YkVfbgkO ``` Profiler save: ``` profile-20220116T090318.json_pretty ``` Status: ``` # Server: version=5.4.1-yl, uptime=79691, max_lag=4.01392, clients={UNKNOWN63, debiankaios, Boot, debian44, evil123, abhinav, bakaxtreme, Bond007, jackofthebean000, Runy, rujal, kilvbz, Melon, wishingirl, flux, Bailiff, AliasAlreadyTaken, Service} ``` Teleport command: ``` /teleport xyz -1629 -7516 1556 ``` Compass command: ``` /give_compass Construction PWgfE2MrUFniJVijDkqdtR39YkVfbgkO D2691E -1629 -7516 1556 ```
AliasAlreadyTaken was assigned by yourland-report 2022-01-16 08:03:19 +00:00
Owner

I'm not sure whether this is a bug, this is what polar bears do. Camels occasionally spawn in caves when there's sand, too.

I'm not sure whether this is a bug, this is what polar bears do. Camels occasionally spawn in caves when there's sand, too.
Styxcolor added this to the (deleted) project 2022-01-17 09:06:52 +00:00
Styxcolor added the
ugh/petz
label 2022-01-20 08:18:59 +00:00
AliasAlreadyTaken was unassigned by Styxcolor 2022-01-20 08:19:04 +00:00
Styxcolor self-assigned this 2022-01-20 08:19:04 +00:00
Styxcolor modified the project from (deleted) to (deleted) 2022-01-20 08:19:09 +00:00
Owner

Checked with Alias, this is actually unwanted behavior. To petz it goes.

Checked with Alias, this is actually unwanted behavior. To petz it goes.
flux added the
4. step/want approval
label 2022-04-12 17:59:00 +00:00
Member

could be fixed by adding these lines to user.conf:

polar_bear_spawn_min_height = 0
camel_spawn_min_height = 0
could be fixed by adding these lines to `user.conf`: ``` polar_bear_spawn_min_height = 0 camel_spawn_min_height = 0 ```

Why would ANY of the petz spawn in caves? Except maybe bats?

Let's add this to every petz that isn't supposed to spawn in the deep.

Another thing: If I have desert sand layed out in the nether, do camels and hamsters spawn there, too? If so, is there a max_height value? If so, let's add max_height y= 1000.

Why would ANY of the petz spawn in caves? Except maybe bats? Let's add this to every petz that isn't supposed to spawn in the deep. Another thing: If I have desert sand layed out in the nether, do camels and hamsters spawn there, too? If so, is there a max_height value? If so, let's add max_height y= 1000.
AliasAlreadyTaken added the
1. kind/bug
4. step/approved
labels 2022-04-14 15:42:00 +00:00
flux self-assigned this 2022-04-14 16:40:58 +00:00

Why would ANY of the petz spawn in caves? Except maybe bats?

Because the nodes they spawn on are also generated in caves and like flux pointed out they dont have a height restriction for spawn

Another thing: If I have desert sand layed out in the nether, do camels and hamsters spawn there, too? If so, is there a max_height value? If so, let's add max_height y= 1000.

Not tested but probably yes if no max height is set

> Why would ANY of the petz spawn in caves? Except maybe bats? Because the nodes they spawn on are also generated in caves and like flux pointed out they dont have a height restriction for spawn > Another thing: If I have desert sand layed out in the nether, do camels and hamsters spawn there, too? If so, is there a max_height value? If so, let's add max_height y= 1000. Not tested but probably yes if no max height is set
Member

Fixed in df02aad29b

Fixed in https://gitea.your-land.de/your-land/petz/commit/df02aad29b9a7b3fc6a08d18b64a92813176b303

Fixed in df02aad29b

looks good except deleting L181 that probably changes so far normal behaviour.

you also set sane values for ant queen and beaver, both have hardcoded heights for placing anthill/dam

> Fixed in https://gitea.your-land.de/your-land/petz/commit/df02aad29b9a7b3fc6a08d18b64a92813176b303 looks good except deleting L181 that probably changes so far normal behaviour. you also set sane values for ant queen and beaver, both have hardcoded heights for placing anthill/dam
Member

looks good except deleting L181 that probably changes so far normal behaviour.

regular ants can't attack; that value did nothing, and i was trying to do a little cleanup of the mess that is that file

you also set sane values for ant queen and beaver, both have hardcoded heights for placing anthill/dam

i did? i gave them the same params as most other animals. i know anthills only form in low elevations, i don't think i've ever seen a beaver dam.

> looks good except deleting L181 that probably changes so far normal behaviour. regular ants can't attack; that value did nothing, and i was trying to do a little cleanup of the mess that is that file > you also set sane values for ant queen and beaver, both have hardcoded heights for placing anthill/dam i did? i gave them the same params as most other animals. i know anthills only form in low elevations, i don't think i've ever seen a beaver dam.

i did? i gave them the same params as most other animals. i know anthills only form in low elevations, i don't think i've ever seen a beaver dam.

Yep, anthills have a pretty small height range + other factors so the minimum height you set makes sure that some queens still spawn around that height and start a hill.
If I remember right dams got deactivated

> i did? i gave them the same params as most other animals. i know anthills only form in low elevations, i don't think i've ever seen a beaver dam. Yep, anthills have a pretty small height range + other factors so the minimum height you set makes sure that some queens still spawn around that height and start a hill. If I remember right dams got deactivated
Member

This is live

This is live
flux closed this issue 2022-04-30 23:27:53 +00:00
flux added
5. result/fixed
and removed
4. step/want approval
labels 2022-04-30 23:28:06 +00:00
flux removed the
4. step/approved
label 2022-06-24 18:31:27 +00:00
Styxcolor was unassigned by flux 2022-09-21 00:05:55 +00:00
flux removed their assignment 2022-09-21 00:05:55 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
5 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#1359
No description provided.