One Hour One Life Forums

a multiplayer game of parenting and civilization building

You are not logged in.

#126 2019-03-17 16:37:59

Jojigirl
Member
Registered: 2019-02-16
Posts: 245

Re: PLAYER STATS + tools

Does the oholgetplayerstats.js take quite awhile to run?  It's running from 2018_12_31 - 2019_03_13

Offline

#127 2019-03-17 16:59:00

Whatever
Member
Registered: 2019-02-23
Posts: 491

Re: PLAYER STATS + tools

Jojigirl wrote:

Does the oholgetplayerstats.js take quite awhile to run?  It's running from 2018_12_31 - 2019_03_13

It depends on how many hashes you are doing, if i do all hashes at the same time it takes up to 10 seconds for one day.
It also depends on how much these players have played in that time period.
If you are doing only one hash it should be much faster. Were you able to get your stats?

Katears wrote:

Thank you for the step by step, this is very interesting.

np, i am glad you were able to use the tools

Last edited by Whatever (2019-03-17 17:06:23)

Offline

#128 2019-03-18 04:55:44

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

Re: PLAYER STATS + tools

Can someone explain to me how this is working?

How are you finding the salted hash for a given email address?  The salt is supposed to be a secret...  there's no leak anywhere, is there?

I haven't had a chance to look at this too closely....

Also, there's a concern that  a bunch of people doing mass data downloads might be choking the ticket server, which is the main bottleneck for people logging into the game.

I think I need to move this data to another server, to isolate that load.

Offline

#129 2019-03-18 05:13:06

Whatever
Member
Registered: 2019-02-23
Posts: 491

Re: PLAYER STATS + tools

You can only find a salted hash if you have a lineage link of that person.
Here is a tutorial: https://onehouronelife.com/forums/viewt … 164#p50164
I dont see this as a leak or bug, but as intended behaviour.

Was there lag on the ticket server? I am sorry if that happend this was not my intention.
The data is 1.1 gb big, it is a lot of data, i dont know if downloading it causes any lag issues.

Offline

#130 2019-03-18 05:20:27

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

Re: PLAYER STATS + tools

Yeah, that's a lot of data.... hmm....

I'll have to move it to a separate server when I return from GDC.

For the time being, I'll have to take it offline.  I think that multiple users have been hitting this data at the same time.  If that causes buggy login behavior for other users, that's a huge problem.

Offline

#131 2019-03-18 05:20:49

Whatever
Member
Registered: 2019-02-23
Posts: 491

Re: PLAYER STATS + tools

To explain a bit more about how to find salted hashes:

The data records the secret hash together with the time of death, age of death, kids and so on.
In the lineage browser you can also see this data. So its easy to compare those to, to find out the hash.
You dont even need a script to do it, its just a bit easier with script.

But i dident have any lineage link from you jason.
But i had your email, i found out that you can just sha1 the email to get to the lineage browser of the person.
This way i got one of your lineage links and therefore your stats.
Btw are you also using other accounts or only one account? smile

Offline

#132 2019-03-18 05:30:35

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

Re: PLAYER STATS + tools

Yeah, the email-search feature on the lineage browser is a huge info leak... .but it's so convenient to be able to search for your own email.... hmm...

Not sure how to fix that in the future.

Offline

#133 2019-03-18 05:45:16

Grim_Arbiter
Member
Registered: 2018-12-30
Posts: 943

Re: PLAYER STATS + tools

Is it a leak because of the downloading or the linking aspect?

Well the data is out there, but we had to give a link to a life in order for the info to be tied to us. If someone wanted to find the fourm users Dodge or Morti for example, they wouldn't be able to find them just by sorting data. They would need to confirm a life and therefore their hash.

I mean if someone gives another person their hash they can just plug it into the family tree like their own hash right? Is it not the same kind of thing?


--Grim
I'm flying high. But the worst is never first, and there's a person that'll set you straight. Cancelling the force within my brain. For flying high. The simulator has been disengaged.

Offline

#134 2019-03-18 07:32:56

Whatever
Member
Registered: 2019-02-23
Posts: 491

Re: PLAYER STATS + tools

Update:

- jason will take down the data until he can move it to another server: https://onehouronelife.com/forums/viewt … 351#p50351
  (if you have the data already you can still use it, otherwise you need to wait until it becomes available again)

- stats now ignore babies that you got when you were an eve but only lived less than 3 min. (since this eve life will also be ignored)
  this is the last change to the stats i want to make. I think i fixed all the bugs, they should be fine now.

- created new script colorizestats.js that lets you colorize your stats if you want to post them on the forum

i updated all the stats with the changes above.

Last edited by Whatever (2019-03-18 07:34:56)

Offline

#135 2019-03-18 10:22:40

Léonard
Member
Registered: 2019-01-05
Posts: 205

