Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
let's talk about network then
02-01-2007, 09:53 AM,
#13
 
ok this is my proposition as a NETWORK (not a multiplayer) layer

simple client / (dedicated) server architecture (of course several clients/server)

when the client connects, it sends it's (estimated) download bandwidth (which will be further negociated at runtime according to the capacity of the server, the number of clients, their ping and so on)

X times a second the clients send their position or controller inputs or whatever the server needs to know (multiplayer's layer job)

X times a second the server computes for each client what is the best things for the client to know at the time, according to it's bandwidth (for example, the closest cars around the client), puts it in a packet and sends it

the clients receive this packet and update the states of the other players, and so does the server

and we're happy



---> the idea is not to overload the client's Internet connection no matter what it is, which of course shouldn't happen often nowadays but is really annoying for all players when it happens (the Christmas Tree syndrom :lol: )

I already implemented something somewhat similar for another project, so it shouldn't be too hard

I'm looking forward to read your comments Wink
Reply


Messages In This Thread
let's talk about network then - by Nigo - 11-24-2006, 01:09 PM
[No subject] - by thelusiv - 11-24-2006, 04:52 PM
[No subject] - by Nigo - 11-26-2006, 08:22 AM
[No subject] - by joevenzon_phpbb2_import3 - 11-26-2006, 10:26 PM
[No subject] - by cotharyus - 11-26-2006, 10:31 PM
[No subject] - by thelusiv - 11-27-2006, 03:02 AM
[No subject] - by cotharyus - 11-27-2006, 07:11 AM
[No subject] - by Nigo - 01-17-2007, 01:36 PM
[No subject] - by cotharyus - 01-17-2007, 08:37 PM
[No subject] - by Nigo - 01-18-2007, 04:44 AM
[No subject] - by joevenzon_phpbb2_import3 - 01-18-2007, 11:12 AM
[No subject] - by Nigo - 01-20-2007, 01:24 PM
[No subject] - by Nigo - 02-01-2007, 09:53 AM
[No subject] - by thelusiv - 02-01-2007, 06:50 PM
[No subject] - by joevenzon_phpbb2_import3 - 02-01-2007, 09:58 PM
[No subject] - by Nigo - 02-02-2007, 06:45 AM
[No subject] - by joevenzon_phpbb2_import3 - 02-04-2007, 04:59 PM
[No subject] - by Nigo - 02-05-2007, 07:08 AM
[No subject] - by Nigo - 02-08-2007, 06:30 AM
[No subject] - by thelusiv - 02-09-2007, 03:52 AM
[No subject] - by Nigo - 02-09-2007, 09:27 AM
[No subject] - by thelusiv - 02-09-2007, 07:26 PM
[No subject] - by Nigo - 02-10-2007, 06:05 AM
[No subject] - by thelusiv - 02-10-2007, 06:14 AM
[No subject] - by Nigo - 02-10-2007, 06:57 AM
[No subject] - by Nigo - 02-13-2007, 01:55 PM
[No subject] - by stenyak - 02-14-2007, 06:03 AM
[No subject] - by Nigo - 02-14-2007, 06:24 AM
[No subject] - by thelusiv - 02-19-2007, 10:55 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)