XML-RPC Outbound Is Enabled
|
Jsecure Hanks
Capitalist
Join date: 9 Dec 2003
Posts: 1,451
|
08-08-2005 04:55
... Kind of... I thought of this lightning flash idea while sitting at work. You can change the streaming URL for a parcel with the LSL. So why not have a web page that actually doesn't stream, but which captures any HTTP GET variables supplied to it. Your stream request fails, but in a split second, you transmit out any number of HTTP GET variables including possibly an ID code for which prim it is which is talking etc. And then your server knows your prim wants to talk, so it can then initiate X number of XML-RPC calls. Genius eh? 
|
Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
|
08-08-2005 04:58
Freeview actually does something like this.
Cue CrystalShard spam.
_____________________
---
|
blaze Spinnaker
1/2 Serious
Join date: 12 Aug 2004
Posts: 5,898
|
08-08-2005 05:12
Brilliant tip, Jsecure.
Tho, someone has to be on the parcel .. which is a minor problem.
_____________________
Taken from The last paragraph on pg. 16 of Cory Ondrejka's paper " Changing Realities: User Creation, Communication, and Innovation in Digital Worlds : " User-created content takes the idea of leveraging player opinions a step further by allowing them to effectively prototype new ideas and features. Developers can then measure which new concepts most improve the products and incorporate them into the game in future patches."
|
Gwyneth Llewelyn
Winking Loudmouth
Join date: 31 Jul 2004
Posts: 1,336
|
08-08-2005 05:28
This is awesome! 
|
Jsecure Hanks
Capitalist
Join date: 9 Dec 2003
Posts: 1,451
|
08-08-2005 05:29
From: blaze Spinnaker Brilliant tip, Jsecure.
Tho, someone has to be on the parcel .. which is a minor problem. Damn... Didn't think about that one... Alright back to the drawing board...
|
Jesrad Seraph
Nonsense
Join date: 11 Dec 2004
Posts: 1,463
|
08-09-2005 01:12
So we're stuck using emails for getting the keys of XML-RPC active objects ? 
_____________________
Either Man can enjoy universal freedom, or Man cannot. If it is possible then everyone can act freely if they don't stop anyone else from doing same. If it is not possible, then conflict will arise anyway so punch those that try to stop you. In conclusion the only strategy that wins in all cases is that of doing what you want against all adversity, as long as you respect that right in others.
|
Satchmo Prototype
eSheep
Join date: 26 Aug 2004
Posts: 1,323
|
08-09-2005 05:06
From: Jesrad Seraph So we're stuck using emails for getting the keys of XML-RPC active objects ?  Why the sad face? What don't you like about email? To slow?
|
Jesrad Seraph
Nonsense
Join date: 11 Dec 2004
Posts: 1,463
|
08-09-2005 05:41
I cannot use this method with the webhosting I have right now... So short of making one-time experiments I can't really use XML-RPC at all.
[Edit] This is clearly a problem. I make a living solving problems. So I'm gonna solve this one. *rushes out* *sounds of old dusty tomes being opened and browsed feverishly*
_____________________
Either Man can enjoy universal freedom, or Man cannot. If it is possible then everyone can act freely if they don't stop anyone else from doing same. If it is not possible, then conflict will arise anyway so punch those that try to stop you. In conclusion the only strategy that wins in all cases is that of doing what you want against all adversity, as long as you respect that right in others.
|
CrystalShard Foo
1+1=10
Join date: 6 Feb 2004
Posts: 682
|
08-09-2005 05:55
From: Jeffrey Gomez Freeview actually does something like this.
Cue CrystalShard spam. <takes her cue> llLoadURL() is your Savior. Amen. <stage exit right>
|
Jesrad Seraph
Nonsense
Join date: 11 Dec 2004
Posts: 1,463
|
08-09-2005 09:12
From: CrystalShard Foo <takes her cue>
llLoadURL() is your Savior.
Amen.
<stage exit right> <applause>  This I could use for a number of personal ideas  Thanks.
_____________________
Either Man can enjoy universal freedom, or Man cannot. If it is possible then everyone can act freely if they don't stop anyone else from doing same. If it is not possible, then conflict will arise anyway so punch those that try to stop you. In conclusion the only strategy that wins in all cases is that of doing what you want against all adversity, as long as you respect that right in others.
|
Huns Valen
Don't PM me here.
Join date: 3 May 2003
Posts: 2,749
|
08-09-2005 16:44
This is clever.
|
Jsecure Hanks
Capitalist
Join date: 9 Dec 2003
Posts: 1,451
|
08-10-2005 01:10
llLoadURL is alright, but for the other half of XML-RPC it has some usual flaws. It delays a script by ten seconds, which is an age, and also it'll only work when a URL is given to an in-world avatar, and only if that avatar then goes on to load up the destination page.
So for now the closest solution would be setting a streaming URL to something with HTTP GET data while people are present, else using email.
|
Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
|
08-10-2005 04:26
From: Jsecure Hanks llLoadURL is alright, but for the other half of XML-RPC it has some usual flaws. It delays a script by ten seconds, which is an age, and also it'll only work when a URL is given to an in-world avatar, and only if that avatar then goes on to load up the destination page. The latter two are given if the person actually wants to use whatever service you're setting up. As for the ten-second delay, a little multithreading magic can work around that quite handily. I'm guessing the delay here is based in the script itself, so splitting it off and using a link message would get the job done quite handily. If the command is really anal, as llRemoteLoadScriptPin is, you can use separate temporary prims and a listener.
_____________________
---
|
blaze Spinnaker
1/2 Serious
Join date: 12 Aug 2004
Posts: 5,898
|
08-10-2005 08:20
From: someone The latter two are given if the person actually wants to use whatever service you're setting up.
Not really.. they'll shoot off an XMLRPC message as long as they have streaming enabled. (Which, for my accounts, I do not.. another minor problem 
_____________________
Taken from The last paragraph on pg. 16 of Cory Ondrejka's paper " Changing Realities: User Creation, Communication, and Innovation in Digital Worlds : " User-created content takes the idea of leveraging player opinions a step further by allowing them to effectively prototype new ideas and features. Developers can then measure which new concepts most improve the products and incorporate them into the game in future patches."
|
Jsecure Hanks
Capitalist
Join date: 9 Dec 2003
Posts: 1,451
|
08-10-2005 08:26
also a lot of my XML-RPC tools I have in my head would function with nobody immediately present a lot of the time.
|
Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
|
08-10-2005 17:23
From: blaze Spinnaker Not really.. they'll shoot off an XMLRPC message as long as they have streaming enabled. (Which, for my accounts, I do not.. another minor problem  Logic err, my part. To clarify, by latter two I mean: 1) " t'll only work when a URL is given to an in-world avatar" 2) "[O]nly if that avatar then goes on to load up the destination page."
... for llLoadURL.
Streaming is a completely different animal.
As for this:
From: Jsecure Hanks also a lot of my XML-RPC tools I have in my head would function with nobody immediately present a lot of the time. If that's the case, can't you just send a request in from out-of-world and reap the reply? Or does that defeat the purpose?
_____________________
---
|
Jsecure Hanks
Capitalist
Join date: 9 Dec 2003
Posts: 1,451
|
08-11-2005 01:09
From: Jeffrey Gomez Logic err, my part. To clarify, by latter two I mean:
1) "t'll only work when a URL is given to an in-world avatar" 2) "[O]nly if that avatar then goes on to load up the destination page."
... for llLoadURL.
Streaming is a completely different animal.
As for this:
If that's the case, can't you just send a request in from out-of-world and reap the reply? Or does that defeat the purpose? Streaming is a different animal but it's still done entirely by SL clients and not LL servers. So if you switch a parcel streaming URL to something new, then nothing touches that URL unless an av is nearby and their client tries to stream that URL (hence why you need someone to be standing on the parcel for that to work). I already do send requests in from outside SL to poll my prims at hourly intervals, but it would be far more efficient if they could cry out when they needed attention, as at present I have to run a dedicated daemon on my server just for polling prims every hour.
|
Satchmo Prototype
eSheep
Join date: 26 Aug 2004
Posts: 1,323
|
08-11-2005 05:24
Been trying to bite my tongue on this offer... but... whatcha doin? I can create an email to HTTP post proxy for you if you like. Anything you send to a magic email address would be redicted to an HTTP post. Think there is general interest for something like this? One proxy email address people could use, and an email format that specifies where to redirect? Send me an IM if you'd rather discuss it privately.
|
Jsecure Hanks
Capitalist
Join date: 9 Dec 2003
Posts: 1,451
|
08-11-2005 05:29
I think that'd probably be quite useful to a lot of people. I was going to set up an incoming email address on my server that my prims could email to for help, but I never got around to it in the end and I just use XML-RPC pooling.
If outbound XML-RPC never materialises, I'll probably proceed down that route, but those who don't have access to the resources I have might love the service you mention.
|
Eggy Lippmann
Wiktator
Join date: 1 May 2003
Posts: 7,939
|
08-12-2005 00:51
You can use Exim or procmail or somesuch email filter to pipe incoming email directly to a PHP script, which can then reply via email or XMLRPC, or do whatever you want.
|