SuperTuxKart - Online mode - Decentralization model.

SuperTuxKart - Online mode - Decentralization model.

Postby chiddekel » 12 Dec 2017, 23:15

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
Last edited by chiddekel on 21 Dec 2017, 10:23, edited 6 times in total.
chiddekel
 
Posts: 7
Joined: 12 Dec 2017, 22:23

Re: SuperTuxKart - Online mode - Decentralization model.

Postby MTres19 » 13 Dec 2017, 04:33

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.
User avatar
MTres19
 
Posts: 180
Joined: 17 Aug 2015, 20:15

Re: SuperTuxKart - Online mode - Decentralization model.

Postby chiddekel » 13 Dec 2017, 11:52

[]
Last edited by chiddekel on 21 Dec 2017, 10:18, edited 2 times in total.
chiddekel
 
Posts: 7
Joined: 12 Dec 2017, 22:23

Re: SuperTuxKart - Online mode - Decentralization model.

Postby Arthur » 13 Dec 2017, 13:24

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.
Hey pal, I took an oath for justice! "In happy days or tightest tights..." or something like that.
__________________________________________________________________________
Image
User avatar
Arthur
 
Posts: 1066
Joined: 06 Dec 2009, 00:49

Re: SuperTuxKart - Online mode - Decentralization model.

Postby chiddekel » 13 Dec 2017, 21:36

[]
Last edited by chiddekel on 21 Dec 2017, 10:17, edited 2 times in total.
chiddekel
 
Posts: 7
Joined: 12 Dec 2017, 22:23

Re: SuperTuxKart - Online mode - Decentralization model.

Postby chiddekel » 13 Dec 2017, 21:41

[]
Last edited by chiddekel on 21 Dec 2017, 10:16, edited 1 time in total.
chiddekel
 
Posts: 7
Joined: 12 Dec 2017, 22:23

Re: SuperTuxKart - Online mode - Decentralization model.

Postby Arthur » 13 Dec 2017, 21:56

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.
Hey pal, I took an oath for justice! "In happy days or tightest tights..." or something like that.
__________________________________________________________________________
Image
User avatar
Arthur
 
Posts: 1066
Joined: 06 Dec 2009, 00:49

Re: SuperTuxKart - Online mode - Decentralization model.

Postby sjal » 14 Dec 2017, 06:38

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.
sjal
 
Posts: 1
Joined: 12 Dec 2017, 13:50

Re: SuperTuxKart - Online mode - Decentralization model.

Postby chiddekel » 14 Dec 2017, 11:30

[]
Last edited by chiddekel on 21 Dec 2017, 10:16, edited 2 times in total.
chiddekel
 
Posts: 7
Joined: 12 Dec 2017, 22:23

Re: SuperTuxKart - Online mode - Decentralization model.

Postby chiddekel » 15 Dec 2017, 18:35

[]
Last edited by chiddekel on 21 Dec 2017, 10:15, edited 3 times in total.
chiddekel
 
Posts: 7
Joined: 12 Dec 2017, 22:23

Re: SuperTuxKart - Online mode - Decentralization model.

Postby XGhost » 15 Dec 2017, 18:59

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.
User avatar
XGhost
 
Posts: 127
Joined: 02 Jan 2014, 15:49
Location: Siebnen (Switzerland)

Re: SuperTuxKart - Online mode - Decentralization model.

Postby chiddekel » 16 Dec 2017, 18:15

[]
chiddekel
 
Posts: 7
Joined: 12 Dec 2017, 22:23

Who is online

Users browsing this forum: No registered users and 1 guest

cron