William Cook wrote:
John & Baba,

I've been trying out libSecondLife but ever since they released the new
version yesterday, nothing seems to work.
Also, just so I know: did the protocol.txt come from Linden Labs?
Have you considered trying to automatically conver that protocol doc into a
set of wrappers? Right now it seems that not all the functionality is
exposes at the C# level.

The new protocol.txt/keywords.txt were just merged in to svn 11 minutes after I got your e-mail, you might try updating from svn and trying again. Updated versions of these files are automatically extracted from the comm.dat file and the Second Life binary using two web scripts available at http://malice.arity.net/keywords.cgi?ver=1.12.0.13 and http://malice.arity.net/protocol.cgi?ver=1.12.0.13 (where ver is the latest available version of the Linux client). If you still have problems, some more details on what example program or what function(s) you were testing would help narrow it down.

Someone is working on code generation from the protocol file to C# classes, but this wouldn't get the project anywhere near being able to support the protocol completely. Many of the packets use custom packing or layouts in "Data" fields and many (most?) packets need some higher-level parsing to create and interpret them in a meaningful way. Since libsecondlife is only aimed at a library for client/sim communication we would need to distinguish which packets are sim to sim, or sim to (user/space/asset)server and filter them out. Also, there are generic packet encoding/decoding routines in the library already and most of the work is currently on either understanding the fields in unknown packets or abstracting away from packets and creating high-level classes to represent things like objects, avatars, parcels, etc.

John Hurliman

_______________________________________________
libsecondlife-dev mailing list
libsecondlife-dev@gna.org
https://mail.gna.org/listinfo/libsecondlife-dev

Reply via email to