[Feature Idea] Prediction System

User avatar
lisacvuk
Member
 
Posts: 165
Joined: Sat Jul 19, 2014 11:52
GitHub: lisacvuk
IRC: lisac
In-game: lisacvuk

[Feature Idea] Prediction System

by lisacvuk » Sun Oct 25, 2015 08:53

It would probably save a lot of bandwidth, and make the game smoother. I'm not sure if Minetest already has it, posting anyway.
Now, if both server and client calculated the movement, much like in the old Quake 3, then the client would just send the server for example, starting and ending points. Then server would check if they are the same as the ones it calculated, and if they are not, it would send a signal to the client, which would make it recalculate the movement. If everything is ok, the movement happens. You can check Quake 3's system if you wish.
400 character limit? Am I writing a book?
I'm a Minetest player, 'learning' C++ and OpenGL, listening to Blind Guardian, Nightwish, Amon Amarth. Administrator on Craig's server. Likes cookies.
I live in Serbia.
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: [Feature Idea] Prediction System

by rubenwardy » Sun Oct 25, 2015 13:06

That is how Minetest is supposed to work, but it just hasn't turned out like that. It's not a feature, it's something that should just happen.
 

est31
Member
 
Posts: 172
Joined: Mon Dec 29, 2014 01:49

Re: [Feature Idea] Prediction System

by est31 » Sun Oct 25, 2015 15:09

The server doesn't just send positions or velocity, it also sends acceleration. So the client knows the objects movement at a point to the 2nd derivation. This doesn't help much, as most movements aren't smooth, but have discontinuities at one of the derivations.

Once client side scripting arrives, the server can fully specify prediction itself. Then carts can made follow the track by the client.
 

User avatar
lisacvuk
Member
 
Posts: 165
Joined: Sat Jul 19, 2014 11:52
GitHub: lisacvuk
IRC: lisac
In-game: lisacvuk

Re: [Feature Idea] Prediction System

by lisacvuk » Fri Oct 30, 2015 19:27

Still, it should be a priority. I guess you are hearing the first sentence a lot :D
400 character limit? Am I writing a book?
I'm a Minetest player, 'learning' C++ and OpenGL, listening to Blind Guardian, Nightwish, Amon Amarth. Administrator on Craig's server. Likes cookies.
I live in Serbia.
 


Return to Minetest Features

Who is online

Users browsing this forum: No registered users and 4 guests

cron