Thread: Sync Probs Networking An RTS

  1. #16
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    Well, I don't know about all the time negotiation, that might be annoying for the user (command delay is unconstant). I do know that in starcraft there's a latency setting feature, so that the user manually sets the latency to low, high or extra high - meaning the command delay is small, medium, or large. Then the user just sets the latency higher until there are no pauses in the game due to sync... not sure how it does the pauses though.
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

  2. #17
    C(++)(#)
    Join Date
    Jul 2004
    Posts
    309
    You could have one system pause, wait for the late client to catch up, then unpause it for the other client when both are at the same packet number. If need be you could have a latency screen show up with something such as: "Player X is lagging....attempting to catch up".

    Sorry if this has been brought up before, but I think this is similar to how they did it in Starcraft.

  3. #18
    Registered User MicroFiend's Avatar
    Join Date
    Nov 2002
    Posts
    80
    do u meen like send cmd, pause-> recv cmd, then send back frame when it was processed then recv frame and catchup, this might work but ud see random fluctuations of the game speed, kinda like when u sit on the tv remote and u wonder why it keeps going from normal play to fast forward
    You can stop change as easily as u can drink the sea with a fork

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Forming RTS Demo Team – Sixth Extinction
    By SteelRain4eva in forum Projects and Job Recruitment
    Replies: 0
    Last Post: 06-08-2006, 08:47 PM
  2. networking comfirmation
    By rEtard in forum Networking/Device Communication
    Replies: 1
    Last Post: 07-20-2005, 03:59 PM
  3. Sync Process A and B with Semaphore
    By Ti22 in forum Linux Programming
    Replies: 6
    Last Post: 11-29-2004, 05:35 PM
  4. Beyond MFC : COM || Networking
    By kuphryn in forum Windows Programming
    Replies: 5
    Last Post: 04-25-2002, 04:28 PM
  5. C++: Reference Book, GUI, Networking & Beyond
    By kuphryn in forum C++ Programming
    Replies: 4
    Last Post: 11-10-2001, 08:03 PM