Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Server non-graphical mode?
11-02-2006, 10:54 PM,
Currently we're just basically streaming a replay over the network, which consists of control inputs and, in case things get out of sync, the car's state (sent every second). The controls are then input into the second car and all of the normal physics are applied. This has some advantages in that 1) it's pretty low-bandwidth, 2) the car behavior should be generated perfectly, 3) cheating is virtually impossible, 4) there's no control or response lag. This has some disadvantages as well: 1) no collisions, 2) no prediction so you don't really know where the other player thinks you are (that is, the two versions of what's going on aren't synced up, although this could conceivably be hacked in).

Right now the bandwidth usage is pretty low, maybe 2.5k/s up 2.5k/s down. I'm not sure what we should expect....

As for how to improve all of this, I have a few ideas, but it seems like a fairly difficult problem. Catch me on IRC sometime and we can chat about it.

Messages In This Thread
Server non-graphical mode? - by reece146 - 11-01-2006, 09:26 AM
[No subject] - by thelusiv - 11-01-2006, 03:09 PM
[No subject] - by reece146 - 11-01-2006, 05:34 PM
[No subject] - by cotharyus - 11-01-2006, 07:24 PM
[No subject] - by joevenzon_phpbb2_import3 - 11-02-2006, 01:58 AM
[No subject] - by cotharyus - 11-02-2006, 01:56 PM
[No subject] - by joevenzon_phpbb2_import3 - 11-02-2006, 10:54 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)