Issues Starting Server

Post Reply
Tylor Smith
Member
Posts: 28
Joined: Sun Dec 11, 2022 06:57

Issues Starting Server

by Tylor Smith » Post

We are trying to get a server running and are running into some issues. We just want to run a small, unlisted server for less than 10 players; we are using the free trial VM from Google Cloud [2 vCPU, 8 GB RAM]. We have put in a lot of work and have done our best at trying to get a minetest server running but we've run into some technical difficulties, and have not been able to get it finished.

I am following a tutorial on YouTube by Damon Lee Gang: https://youtu.be/c7D3aK-8rew
We are trying to do everything exactly how he shows.

First I had to install cmake on the VPS, I used this tutorial: https://linuxhint.com/install-cmake-on-debian/ (using tar.gz)
And also install zip, unzip, and git.

Then I followed the video tutorial:
He starts by downloading a zip file to install Minetest, from Github.
I copied this link:
https://github.com/minetest/minetest/ar ... able-5.zip
And used
"wget https://github.com/minetest/minetest/ar ... able-5.zip"
Next I used "mv" to rename the file to "minetest".
Then used "rm -rf" to delete zip.

Next "cd minetest", then
"git clone --depth 1 https://github.com/minetest/minetest_game.git games/minetest_game"

Then I tried to use
"cmake . -DRUN_IN_PLACE=1 -DBUILD_SERVER=1"

and it kept giving me errors that I was missing libraries. (zlib, jpeg, png, etc) So I found this list to install them, by user duane in one of the Minetest forums:
"sudo apt-get install build-essential libirrlicht-dev cmake libbz2-dev libpng-dev libjpeg-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libogg-dev libvorbis-dev libopenal-dev libcurl4-gnutls-dev libfreetype6-dev zlib1g-dev libgmp-dev libjsoncpp-dev"

Then it said Irrlicht was wrong so I tried to install "https://github.com/minetest/irrlicht/ar ... .0mt10.zip" using "wget", and then unzipped, deleted the zip and the previous irrlicht using "rm -rf".

Then it said it found Irrlicht 1.9.0.11, and still needed Irrlicht 1.9.0mt10.

I don't know why this happened?

We just want to get an unlisted server running for less than 10 friends, maybe there's a better way? :)

If I could get "cmake . -DRUN_IN_PLACE=1 -DBUILD_SERVER=1" to work, the next 2 commands in the video were supposed to be
"make -j$(grep -c processor /proc/cpuinfo"
and
"./bin/minetestserver"

Then there's still mods to be installed, which I also don't know how to do.

But I think the "make" command maybe should be "make -j$(nproc)" instead of what he uses in the video? From what I saw on the Github page.

I don't know much code so I'm mostly just trying to copy what I can find online, and I think some of the things I'm trying might be outdated... maybe someone can tell me where I'm going wrong?

Thanks :)

User avatar
Festus1965
Member
Posts: 4181
Joined: Sun Jan 03, 2016 11:58
GitHub: Festus1965
In-game: Festus1965 Thomas Thailand Explorer
Location: Thailand ChiangMai
Contact:

Re: Issues Starting Server

by Festus1965 » Post

Tylor Smith wrote:
Sat May 20, 2023 01:51
...
And used
"wget https://github.com/minetest/minetest/ar ... able-5.zip"
Next I used "mv" to rename the file to "minetest".
Then used "rm -rf" to delete zip.
...
missing the part to dezip, decompress
and the folder should be names minetest
that then contains the mt files
also missing download a game, and decompress into a folder at folder games

so far, a yes the irrlicht problem
edit the CMakeLists.txt, Line 130
"set(TARGET_VER_S 1.9.0mt11)"
and change to the version you have got (1.9.0mt10) - it will run, I did that already 3 times as even same day download, mt wants other irrlicht version than there is

first bring the server to run,
and once you have set up server and can access it with your client,

then just take the mods you want, and copy/decompress it into the mods folder (there is a text file "mods_here.txt)
then you have to edit the 'world.mt' in the world folder file and add or change found mods to true
"load_mod_baobab = true" - for each mod an own line, if false mod is there but will not be loaded
Human has no future (climate change)
If urgend, you find me in Roblox (as CNXThomas)

User avatar
Desour
Member
Posts: 1473
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: Desour
In-game: DS
Location: I'm scared that if this is too exact, I will be unable to use my keyboard.

Re: Issues Starting Server

by Desour » Post

Festus1965 wrote:
Sat May 20, 2023 01:58
edit the CMakeLists.txt, Line 130
No, you don't have to edit any CMakeLists.txt files.

----

Make sure the irrlicht repo folder is at lib/irrlichtmt. And try deleting the CMakeCache.txt file.
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)

User avatar
LRV
Helper
Posts: 378
Joined: Mon Dec 19, 2016 17:29
GitHub: Mooncarguy
In-game: Mooncarman Mooncarguy

Re: Issues Starting Server

by LRV » Post

Topic moved to 'Problems'.
This is a cool signature. :)

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests