This is the first coding bounty posted, relatively low dollar amount since it's less work compared to some of the other outstanding questions. We need to figure out the camera fields in the AgentUpdate packet. Are they based on relative position in the sim? What is the correlation between each of the vectors? What are good default values if you assume a first person camera and an avatar standing in a sim at 128.0, 128.0, 25.0? Here's the packet:

High 00005 - AgentUpdate - Untrusted - Unencoded
        1297 AgentData (01)
                0030 ID (LLUUID / 1)
                0116 ControlFlags (U32 / 1)
                0131 CameraAtAxis (LLVector3 / 1)
                0206 Far (F32 / 1)
                0252 CameraCenter (LLVector3 / 1)
                0253 CameraLeftAxis (LLVector3 / 1)
                0350 HeadRotation (LLQuaternion / 1)
                0607 CameraUpAxis (LLVector3 / 1)
                0961 BodyRotation (LLQuaternion / 1)
                1189 Flags (U8 / 1)
                1255 State (U8 / 1)


So far we've determined that Far is the viewing distance, and that it's probably safe to use all zeroes for the quaternions (the rotations). Bonus if you figure out the Flags and State field (and why they always seem to be 221). Let me know if you need a compiled version of snowcrash for packet dumps, or any libsecondlife code written to assist in solving the mystery. Payout is through PayPal only.

John Hurliman
[EMAIL PROTECTED]

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

Reply via email to