[WF-General] Messaging in WorldForge
manohar.vanga at gmail.com
Thu Mar 25 09:06:35 PDT 2010
Thanks Erik. I have another question though; when a certain op occurs, how
are the nearby entities calculated? Are there proximity lists maintained for
each entity that are constantly updated? Is it calculated dynamically
(distance checks with every other entity in the world)? Is there an
different technique in use?
Could you also point me to the technique for debugging network traffic in WF
again? You mentioned it before but I am unable to remember where.
On Thu, Mar 25, 2010 at 4:22 PM, Erik Hjortsberg
<erik.hjortsberg at gmail.com>wrote:
> The main routing occurs in WorldRouter::operation().
> Ops can either be delivered to a specific entity, for example when you try
> to move your own avatar entity. Or they are a broadcast op (sights, sounds,
> appearance and disappearance), usually of a previous targeted op (so if you
> move your avatar entity nearby observing entities will get a Sight op
> enveloping your Move op). Or they can be delivered to all entities in the
> world (I can't think of a good use case out of my head).
> As you also can see in that method ops aren't delivered right away, but put
> in a queue, to be handled in a later idle() call.
> 2010-03-25 00:35, Manohar Vanga skrev:
> Could someone help me understand the messaging system in Cyphesis? By
> messaging system, I am referring to systems such as the publish/subscribe
> model. How does Cyphesis do it? When a specific message (say a client moves)
> is received by Cyphesis, how is it passed to the right place?
> General mailing listGeneral at mail.worldforge.orghttp://mail.worldforge.org/lists/listinfo/general
> General mailing list
> General at mail.worldforge.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the General