One Hour One Life Forums

a multiplayer game of parenting and civilization building

You are not logged in.

#51 2018-04-08 21:20:52

Bimble
Member
Registered: 2018-03-13
Posts: 29

Re: VirtualBox image with Ubuntu and OHOL test server pre-installed

It looks like Jason sneakily updated the pull-and-build script to change the way stuff's put together.  For existing servers, you can replace the contents of the pullAndBuiltTestSystem.sh script with the script here:

https://raw.githubusercontent.com/jason … tSystem.sh

Once you've replaced the text, run the script.  It sets serverCodeVersionNumber.txt to 72 right now, but that still seems to let my updated client connect to it.

I'll get the images updated to use the new build script.

Offline

#52 2018-04-08 22:18:29

Scorp1n
Member
Registered: 2018-04-08
Posts: 11

Re: VirtualBox image with Ubuntu and OHOL test server pre-installed

i tried that to see if it fixed my issue...no change. when i changed the script and ran it it still said it was up to date. I dont know what is up with it i might of messed something up somewhere.

Offline

#53 2018-04-08 22:24:33

Bimble
Member
Registered: 2018-03-13
Posts: 29

Re: VirtualBox image with Ubuntu and OHOL test server pre-installed

Hm, bummer.  I added a "refreshBuildScript.sh" script that redownloads the pull script to the images - they're uploading now.  That's the only major change made to the image, no need for a redownload.

The script just runs this command (which you can run in the ohol-build directory to get the latest pull script):

wget -N https://raw.githubusercontent.com/jasonrohrer/OneLife/master/scripts/pullAndBuildTestSystem.sh

When I ran it on a VM where I'd already updated with the old script I got the messages that said it was already up-to-date, but the script still made some changes (like setting the contents of the version file to 72).  I hadn't been able to connect with the client before, but when I stopped the server and started it up after running the newer build script, I was able to connect.

Offline

#54 2018-04-08 23:12:38

Scorp1n
Member
Registered: 2018-04-08
Posts: 11

Re: VirtualBox image with Ubuntu and OHOL test server pre-installed

tried that command and ran the pull command again. still doing the same thing the server isnt even picking up the attempted connection. I can join just fine using the virtualbox client so i know the server is up. i just cant join with my usual client. Thanks for trying to help though.

Offline

#55 2018-04-08 23:18:24

Bimble
Member
Registered: 2018-03-13
Posts: 29

Re: VirtualBox image with Ubuntu and OHOL test server pre-installed

You don't even see the connection attempt in the server's output?  Weird.  You might check the port forwarding to make sure it's still set up right, and maybe even try rebooting the VM.  Those are my last ideas, alas.

Offline

#56 2018-04-08 23:28:23

Scorp1n
Member
Registered: 2018-04-08
Posts: 11

Re: VirtualBox image with Ubuntu and OHOL test server pre-installed

wow....i restarted it and it worked...i tried that 5 times already...maybe it was that along with the new code. well idk but either way thanks alot for responding and helping me out with this.

Offline

#57 2018-04-08 23:32:10

Bimble
Member
Registered: 2018-03-13
Posts: 29

Re: VirtualBox image with Ubuntu and OHOL test server pre-installed

Glad it finally worked!

Offline

#58 2018-04-11 21:01:22

Roolstar
Member
Registered: 2018-04-10
Posts: 102

Re: VirtualBox image with Ubuntu and OHOL test server pre-installed

Is there a way to set up this custom local server in a way to make me ALWAYS re-spawn where I last died??

Plz tell me there is smile

Also I'm assuming the map would never clear itself if I don't update it, right?

Last edited by Roolstar (2018-04-11 21:08:31)


God is still learning to use His powers; and just like with any other mortal, it's gonna require both mistakes and time.

Only to eventually discover He did not create the world he always wanted, but the world he was forced to create.

Offline

#59 2018-04-12 15:40:45

bread_lord
Member
Registered: 2018-03-01
Posts: 26

Re: VirtualBox image with Ubuntu and OHOL test server pre-installed

Roolstar wrote:

Also I'm assuming the map would never clear itself if I don't update it, right?

