One Hour One Life Forums

a multiplayer game of parenting and civilization building

You are not logged in.

#1 Re: Main Forum » List of things that will be tools » 2019-10-28 00:17:09

Thaulos wrote:

I have experienced crashes in awbz/milkweed and on hetuw. I reckon whatever is wrong is in vanilla code.

The irony! Vanilla is the only code that's working so vanilla must have something wrong. smile

Probably vanilla has changed in a way the mods haven't caught up with, but I don't know anything for certain.

#2 Re: Main Forum » List of things that will be tools » 2019-10-27 01:19:57

jasonrohrer wrote:

Anyway, it's totally possible to "group" a bunch of tools in one slot, like:


Could an object be in more than one tool group? Knives for example are weapons and cooking implements.

#3 Re: Main Forum » Coming soon: Character skills (tools) » 2019-10-26 17:48:09

Eight is too many. It doesn't feel like a constraint.

#4 Re: Main Forum » OHOL birth visualisation. » 2019-05-17 20:23:10

So I added lineage colours and it looks like a mess: I'm going to need a clearer plan for how lineage colours work exactly. The layered rendering worked okay though so I'm pleased with that. I might return to the monochrome version for now and have it generate daily until I can think of how to use this.

#5 Re: Main Forum » OHOL birth visualisation. » 2019-05-16 17:02:46

I can't completely automate YouTube uploads because it requires OAuth.

#6 Re: Main Forum » OHOL birth visualisation. » 2019-05-16 16:46:04

Okay, I was wrong. I put in the code to flip it but it the flip method doesn't flip in place it makes a flipped copy, which I discarded. So that'll work now, still find the +x -y drift to be odd though.

#7 Re: Main Forum » OHOL birth visualisation. » 2019-05-16 16:38:07

I can certainly put it in a cron job to automate it. I've not done anything with YouTube's API yet, I'd have to look into that.

I do seem to flip the Y-axis exactly once immediately before rendering the frame, which should be correct. I'll have to check my assumptions. Honestly though if there was a trend wouldn't it be more likely to be consistently aligned with the axes (i.e. up and right)?

#8 Re: Main Forum » OHOL birth visualisation. » 2019-05-16 13:01:10

There's still some spiraling late on the 13th. Then about 1-2am on the 14th there's a server restart and I don't see any spiraling after that. Isn't just a wonderful burst of life:

A week long video like that is too much data maybe, I can generate daily ones instead, running between the low population windows at about 6am UTC.

Lineage colours should work. I can render lineages layer by layer with a different hue for each one, scale the saturation based on the current depth, then apply use some kind of symmetric blend to compose them.

#9 Re: Main Forum » OHOL birth visualisation. » 2019-05-16 00:32:06

So I created a new version:

The frames are now timestamped so you know when each frame was. I added some music to keep it interesting, music credits in the video description. It is also automatically panning and zooming, although not perfectly. Still better than my original attempt at this many months ago though. Interesting fact about this video is that it covers the transition between the old and new Eve spawn systems.

Now wondering if I can do something cleaner looking and more diagrammatic like identifying lineages and computing and rendering Voronoi cells for each one to show the shifting landscape of the lineages active on the server. Would be a lot more complicated but the pictures in my head are pretty cool. big_smile

#10 Main Forum » OHOL birth visualisation. » 2019-05-14 01:32:50

Replies: 16

So I lost my original video generating code so I'm doing it new and better. Not there yet but here's a visualisation of what was going on on bigserver2 on May 13th (midnight-midnight UTC).

Edit: A new version, much improved:

Edit: Another new version, with colours:

#11 Re: Main Forum » Oh man, what a bug » 2019-05-03 23:06:31

Oh wow! That's pretty much all objects, right? Might need to shuffle map density down 50%?

#12 Re: Main Forum » Idea for pond distribution » 2019-05-02 16:40:36

Dowsing? I guess we already have weird magic with the apocalypse so why not.

What about just tweaking the Eve spawns to be close to the points on the wiggly grid. Maybe even just on the grid, spawn you on a pond...

#13 Re: Main Forum » Total Lifetime curse score system is bad and harms veteran players. » 2019-05-02 16:26:02

I agree with Stylin about the whole actions have consequences side of things. But it does seem unsustainable.

As an alternative approach what if there were blessings as well as curses. Blessings could make your speech bubble steadily shinier for your current life and would serve as an indication that people in the community appreciate what you've been doing. If you die with several blessings (and maybe haven't been cursed during your life?) then your lifetime curse score decreases.

I know it seems rough around the edges but I think it has potential.

#14 Re: Main Forum » Can someone please set this up? » 2019-05-02 16:18:01

