One Hour One Life Forums

a multiplayer game of parenting and civilization building

You are not logged in.

#1 2020-04-14 14:53:03

Sporeburst
Member
Registered: 2020-03-16
Posts: 3

HowTo: Older OHOL version running Debian 10 Linux

You'll want a VM, or other server to install your Debian 10.
Follow the install process.  For me, I chose no Desktop, enabled SSH, Print, and Web servers.
Now that you have the server installed, make sure you can talk to it from your computer by using Putty to connect to it.
If you don't know the IP address, you can go to the console and type in "ip addr" and press enter

For those wanting an unfucked version of OHOL before 50 nerf hammers came down, follow this guide:
First you will want to select a version that you enjoyed playing from the github at https://github.com/jasonrohrer

There's three repositories you'll need to look at, but generally search through the release notes and choose your favorite release.  For me, I chose Version 312.

You'll need minorGems v312.  Remember the release date.  For mine, it was Feb 28th.

Next, download OneLifeData7.  Your version won't be listed there.  Look for the same date of release.  For mine, it was version 313.  If you don't do this, your server will see random objects floating around like you ate mushrooms... except this effect will be forever.

Finally, download OneLife with the same release date.

Use SCP to transfer those files to your new Debian 10 server.
SSH to your server and perform the following commands:

su
<enter password>
apt install build-essential unzip
<press Yes>
unzip those 3 files into your home directory.
Go back to your favorite SCP program and rename the folders to:

instead of minorGems-OneLife_Vxxx rename to just minorGems (you will fail the compiling if you don't)
instead of OneLifeData7-OneLife_Vxxx rename to just OneLifeData7  (You'll get a segmentation fault if you don't)
rename OneLife-OneLife_vxxx to just OneLife

back to SSH:

rm *.zip
cd OneLife/server
./configure 1     
make

After the make is complete, type this in:

ln -s ../../OneLifeData7/objects .
ln -s ../../OneLifeData7/transitions .
ln -s ../../OneLifeData7/categories .
ln -s ../../OneLifeData7/tutorialMaps .
ln -s ../../OneLifeData7/dataVersionNumber.txt .



You shouldn't have errors after this.

now test your server with ./OneLifeServer:

# ./OneLifeServer
Local epoch time  = 21600
GMT epoch time  = 0

Server starting up


Now, you'll want to download the correct client version as your server.  For me, I downloaded version 312. 
After launching your client, click Settings and type in your server's IP address.

You can also edit a few settings such as if you want to force your Eve spawn to a certain place:

OneLife/server/settings/forceEveLocation.ini -->  change from 0 to 1
OneLife/server/settings/forceEveLocationX.ini --> change to the X position to spawn at
OneLife/server/settings/forceEveLocationY.ini --> change to the Y position to spawn at.

I do this after I've placed my first camp to build a city.  People could argue that a home marker would fix it, but my children like to pick things up so that home marker gets destroyed quickly.

If you want to keep the server running after you close SSH, use the screen command.  You'll need to install it first.

apt install screen
screen
press Space a few times
screen
./OneLifeServer

Now you can close your SSH session.
After connecting again, you can type in "screen -ls" to list active screen sessions.
type screen -r xxxx x's for the screen number to resume the session.

Last edited by Sporeburst (2020-04-14 14:56:33)

Offline

#2 2020-04-14 17:31:12

Morti
Member
Registered: 2018-04-06
Posts: 1,323

Re: HowTo: Older OHOL version running Debian 10 Linux

I wish I was smart...

Offline

#3 2020-04-14 17:33:52

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

Re: HowTo: Older OHOL version running Debian 10 Linux

I thought about exactly this a few days ago.


Particularly because I remembered this post.

jasonrohrer wrote:

I am taking responsibility.  OHOL sucks compared to how great it could be.  That's why I'm working week after week to make it better and better.

Please, step in the time machine and see what it was like 18 months ago.  Then tell me that you honestly think it is way worse today than it used to be, OR that it is a worse new player experience today than it was 18 months ago.  There was no tutorial 18 months ago.

https://onehouronelife.com/forums/viewtopic.php?id=6250


Making the greatest game of all time takes.... duh... time!

If you had a few more years of game design experience, Spoonhood, you would understand this.  Bow before my glory.  Look on my Works, ye Mighty, and despair!

I could only find one of these posts, but the way I remember it Jason pushed around this idea a few times to "show how he improved on the game".

I wish he would still do that though.
He was so eager to show us his 2017/2018 server..

Where's the early 2019 time machine server, Jason?

I promise I will play if you make it.

Offline

Board footer

Powered by FluxBB