I will be out of town until Wednesday, the 5th so no svn commits will
happen until then as we don't have any other developers with svn access.
Probably need to add one or two more people with svn access sometime.
Keep posting patches and apps to the list though, I'll spend the day on
Wednesday applying the backlog of patches. If anyone is in a problem
solving mood here's a new puzzle:
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)
Examples (first AgentUpdate sent by the client in two different login sessions, in different
sims, with the same av):
----- AgentUpdate -----
AgentData
ID: 0883e26131464906a43a9c86d45f2774
ControlFlags: 0
CameraAtAxis: 0.958111, 0.219229, -0.184289
Far: 96.000000
CameraCenter: 7.075579, 9.330853, 11.750000
CameraLeftAxis: -0.223049, 0.974807, 0.000000
HeadRotation: 0.000000, 0.000000, 0.000000, 0.179646
CameraUpAxis: 0.041105, 0.982872, 0.000000
BodyRotation: 0.000000, 0.112234,
-42036835366697964000000000000000000000.000000, -1999527453491462100.000000
Flags: 221
State: 221
----- AgentUpdate -----
AgentData
ID: 0883e26131464906a43a9c86d45f2774
ControlFlags: 0
CameraAtAxis: -0.531118, -0.827014, -0.184289
Far: 128.000000
CameraCenter: 11.621119, 12.524277, 11.750000
CameraLeftAxis: 0.841425, -0.540373, 0.000000
HeadRotation: 0.000000, 0.000000, 0.000000, -0.099585
CameraUpAxis: -0.155065, 0.982872, 0.000000
BodyRotation: 0.000000, -0.877603,
-42036835366697964000000000000000000000.000000, -1999527453491462100.000000
Flags: 221
State: 221
For most of our purposes I'm sure setting head and body rotation to 0 is fine (by the way, not
sure about those huge negative numbers in the rotations, it's a printf thing). Far I'm
assuming is the camera draw distance, and it looks like setting Flags and State to 221 will be
fine for now until someone figures out what the flags are. The only thing left is the camera
stuff. How do all those vectors relate to each other, and what are some sane defaults that can
be used? It's necessary to send this stuff to the server even for a headless bot, because it
lets the server know what world updates should be sent to the client. Are the camera vectors
based on an external number/vector, like the avatar's position in the sim? We need to sort all
this out, since sending position and camera information to the server opens up a whole new
world of data (for example, objects).
John Hurliman
_______________________________________________
libsecondlife-dev mailing list
[email protected]
https://mail.gna.org/listinfo/libsecondlife-dev