View unanswered posts | View active topics It is currently Thu Sep 19, 2019 8:15 am



Reply to topic  [ 106 posts ]  Go to page Previous  1, 2, 3, 4, 5
NETPLAY IS BROKEN - Complete Re-write Upcoming 
Author Message
16-bit Corpse | Nyoron~
User avatar

Joined: Sun Aug 01, 2004 7:14 pm
Posts: 3534
Location: Nokia Land
Reply with quote
Post Re: NETPLAY IS BROKEN - Complete Re-write Upcoming
Rashidi wrote:
so, what the major cause(s) of those 'random-ness' ?

Gremlins. And blue smoke.

_________________
whicker: franpa is grammatically correct, and he still gets ripped on?
sweener2001: Grammatically correct this one time? sure. every other time? no. does that give him a right? not really.
Image


Wed Jun 01, 2011 2:08 pm
Profile
Zealot
User avatar

Joined: Sat Jul 02, 2005 2:01 am
Posts: 1076
Reply with quote
Post Re: NETPLAY IS BROKEN - Complete Re-write Upcoming
Gil_Hamilton wrote:
Also, syncing three computers over an unreliable network(which the internet IS, and this is partially by design) is VASTLY more complex than syncing two.


What makes it unreliable and what makes the design like that and why would it be done on purpose? I'm just curious. If you can just link me an article it'd be fine, because I don't really know what to search for.

_________________
Maybe these people were born without that part of their brain that lets you try different things to see if they work better. --Retsupurae


Wed Jun 01, 2011 7:18 pm
Profile WWW
Buzzkill Gil

Joined: Wed Jan 12, 2005 7:14 pm
Posts: 4247
Reply with quote
Post Re: NETPLAY IS BROKEN - Complete Re-write Upcoming
paulguy wrote:
Gil_Hamilton wrote:
Also, syncing three computers over an unreliable network(which the internet IS, and this is partially by design) is VASTLY more complex than syncing two.


What makes it unreliable and what makes the design like that and why would it be done on purpose? I'm just curious. If you can just link me an article it'd be fine, because I don't really know what to search for.

In part, it goes back to the original design goals, when it was a military project. It's decentralized and intended to be difficult to disable. So to prevent one single system failure from taking the whole network down, data can take multiple paths.

But not all paths are created equal, which brings us to the other part... there's a lot of computers and infrastructure that you have no control over are between you and the other end of the game.
Some paths have more computers to stop at, some stops worse line conditions, some machines aren't working the way they need to, and some machines are just so overloaded they're taking their sweet time to pass your data along.


To make a complicated situation simple...
Under the Internet Protocol, packets are not GUARANTEED to arrive.
If they DO arrive, they are they not guaranteed to arrive in a timely manner, nor are they guaranteed to arrive in the same order they're sent.
They aren't even guaranteed to only arrive once. Duplicate packets happen.
IP makes no assurances, nor does it provide any error-correction, nor proof of success or failure.


Now, IP is only half the story, admittedly.
TCP, among other things, provides for notification and resending of lost or damaged packets. It was explicitly designed to work over IP, and you will commonly see them grouped together in name as TCP/IP because of it.
But that feature actually makes it sub-optimal for gaming, since once the packet is late, you don't care about it anymore because the game has moved on. TCP also takes more time to parse because of this, making real-time gaming more difficult even on a fast and reliable network.

UDP has no such features. The sender doesn't even know you missed the packet. While this is a bitch and a half for significantly-sized data transfers, for gaming being FAST is more important than being RELIABLE. Which makes it commonly used for games.

_________________
Squall_Leonhart wrote:
Quote:
You have your 2s, 4s, 8s, 16s, 32s, 64s, and 128s(crash course in binary counting!). But no 1s.
DirectInput represents all bits, not just powers of 2 in an axis.


KHDownloads


Thu Jun 02, 2011 2:37 am
Profile
Zealot
User avatar

Joined: Sat Jul 02, 2005 2:01 am
Posts: 1076
Reply with quote
Post Re: NETPLAY IS BROKEN - Complete Re-write Upcoming
I see. I had misunderstood that it had been designed specifically to be a bit fuzzy, but it was more designed to provide the bare minimum, and up to the programmer to work with it based on their needs. Thanks.

_________________
Maybe these people were born without that part of their brain that lets you try different things to see if they work better. --Retsupurae


Thu Jun 02, 2011 2:59 am
Profile WWW
Buzzkill Gil

Joined: Wed Jan 12, 2005 7:14 pm
Posts: 4247
Reply with quote
Post Re: NETPLAY IS BROKEN - Complete Re-write Upcoming
Well, remember the internet originated out of a Cold War project to create a nationwide defense computer network that would stay functional with entire cities being deleted(via thermonuclear hellfire) from the network with no warning.

A lot of things you would think would be useful on a normal network can cause a lot of trouble on a transcontinental network under assault by atomic weaponry.

_________________
Squall_Leonhart wrote:
Quote:
You have your 2s, 4s, 8s, 16s, 32s, 64s, and 128s(crash course in binary counting!). But no 1s.
DirectInput represents all bits, not just powers of 2 in an axis.


KHDownloads


Thu Jun 02, 2011 3:09 am
Profile
Zealot

Joined: Sun Sep 26, 2004 8:36 pm
Posts: 1142
Location: Place.
Reply with quote
Post Re: NETPLAY IS BROKEN - Complete Re-write Upcoming
That is awesome. Makes the internet seem a whole lot cooler all of a sudden.

_________________
Procrastination.
Hard Work Often Pays Off After Time, but Laziness Always Pays Off Now.


Thu Jun 02, 2011 12:24 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 106 posts ]  Go to page Previous  1, 2, 3, 4, 5

Who is online

Users browsing this forum: Bing [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software.