Re: PLAYER STATS + tools

Here's mine for the year:

==========================================
Date 2019_01_01 - 2019_04_01
==========================================

------------------------------------------
firstEntry: Wed, 02 Jan 2019 06:13:34 GMT
lastEntry: Sat, 16 Mar 2019 14:16:13 GMT
------------------------------------------
births: 1088
deaths: 1088
timeAlive: 9d 15h 57m 
males: 409
females: 679
males/females: 0.60
------------------------------------------
avg. death age: 37.65
Death by oldAge: 152 -> 41.87%
Death by hunger: 135 -> 37.19%
Death by killer: 10 -> 2.75%
Death by disconnect: 66 -> 18.18%
------------------------------------------
ignoredUnderAgeDeaths: 447
ignoredEveDeaths: 278
timeAliveIgnored: 6h 57m 
------------------------------------------
born as eve: 290 -> 26.65%
avg. generation born into: 8.22
longest generation born into: 73
------------------------------------------
kids: 821
kids per female life: 4.15
avg. kid lifespan: 14.26
grandkids: 586
grandkids per female life: 2.96
------------------------------------------
kills: 3 -> 0.83%
avg. victim age: 32.99
victim female probability: 100.00%
==========================================

Thanks for the ignored Eve deaths suggestion, as you can see almost the totality of my Eve lives were ignored.
I sometimes do play in Eve camps as gen 1/2, but I never bother to try Eve runs as searching for a good spot would most likely be a terribly boring task to me.

Though I wonder, what does death by disconnects include?
Is it sudden infant death? Or actual network timeouts?
And does it also include the use of the old """exploit""" in Awbz's client?

Anyways, this is all very interesting.
I noticed how some people including me are pickier than others.
I have 6 hours of ignored playtime, that's enormous! That's all time I literally wasted. 6 hours just watching my screen for nothing.
I saw karltown also has 7 hours and Tarr 10.

I think it'd be interesting to also try to calculate how picky different people are.
Maybe you could have a total ignored death count and have a percentage given the total number of deaths next to that.
A percentage of lives that were actually taken seriously/were most likely actually productive.

Though it might be overshadowed by careless moms simply letting you starve.
Unless it's possible to make the difference with sudden infant deaths.

jasonrohrer wrote:

Yeah, the email-search feature on the lineage browser is a huge info leak... .but it's so convenient to be able to search for your own email.... hmm...

Not sure how to fix that in the future.

Personally I have always enjoyed the anonymity in this game.
That's why I didn't share any of my lineages in this thread and intend to use the tool on my own, privately.

I definitely think people shouldn't be able to find all your previous lives (and make states about you without even needing to ask you) simply because you shared one lineage link.
I, in fact, have done this in the past so if people dig enough in my posting history they might find out my hash.
Since both the name and hash figure on the records, someone could also search for a specific person they disliked or had an argument with or whatever, find out the hash, and considering someone might be able to build up a list of people along with corresponding hashes, could figure out if it was really you or someone else.
Suddenly people can come up to you and say "Hey! You did x in life y, I hate you!".

On the other hand, I do like the idea of being able to personally get the data of your previous lives granted you are actually the person behind them.
So to sum up my opinion, I think people other than you shouldn't be able to get data on your previous lives while we should still personally remain able to in order to make personal stats.

