One Hour One Life Forums

a multiplayer game of parenting and civilization building

You are not logged in.

#1 2024-01-19 18:45:44

rrrrrrrrrrz
Member
Registered: 2024-01-17
Posts: 6

linux private server new map has no green biomes?

I try to use the ./pullAndBuildTestSystem.sh to build a linux server.  After that, I run the server directly ./OneLifeServer

However, I change different seeds to generate the map, I cannot find a green biomes generated at all.
Can someone help me with it?

Offline

#2 2024-01-19 20:04:26

jinbaili83
Member
Registered: 2018-06-15
Posts: 221

Re: linux private server new map has no green biomes?

Are other biomes generated normally with natural objects?
Green Biome is number 0 in settings.  Look at biomeOrder.txt and biomeWeights.txt in server/settings.
If i remember correctly biomes are not generated if there are no natural spawning objects for them.

example: look at last line of this fragment of maple tree object

id=63
Maple Tree#Branch
containable=0
containSize=1,vertSlotRot=0.000000
permanent=1,minPickupAge=3
heldInHand=0
blocksWalking=1,leftBlockingRadius=0,rightBlockingRadius=0,drawBehindPlayer=0
mapChance=1.000000#biomes_0

Last edited by jinbaili83 (2024-01-19 20:05:03)

Offline

#3 2024-01-19 23:33:41

rrrrrrrrrrz
Member
Registered: 2024-01-17
Posts: 6

Re: linux private server new map has no green biomes?

Thank you, jinbaili83. It seems that I do not have biomeWeights.txt and biomeWeights.txt generated.
I am wondering if you can help to show what they look like in correct settings..

I regenerated ./pullAndBuildTestSystem, but it seems not work for me..

Thank you.

Last edited by rrrrrrrrrrz (2024-01-19 23:36:06)

Offline

#4 2024-01-20 00:19:52

jinbaili83
Member
Registered: 2018-06-15
Posts: 221

Re: linux private server new map has no green biomes?

biomeOrder

1
0
2
3
6
5
4

biomeWeights

0.32
0.12
0.09
0.11
0.11
0.11
0.13

specialBiomes

6
5
4

Offline

#5 2024-01-20 01:13:40

rrrrrrrrrrz
Member
Registered: 2024-01-17
Posts: 6

Re: linux private server new map has no green biomes?

Thank you for your help.

Now it can generate green biome in the location 0,0.
However, by far I still not find other green biome besides location 0,0...

Offline

#6 2024-01-20 11:03:12

jinbaili83
Member
Registered: 2018-06-15
Posts: 221

Re: linux private server new map has no green biomes?

I got my server files from https://github.com/Awbz/OneLife/releases
last update was in 2021 but you could try to copy settings from there.

Offline

#7 2024-01-20 15:43:39

rrrrrrrrrrz
Member
Registered: 2024-01-17
Posts: 6

Re: linux private server new map has no green biomes?

Thank you!

Offline

#8 2024-01-24 17:25:12

illoOminated
Member
Registered: 2018-03-03
Posts: 6

Re: linux private server new map has no green biomes?

I found a solution! I had the same problem and I've been looking into this on and off for almost 3 weeks now. But first things first:

There is a script that correctly sets up the private server for linux in the OneLife repo under
OneLife/server/installYourOwnServer/serverPullAndBuildLinux.sh

Copy the script to any folder your current user has read/write permissions, navigate there (it's important the current work directory is the directory of the script) and execute it. The one thing the script is missing however is a symlink between OneLifeData7/contentSettings and the server sub folder. So after executing the script it tells you to do the following steps to start the server:

cd OneLife/server
./OneLifeServer

Do the first one (navigating to OneLife/server) and then execute the following line of script:
ln -s ../../OneLifeData7/contentSettings .

This creates a symlink between the contentSettings folder in the OneLifeData7 repo (which was cloned during serverPullAndBuildLinux.sh) and the server folder you're currently in.

Now you can start the server using the second proposed line
./OneLifeServer

and tadaa, you finally have correct map generation. I really hope this helps because it took me hours over hours to figure out. xD
I'll also create a pull request towards the OneLife repo to propose a fix to the serverPullAndBuildLinux.sh so future yous and mes won't have to deal with this.

Offline

#9 2024-02-03 02:04:16

rrrrrrrrrrz
Member
Registered: 2024-01-17
Posts: 6

Re: linux private server new map has no green biomes?

Thank you illoOminated. It works

Offline

Board footer

Powered by FluxBB