Borgserver

You must be logged in to post Login Register


Lost Your Password?

Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

Server —> Client Message Timing

UserPost

22:45
14. August 2010


Jongr67

New Member

posts 1

1

Post edited 22:45 – 14. August 2010 by Jongr67


Hello,

I have been following the development of the borg server for several months now and have the server setup on my local machine.

First thing I would like the thank you for all the work you have put into the server and companion game. I believe it will be a great asset to many people looking to get started on their own development of a mmo.

I have recently began experimenting with using Unity3d for the client and happy to report it has been fairly easy to get working using the companion game as a guide and the use of the shared library.

I do you have one question and was hopeing someone could confirm if this is a bug. I was beginning some work with interpolating some remote users and while evaluating the messages between the server to client it seems as if the final message does not get sent right away to the client. So it seems as if the client is always short the last message untill the next round of messages are sent from the server.

So using WM_TIMINGS setting I tried to evaluate which message is sent vs received from the client

Server Sends message Client Receive Messages(Evaluate message from server)
wm.sent = 15:31:11,415 —–> wm.sent = 15:31:11,405
wm.sent = 15:31:11,425 —–> wm.sent = 15:31:11,415
wm.sent = 15:31:11,435 —–> wm.sent = 15:31:11,425
wm.sent = 15:31:11,445 —–> wm.sent = 15:31:11,435

I have tried this with the XNA game and Unity client and both seem to have the same issue. I have made some minor changes to the shared library mostly because Unity uses an older version Monobehavior which uses .net 2.0. So waitone(int) crashes Unity vs waitone(int,false).

Thanks for any help,
Jon

09:42
17. August 2010


GambitRicky

Member

posts 29

2

Well this is very hard to confirm. It really depends on the message type.
I am also not 100% sure what the "wm.sent =…" table is supposed to represent.
If that's a client side dump why are there two wm.sent instead wm.sent+ wm.received?
Also is that running on localhost or in a distributed environment?

I haven't noticed that any message are missing but the trunk is changing on a daily basis so you should not use the release download but a SVN update.
Since we are refactoring and changing the server kernel often lately, might be just bad luck and you fetched a buggy release.

Sry 4 not being of any help here



Date: 27. March 2010
Visitors:   (C) Copyright 2010, Borg Server Team
Borgserver