[sldev] SL Protocol

Tateru Nino tateru.nino at gmail.com
Thu Jan 10 08:55:19 PST 2008


Almost all the values in the protocol are big-endian (network order). 
The circuit code, however, is little-endian - the byte-order is 
backwards compared to the other values. Does that help at all?

gmx0007 at gazeta.pl wrote:
> Hello,
>
>  I try to connect to Second Life using my simple program.
>  I use xmlrpc method to login to SL according to
> https://wiki.secondlife.com/wiki/Current_login_protocols.
> In response LoginServer give me
> circuit_code(cc),session_id(ss),agent_id(aa),sim_ip,sim_port,.. 
>  Which next I use to start circuit by sending UseCircuitCode to
> (sim_ip,sim_port) and start receive thread to get all UDP packet
> from simulator.
>
> cc - CircuitCode = from login CircuitCode
> ss - Session UUID = from login session_id
> aa - Agent UUID = from login agent_id
>
> == Sending packet ==
>
> UseCircuitCode
> Debug: Send:46 pendingAcks:0
> 0000 - 40 00 00 00 01 00 ff ff 00 03 cc cc cc cc ss ss  
> 0010 - ss ss ss ss ss ss ss ss ss ss ss ss ss ss aa aa  
> 0020 - aa aa aa aa aa aa aa aa aa aa aa aa aa aa        
>
> CompleteAgentMovement
> Debug: Send:46 pendingAcks:0
> 0000 - 40 00 00 00 02 00 ff ff 00 f9 aa aa aa aa aa aa  
> 0010 - aa aa aa aa aa aa aa aa aa aa ss ss ss ss ss ss  
> 0020 - ss ss ss ss ss ss ss ss ss ss cc cc cc cc        
>
> --- UserInfoRequest ---
> Debug: Send:42 pendingAcks:0
> 0000 - 40 00 00 00 07 00 ff ff 01 8f aa aa aa aa aa aa  
> 0010 - aa aa aa aa aa aa aa aa aa aa ss ss ss ss ss ss  
> 0020 - ss ss ss ss ss ss ss ss ss ss
>
>  For last one (UserInfoRequest) Sim didn't send response,
> but I get PacketAck for this packet.
> I also have the same problem for: AvatarPropertiesRequest, LogoutRequest
>
> It works well with:
>  UUIDNameRequest, StartPingCheck, CloseCircuit 
> and receive
>   UUIDNameReply, CompletePingCheck,  PacketAck
>
>  When at start I send UseCircuitCode with wrong circuitCode or session 
> then no any packets from sim. And this case is clear, no open cicuit.
> But what with open one ?
>
>  What might be wrong that I didn't get those replies?
>
> Thanks,
>  Tom
>
>
> ---
> Wiadomość została wysłana z serwisu bezpłatnych kont pocztowych portalu Gazeta.pl. Agora SA nie odpowiada za sposób wykorzystywania tych kont przez użytkowników.
> _______________________________________________
> Click here to unsubscribe or manage your list subscription:
> /index.html
>
>   

-- 
Tateru Nino
http://dwellonit.blogspot.com/



More information about the SLDev mailing list