One Hour One Life Forums

a multiplayer game of parenting and civilization building

You are not logged in.

#3526 Re: Main Forum » Things needed to turn it into a masterpiece. » 2018-03-02 22:00:27

This is a great thread!

I'll be looking at all these things in more detail in the coming weeks.

#3527 Re: Main Forum » Feedback and berry picking loop » 2018-03-02 19:36:57

I checked, and as far I can tell, your REAL password to this forum is NEVER sent in the clear.  I could be wrong about this, but...

When you sign up, a temporary random password is sent to you via email.  But you're meant to change that immediately, and not use it elsewhere.

Once you set your real password, it will not be emailed to you.  Right?

#3528 Re: Main Forum » Setting up your personal Linux test editor/server/client » 2018-03-02 15:58:25

Okay, there was a bug in the instructions.  The "ln" lines for the server referenced OneLifeDa7 by mistake.  It should be OneLifeData7.

Please look at the latest version here:

https://github.com/jasonrohrer/OneLife/ … dNotes.txt

If you run pullAndBuildLatest, it will fetch the older version of this document for now (until I post a new binary release).

#3529 Re: Fixed Bugs » Died of old age but still spawned in a random (?) location » 2018-03-02 15:56:28

Yeah, it only works if there are no mothers to have you as a baby in the next life.

Your death location should be remembered if you're ever Eve again, though.

Eve is an edge case that only happens if there's no other choice.  Thus, you should be born as a baby 95% of the time.

#3530 Re: Main Forum » Easy to play with friends? » 2018-03-02 01:13:33

That is an excellent point!

Like minecraft realms, there will hopefully, eventually, be businesses that pop up to offer this as a monthly service.

I'm pretty sure you could run 10 or more separate servers on just one $5 linode.  The resources used by the server are SO tiny, and if you limit the pop on each server (their private, so yeah), you could really pack a lot into one Linode.

If you figure this out, you might be an early mover in this space...

#3531 Re: Main Forum » Setting up your personal Linux test editor/server/client » 2018-03-02 01:10:43

Okay, I just tried the pullAndBuildTest script on Linode, and it works fine.

