Oakenshield reports: this is very strange. How can ... #465

Closed
opened 2021-04-18 13:49:04 +00:00 by yourland-report · 7 comments

Oakenshield reports a bug:

this is very strange. How can male hens lay eggs? I tamed a hen. Then its interface said it was male. Now it is laying eggs. Very odd...

Player position:

{
	y = 70.75,
	x = 2585.1989746094,
	z = 4990.8002929688
}

Player look:

{
	y = -0.51339143514633,
	x = -0.42868813872337,
	z = 0.74340814352036
}

Player information:

{
	min_rtt = 0.10400000214577,
	max_rtt = 0.56499999761581,
	connection_uptime = 4817,
	lang_code = "",
	address = "::ffff:204.111.39.57",
	formspec_version = 3,
	protocol_version = 39,
	avg_rtt = 0.1059999987483,
	min_jitter = 0,
	ip_version = 6,
	max_jitter = 0.4549999833107,
	avg_jitter = 0.0020000040531158
}

Player meta:

{
	fields = {
		["3d_armor_inventory"] = "return {\"\", \"\", \"\", \"\", \"\", \"\"}",
		yl_commons_thankyou = "4",
		yl_commons_player_joined = "1618748977",
		["signslib:pos"] = "(2582,71,4994)",
		digged_nodes = "216518",
		partychat = "party",
		yl_church = "return {[\"last_death\"] = {[\"y\"] = 31, [\"x\"] = 2342, [\"z\"] = 16951}, [\"last_death_portal\"] = 1618753521}",
		["stamina:level"] = "12.325",
		punch_count = "6324",
		inflicted_damage = "90814",
		crafted = "30873",
		died = "133",
		xp = "180084",
		placed_nodes = "43218",
		hud_state = "on",
		played_time = "1283466",
		yl_commons_player_created = "1609699470"
	}
}

Log identifier


[MOD] yl_report log identifier = ILn8xgDm7NG6pAzfAABtpLlTwzNgw0lL

Profiler save:

profile-20210418T154904.json_pretty

Status:

# Server: version=5.3.0-yl, uptime=174938, max_lag=2.40621, clients={Neo, Kur, grubibubi, jakob, doychland, MilesPacis, debiankaios, Oakenshield, CAUTIOUS, Icey_fox, debian44, Service, Apocralypse, AliasAlreadyTaken, h1, Bailiff}
Oakenshield reports a bug: > this is very strange. How can male hens lay eggs? I tamed a hen. Then its interface said it was male. Now it is laying eggs. Very odd... Player position: ``` { y = 70.75, x = 2585.1989746094, z = 4990.8002929688 } ``` Player look: ``` { y = -0.51339143514633, x = -0.42868813872337, z = 0.74340814352036 } ``` Player information: ``` { min_rtt = 0.10400000214577, max_rtt = 0.56499999761581, connection_uptime = 4817, lang_code = "", address = "::ffff:204.111.39.57", formspec_version = 3, protocol_version = 39, avg_rtt = 0.1059999987483, min_jitter = 0, ip_version = 6, max_jitter = 0.4549999833107, avg_jitter = 0.0020000040531158 } ``` Player meta: ``` { fields = { ["3d_armor_inventory"] = "return {\"\", \"\", \"\", \"\", \"\", \"\"}", yl_commons_thankyou = "4", yl_commons_player_joined = "1618748977", ["signslib:pos"] = "(2582,71,4994)", digged_nodes = "216518", partychat = "party", yl_church = "return {[\"last_death\"] = {[\"y\"] = 31, [\"x\"] = 2342, [\"z\"] = 16951}, [\"last_death_portal\"] = 1618753521}", ["stamina:level"] = "12.325", punch_count = "6324", inflicted_damage = "90814", crafted = "30873", died = "133", xp = "180084", placed_nodes = "43218", hud_state = "on", played_time = "1283466", yl_commons_player_created = "1609699470" } } ``` Log identifier ``` [MOD] yl_report log identifier = ILn8xgDm7NG6pAzfAABtpLlTwzNgw0lL ``` Profiler save: ``` profile-20210418T154904.json_pretty ``` Status: ``` # Server: version=5.3.0-yl, uptime=174938, max_lag=2.40621, clients={Neo, Kur, grubibubi, jakob, doychland, MilesPacis, debiankaios, Oakenshield, CAUTIOUS, Icey_fox, debian44, Service, Apocralypse, AliasAlreadyTaken, h1, Bailiff} ```
AliasAlreadyTaken was assigned by yourland-report 2021-04-18 13:49:04 +00:00
AliasAlreadyTaken added the
1. kind/bug
3. source/mod upstream
labels 2021-04-22 12:02:09 +00:00
Owner

I have seen this issue appear time and time again. Apparently the information on the sex of the animal is not reliable, or the reproductive functions are assigned at random, not linked to the sex.

I have seen this issue appear time and time again. Apparently the information on the sex of the animal is not reliable, or the reproductive functions are assigned at random, not linked to the sex.
Owner

This issue has a duplicate: #633 , different animal, same issue. I know from player chat ingame that at least the elephants but most likely all animals from the mod are affected.

This issue has a duplicate: #633 , different animal, same issue. I know from player chat ingame that at least the elephants but most likely all animals from the mod are affected.
Owner

#829 adds that it might be an issue with a wrong label in the petz menu.

#829 adds that it might be an issue with a wrong label in the petz menu.

petz chickens have genders and the bools for lay_eggs and is_male are correctly set for hen/rooster/chick.

I looked through both the egg and breed mechanics and couldn´t find any obvious bug but honestly petz is a bit chaos. It has api´s but almost every animal has it own way of doing things with a twist.

I would label it with result/cannot reproduce at the moment until it happens again and the affected petz animals are available.

[petz chickens](https://github.com/runsy/petz/blob/master/petz/petz/chicken_mobkit.lua) have genders and the bools for `lay_eggs` and `is_male` are correctly set for hen/rooster/chick. I looked through both the egg and breed mechanics and couldn´t find any obvious bug but honestly petz is a bit chaos. It has api´s but almost every animal has it own way of doing things with a twist. I would label it with result/cannot reproduce at the moment until it happens again and the affected petz animals are available.
Owner

I'll breed some chickens in my test environment today. Maybe I'm lucky.

I'll breed some chickens in my test environment today. Maybe I'm lucky.
Styxcolor added the
ugh/petz
label 2021-11-10 11:11:57 +00:00
Owner

My first tries to breed chickens was not successful, let's just put it that way. Petz chicken indeed behave completely differently than petz ducks.

My first tries to breed chickens was not successful, let's just put it that way. Petz chicken indeed behave completely differently than petz ducks.
Styxcolor added the
4. step/at work
label 2021-12-18 03:49:51 +00:00
AliasAlreadyTaken was unassigned by Styxcolor 2022-01-05 07:18:51 +00:00
Styxcolor self-assigned this 2022-01-05 07:18:51 +00:00
Styxcolor added this to the (deleted) project 2022-01-05 07:20:11 +00:00
AliasAlreadyTaken added
5. result/fixed
and removed
4. step/at work
labels 2022-05-12 03:50:49 +00:00

Seems to have been fixed upstream

Seems to have been fixed upstream
AliasAlreadyTaken added this to the 1.1.111 milestone 2022-05-13 05:06:19 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
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#465
No description provided.