Re: Majik.


Subject: Re: Majik.
From: Tommi Leino (namhas@majik.netti.fi)
Date: Thu Jun 03 1999 - 10:04:21 EEST


richard@iguana.co.nz wrote:
> 
> First you guys need to decide whether you're going to do TCP or UDP. UDP
> is preferable for realtime. I can write a connection layer for either. I
> don't write code for Win, but so long as the class-abstraction is
> maintained, if there is a problem, its easy to solve portably.

TCP. UDP would need much more work (major rewrites on server-side) and I
don't think it is too good for firewalls. TCP is good enough, UDP would
be yes, a little bit faster, but it would have a little bit more problems
too :)

> Priority (1=high)       Controller
> 1                       Human-controlled objects
> 2                       Objects visible by 2 or more humans
> 3                       Objects visible by a human
> 4                       Objects near a human (audible/smelly)
> 5                       Extremely slow moving visible objects
> 6                       Objects not currently near or visible

We had previously used a system that if the object is visible or
within certain range (on a map piece, thus not needing to add the object
again when it becomes visible) the server would send its data when
something happened with it (it moved or so). There was no other checks
and it worked quite nicely. I don't see if this "syncing" thing is a
necessity, they sync when something happens.

They are actually "automagically" prioritised. Human-controlled ojects
does do more traffic than the others and thus the client does process
them more :) Heh.

--
Tommi Leino / Majik 3D project
namhas@majik.netti.fi http://majik.netti.fi



This archive was generated by hypermail 2b25 : Tue Feb 12 2002 - 00:03:50 EET