It does fail to build the game client (can't find OpenGL headers), but then it goes on to build the server.

So... that's pretty great that the script makes it so easy.  Cool!

(This script was meant to help people build a test environment to look for bugs long ago, not to help them setup their own server).


SO.... not sure why yours isn't working.


The very last step on my script was this:

g++  -Wall -Wwrite-strings -Wchar-subscripts -Wparentheses -g  -DLINUX  -O0 -I../..  -o OneLifeServer server.o map.o ../gameSource/transitionBank.o ../gameSource/categoryBank.o ../gameSource/objectBank.o ../gameSource/animationBank.o ../gameSource/ageControl.o ../gameSource/folderCache.o ../gameSource/SoundUsage.o ../commonSource/fractalNoise.o kissdb.o lifeLog.o foodLog.o backup.o triggers.o dbCommon.o playerStats.o failureLog.o ../../minorGems/io/linux/TypeIOLinux.o ../../minorGems/util/stringUtils.o ../../minorGems/util/StringBufferOutputStream.o ../../minorGems/io/file/linux/PathLinux.o ../../minorGems/system/unix/TimeUnix.o ../../minorGems/system/linux/ThreadLinux.o ../../minorGems/system/linux/MutexLockLinux.o ../../minorGems/util/TranslationManager.o ../../minorGems/network/linux/SocketLinux.o ../../minorGems/network/linux/HostAddressLinux.o ../../minorGems/network/linux/SocketClientLinux.o ../../minorGems/network/linux/SocketServerLinux.o ../../minorGems/network/linux/SocketPollLinux.o ../../minorGems/network/NetworkFunctionLocks.o ../../minorGems/network/LookupThread.o ../../minorGems/network/web/WebRequest.o ../../minorGems/network/web/URLUtils.o ../../minorGems/util/SettingsManager.o ../../minorGems/system/FinishedSignalThread.o ../../minorGems/crypto/hashes/sha1.o ../../minorGems/formats/encodingUtils.o ../../minorGems/io/file/unix/DirectoryUnix.o ../../minorGems/util/log/Log.o ../../minorGems/util/log/AppLog.o ../../minorGems/util/log/FileLog.o ../../minorGems/util/log/PrintLog.o ../../minorGems/util/printUtils.o ../../minorGems/game/doublePair.o ../../minorGems/util/StringTree.o    -lpthread

That's where it builds the OneLifeServer executable.

Does your run look different?

On Linode, the networking is so fast that running this whole process over and over is really quick.  So put it in a different test directory and run it again....

I was able to save the non-error output to file like this:

./pullAndBuildTestSystem.sh > out.txt

Can you do that and email it to me?

#3532 Re: Main Forum » Setting up your personal Linux test editor/server/client » 2018-03-02 01:03:28

Oh, are you running on Linode?

The test environment is meant for desktop linux.

Perhaps the build failed part-way through when it tried to build the graphical parts (the game client) on Linode?

I'll try running it on my linode and see what happens.

#3533 Re: Main Forum » Setting up your personal Linux test editor/server/client » 2018-03-02 01:01:52

So can you find your OneLife/server folder?

What's in there?  Can you post the directory listing?

#3534 Re: Main Forum » Question » 2018-03-02 01:00:53

Reminder:  the most popular games in the world are not on Steam.

LOL, Hearthstone, Overwatch, Fortnite, Minecraft.

I'm hoping to make a game that's SO GOOD that it won't matter that it's not on Steam.

#3535 Re: Main Forum » Dealing with garbage and object stacking » 2018-03-02 00:58:21

Dig it with a shovel.  The steel shovel.

Yes, the garbage pit is one of the most high-tech items in the game.

I'm crying with laughter as I type this.


Also, there's currently a bug with rabbit bones, where you can't pick them up once they're on the ground.  Will fix!

#3536 Re: Main Forum » Easy to play with friends? » 2018-03-02 00:56:22

Yeah... yeah... you're right.

This game isn't about playing with friends.  You're right about the alienation issue too, with cliques of people who are on voice chat, but who never speak/chat in the game.  A bunch of silent, well-organized people who seem to be telepathic.

I agree that it would make the game worse, probably.

#3537 Re: Main Forum » Okay this is getting ridiculous. » 2018-03-02 00:53:56

Yeah, I've heard that milkweed has become pretty darn scarce in some parts.

Don't pick it unless it's fruiting, people.

Maybe grab some food and head WAY OUT into greener pastures to start a new branch of civilization out there?

#3538 Re: Main Forum » Setting up your personal Linux test editor/server/client » 2018-03-02 00:51:38

Very strange...

And you ran pullAndBuildTestSystem.sh without error?

There are some additional instructions in:

OneLife/documentation/EditorAndServerBuildNotes.txt

That explains how to connect your clients, etc.


Yes, same proc-gen map.  If you mess around in the source, I think you can change the seed though.  You could also change various parameters that control map scale and density, etc.

The server saves the live map into various .db database files.  As long as those files aren't removed, the map is persistent forever.

#3539 Re: Main Forum » Easy to play with friends? » 2018-03-02 00:44:07

Still thinking about this.

I'm leaning toward making a "wish" interface where you can essentially just suggest a code-word (like apple) and then when you're born, it gives preference to sticking you with a mother who also used the same code word.

If she's ineligible (like, already has too many babies, or is on birth cool-down), then your wish won't be granted.

There's also an issue with being on different servers.

Thus, anyone who makes this kind of wish will be forced onto the currently-least-populated server, instead of the normal load balancing.

#3540 Re: Main Forum » Feedback and berry picking loop » 2018-03-02 00:38:34

Not sure about the slow berry picking.  Sounds like lag, maybe?

There is a bug where you will bounce forever trying to do something.  But it sounds like you came out of it if you waited long enough?

Yikes about the passwords in the clear.  I will look into it.

#3541 Re: Main Forum » I cannot log into the game » 2018-03-02 00:35:42

Yes, this has been fixed.

v58b contains a new updater that sets the executable permission properly.

What a mess!

#3542 Re: Main Forum » v60 update with Mac fixes » 2018-03-02 00:34:14

Yes, good point.  I think deleting your old v58 folder is necessary because of the sandboxing still looking there.

#3544 Re: Bug Discussion » Linux Dual Monitor » 2018-03-02 00:30:57

Sorry for the trouble... I don't have a dual-head setup to test on here, so it's really something I've never looked into.

Have you tried building from source?

Can you test something for me in the source version?

Find minorGems/graphics/openGL/ScreenGL_SDL.cpp

Line 661 is currently:

flags = SDL_OPENGL;

Change it to:

flags = SDL_OPENGL | SDL_NOFRAME;


Recompile, and then launch the game in windowed mode to see what happens.  You might also want to adjust screenWidth and screenHeight to match your target monitor, and turn useLargestWindow off (all in the settings folder).

#3545 Re: Bug Discussion » Desktop notifications and toolbar on windows 10 » 2018-03-02 00:18:11

Woah, that's really weird.

I'm assuming that this is some weird interaction between Windows 10 notifications and fullscreen mode.  There's probably no way for me to fix it.

I will be looking into a "fullscreen window" mode in the future, though, and that might help.

#3546 Re: Bug Discussion » Login Failed » 2018-03-02 00:16:19

Nice work, Inferis.

Well, it will break again for you later today, because I'm going to post a fix server-side so that + signs work in emails correctly.  Thus your %2B thing won't work anymore!

When you find it stops working, just switch back to the +

#3547 Re: Bug Discussion » Black screen » 2018-03-02 00:14:49

Hmm... any chance you moved the game out of its folder?  It needs to be run from inside its folder, not from a shortcut elsewhere.

If that doesn't work, have you tried windowed mode?  Go into the settings folder and put a "0" in the file fullscreen.ini

#3548 Re: Fixed Bugs » Left-click is broken after speaking on macOS » 2018-03-02 00:12:39

Protein, you're on Dvorak too, right?

See.... typing "." works because that's where a QWERTY "E" key is located, so it releases the "stuck" E key from earlier.

The key press and key release events were being reported incorrectly by MacOS with Dvorak keyboards.  Not sure why.

The presses were Dvorak, but the release events were QWERTY.

#3549 Re: Main Forum » v60 update with Mac fixes » 2018-03-01 07:57:05

Also, ALL MAC USERS:

You must DL v58b manually.  If you try to run your old client, it will break when it tries to install the v60 update.

#3550 Main Forum » v60 update with Mac fixes » 2018-03-01 06:53:42

jasonrohrer
Replies: 5

Several Mac-specific issues have been fixed.

First, a bug that prevented people from clicking to move after typing to speak (particularly if what they typed contained the letter E) has been resolved.  This was a strange bug resulting from weird keyboard codes being returned by certain Macs.  I'm not sure why the wrong keyboard codes are being generated, but I've implemented a work-around.


Modern Macs have a huge problem with Apple's new Sandboxing scheme.  Apps that aren't signed through Apple are run in a random location where they can't find their files.  To work around this, the game asks you to find the game folder at first startup if it can't find its data files.

But, on certain macs, even this process wasn't working (apparently, System Events isn't always running like it is supposed to be, so it can't display dialog boxes).  I'm now using the Finder to display dialog boxes instead, which should always be running.


Finally, Sandboxing was also interfering with the update process on some Macs.  I think that Macs can cache applications somehow, where even if the application is overwritten, an old version of it will keep running.  So, after downloading an updated App, the new app wasn't running on re-launch.

The work-around (which will hopefully work) is to give the new App a new name each time... a brand new App bundle.  So, instead of them all being called OneLife.app, they are now OneLife_v60.app.  When v61 comes out, it will be OneLife_v61.app.

HOWEVER, this work-around has the side-effect of leaving a "vacant" app behind with the old name.  Apparently, an App can't fully delete itself.  This should be obvious, because the ghost app left behind has no One Life icon.  The new one that has been installed will have the correct icon.  The old one won't be runnable, and will have 0 size.  Just delete it as you see fit.

Also, due to permission issues, getting all of this to work means you need to download the whole bundle for v58 again manually, which I have called v58b for the Mac.

So, it's a bit of a pain, but it must be done.  Grab v58b from your original download page.  But only Mac folks need to do this.


If you're on a Mac, please let me know if you're still having issues.

Board footer

Powered by FluxBB