Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / [Multisync] How to implement network synchronisation

Author
Message
Dark Gamers
16
Years of Service
User Offline
Joined: 17th Mar 2008
Location:
Posted: 16th Jul 2008 01:43
I'm using Dark GDK and Visual C++ 2008 express to program an online FPS game. Multisync has been chosen for network communication between host and client.

I would like to know how to implement different synchronisation method, such as Local lag and dead reckoning... in order to simulate and evaluate them.

Can anyone tell me the key thoughts, please?

p.s. So far, I used NetPutString/NetGetString to pass the actions from the client to the host. There is no synchronisation applied. Please see the attached simple code.

Client:


Server:
Dark Gamers
16
Years of Service
User Offline
Joined: 17th Mar 2008
Location:
Posted: 16th Jul 2008 16:18
another question regarding to the client side code:



If i dont send this message, the UPkey action would not stop at the server side. I mean, without these code, if i just press "UP" key once at the client side, the action on the server side will be forever executed.

any idea to settle it, i appreciate it~

Login to post a reply

Server time is: 2024-11-20 17:41:32
Your offset time is: 2024-11-20 17:41:32