Jump to content
  • 0
payal0002

Flow for Connecting Second Life to Web Applications

Question

 Just like Authentication flow, which outlines the process by which the viewer establishes connections with a number of components,Server architecture,i.e the way viewer interacts with the Second Life servers, I want to know the flow in which SL is get connected with the web application. I want to connect SL with a web app written in python flask.when the URL created using python flask is hit from SL the response will be received by SL.   what must be the flow for connection.?

my web service will send request to sl web server..then how is the connection established?can you plz explain me in detail just like the Authentication flow explained in Second Life Wiki > Open Source > Authentication Flow.. thank you

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 0

I'm not sure just what you're trying to do, but the Open Source wiki page is for viewer developers. That's a significant undertaking and probably not what you have in mind.

If you are attempting to connect an in-world object to an external web service, you'd do that through a script in the in-world object that communicates externally via HTTP requests.

Here are a couple links to explore...

http://wiki.secondlife.com/wiki/Category:LSL_HTTP

http://wiki.secondlife.com/wiki/Category:LSL_XML-RPC

Edited by Madelaine McMasters

Share this post


Link to post
Share on other sites
  • 0
Just now, Madelaine McMasters said:

I'm not sure just what you're trying to do, but the Open Source wiki page is for viewer developers. That's a significant undertaking and probably not what you have in mind.

If you are attempting to connect an in-world object to an external web service, you'd do that through a script in the in-world object that communicates externally via HTTP requests.

Here are a couple links to explore...

http://wiki.secondlife.com/wiki/Category:LSL_HTTP

http://wiki.secondlife.com/wiki/Category:LSL_XML-RPC

yes i want to connect an in world object to external web service. i want to know the flow how it works.there are number of servers in SL..like user server,data server,log in server,space server..etc.which server is responsible for this connection between in world and outside web service.if still its not clear i am ready to explain again ...plz

Share this post


Link to post
Share on other sites
  • 2
9 minutes ago, payal0002 said:

yes i want to connect an in world object to external web service. i want to know the flow how it works.there are number of servers in SL..like user server,data server,log in server,space server..etc.which server is responsible for this connection between in world and outside web service.if still its not clear i am ready to explain again ...plz

None of those server connections are available to residents, so learning about them will not help you achieve your goal of having an in-world object communicate with an external web service. If you want to host a virtual world simulator on your own computer, and control it through a viewer of your own design, this is the wrong place for advice. Go here...

http://opensimulator.org/wiki/Main_Page

Within SL, the only applicable mechanism available to you is HTTP via LSL scripts in objects.

Edited by Madelaine McMasters

Share this post


Link to post
Share on other sites
  • 0

I am no programmer, but I don't think you can use any of those servers.  However, I do know it is possible to connect an SL object to an external web page...some sculpty and mesh creating systems do just that.  HOW they do it, I couldn't begin to tell you, sorry.

Share this post


Link to post
Share on other sites
  • 0

You have nothing to do with all the different servers. The ingame object connects to "YOUR" server, the linden server are only a gate between this relaying the communication.

Your object/server never "talks" to the Linden server directly.

Look at the answer about HTTP connectoins to outside WebServices.

If your object wants to read the friendlist and stuff, that is done ingame with LSL and no outside connection is needed.

Monti

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...