One Hour One Life Forums

a multiplayer game of parenting and civilization building

You are not logged in.

#3526 Re: Main Forum » Resolution / Zoom » 2018-03-05 22:53:12

First, the tech:
Well, I picked the zoom many years ago, and it's deeply integrated into the game on many levels, including the protocol.  I.e., it's not a simple change for me to show you "more tiles."  (Also, the bigger the visible area, the larger the map chunks and database pulls, the more load on the servers, the fewer players each server can support, etc.)

Second, the look/feel:
All the art is hand-drawn and scanned at screen resolution, making it all "perfect."  Scaling adds blurring or aliasing, depending on which way it is scaled.  I spend a lot of time on the artwork, with all those fine pen lines.  I want that stuff looking as crisp and as detailed as possible.

The game has a close zoom, with relatively large tiles and characters (128x128 tiles) to give a kind of intimate feeling as opposed to a distant "god's view" of the world.


Regarding motion sickness, I hear you!  Scrolling is the worst for motion sickness.  You might want to try playing in a smaller window instead of fullscreen on a big monitor.

#3527 Main Forum » Solutions to common tech-support problems » 2018-03-05 22:04:57

jasonrohrer
Replies: 51

I'll be updating this guide periodically as common issues arise.



=> Is your game folder installed in a read-only location?

This is a very common problem on Windows.  The game now detects this problem and warns you.

Known-to-be-safe locations include the Desktop and Downloads folder.

If you think your problems are related to write permission, you MUST reinstall the game from scratch in a new location.

NOTE:
A bug was discovered in v65 that is causing "read only" error messages incorrectly.  If you're struggling with this problem, try downloading v65b for Windows and installing from scratch.




=> Trouble connecting

If your game is getting Login Failed errors or generally not able to connect, you should verify that you are not behind a firewall or web proxy that might be blocking the game's attempts to connect out.  The game connects out on ports 80 and 8005.

If connections are being blocked on Windows, you can find evidence of this in stdout.txt.  The various network requests are logged in there, and you can see that they are hanging or failing.



=> Mac issues

Sadly, the Mac platform has become a real headache in recent years.

Unsigned applications, like One Hour One Life, are sandboxed or blocked from running entirely.  If you have a modern Mac, you are probably aware of the work-arounds to launch unsigned applications (right-click and then Open as opposed to double-click, maybe).

Furthermore, Apple does some kind of strange caching of applications that prevents updates from being applied.  Even after the application is updated with a new version, the old version will still run sometimes.

To work around this issue, I need to make a NEW application after every update.  This is called OneLife_vN, where N is the latest version number---for example, OneLife_v60.  After the update, you must run this new application instead of the old one.  In fact, the old one is no longer runnable.  I try to delete it entirely, but MacOS seems to prevent this from happening.  So a "ghost" application is left behind.  This is very confusing, but I can't find a better solution to this problem.

This is an application that updates itself.  MacOS seems to make this difficult.




=> Stuck in fullscreen (Mac)

Fullscreen doesn't work for some reason on some Macs.  It works on my Mac, so I've been unable to track down this problem and find a solution (Mac developers, if you figure it out, let me know please).

Anyway, the game ships in Windowed mode on Mac for this reason.

If you switch it into Fullscreen mode, it might work.  But if it doesn't work, you'll be unable to get back to the Settings screen.

To fix it, go in your settings folder.  Open fullscreen.ini with TextEdit, and put a 0 in that file.





=> VSYNC issues

You can skip this warning by pressing Y on startup, and you should be okay.  The graphics will be slightly less smooth, but still playable.

If you want it to be visually perfect, you need to figure out how to turn vsync on for your graphics card.  Usually there is some kind of control panel or icon in your system tray that lets you access settings.  The same place where you would change the screen resolution and so on.  Once you've found the graphics card control panel, there should be "3D settings" or something like that, and in there there should be a list of settings.  Anti-aliasing, texture filtering, and that kind of thing.  Somewhere on that list, you should see something called Vsync or Vertical Sync.  There are usually multiple options (On, Off, Adaptive).  You should set it to On or maybe Always On.

After that, the game should stop showing that warning.  Note that if you've already pressed Y to bypass the warning in the past, you can go into SETTINGS from the login screen in the game and RE-DETECT to take advantage of your new vsync settings.

#3528 Main Forum » Jason's Work Schedule » 2018-03-05 21:57:27

jasonrohrer
Replies: 29

After a pretty insane launch week, I'm trying to get my life back on track.  I do have a family (spouse and three kids).  And as you all probably know, I am a one-person team.

SO...

My usual work hours are 8am - 2pm  PST Monday through Friday.  Yes, I only work 6 hours a day, but that is 6 hours of 100% productivity.  I'm not surfing the web during that time or reading Reddit.  I get up at 7am every day, so I really do start working at 8am.

Going forward, I will break up my time as follows:

  • 8am - Noon  (4 hours)  Content creation

  • Noon - 1pm  (1 hour) Programming

  • 1pm - 2pm (1 hour) Community interaction (tech support, forums, email, Discord)

There haven't been too many tech support emails so far, but each one takes quite a bit of time.  Rest assured that I will get to yours as soon as possible, usually within a day or two.

But I will NOT be working on the weekends, at all.  If you need tech support on the weekend, your request will have to wait until Monday.

There are also a lot of smart and friendly people in the forums and on Discord who may be able to help you when I'm not around.


Weekly content updates will be pushed by the end of my work day every Thursday.  You can keep track of what I'm working on in the live-dev-changes channel on Discord.  But keep in mind that those changes aren't live in the game until I push them out.

#3529 Re: Main Forum » Feature Request - Names, names, and NAMES! » 2018-03-05 21:47:53

Well, you can't mouse over someone in real life to learn their name.

I think it's cool that people are naming their babies.  And those babies can tell other people their name upon meeting.

Also, if mothers can "officially" name babies, some babies will be named dickhead just for lols.

Signs of some kind are coming in the future, as are grave stones.

But like in real life, if a grave isn't marked by someone who witnessed the death, then it remains an unknown grave.

#3530 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.

#3531 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?

#3532 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).

#3533 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.

#3534 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...

#3535 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?

#3536 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.

#3537 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?

#3538 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.

#3539 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!

#3540 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.

#3541 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?

#3542 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.

#3543 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.

#3544 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.

#3545 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!

#3546 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.

#3548 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).

#3549 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.

#3550 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 +

Board footer

Powered by FluxBB