Weirdness with Chicken food & qualities megathread.

The worst monsters in the Hearthlands warp the fabric of space and time...
User avatar
Ashghan
Posts: 38
Joined: Thu Mar 10, 2011 8:55 pm

Re: Weirdness with Chicken food & qualities megathread.

Post by Ashghan »

Yup, had the same problem with my chickens, though not as drastic. It's basically a math/rounding algorithm problem. If you put a bad quality item in the beginning (gods forbid something as low as 6/6/6) you basically cap the quality at low levels. Consider this example:
You put in one carrot at 6 quality (for the example I assume qX is X/X/X). then add a q7 and q8 and q9 and q10 and q11. Logicaly, the quality should be 6+7+8+9+10+11 div 6, round down = 8. Not in this game. Surprise, you have 5 units of 6/6/6. Why? Because each unit is averaged, rounded down and counted separatelyonly when it's added. So at first step you have (6+7)/2 = 6,5 round six 6. You have now 2 units of q6 fodder. Now you add the q8 and it gets weird. The math is not (6+7+8)/2 but instead (6*2+8)/2 resulting in 3 units q of6 (round down 6,66) instead of q7. Next (6*3+9)/4 = 6,75 . 4 units of q6. (6*4+10)/5 = 6,8. 5 units of q6. And so on. you have 100 units of q10 fodder, add one q9 and you have 101 q9 fodder. Because (100*10+9)/101 is 9,9099, round down to 9. It's like the saying "one bad apple spoils the bunch".

Only thing you can do is empty the coop of ANY fodder (via bucket) and start from scratch, with higher q fodder. And do this every time your crop q increases by a significant margin, because your fodder is basically capped at the level of the lowest qualities you put in it in the beginning. It wasn't so in the original H&H where AFAIK it calculated the average q normally.

I do know that from a coding standpoint it'll be hell to keep the q values of all fodder items in the coop (or trough) for every coop and trough in the world. The only other options are using regular averaging (up >.5 > down) or keeping an internal floating point quality with rounding only when the fodder is taken out.


tl;dr = it's not a bug, it's a design choice.
Hardsun
Posts: 43
Joined: Tue Mar 13, 2012 1:32 am

Re: Weirdness with Chicken food & qualities megathread.

Post by Hardsun »

Ashghan wrote: It's like the saying "one bad apple spoils the bunch".
tl;dr = it's not a bug, it's a design choice.
Big thanks to you sir. Now i see the light ;)
User avatar
Yasgur
Posts: 151
Joined: Sun Aug 09, 2009 11:17 pm

Re: Weirdness with Chicken food & qualities megathread.

Post by Yasgur »

Awesome post Ashghan, thanks.
User avatar
Oddity
Posts: 1983
Joined: Sun Jun 20, 2010 12:04 am
Location: BC, Canadia

Re: Weirdness with Chicken food & qualities megathread.

Post by Oddity »

May it be fixed tomorrow :)
jadamkaz wrote:ah i remember my run in with odditown they are good ppl im sure the only reason they killed ME is because they are troll hunters and i was a troll
smileyguy4you
Posts: 378
Joined: Sun Sep 05, 2010 6:00 pm

Re: Weirdness with Chicken food & qualities megathread.

Post by smileyguy4you »

full grown chickens drop in quality, that is what the issue is for me, that is not how full grown chickens used to function they stayed at the quality they had when they grew full grown, and they only seem to drop in quality not increase (had fodder above q 10) it just consistently drops quality.
User avatar
Jeff
Posts: 393
Joined: Wed Aug 12, 2009 1:14 am

Re: Weirdness with Chicken food & qualities megathread.

Post by Jeff »

Yeah, but is that really an issue, or how they're supposed to work like that now?
Cause if they are indeed supposed to drop their qualities by eating poor food, then there is no bug at all.
Just a terribly detrimental averaging being done, but that isn't a bug in itself.
"I'm just an humble farmer, after all"
smileyguy4you
Posts: 378
Joined: Sun Sep 05, 2010 6:00 pm

Re: Weirdness with Chicken food & qualities megathread.

Post by smileyguy4you »

god damn, food above quality 10 (fodder checked with bucket), chickens still DROP in quality as full grown chickens (going under 10 10 10), have yet to see a full grown chicken go above 10 10 10 as well even though the food they are eating is above 10 10 10....as i said in my last post, the fodder is above q10 and full grown chickens still LOSE quality daily, these are wild chickens im cycling through the chicken coupe every 2-3 days because they are always dropping quality and again THE FOOD IS ABOVE Q 10 10 10
User avatar
Jeff
Posts: 393
Joined: Wed Aug 12, 2009 1:14 am

Re: Weirdness with Chicken food & qualities megathread.

Post by Jeff »

I had the same "issue" with a coop, removed all the food and water and chicken, put new food by checking to not put anything under q10 in any category, putting obviously good water as well, put new chickens, and i haven't got a problem since then. And i'm talking about more than a week.

...you didn't forget to give them water, right?
"I'm just an humble farmer, after all"
smileyguy4you
Posts: 378
Joined: Sun Sep 05, 2010 6:00 pm

Re: Weirdness with Chicken food & qualities megathread.

Post by smileyguy4you »

Jeff wrote:I had the same "issue" with a coop, removed all the food and water and chicken, put new food by checking to not put anything under q10 in any category, putting obviously good water as well, put new chickens, and i haven't got a problem since then. And i'm talking about more than a week.

...you didn't forget to give them water, right?

................................SIGH.......water is above 10, food is above 10, chickens caught in wild and put in empty coupe with said food and water DROP in quality daily their eggs they produce come out fine and the chicks, but full grown chickens drop in quality each day
smileyguy4you
Posts: 378
Joined: Sun Sep 05, 2010 6:00 pm

Re: Weirdness with Chicken food & qualities megathread.

Post by smileyguy4you »

also you cant remove water from the chicken coupe unless theres some way im missing to do it

Return to “Bugs”