Thursday 24 March 2011

OK after some hunting through the console logs a new TODO list

I tracked down each of the messages logged in the console comparing 8ball and Jane Doe. Luckily the message texts are 1:n (where n is low) for each function call in the code base, meaning I was able to track down each of the functions.

Looks like my hunch was right about the baking. The server requests baked textures from the client, the client does it and then sends the baked textures up to the server which receives them and probably distributes them down to the other clients via one of the scenepresence methods. That's my hunch.

Anyways, here is the list of associated function calls for each of the console messages, which I will use as a TODO.

TODO: Go take a look at each of the function calls made when a real client was connecting... The list of function calls follows:

[SCENE]: Incoming client x8Ball in region chibacity1 via regular login. Client IP verification not performed.
--> This could be OpenSim.Region.Framework.Scenes.Scene.VerifyClient(AgentCircuitData..

[LLUDPSERVER}: Handling UseCircuitCode packet from 10.211.55.3:1076
--> This is OpenSim.Region.ClientStack.LindenUDP.LLUDPServer

[SCENE]: Adding new agent x8Ball to scene chibacity1
--> This is OpenSim.Region.Framework.Scenes.Scene.AddNewClient

[SCENE]: Upgrading child to root agent for x8Ball in chibacity1
--> This is OpenSim.Region.Framework.Scenes.ScenePresence.MakeRootAgent(Vector3 pos, bool isFlying)

[PRESENCE DETECTOR]: Detected root presence 3efbb294-e1d6-430e-a508-fa5ca4748dbb in chibacity1
--> This is OpenSim.Region.CoreModules.ServiceConnectorsOut.Presence.PresenceDetector.OnMakeRootAgent(ScenePresence sp)

[PRESENCE SERVICE]: ReportAgent with session .... in region ....
--> This is OpenSim.Services.PresenceService.PresenceService.ReportAgent(UUID sessionID, UUID regionID)

[ACTIVITY DETECTOR]: Detected root presence 3efbb.... in chibacity1
--> This is OpenSim.Region.CoreModules.ServiceConnectorsOut.GridUser.ActivityDetector.OnMakeRootAgent(ScenePresence sp)

[SCENE]: Received request for wearables of x8Ball
--> This is OpenSim.Region.Framework.Scenes.ScenePresence

[CAPS]: UploadBakedTexture Request in region: chibacity1
--> This is OpenSim.Framework.Capabilities.Caps.UploadBakedTexture(string request, string path, string param, OSHttpRequest httpRequest, OSHttpResponse httpResponse)

[CAPS]: Received baked texture ef7b9.....
--> This is OpenSim.Framework.Capabilities.Caps.BakedTextureUploaded(UUID assetID, byte[] data)

[CAPS]: UploadBakedTexture Request in region: chibacity1
[CAPS]: UploadBakedTexture Request in region: chibacity1
[CAPS]: UploadBakedTexture Request in region: chibacity1
[CAPS]: UploadBakedTexture Request in region: chibacity1
[CAPS]: Received baked texture 83a04...
[CAPS]: Received baked texture 3ce3adc2...
[CAPS]: Received baked texture 47a32....
[CAPS]: UploadBakedTexture Request in region: chibacity1
[CAPS]: UploadBakedTexture Request in region: chibacity1
[CAPS]: Received baked texture 9308...
[CAPS]: Received baked texture d331...
[CAPS]: UploadBakedTexture Request in region: chibacity1
[CAPS]: Received baked texture 5a84...
[CAPS]: Received baked texture 48cd...

[SCENE]: Adding new agent Jane Doe to scene chibacity1
[APPEARANCE]: Appearance not found in chibacity1, returning default
--> This is OpenSim.Region.Framework.Scenes.Scene.GetAvatarAppearance(IClientAPI client, out AvatarAppearance appearance)
[SCENE]: Upgrading child to root agent for Jane Doe in chibacity1

[ATTACHMENT]: Appearance has not been initialized for agent 8d69...
--> This is OpenSim.Region.Framework.Scenes.ScenePresence.RezAttachments()

[SCENE PRESENCE]: null appearance in MakeRoot in chibacity1
--> OpenSim.Region.Framework.Scenes.ScenePresence.MakeRootAgent(Vector3 pos, bool isFlying)

[PRESENCE DETECTOR]: Detected root presence 8d69... in chibacity1
[PRESENCE SERVICE]: ReportAgent with session 000000.... in region
003fdfc7.....
[ACTIVITY DETECTOR]: Detected root presence 8d693dc7.... in chibacity1
[SCENE]: Received request for wearables of Jane Doe

No comments:

Post a Comment