a multiplayer game of parenting and civilization building
You are not logged in.
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
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
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
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
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
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
Thank you!
Offline
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
Thank you illoOminated. It works
Offline