Best open-source netcode today?

Best open-source netcode today?

Postby vellis » 08 Dec 2017, 23:14

I'm starting to work on a hobby project that heavily relies on good netcode. Instead of relying on half-assed implementations like knet and enet, i was looking for something more robust. I don't really care about anything other than the netcode, so I'm willing to use an entire game engine just because of it. So far I've tried ioquake3 and Torque3D, mostly because of the commercial projects that were built with them. Unfortunately, I'm quite disappointed with the prediction, compensation and interpolation approaches.

Which brings me to the following questions:
  • Are there any open-source mods to those engines that focus on netcode improvements?
  • Does anyone recommend any other open-source project with top-notch netcode?
vellis
 
Posts: 3
Joined: 17 Feb 2014, 21:59

Re: Best open-source netcode today?

Postby Julius » 09 Dec 2017, 06:25

No real clue, but did you have a look at RakNet?
“You never change things by fighting the existing reality. To change something, build a new model that makes the existing model obsolete” - Buckminster Fuller
User avatar
Julius
Community Moderator
 
Posts: 2100
Joined: 06 Dec 2009, 14:02

Re: Best open-source netcode today?

Postby dulsi » 09 Dec 2017, 21:55

I haven't tried any net libraries so I can't help. I will say it might help if you describe what you want. knet and enet seem very low level. Torque3D and ioquake3 are specifically for 3D games with prediction, compensation, and interpolation as you mention. Are you making a 3D game? Are you looking for a tool with the features of the game engines you mentioned? What are your must have features and nice to have features?
dulsi
 
Posts: 94
Joined: 18 Feb 2016, 15:24

Re: Best open-source netcode today?

Postby Lyberta » 10 Dec 2017, 02:17

Can you say what's wrong with ioquake3 and Torque3D?
Some crazy person on the Internet.
User avatar
Lyberta
 
Posts: 375
Joined: 19 Jun 2013, 10:45

Re: Best open-source netcode today?

Postby Lyberta » 21 Dec 2017, 14:51

ferreiradaselva {l Wrote}:libuv


That seems to be too low level for what OP wants.
Some crazy person on the Internet.
User avatar
Lyberta
 
Posts: 375
Joined: 19 Jun 2013, 10:45

Re: Best open-source netcode today?

Postby vellis » 22 Dec 2017, 05:56

Julius {l Wrote}:No real clue, but did you have a look at RakNet?


Didn't know RakNet was open-sourced until you posted. Thanks! So far it's my best option, although the fact that there are no game-specific demos worries me.

dulsi {l Wrote}:I haven't tried any net libraries so I can't help. I will say it might help if you describe what you want. knet and enet seem very low level. Torque3D and ioquake3 are specifically for 3D games with prediction, compensation, and interpolation as you mention. Are you making a 3D game? Are you looking for a tool with the features of the game engines you mentioned? What are your must have features and nice to have features?

Lyberta {l Wrote}:Can you say what's wrong with ioquake3 and Torque3D?


Ideally, i wanted a stable and scalable framework for fast-paced multiplayer games. I assumed ioquake3 would be ideal for this, but after running some simulated network issues i got many problems. I was naive to think that maybe the engine was the barebones of Source engine, but Valve definitely improved the netcode. Torque3D suffered the same issues, specially with raycasts. So far, the best results came from Darkplaces.
vellis
 
Posts: 3
Joined: 17 Feb 2014, 21:59

Re: Best open-source netcode today?

Postby Julius » 27 Mar 2018, 14:10

Maybe another (upcoming) option:
https://github.com/ValveSoftware/GameNetworkingSockets
(Steam integration is there but not required)
“You never change things by fighting the existing reality. To change something, build a new model that makes the existing model obsolete” - Buckminster Fuller
User avatar
Julius
Community Moderator
 
Posts: 2100
Joined: 06 Dec 2009, 14:02

Re: Best open-source netcode today?

Postby hagish » 21 Apr 2018, 18:01

Probably too low level but there is another interesting one: https://github.com/networkprotocol/yojimbo
But I never tried it myself.
User avatar
hagish
Global Moderator
 
Posts: 63
Joined: 08 Nov 2009, 22:53

Who is online

Users browsing this forum: No registered users and 1 guest