It seems you also originally intended for people to be able to make global stats (which doesn't imply that they should be able to figure out who is who) and that's also perfectly fine.

There's definitely solutions to this problem.
You can keep storing the data in the same way, but instead of having a per-account hash, you could just use that plus some salt added to it and encrypt it using a public/private key system.
So you generate a pair of key per accounts and encrypt their hash using the account's public key and later the user can figure out if it's his life or not by using his private key.
I'm not a data security expert (I never had to solve such a problem ever) so that's probably a very dumb idea but I would start from there.

Offline

#136 2019-03-18 11:14:31

Whatever
Member
Registered: 2019-02-23
Posts: 491

Re: PLAYER STATS + tools

@Léonard nice to see your stats.
If you died with awbz mod using the self kill feature, it counted as disconnect.
But if you want you can ignore disconnects, by changing the source:
You will find this at the top of the oholgetplayerstats file https://github.com/hetuw/ohol_nodejs_st … tats.js#L4

const ignoreDisconnects = false; // set this to true to ignore disconnects
const ignoreDeathsUnderAge = 3; // disable it by setting it to 0
const countDeathsAsOldAgeOverAge = 54; // disable it by setting it to 60 or higher
const ignoreEveDeathsUnderAge = eveSpawningAge + 3;

You can just change these variables to get different stats if you want.

Léonard wrote:

Maybe you could have a total ignored death count and have a percentage given the total number of deaths next to that.

I will do that, in your case this would be:

ignoredUnderAgeDeaths: 447
ignoredEveDeaths: 278
deaths: 1088
ignoredDeaths: 725 -> 66.63%

you mean something like this? the percent here shows how many deaths were ignored related to the overall death count.
Yours is very picky tongue

Last edited by Whatever (2019-03-18 11:17:18)

Offline

#137 2019-03-19 07:36:12

WalrusesConquer
Member
Registered: 2018-07-11
Posts: 492

Re: PLAYER STATS + tools

Also I feel like people are still  using another method of suiciding. 2 times in my last life, a baby starved the minuete it popped out. I wasn't old or anything and it wasn't too cold?


Recent favorite lives:
Favio Pheonix,Les Nana,Cloud Charles, Rosa Colo [fed my little bro] Lucas Dawn [husband of magnolia] Jasmine Yu,Chogiwa, Tae (Jazz meister)Gillian Yellow (adoptive husband),Jason Dua, Arya Stark, Sophie Cucci, Cerenity Ergo ,Owner of Boris The Goose,Being Maria's mom, Santa's helper.

Offline

#138 2019-03-19 10:50:31

Léonard
Member
Registered: 2019-01-05
Posts: 205

Re: PLAYER STATS + tools

Whatever wrote:

If you died with awbz mod using the self kill feature, it counted as disconnect.

Oh I see. Thanks.
I didn't think about the fact that that type of death can occur regardless of age.
So I guess it's fine to keep this stat as is.

What about sudden infant death though?
Does that count towards hunger?

Whatever wrote:

you mean something like this? the percent here shows how many deaths were ignored related to the overall death count.
Yours is very picky tongue

Yes! Thanks for that too.
So only 1/3 of my lives go past the 3 minutes mark.
I'm not really surprised.
I'm still curious to see how it plays out for other people though.

Offline

#139 2019-03-19 11:47:00

Whatever
Member
Registered: 2019-02-23
Posts: 491

Re: PLAYER STATS + tools

WalrusesConquer wrote:

Also I feel like people are still  using another method of suiciding. 2 times in my last life, a baby starved the minuete it popped out. I wasn't old or anything and it wasn't too cold?

I think it is now possible to always type /die as baby, not only when your mum is holding you.

Léonard wrote:

What about sudden infant death though?
Does that count towards hunger?

Yes i think so. Right now there are only 4 death types available: Hunger, OldAge, Disconnect, Killed
So you cannot detect sudden infant death or animal deaths.

Offline

#140 2019-04-01 11:38:37

Digital_Anna
Member
Registered: 2019-03-31
Posts: 10

Re: PLAYER STATS + tools

Thanks a lot for the tool and instructions, it's nice!

==========================================
Date 2019_02_15 - 2019_03_31
==========================================

==========================================
Digital_Anna
------------------------------------------
firstEntry: Tue, 19 Feb 2019 00:17:40 GMT
lastEntry: Fri, 29 Mar 2019 21:05:20 GMT
------------------------------------------
births: 125
deaths: 125
timeAlive: 3d 9h 16m
males: 63
females: 62
males/females: 1.02
------------------------------------------
avg. death age: 44.85
Death by hunger: 45 -> 41.28%
Death by oldAge: 60 -> 55.05%
Death by killer: 4 -> 3.67%
------------------------------------------
ignoredDeaths: 16 -> 12.80%
timeAliveIgnored: 15m
ignoredUnderAgeDeaths: 16
------------------------------------------
born as eve: 2 -> 1.60%
avg. generation born into: 15.77
longest generation born into: 54
------------------------------------------
kids: 226
kids per female life: 4.11
avg. kid lifespan: 17.62
grandkids: 147
grandkids per female life: 2.67
------------------------------------------
kills: 5 -> 4.59%
avg. victim age: 29.69
victim female probability: 80.00%
==========================================


Be nice, English isn't my first language.

Offline

#141 2019-04-03 14:23:18

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

Re: PLAYER STATS + tools

Whatever wrote:

==========================================
MultiLife https://onehouronelife.com/forums/profile.php?id=2696
------------------------------------------
firstEntry: Wed, 02 Jan 2019 21:10:01 GMT
lastEntry: Sun, 10 Feb 2019 16:50:30 GMT
------------------------------------------
births: 99
deaths: 99
timeAlive: 1d 21h 27m
males: 26
females: 73
males/females: 0.36
------------------------------------------
avg. death age: 54.09
Death by oldAge: 41 -> 82.00%
Death by hunger: 9 -> 18.00%
------------------------------------------
ignoredUnderAgeDeaths: 12
ignoredEveDeaths: 37
timeAliveIgnored: 50m
------------------------------------------
born as eve: 39 -> 39.39%
avg. generation born into: 5.79
longest generation born into: 53
------------------------------------------
kids: 221
kids per female life: 7.13
avg. kid lifespan: 19.26
grandkids: 270
grandkids per female life: 8.71
------------------------------------------
kills: 6 -> 12.00%
avg. victim age: 28.14
victim female probability: 50.00%
==========================================

Hot damnn the new way of filtering did wonders to the numbers.
Proud of my stats!
And thank you once again!

EDIT:
Question, do my 39 Eve lives skew my male to female ratio here?

Last edited by MultiLife (2019-04-03 14:25:10)


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

#142 2019-04-03 14:48:56

Whatever
Member
Registered: 2019-02-23
Posts: 491

Re: PLAYER STATS + tools

No problem, i am glad you people like it.

MultiLife wrote:

Question, do my 39 Eve lives skew my male to female ratio here?

Yes, born as male or female always count at the moment. No matter if you live less than 3 minutes.

Offline

#143 2019-04-11 17:21:42

Thaulos
Member
Registered: 2019-02-19
Posts: 456

Re: PLAYER STATS + tools

==========================================
Thaulos
------------------------------------------
firstEntry: Mon, 01 Apr 2019 08:06:48 GMT
lastEntry: Tue, 09 Apr 2019 16:24:02 GMT
------------------------------------------
births: 57
deaths: 57
timeAlive: 19h 46m
males: 28
females: 29
males/females: 0.97
------------------------------------------
avg. death age: 45.23
Death by hunger: 12 -> 46.15%
Death by oldAge: 14 -> 53.85%
------------------------------------------
ignoredDeaths: 31 -> 54.39%
timeAliveIgnored: 10m
ignoredUnderAgeDeaths: 30
ignoredEveDeaths: 1
------------------------------------------
born as eve: 1 -> 1.75%
avg. generation born into: 13.89
longest generation born into: 55
------------------------------------------
kids: 71
kids per female life: 5.92
avg. kid lifespan: 17.52
grandkids: 88
grandkids per female life: 7.33
------------------------------------------
kills: 3 -> 11.54%
avg. victim age: 15.51
victim female probability: 0.00%
==========================================

Here are my stats for this month so far.

Got to say, I implemented some of the philosophy of futurebird and fragilityh14 talked about here and elsewhere on the forums and I seem to be doing a lot better in terms of enabling my lineages to go further. I'm also enjoying the game a lot more. Almost no rage quits. big_smile

Offline

#144 2019-11-04 20:56:32

miskas
Member
From: Greece
Registered: 2018-03-24
Posts: 1,095

Re: PLAYER STATS + tools

is this still working?
http://prntscr.com/psftfj

C:\Users\xasim\Downloads\OneLife_v58\ohol_nodejs_stats-master>node oholdownloaddata.js
'node' is not recognized as an internal or external command,
operable program or batch file.

Last edited by miskas (2019-11-04 21:01:26)


Killing a griefer kills him for 10 minutes, Cursing him kills him for 90 Days.

4 curses kill him for all of us,  Mass Cursing bring us Peace! Please Curse!
Food value stats

Offline

#145 2019-11-04 22:01:25

Kaveh
Member
Registered: 2019-07-27
Posts: 168

Re: PLAYER STATS + tools

Works for me! I was actually wondering about my total playtime since I played modded almost from the beginning and it doesn't list it on Steam for me. These are my stats from the first day I played to y'day

==========================================
Kaveh
------------------------------------------
firstEntry: Thu, 20 Dec 2018 23:03:47 GMT
lastEntry: Sun, 03 Nov 2019 20:54:11 GMT
------------------------------------------
births: 604
deaths: 604
timeAlive: 11d 8h 50m
males: 273
females: 331
males/females: 0.82
------------------------------------------
avg. death age: 43.66
Death by hunger: 143 -> 37.63%
Death by oldAge: 212 -> 55.79%
Death by killer: 25 -> 6.58%
------------------------------------------
ignoredDeaths: 224 -> 37.09%
timeAliveIgnored: 1h 54m
ignoredUnderAgeDeaths: 214
ignoredEveDeaths: 10
------------------------------------------
born as eve: 34 -> 5.63%
avg. generation born into: 20.45
longest generation born into: 157
------------------------------------------
kids: 827
kids per female life: 3.78
avg. kid lifespan: 20.86
grandkids: 855
grandkids per female life: 3.90
------------------------------------------
kills: 21 -> 5.53%
avg. victim age: 31.93
victim female probability: 42.86%
==========================================

Last edited by Kaveh (2019-11-04 22:02:12)

Offline

#146 2023-05-08 14:04:59

MudBeard
Member
Registered: 2022-05-01
Posts: 1

Re: PLAYER STATS + tools

Does anyone use this tool anymore? When I try running dates between Oct 2022 and Jan 2023, it gets stuck on the 10th of the month.

Offline

Board footer

Powered by FluxBB