[sldev] LLCircuit removing the current sim without warning.

John Hurliman jhurliman at wsu.edu
Wed Mar 28 17:48:35 PDT 2007


Erik Anderson wrote:
>
> On 3/26/07, *John Hurliman* <jhurliman at wsu.edu 
> <mailto:jhurliman at wsu.edu>> wrote:
>
>     Erik Anderson wrote:
>     > From a user perspective I have had these problems quite often,
>     usually
>     > with the main client and with the minimum amount of RAM (i.e. hd
>     > thrashes and when it comes back I'm not there anymore).  Any way
>     for
>     > the circuit to reconnect somehow, rather than forcing the user
>     to relog?
>     >
>
>     In short, no. The simulator has most likely dropped you and you
>     need to
>     go through the entire login sequence again.
>
>
>
> Hmm, going through the wiki auth quickref, looks like the primary sim 
> acts as the agent's advocate to create new circuits, so you wouldn't 
> be able to reconnect to the primary sim (because you have no advocate)
>
Right.

> What about secondary circuits?  I've also been redmapped a number of 
> times when the sim has unexpectedly gone down, is it possible to shove 
> an agent into a neighboring sim if you still hold a valid circuit?  Or 
> does that require cooperation from the primary sim as well?

If you are talking about losing the connection to a neighboring sim and 
reestablishing that, it's the grids problems. Your current simulator 
will tell you to establish connections to neighboring sims by sending an 
EnableSimulator packet, so it is the duty of the grid to realize you 
have lost the connection to a neighboring sim, reconfirm internally that 
you are trusted, and send you an EnableSimulator packet again. Viewer 
doesn't need to worry about that other than blindly acting on 
EnableSimulator packets.

If you were asking about hopping to a neighboring sim as a failover 
measure if you lose the connection to the primary sim, it won't work. 
Transitioning to a neighboring sim requires a CAPS call to the current 
simulator which triggers a lot of backend negotiations between the 
current and target sim. Without an established connection to the sim you 
are currently occupying there's no way to move your agent. If your 
connection times out and the current simulator (and implicitly the grid) 
drops you, the best the viewer can do is inform the user what happened 
and allow you to login again. I think a precursor to this would be 
allowing the viewer to log out without completely exiting the application.

John Hurliman


More information about the SLDev mailing list