[Opensim-dev] [libsl-dev] how does libopenmv handle different versions of the same packets?

Hurliman, John john.hurliman at intel.com
Sun Aug 31 16:41:50 UTC 2008


Are you using the latest mapgenerator from trunk/Programs/mapgenerator?


From: opensim-dev-bounces at lists.berlios.de [mailto:opensim-dev-bounces at lists.berlios.de] On Behalf Of Michael Wright
Sent: Sunday, August 31, 2008 3:44 AM
To: opensim-dev at lists.berlios.de
Subject: Re: [Opensim-dev] [libsl-dev] how does libopenmv handle different versions of the same packets?

hmm strange.

We had the problem when using the current _packet_.cs (on friday) from libomv. I replaced the old _packet_.cs in our libsl version (changing the Maths types back to the LL ones). With the lines to read/convert the SurfaceInfoBlocks commented out, this works fine. But with those lines in there, it throws MalformedDataException from the SurfaceInfoBlock.FromBytes(). So one confirmed it didn't do this when using the 1.21 preview viewer.

So not sure what the difference is.

John Hurliman <jhurliman at jhurliman.org> wrote:
I'm not able to reproduce this with the trunk of libomv, I believe it was fixed a long time ago. With a 1.20 release candidate viewer I will correctly get an ObjectGrabPacket object with a SurfaceInfoBlock array of zero length. If I connect with a 1.21 client I get a SurfaceInfoBlock array with length one and all of the fields filled in. Sounds like the solution is for libomv to get the 0.6.0 release pushed out (alongside the 1.0.0 release of OpenMetaverseTypes), and me to finish the upgrade patch for OpenSim.

John

On Fri, Aug 29, 2008 at 8:13 AM, Sean Dague <sdague at gmail.com<mailto:sdague at gmail.com>> wrote:
There was an attempt to upgrade packets.cs in OpenSim yesterday by MW to
pull in the new surface vectors in the ObjectGrab* packets, which will
let us detect the touch points for 1.21 (unreleased) clients.

The issue is that pre 1.21 clients don't send those extra fields, and
that the packet parser was blowing up violently.  How is libopenmv
supposed to be handling this case?  For using in opensim we definitely
need to be able to support both pre 1.21 and post 1.21 clients at the
same time, just with zeroed out values in the < 1.21 case.

Thanks in advance,

       -Sean

--
Sean Dague / Neas Bade
sdague at gmail.com<mailto:sdague at gmail.com>
http://dague.net



_______________________________________________
libsl-dev mailing list
libsl-dev at openmv.org<mailto:libsl-dev at openmv.org>
http://openmv.org/cgi-bin/mailman/listinfo/libsl-dev

_______________________________________________
Opensim-dev mailing list
Opensim-dev at lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20080831/63666d36/attachment-0001.html>


More information about the Opensim-dev mailing list