|
Archon Kipling
Registered User
Join date: 10 Oct 2005
Posts: 4
|
10-10-2005 13:01
Is there a way to have a site communicate with the internal game? Mainly I would like to create an external site that can display the events from the game so that people can plan thier life accordingly.
|
|
Oblivion Kaos
0z0ne Bringer
Join date: 28 Sep 2005
Posts: 17
|
llEmail and XML-RPC
10-10-2005 14:06
You can communicate thorugh llEmail functions (sending from SL to FL, and reading emails targeted to an object in SL from FL), or you can use the XML-RPC related functions to communicate with external servers.
In the Wiki and documentation you'll find a lot of info about both ways. For the XML-RPC the idea es to open a channel from within SL, send the channel-ID through email to a remote server and INITIATE the XML-RPC communication from your side to SL using this channel-ID.
Check the wiki and faqs...
|
|
Archon Kipling
Registered User
Join date: 10 Oct 2005
Posts: 4
|
10-10-2005 15:42
Thanks for that. Are there any functions that would allow the script to query current scheduled events in the SL world? I have looked through and can't seem to find any
|
|
Trimda Hedges
Creator of Useless Prims
Join date: 19 Nov 2003
Posts: 247
|
10-11-2005 13:50
Unfortuantely, I am no aware of any that exists. A fairly easy way is to have a remote script/app (PHP, PERL, or any other language of choice) that would hit LL's website to retreive and parse the events on the HTML page. Form there, you could either forward this info to the object in world via email (The toughest thing is capturing the objects temporary email address to send to.) or have it store it to a file/DB and whenever an email is sent to a specific email address, the reply is the events calender you have stored. I myself would opt for the second delivery method as then we don't care how many objects or what their IM keys are. Hope these brain farts help, have fun! 
_____________________
C. Create useless prims... Then delete... Rinse... Repeat.
"The problem is us, and the solution is within us all." -- Merwan Marker
"Trimda - do us both a favor and please put me on ignore." -- blaze Spinnaker
|
|
Archon Kipling
Registered User
Join date: 10 Oct 2005
Posts: 4
|
10-11-2005 16:36
Thanks! I actually was unaware of the community portion of the website. If it already has that then the idea is not all that useful.
|