Oooh I'd like this! I could set it up. Sounds like ClownBaby is on it though and I wouldn't want to duplicate the effort. Let me know and I'll step in!

Additional thought. Have it keep updating but constantly 16 months behind current or something.

#15 Re: Main Forum » Custom Pictures » 2019-05-02 15:37:44

jasonrohrer wrote:

Zed, do you have a remote server with root that you could test this on and report back?  If not, I could set one up for you.

The game saves its own screen shots (so you don't need imagemagick)---if you can send the game the "=" and see if that works.  If it can get a picture of its own menu screen, saved into the screenshot folder, that's at least a starting point.

(I'd have to write the protocol and stuff for the client to "listen" to the live server for photo requests, jump to that spot on the map, snap the photo, and upload it, etc.   Even more work to have it listen to multiple servers in parallel.....)

But before even thinking about that work, knowing that graphics on headless servers are possible would be important.

Hi Jason,

I've done Xvfb into OHOL before. I set up an automatic map pull system for sammoh over on 2HOL like a year ago now, think it's still running.
$ xvfb-run --server-args="-screen 0 1280x768x24" ./OneLife

I've also used Xvfb for other continuous integration on OpenGL based games to run graphical tests and generate artifacts to include in the CI report.

And I've done both of these things on Linode's hypervisors.

In short, it works, very definitely.

Edit: setting SDL_AUDIODRIVER=none is probably necessary for OHOL to run headless.

#16 Re: Main Forum » Help with Linux Kernel OOM-killer issue » 2019-04-09 18:12:15

jasonrohrer wrote:
sudo cat /sys/kernel/debug/extfrag/extfrag_index
Node 0, zone      DMA -1.000 -1.000 -1.000 -1.000 -1.000 -1.000 -1.000 -1.000 -1.000 -1.000 -1.000 
Node 0, zone    DMA32 -1.000 -1.000 -1.000 -1.000 -1.000 -1.000 -1.000 -1.000 -1.000 -1.000 0.979 
Node 0, zone   Normal -1.000 -1.000 -1.000 -1.000 -1.000 -1.000 -1.000 0.884 0.935 0.961 0.974

Can anyone make any sense of these values?  I can't find any documentation about this. wrote:


This parameter affects whether the kernel will compact memory or direct
reclaim to satisfy a high-order allocation. The extfrag/extfrag_index file in
debugfs shows what the fragmentation index for each order is in each zone in
the system. Values tending towards 0 imply allocations would fail due to lack
of memory, values towards 1000 imply failures are due to fragmentation and -1
implies that the allocation will succeed as long as watermarks are met.

The kernel will not compact memory in a zone if the
fragmentation index is <= extfrag_threshold. The default value is 500.

Based on that those values don't seem troubling, but I don't have much to compare to.

#17 Re: Main Forum » OPEN LETTER TO THE MODS | I GOT BANNED! » 2019-03-30 12:22:37

Toxic wrote:
Chard wrote:
Toxic wrote:

Stop open letters lol!

I know I said stop open letters man people don’t understand sarcasm. Chard you don’t gotta be butt hurt at everything man! If I say something and say lol after it, it’s probabaly sarcastic.

Of course I knew you were being sarcastic. I mean your post wasn't even formed as a letter and wasn't directed at the people you said it was too so you were being sarcastic on both sides of this. And just to put an end to this before this chain of people "not understanding sarcasm" before it gets even longer, I'm going to assume you are being sarcastic here too.

On a more serious note, I'm quite unlikely to believe anything you say is an honest opinion at this stage. One of the downsides of the way you represent yourself online is that the default assumption surrounding anything you say will probably be that it is either sarcasm or flamebait.

I'm aware this is unsolicited advice which I try and avoid so instead let me phrase this as anecdotal evidence. I have enjoyed a great deal of personal and professional success in my life, for which I am exceedingly grateful. Every last bit of that success I can trace back to my intention to be kind and sincere in everything I do. Invest in people, friend, it pays dividends in so many wonderful ways. Anyway, I don't expect that observation to change you but maybe you'll think about it. (Edit: And if you don't then maybe some else will...)

#18 Re: Main Forum » OPEN LETTER TO THE MODS | I GOT BANNED! » 2019-03-30 03:14:03

BladeWoods wrote:

At this point why isn't Toxic banned from these forums too?

It's a fair question. The truth is that Toxic has been behaving himself on the forums, using them as intended. He hasn't been very active here its true but evidence suggests that people behave differently on Discord to how they behave on the forums so let people have a chance. We also try to keep in mind that forum threads are compartmentalised and persistent whereas Discord conversations are (mostly) centralised and transient, which changes the impact of certain kinds of toxic behaviour.

After all, we'd hate to miss comments like this:

Toxic wrote:

Stop open letters lol!

#19 Re: Main Forum » OPEN LETTER TO THE MODS | I GOT BANNED! » 2019-03-29 13:35:25

Hi Toxic,

Thanks for getting in touch.

You’ll be pleased to know than your ban was a unanimous decision by the moderators. We operate within very clear guidelines at this point, all laid out in the rules channel, and you were TO’d several times and your behaviour was getting worse. That was your warning. We don’t like to ban people and try to have patience with people, using timeouts as we go where people are going too far. But patience is limited, we have other things to do and will not accept responsibility for managing your behaviour indefinitely.

We’re quite happy for you to have additional accounts at this stage right up to the point that those accounts also break the rules.

Best wishes,

#20 Re: Main Forum » Public data available again (separate server) » 2019-03-26 21:23:46

jasonrohrer wrote:

letsencrypt would be one more thing to figure out....

I just mean that its made my life a lot easier personally and professionally. I think it might be an area where a small amount of learning could remove a good amount of hassle. I certainly consider it safe for production use. Equally of course if what you have works then no sense changing it up.

#21 Re: Main Forum » Public data available again (separate server) » 2019-03-26 21:17:49

Whatever wrote:
Chard wrote:

The convention with log files is that they should be consistent and unambiguous and human readable. Programs don’t care about the extra data and humans do so there’s no sense not having it, it just makes the log file more useful to humans and no less useful to programs.

Regarding the extra file size. Firstly it will compress well which is good to know. Secondly we’re talking about approx 10% file size. Personally I’d wait for it to look like an issue before compromising the utility of the logs. Profile first etc.

Ok, i see, i just wanted to ask.
I also dont want that jason changes it now, since my scripts would stop working.


#22 Re: Main Forum » Public data available again (separate server) » 2019-03-26 21:14:27

jasonrohrer wrote:

Actually, I just checked my cert, and it seems like it can be installed on lots of servers....

Still, the more places it is installed, the more places I have to remember... and the more things will break when the cert expires.

It's actually overkill for protecting forum passwords.  It's not that hard for forum software to do replay-proof challenge-response logins, with a bit of client-side javascript.  Of course, to set the password in the first place, it needs to be sent from client to server.  Though maybe the client could be trusted with computing the original salted hash too, so at least the raw password never goes on the wire.

Jason, I recommend using letsencrypt/certbot. I literally just grab a new certificate for every single domain and certbot automatically keeps them up to date. In fact I think the most recent Debian/Ubuntu packages include that cronjob themselves but the renew certificates command is just "certbot renew", not a hard cronjob to add. Plus its free, which is cool.

#23 Re: Main Forum » Public data available again (separate server) » 2019-03-26 07:14:41

Whatever wrote:

Another thing, if we look at these lines:

D 1522454434 158660 1580c7bc3970613cbb9d5a194a0f488c6b1b597b age=0.38 F (-429,-672) disconnect pop=35
B 1522454435 158661 8d4a91c6a8f153edb45e2b7fe333f57b7d68cf05 F (-552,-949) parent=158565 pop=37 chain=5

We can see "age=", "parent=", "pop=", "chain="
which is nice if a human reads it, it makes it more understandable, but i assume most of the time programs will read it.
for a program its not necessary to have these words. You are saving the same words over and over again which wastes a bit of memory.
But this is also not a big deal, i just wanted to mention it and see what you think about it.

The convention with log files is that they should be consistent and unambiguous and human readable. Programs don’t care about the extra data and humans do so there’s no sense not having it, it just makes the log file more useful to humans and no less useful to programs.

Regarding the extra file size. Firstly it will compress well which is good to know. Secondly we’re talking about approx 10% file size. Personally I’d wait for it to look like an issue before compromising the utility of the logs. Profile first etc.

#24 Re: Main Forum » Working clarification to no_copyright.txt » 2019-03-11 22:38:10

Firstly: I like the new rules, they're much clearer!

Secondly: I did a little research on trademarks in the US over the course of this debacle. According to the USPTO if you want to enforce a trademark internationally you need to register it. Although I guess they have a vested interest in getting people to register. Also, maybe because you are selling via the Internet you have a trademark in some other countries too. I don't know what counts, this is all really confusing.

#25 Re: Main Forum » Video about why you should give appropriate credit » 2019-03-10 04:02:27

Isn't the message of this video drastically undercut but them using the first two bars of Beethoven's Fifth Symphony without attribution? On a title screen saying the song was by Nina Paley no less. big_smile

Board footer

Powered by FluxBB