Page 1 of 1

Server Lags, how to reduce them?

PostPosted: Fri Mar 29, 2013 20:57
by FosJonas
Hello,

Me and my frinds (3) tried to play Minetest together on a own Server, we where all connected via Lan.
The Problem was that we had all huge lags, mainly means:

- Placing and diging Blocks often did not worked.
- Players where Moved sometimes back in Location.
- Players didnt updated on all Pcs (For Example: Player A moves arround and digs, for Player B blocks got digged without seeing Player A since he never moved away from his old Position)

My main Question is how i could solve those Problems, or which Hardware the Server should have to work fine?
(It was a 4GB Ram, Intel Quadcore with 2,3 GHZ and a AMD HD 7770)

Any help is welcome.

PostPosted: Fri Mar 29, 2013 21:24
by Topywo
I've no knowledge about servers, but putting this in the minetest.conf might (partially) help:

disable_anticheat = true

PostPosted: Fri Mar 29, 2013 21:43
by FosJonas
Well, i will test that hopefully it helps. Thanks for the Answer.

PostPosted: Fri Mar 29, 2013 22:13
by Calinou
What mods do you use?

PostPosted: Fri Mar 29, 2013 22:32
by FosJonas
I use Bones,MoreOres,Snow biomes, gemstones , unified inventory and some own mods.
Mainly they are OnGeneration Mods, can they cause lags?
Which brings me to the idea , is there a way to force the Server to generate a huge area before actually start?

PostPosted: Fri Mar 29, 2013 22:39
by 12Me21
I think if people leave stuff on the ground (like when you try to dig when your inventory is full) it slows down the game.

PostPosted: Fri Mar 29, 2013 22:49
by FosJonas
Actually we didnt even played long, we had the problems already after about 5 minutes.
Another thing that comes to my mind, is that we had many entities, can they be a huge problem for server lags?

PostPosted: Sat Mar 30, 2013 13:59
by Calinou
FosJonas wrote:Which brings me to the idea , is there a way to force the Server to generate a huge area before actually start?


Add this line in minetest.conf:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
max_block_generate_distance = 6


Change 6, which is the default, to an higher value. The value is in block, a block is 16×16×16 nodes.