Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Length of event/message queue

Neal McAlpine
Registered User
Join date: 24 Dec 2006
Posts: 33
03-14-2007 23:50
In a project I'm working on, to avoid the delay in the main script (A) I tell via llMessageLinked script (B) to IM players. Now if for example six players need to be send a message, how big is the "waiting queue"? Will all six players be send an IM (player 1 at 0.0 seconds, player 2 at 2.0 seconds, player 3 at 4.0 seconds...) or will only player 1 receive an IM?

Also, are events queued? If for example three players are asking for a status report from main script (A) and this script is fetching data from other scripts, will the status requests of the other players still be in the queue and how big is that queue?

Thanks in advance.
Masakazu Kojima
ケロ
Join date: 23 Apr 2004
Posts: 232
03-15-2007 00:02
http://lslwiki.net/lslwiki/wakka.php?wakka=events

From: someone
If a script provides an event handler, and an event of this type occurs, the simulator will add this event to the script's event queue.

The script's event handlers will then be called in the order the events are queued in (FIFO). According to Cory Linden, the event queue can hold up to 64 events. If the event queue is filled, it will silently drop any new events.
(though listens can behave kind of funny)
Neal McAlpine
Registered User
Join date: 24 Dec 2006
Posts: 33
03-15-2007 00:12
Ah great. Thanks a lot.