I am not an expert on this subject but over in https://www.onehouronelife.com/forums/v … php?id=838 they discuss the issue of map culling (which I assume is what you mean?  Apologies if not).  The last post in particular mentions mapCellForgottenSeconds.ini (found in /OneLife/server/settings) which in theory can be changed to disable culling entirely.


Discord: weasel_bread#2656

Offline

#60 2018-04-12 16:13:10

Roolstar
Member
Registered: 2018-04-10
Posts: 102

Re: VirtualBox image with Ubuntu and OHOL test server pre-installed

Bimble wrote:

12. When it's done, start the OHOL server.  Run:

cd ohol-build/OneLife/server
./OneLifeServer

I think this needs correction OP

it should be:

cd OneLife/server
./OneLifeServer

At least that's how I got it to work.

I'm a big n00b in this kind of things tho, probably be obvious to an experienced user.

Last edited by Roolstar (2018-04-12 16:13:39)


God is still learning to use His powers; and just like with any other mortal, it's gonna require both mistakes and time.

Only to eventually discover He did not create the world he always wanted, but the world he was forced to create.

Offline

#61 2018-04-12 17:21:51

emucat
Member
Registered: 2018-03-15
Posts: 38

Re: VirtualBox image with Ubuntu and OHOL test server pre-installed

Scorp1n wrote:

i tried that to see if it fixed my issue...no change. when i changed the script and ran it it still said it was up to date. I dont know what is up with it i might of messed something up somewhere.

Have you tried migrating the DB? That's what I had to do.

I ran makeDBConvert and then convertDBs.sh!

Last edited by emucat (2018-04-12 17:27:59)

Offline

#62 2018-04-12 18:10:28

Bimble
Member
Registered: 2018-03-13
Posts: 29

Re: VirtualBox image with Ubuntu and OHOL test server pre-installed

Roolstar wrote:

it should be:

cd OneLife/server
./OneLifeServer

You're quite right, given where the instructions would have you be.  I'll change it, thanks!

Offline

#63 2018-04-13 19:20:47

Roolstar
Member
Registered: 2018-04-10
Posts: 102

Re: VirtualBox image with Ubuntu and OHOL test server pre-installed

Bimble wrote:

You're quite right, given where the instructions would have you be.  I'll change it, thanks!


No dude thank YOU.

You're the guy who spent his 60 mn making clothing for the rest of the colony but irl.

I'm enjoying my solo run on my private server thanks to you.

Much appreciated dude (or dudette)

Last edited by Roolstar (2018-04-13 19:21:47)


God is still learning to use His powers; and just like with any other mortal, it's gonna require both mistakes and time.

Only to eventually discover He did not create the world he always wanted, but the world he was forced to create.

Offline

#64 2018-04-13 19:45:43

Bimble
Member
Registered: 2018-03-13
Posts: 29

Re: VirtualBox image with Ubuntu and OHOL test server pre-installed

Roolstar wrote:

You're the guy who spent his 60 mn making clothing for the rest of the colony but irl.

That might be the nicest thing anyone's ever said to me.  You're very welcome. wink

Offline

#65 2018-04-13 21:07:47

Babsy
Member
Registered: 2018-03-16
Posts: 100

Re: VirtualBox image with Ubuntu and OHOL test server pre-installed

llap wrote:
Babsy wrote:

If I understand correctly, these are instructions for people to set up their own server right? It is not just the server hosted by your friend.

Yes you are absolutely right! This is only for those people who want to have its own server to test all the things or want to play in a LAN for example.

Cool. I have added your instructions to my custom server list, see: https://onehouronelife.com/forums/viewt … 4487#p4487

Offline

#66 2018-04-14 08:14:39

Roolstar
Member
Registered: 2018-04-10
Posts: 102

Re: VirtualBox image with Ubuntu and OHOL test server pre-installed

Bimble wrote:

11. While you're here, let's have the server get the latest code and build it, in case it's updated since I created the image.  Assuming you're still in the build directory (if not, run

cd ~/ohol-build

), run:

sh refreshBuildScript.sh
sh pullAndBuildTestSystem.sh

The first script gets the latest version of the build script, and the second script is the actual build script.  The build will take a minute.

Not sure I understand what that does exactly. I did run it and it worked fine, but does that mean that the map itself gets updated with new items and stuff?

