An idea to reduce lag.

User avatar
doyousketch2
Member
 
Posts: 82
Joined: Tue Feb 05, 2013 16:06
GitHub: doyousketch2
In-game: Sketch2

An idea to reduce lag.

by doyousketch2 » Thu Feb 28, 2013 08:04

Here it is: an enhanced server-side max-viewing distance.

I think this would reduce the amount of active blocks in the server's memory,
thus enabling a steady flow out to all of the connected clients.

It would be tapered down according to how many are connected.

example: 2 people on, max view 160
6 people on: max view 120
10 people on: max view 100

The owner of the server can determine the best numbers for smooth game-play.
 

User avatar
Mito551
Member
 
Posts: 1271
Joined: Sat Jun 16, 2012 15:03

by Mito551 » Thu Feb 28, 2013 09:41

sounds interesting. may work.
+1
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Thu Feb 28, 2013 15:26

There is a setting in minetest.conf for this: https://github.com/minetest/minetest/blob/master/minetest.conf.example#L236
You can use the /set command ingame to change it, or write a simple mod for this that uses minetest.setting_set() to change the setting when a player joins/leaves.
 


Return to Minetest Features

Who is online

Users browsing this forum: No registered users and 9 guests

cron