minetest --server --config /home/12Me22/.minetest/minetest.conf --gameid xxxx --worldname yyyy
/usr/local/bin/minetestserver --config /home/minetest/.minetest/minetest-server.conf --world /home/minetest/.minetest/worlds/VanessaE_World --gameid vanessae_game
12Me22 wrote:I start minetest with this and it appears to be running gameid minimal:
sudo nohup minetest --server --config /home/12Me22/.minetest/minetest.conf
Should I try sudo nohup minetest --server --common --config /home/12Me22/.minetest/minetest.conf
dslynx wrote:12Me22 wrote:I start minetest with this and it appears to be running gameid minimal:
sudo nohup minetest --server --config /home/12Me22/.minetest/minetest.conf
Should I try sudo nohup minetest --server --common --config /home/12Me22/.minetest/minetest.conf
You don't need to be root to run a minetest server.. And it's actually bad practice to run things as root that don't need to be root. It opens a huge security hole.
Anyway, guessing how you setup your server, do you have "common" or "minetest_game" in your "games" folder?
***@12Me21:~$ minetest --server --config /home/***/.minetest/minetest.conf Automatically selecting world at [/home/***/.minetest/worlds/world]
[OK] Mesecons
09:57:08: ACTION[main]: [MOD]craft_guide -- loaded from /home/***/.minetest/mods/minetest/craft_guide
09:57:08: ACTION[main]: .__ __ __
09:57:08: ACTION[main]: _____ |__| ____ _____/ |_ ____ _______/ |_
09:57:08: ACTION[main]: / \| |/ \_/ __ \ __\/ __ \ / ___/\ __\
09:57:08: ACTION[main]: | Y Y \ | | \ ___/| | \ ___/ \___ \ | |
09:57:08: ACTION[main]: |__|_| /__|___| /\___ >__| \___ >____ > |__|
09:57:08: ACTION[main]: \/ \/ \/ \/ \/
09:57:08: ACTION[main]: World at [/home/***/.minetest/worlds/world]
09:57:08: ACTION[main]: Server for gameid="minetest" listening on port 30000.
creative inventory size: 230
09:57:18: ACTION[ServerThread]: *** joins game. List of players: ***
09:57:24: ERROR[ServerThread]: ERROR: An unhandled exception occurred: Cannot open chunk metadata
In thread 7f0055591700:
/build/buildd/minetestc55-0.4.6/src/server.cpp:104: virtual void* ServerThread::Thread(): Assertion '0' failed.
Debug stacks:
DEBUG STACK FOR THREAD 7f0054d90700:
#0 virtual void* EmergeThread::Thread()
(Leftover data: #1 MapBlock* ServerMap::loadBlock(v3s16))
(Leftover data: #2 void ServerMap::loadBlock(std::string*, v3s16, MapSector*, bool))
(Leftover data: #3 void ItemStack::deSerialize(std::istream&, IItemDefManager*))
DEBUG STACK FOR THREAD 7f0055591700:
#0 virtual void* ServerThread::Thread()
(Leftover data: #1 void Server::AsyncRunStep())
(Leftover data: #2 virtual void ServerMap::save(ModifiedState))
(Leftover data: #3 void ServerMap::saveMapMeta())
(Leftover data: #4 void ItemStack::serialize(std::ostream&) const)
(Leftover data: #5 void ItemStack::deSerialize(std::istream&, IItemDefManager*))
DEBUG STACK FOR THREAD 7f0056466780:
#0 int main(int, char**)
#1 Dedicated server branch
#2 void dedicated_server_loop(Server&, bool&)
(Leftover data: #3 void Server::step(float))
Aborted
***@12Me21:~$
12Me22 wrote:Can anyone tell me how you specify the world that gets used when you create your own server? Mine ended up being minimal and I would prefer it to be common. Thanks.
dslynx wrote:Hmm, I don't know how you compiled it but this reference is probably owned by root:
/build/buildd/minetestc55-0.4.6/src/server.cpp:104: virtual void* ServerThread::Thread(): Assertion '0' failed.
I followed the README.txt file and didn't have any problems at all on Mint 13. Everything worked fine with default settings running under my user account. The only thing that needed root was installing the dependencies.
So, to recap:
download minetest, common, and minetest_game, extract into appropriate directories, run 'cmake . -DRUN_IN_PLACE=1' and 'make -j2'.
Then just run bin/minetestserver and you should be set.
Download common (needed for minetest_game and some others)
$ cd games/
$ wget [b]LINK FROM README.txt[/b]
$ tar xf common.tar.gz
$ mv minetest-common-* common
Download minetest_game (otherwise only the "Minimal development test" game is available)
$ wget [b]LINK FROM README.txt[/b]
$ tar xf minetest_game.tar.gz
$ mv minetest-minetest_game-* minetest_game
$ cd ..
Users browsing this forum: No registered users and 15 guests