And if not, how can I have the map itself updated? (I'm assuming the old map with my progress will be wiped or replaced)

UPDATE: The map seems to have spawned the new update items while keeping my previous progress intact. AWESOME!

Note: Not gonna delete this post in case someone ever wondered the same thing.

Last edited by Roolstar (2018-04-14 16:06:23)


God is still learning to use His powers; and just like with any other mortal, it's gonna require both mistakes and time.

Only to eventually discover He did not create the world he always wanted, but the world he was forced to create.

Offline

#67 2018-04-14 17:30:39

Babsy
Member
Registered: 2018-03-16
Posts: 100

Re: VirtualBox image with Ubuntu and OHOL test server pre-installed

I like to thank you very much for these wonderful instructions and making the virtualbox image!

I made it work in one go and i'm not familiar with this program! ^^

Offline

#68 2018-04-15 08:43:27

llap
Member
Registered: 2018-03-08
Posts: 97

Re: VirtualBox image with Ubuntu and OHOL test server pre-installed

sad I have a problem since the last update or since the DB-updateprocess from Jason .. I don´t know. If I am starting the server I get these answer:

Stackdb magic string ´Sdb´not found at start of file header
Error 1 opening look time KissDB
Bad socket bind, port 8005

@Bimble: Did you updated the 64bit image so I can download it again and start from scratch ? I didn´t find the file "refreshBuildScript.sh"

Thx for help! Sorry for asking!


llap Olli

Offline

#69 2018-04-15 08:51:14

llap
Member
Registered: 2018-03-08
Posts: 97

Re: VirtualBox image with Ubuntu and OHOL test server pre-installed

Ha ! after rebooting and updating it again it works !!! smile


llap Olli

Offline

#70 2018-04-15 08:58:38

llap
Member
Registered: 2018-03-08
Posts: 97

Re: VirtualBox image with Ubuntu and OHOL test server pre-installed

i was happy too early. the server was running but after i tried to log in with a client it said:

Got new player logged in
Floating point exception

after that the server stops sad


llap Olli

Offline

#71 2018-04-15 09:25:07

llap
Member
Registered: 2018-03-08
Posts: 97

Re: VirtualBox image with Ubuntu and OHOL test server pre-installed

after trying and trying ... I downloaded the Image again and voila ... it works fine ... so if anyone has problems redownload the image and it will work! hopefully :-)

thx a lot and sorry for spamming! hmm

Have a nice sunday!


llap Olli

Offline

#72 2018-04-15 10:31:10

Bimble
Member
Registered: 2018-03-13
Posts: 29

Re: VirtualBox image with Ubuntu and OHOL test server pre-installed

Weird, but glad it worked.  If the last image you downloaded didn't have the refresh script, let me know and I'll re-upload the newer image.

Offline

#73 2018-04-15 10:33:17

llap
Member
Registered: 2018-03-08
Posts: 97

Re: VirtualBox image with Ubuntu and OHOL test server pre-installed

no anything is OK,  the last image is perfect !!!!!

again many many thanks for it !!!


llap Olli

Offline

#74 2018-04-15 22:10:15

Roolstar
Member
Registered: 2018-04-10
Posts: 102

Re: VirtualBox image with Ubuntu and OHOL test server pre-installed

Here's my contribution:

If you want to always spawn at the same place without the need to die of old age everytime:

1- Go into the "settings" folder on the desktop of the VM.
2- Edit the value of forceEveLocationX.ini and  forceEveLocationY.ini (save after edit of course)

A good starting location I found is:
forceEveLocationX = -101
forceEveLocationY = -224

It's at the intersection of Grasslands - Yellow Prairies - Swamps (which is basically what you need to get started)

Cheers

Last edited by Roolstar (2018-04-15 22:11:24)


God is still learning to use His powers; and just like with any other mortal, it's gonna require both mistakes and time.

Only to eventually discover He did not create the world he always wanted, but the world he was forced to create.

Offline

#75 2018-04-16 20:27:01

llap
Member
Registered: 2018-03-08
Posts: 97

Re: VirtualBox image with Ubuntu and OHOL test server pre-installed

my suggestion:

X = 0
Y = -29

smile


llap Olli

Offline

Board footer

Powered by FluxBB