One Hour One Life Forums

a multiplayer game of parenting and civilization building

You are not logged in.

#1 2018-11-26 01:22:26

Alec
Member
Registered: 2018-11-13
Posts: 61

Respawn position of eve.

I read source code and found different of Source and Wiki.

In wiki about Eve, "If an Eve lives out the full 60 minutes to die of old age, " "Additionally, she can later spawn back into the same location as another Eve.
https://onehouronelife.gamepedia.com/Eve

But by source code, it's wrong.
It compute "average" of recent(just 100) move objects position and weight(is like difficulty of craft).
And found must nearest position from recent move objects. That will be next respawn position for eve.
It's doesn't care about where eve had die.
https://github.com/jasonrohrer/OneLife/ … .cpp#L6149

It's means you couldn't respawn your camp, If big town is living in server, and you died by full life at another place.

Did you know about this?

Idk, which is Jason's mind.
But, now is time to fix wiki or source code.


==========
Hi, I'm Alec, from Japan, from Mobile version. I love OneHourOneLife very much.

Offline

#2 2018-11-26 01:30:28

startafight
Member
Registered: 2018-04-15
Posts: 398

Re: Respawn position of eve.

yeah... this "live to 60 to be reborn at the same spot" thing hasnt actually been confirmed to my knowledge on the forums. i dont know if it was an old rumor or whatever but when its brought up people tend to say its true but i dont think jason himself has actually said anything about it (on the forums that i know of)

Offline

#3 2018-11-26 01:50:26

BladeWoods
Member
Registered: 2018-08-11
Posts: 476

Re: Respawn position of eve.

You should update the wiki then.

I don't know why living to 60 as eve to respawn as eve in the same place is a thing?, seems contradictory to the rest of the game which doesn't let you select where to be born and prevents you with lineage bans from being born in the same place repeatedly.

It's been confirmed before and confirmed again here by the source code Alec just linked @startafight. It just isn't totally consistent b/c of the weird aforementioned calculation that is done.

Last edited by BladeWoods (2018-11-26 01:51:12)

Offline

#4 2018-11-26 02:18:32

Ducky
Member
Registered: 2018-07-06
Posts: 15

Re: Respawn position of eve.

It does work, I have tried it but I think it only works on small population servers

Offline

#5 2018-11-26 05:53:32

startafight
Member
Registered: 2018-04-15
Posts: 398

Re: Respawn position of eve.

BladeWoods wrote:

You should update the wiki then.

I don't know why living to 60 as eve to respawn as eve in the same place is a thing?, seems contradictory to the rest of the game which doesn't let you select where to be born and prevents you with lineage bans from being born in the same place repeatedly.

It's been confirmed before and confirmed again here by the source code Alec just linked @startafight. It just isn't totally consistent b/c of the weird aforementioned calculation that is done.

my b i didnt fully explain my thinking... i meant like the exact way its supposed to work hasnt really been explained... n idk shit abt source codes man so like if its not in laymans term idk ¯\_(ツ)_/¯

id actually like a full explanation of what its supposed to do myself usually all ppl say is that eves spawn back where their spawn point is set (fuck its late im forgetting the term for the stick thing whatever) but an explanation of x amount of ppl in a server or the possibility of being born back as an eve to ur old spot or when its erased or whatnot would be nice... i still havent fully understood it yet cos i havent looked at numbers since like 8th grade

Offline

#6 2018-11-26 07:01:30

mikekchar
Member
Registered: 2018-03-19
Posts: 51

Re: Respawn position of eve.

The way it works is that when you die of old age as an eve it "stores your camp".  The server actually writes out a message that the camp has been stored, where the location is and what the radius of the camp is.  When the next eve spawns it checks to see if a camp has been stored, and if it has, then you spawn somewhere in the radius of that camp.  Or at least that's what it used to do (unless I got something wrong).  I haven't verified that it works in the current version because I keep dying at 58 or 59 years old (it's been a *long* time since I played).  I have no reason to believe that the functionality was removed and Alec's description matches my recollection exactly.

It's very handy for people like me that like to run on a private server and play solo mode.  If you die to anything except old age you have to start again.  If you die of old age, you can continue your site.  There is actually a configuration setting for the minimum age that the eve camp will be saved.  By default it is 60.  I've tried setting it to other values (like 40) and while the camp appears to be saved, I never respawn near it.  I haven't bothered to debug it to figure out why.

Offline

#7 2018-11-26 07:56:25

Psykout
Member
Registered: 2018-11-14
Posts: 353

Re: Respawn position of eve.

This feature I think comes into play more for low population or empty servers. It's intention with populated servers is maybe to save a doomed eve camp with no females with a fertile woman, little unsure.

On low populated servers (one eve camp or maybe one other)

I have spawned as an eve on top of my starved bones in the same camp
I have spawned as an eve on top of my starving previous child
I have spawned as an eve into a settlement that I died of old age 24-36hrs prior
I have spawned in as an eve 4+ times in a row into the same settlement that only I ever was a part of

When it comes to populated servers

I have spawned as an eve to my previous settlement and started mass producing babies
I have spawned as an eve to a new location instead of where I died
I have spawned as  a baby to same settlement
I have spawned as a baby to a new settlement

What I want to know is, do you have to be the eve that started it off to get that chance, or does any old age death give that chance of a new eve to spawn there. If I died of old age and spawn as a baby somewhere else, does another person have a chance to pop up in my old village? Been a few times that as an old man in a sausage party that I said screw it and finished the farm, finished the sheep pen and made every tool, one to practice and two, the hope maybe someone finds it and can use it to launch off of.

Offline

#8 2018-11-26 09:07:03

lionon
Member
Registered: 2018-11-19
Posts: 532

Re: Respawn position of eve.

I recently had a case where an eve spawned right into the middle of an active settlement.

Offline

#9 2018-11-26 18:23:41

Cecil
Member
Registered: 2018-07-16
Posts: 55

Re: Respawn position of eve.

Yes, you get the Eve spawn into a random settlement reliably if you live as Eve to 60, and then suicide on every baby birth until it spawns you as Eve.

That might seem like a very cynical way to reroll your spawns, just cycling through baby lives, but it feels like a bonus you've earned by hitting 60 as an Eve.

Last edited by Cecil (2018-11-26 18:27:03)

Offline

#10 2018-11-26 23:58:17

startafight
Member
Registered: 2018-04-15
Posts: 398

Re: Respawn position of eve.

mikekchar wrote:

The way it works is that when you die of old age as an eve it "stores your camp".  The server actually writes out a message that the camp has been stored, where the location is and what the radius of the camp is.  When the next eve spawns it checks to see if a camp has been stored, and if it has, then you spawn somewhere in the radius of that camp.  Or at least that's what it used to do (unless I got something wrong).  I haven't verified that it works in the current version because I keep dying at 58 or 59 years old (it's been a *long* time since I played).  I have no reason to believe that the functionality was removed and Alec's description matches my recollection exactly.

It's very handy for people like me that like to run on a private server and play solo mode.  If you die to anything except old age you have to start again.  If you die of old age, you can continue your site.  There is actually a configuration setting for the minimum age that the eve camp will be saved.  By default it is 60.  I've tried setting it to other values (like 40) and while the camp appears to be saved, I never respawn near it.  I haven't bothered to debug it to figure out why.

tysm!

Offline

#11 2018-11-27 12:46:39

Kajzor
Member
Registered: 2018-11-27
Posts: 2

Re: Respawn position of eve.

My findings from looking at the code.

Placements makes up a "camp".
If you lived to 60 as eve, your camp will be saved. Your camp will be determined by your placements in your previous eve life. If you die before 60 in any eve life after this, any stored camp will be removed, as seen here.

    if( inAge < minEveCampRespawnAge ) {
        printf( "Eve died too young (age=%f, min=%f), "
                "not remembering her camp, and clearing any old camp memory\n",
                inAge, minEveCampRespawnAge );

Im not sure if your previous eve camps will be overwritten by the new one if you continue living to 60, they may all be saved.

If there are other players on the server you will most likely spawn on one of them (its possible they must be fertile, as it seems to pick this from the available parent list) Any baby is also a valid spawn point.

And then there is the possibility to spawn on town outskirts, however this check is made after (even though i have tried spawning on outskirts on a populated server, so if someone else could give some insight on this it would be great)
Seen here:
// else starts at civ outskirts (lone Eve)
        int startX, startY;
        getEvePosition( newObject.email, &startX, &startY );

Using the same spawn location for eve more than 10 times changes something, and this will be a long one but it is very interesting.

        GridPos eveLocToUse = eveLocation;
       
        maxEveLocationUsage =
            SettingsManager::getIntSetting( "maxEveStartupLocationUsage", 10 );

        if( eveLocationUsage < maxEveLocationUsage ) {
            eveLocationUsage++;
            // keep using same location
            }
        else {
            // post-startup eve location has been used too many times
            // place eves on spiral instead

            if( abs( eveLocToUse.x ) > 100000 ||
                abs( eveLocToUse.y ) > 100000 ) {
                // we've gotten to far away from center over time
               
                // re-center spiral on center to rein things in

                // we'll end up saving a position on the arm of this new
                // centered spiral for future start-ups, so the eve
                // location can move out from here
                eveLocToUse.x = 0;
                eveLocToUse.y = 0;
                }
           
            int jump = SettingsManager::getIntSetting( "nextEveJump", 2000 );

It seems like it will put you 2000 tiles away from your camp! So if you all of a sudden seem like you have lost your spawn, this could be why.
Edit: it only goes to the above method if you dont already have a saved camp, it might just be to ensure that not 10 eves spawn in the same spot.

More information would be nice so feel free to share im very interested.

Last edited by Kajzor (2018-11-27 13:25:26)

Offline

#12 2018-12-25 20:51:20

Alec
Member
Registered: 2018-11-13
Posts: 61

Re: Respawn position of eve.

Finally, it's bug.

Jason found this problem by himself, and fixed it.
https://github.com/jasonrohrer/OneLife/ … c94c57d866

Offline

#13 2018-12-25 22:13:37

jasonrohrer
Administrator
Registered: 2017-02-13
Posts: 4,805

Re: Respawn position of eve.

Yes, this was a horrible bug that I just discovered independently today.

Fixed in source.  Will go live later this week.

Offline

#14 2018-12-25 22:26:54

MultiLife
Member
Registered: 2018-07-24
Posts: 851

Re: Respawn position of eve.

It's odd though, as I have spawned to my old camp months ago. So it had somehow worked before? It's interesting nonetheless, this thing has been a bit hazy due to misunderstandings and what seems to be a bugged system.


Notable lives (Male): Happy, Erwin Callister, Knight Peace, Roman Rodocker, Bon Doolittle, Terry Plant, Danger Winter, Crayton Ide, Tim Quint, Jebediah (Tarr), Awesome (Elliff), Rocky, Tim West
Notable lives (Female): Elisa Mango, Aaban Qin, Whitaker August, Lucrecia August, Poppy Worth, Kitana Spoon, Linda II, Eagan Hawk III, Darcy North, Rosealie (Quint), Jess Lucky, Lilith (Unkle)

Offline

Board footer

Powered by FluxBB