Open connorhsm opened 4 months ago
Possibly related #18
Eve Happy is only showing up to Gen 251 because... their data has only been generated to be equal to 251.
What's stopping the reloading of their generation information to update?
1315489 displayID playerID Eve Happy 118.522 1 2024-07-07 06:01:38 251 play.twohoursonelife.com
Likely somewhere in these functions, at somepoint we must have failed to compute the generations correctly.
CSV of all Happy Family lives HappyFamilyRedacted.csv This was not actually all, by mistake.
eve_life_id
= 0 is Eve. Their lineage_depth
should be the largest, but is not. Shows 250, expected 300ish.
Causes Eve Happy to report only as "All Time Deep Roots" 250, when in reality its 300ish. If you view Eve Happy, you can see only down to that generation, but clicking Serena Happy in gen 251, you see the last gen 301.
I'm wondering if there's a correlation in the data that can point to where it went wrong, even filtering out the lives that are not part of the direct lineage line or visualisations of the direct line would be helpful.
A few related locations in the web server, some already mentioned above. https://github.com/twohoursonelife/OneLifeWeb/blob/0ab910aa396e2fdf85e4a09578ebfce556fd4616/web/public/lineageServer/server.php#L1727 https://github.com/twohoursonelife/OneLifeWeb/blob/0ab910aa396e2fdf85e4a09578ebfce556fd4616/web/public/lineageServer/server.php#L1803 https://github.com/twohoursonelife/OneLifeWeb/blob/0ab910aa396e2fdf85e4a09578ebfce556fd4616/web/public/lineageServer/server.php#L1441 https://github.com/twohoursonelife/OneLifeWeb/blob/0ab910aa396e2fdf85e4a09578ebfce556fd4616/web/public/lineageServer/server.php#L2661
May or may not be useful, but clicking through the family members, starting with Eve, also incrementally adds more generations. eg Reality Happy shows up to gen 253,. Her daughter, Violet Happy shows up to gen 254 etc
The earliest life in the tree that can see max gen 301
My best guess here is that at some point, for some reason around Tacori Happy's life being logged, or a character of a nearby generation, the PHP process was exited or failed while recursing up the tree.
In the case of Eve Happy, members of generation 282 are currently dying. Eve is only showing as 250 deep, while prior lineages show this well.
It does not appear there is a generation missing in the chain after briefly clicking through generations.
I can also select Serena Happy of gen 251 and cause all gens to now appear as expected. Following up to 10 of her grandparents and all gens still show as expected.