[sldev] SL Protocol

gmx0007 at gazeta.pl gmx0007 at gazeta.pl
Thu Jan 10 11:21:40 PST 2008


 I checked values in those packet and everything seems OK.
Circuit code is little-endian, and UUID big-endian.
Use same in UseCircuitCode(work correct)
 packet as UserInfoRequest(doesn't).
Maybe there are some constraints from login proces,
 which make that SIM doesn't send all packets.

 What should be fill in channel,mac(MAC or MAC hash?),viewer_digest,.. ?
Is there any connection between those fileds and behaviour on sim ?

Thanks,
 Tom

>>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.


More information about the SLDev mailing list