Michael Kron (RIT Student) wrote:
Hello again, So I thought I'd take John's advice and start looking into SLProxy, as that does seem like what would be simplest for this project. After some inital trouble, I got it going and I found the ReadFromConsole() method in the ChatConsole project. I also found the protocol.txt. I took a look at the chatpacket blocks being built. And I took a look at the ChatFromViewer packet format. And I let out a big "OOOOooooohhhh." Now the organization of blocks and fields makes sense to me. So I'm finally seeing how I might do this. But I do have a couple questions, if anyone has a moment. In AgentAnimation, there are a couple LLUUIDs, one for the sender, and one for the AnimID. I'm not sure what the sender represents, is this for cases when someone or something in the world forces you to perform an animation? Since there's no "target" field or anything like that, I can't quite complete the picture of how this packet would do that... But I'd guess that I'd want the sender to be myself, so maybe "sessionInformation.agentID" would be an appropritate fill in for that field? As for the animID, how does one find the LLUUID's for the default gestures? Thanks again for all the advice! ------------------------------------------------------------------------
Yes, you want to put your own AgentID in that field. A lot of packets from the viewer to the sim require you to put your AgentID in them, I don't know exactly how the sim code works so I can't say why but it's a common occurrence in the protocol. To get the gesture uuids from your inventory you will need to parse through your inventory at login and store a list of all the inventory items that are gestures. Someone else could probably explain how to do this in detail better than myself.

John

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

Reply via email to