Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
let's talk about network then
02-01-2007, 09:58 PM,
#15
 
Sounds good to me.

For a multiplayer system, I've been thinking about this, and I read about how this sort of thing is done in FPS games (specifically Unreal engine games). The quake 3 source is available also, but I haven't looked at it yet. My idea is basically that the "official" copy of the game world is on the server, and everyone's individual game sends their inputs to the server for processing, with timestamps indicating when they sent them. At the same time, though, the client is also processing the inputs, anticipating that the server will process them similarly. The server will send periodic state updates to the clients with timestamps, and if all went well, those states should agree with whatever the client's copy computed (if not there will be jumps, but that should only occur if there is some packet loss). The client rewinds the world back to whatever state the server sent and re-applies the input to get the client back up to the present.

Anyway, I'm still thinking about all of this, and I may be making it overly complex... I'm going to use my FPS game as a test-bed for this sort of technology and see what works out there. It should be easy to apply this back to VDrift at that point.
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: 2 Guest(s)