Page 1 of 1

SuperTuxKart - Online mode - Decentralization model.

PostPosted: 12 Dec 2017, 23:15
by chiddekel
Latency issue, resolve by client-side prediction.

Client-side_prediction

Client side prediction - demo

BitTorrent network infrastructure - embedded trackers:
https://lifehacker.com/5952148/how-to-c ... ur-friends

The code for the deploy: qbittorrent client available embedded into SuperTuxKart

Re: SuperTuxKart - Online mode - Decentralization model.

PostPosted: 13 Dec 2017, 04:33
by MTres19
As I understand it, the main problem with a blockchain for this is the massive amount of processing and the lag that would result from it in a real-time game like STK. For example, even without a blockchain, with one person running a server connected via loopback and someone else connected over the internet to that server, there's pretty bad lagging. That's over UPD (I think) without any of the computations a blockchain would require of the client.

Re: SuperTuxKart - Online mode - Decentralization model.

PostPosted: 13 Dec 2017, 11:52
by chiddekel
[]

Re: SuperTuxKart - Online mode - Decentralization model.

PostPosted: 13 Dec 2017, 13:24
by Arthur
You still haven't actually said why blockchain technology would be appropriate. If you just want the peer to peer aspect of it there are lots of choices. Now I'm the first to admit I'm no expert on blockchain stuff, but from what I understand there's several reasons to use it and they don't really align with STK's use cases.

From my understanding, blockchains are used to accumulate peer to peer data you want everyone to have for later verification. Most of the networking stuff, especially input data would have too much latency using a blockchain and both the latency and bandwidth requirements may increase as data is accumulating. Also I struggle to find a reason for people to get all that data for verification later since pretty much all of the data would only be useful for that one session.

In any case, the base networking is already done so there would have to be a very good reason indeed to do large changes now. Possibly you'd have to implement it yourself.

Re: SuperTuxKart - Online mode - Decentralization model.

PostPosted: 13 Dec 2017, 21:36
by chiddekel
[]

Re: SuperTuxKart - Online mode - Decentralization model.

PostPosted: 13 Dec 2017, 21:41
by chiddekel
[]

Re: SuperTuxKart - Online mode - Decentralization model.

PostPosted: 13 Dec 2017, 21:56
by Arthur
I give up. Show us a good network game implementation doing whatever you think blockchain would solve over other existing implementations. Client side prediction has been done for a long time without using any blockchain.

Re: SuperTuxKart - Online mode - Decentralization model.

PostPosted: 14 Dec 2017, 06:38
by sjal
I understand, that there's a hype for blockchain because it got lots of media attention lately and everyone is talking about that and bitcoin, but many people don't have an idea what is it. That, unfortunately, includes yourself - I don't even feel like explaining stuff politely, I don't even understand why would you try to do this. If you want to run a R&D on blockchain, please do it yourself and not bug the people here so they do all the work for yourself. You totally ignored explanation given from Arthur, too.

Re: SuperTuxKart - Online mode - Decentralization model.

PostPosted: 14 Dec 2017, 11:30
by chiddekel
[]

Re: SuperTuxKart - Online mode - Decentralization model.

PostPosted: 15 Dec 2017, 18:35
by chiddekel
[]

Re: SuperTuxKart - Online mode - Decentralization model.

PostPosted: 15 Dec 2017, 18:59
by XGhost
Why?
I do think that you don't have any clue about basic networking practices and you surely never worked with the processing of real-time digital information. Your "explanation" of how the blockchain method would work does not have any improvements over common approaches. And believe me, a BitTorrent method would be a shot in the bucket too.
I appreciate your willingness to contribute and encourage you to look into STKs source code. And, maybe try to get some basic client/server networking stuff running by yourself, using any method you like.

Re: SuperTuxKart - Online mode - Decentralization model.

PostPosted: 16 Dec 2017, 18:15
by chiddekel
[]