Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

XML-RPC limitations?

falney Finney
Freedom is just a word
Join date: 18 Dec 2006
Posts: 66
05-10-2009 08:36
Ive just started using XML-RPC and come accross a slight problem. Im trying to transmit into SL a CSV series of texture uuid's only they get cut off half way through.

Im wondering what the string limit is on an XML-RPC if any and A)if not, any idea what could be causing the CSV to be cut in half. Ive echo'ed it for debugging on the PHP page SL is communicating with and its fine so its some where between my server sending the data and the script getting/processing it... Or B) If there is a limitation, a suggestion on an easy way to get around sending multiple texture uuid's into SL.

Other than that I have everything working. Its for a texture cycler for displaying fourth coming products in mall spots

Much appreciated
_____________________
Self proclaimed Genius

Pessimist is only a name that an optimist calls a realist!

Heterosexuality is just a fancy word for legalized sexism
Sindy Tsure
Will script for shoes
Join date: 18 Sep 2006
Posts: 4,103
05-10-2009 09:16
This would be good stuff to read: http://wiki.secondlife.com/wiki/Category:LSL_XML-RPC
_____________________
Sick of sims locking up every time somebody TPs in? Vote for SVC-3895!!!
- Go here: https://jira.secondlife.com/browse/SVC-3895
- If you see "if you were logged in.." on the left, click it and log in
- Click the "Vote for it" link on the left
falney Finney
Freedom is just a word
Join date: 18 Dec 2006
Posts: 66
05-10-2009 09:18
Something I have read several times before posting here and doesnt answer the questions I asked hence asking them
_____________________
Self proclaimed Genius

Pessimist is only a name that an optimist calls a realist!

Heterosexuality is just a fancy word for legalized sexism
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
05-10-2009 09:36
Try this one. It states the string length is limtied to 254 bytes and has lots of other useful info besides:

http://www.lslwiki.net/lslwiki/wakka.php?wakka=XMLRPC
falney Finney
Freedom is just a word
Join date: 18 Dec 2006
Posts: 66
05-10-2009 12:09
TYVM that was much more use =3

I think I will just use the xml-rpc to trigger a llHTTPRequest/http_response event. It would be much simpler than polling the individual uuid's and sending them one at a time over god knows how long.

Unfortunatly it means it will only support 55 textures BUT this will be more than plenty for this task.

Again, thank you.
_____________________
Self proclaimed Genius

Pessimist is only a name that an optimist calls a realist!

Heterosexuality is just a fancy word for legalized sexism
Darien Caldwell
Registered User
Join date: 12 Oct 2006
Posts: 3,127
05-10-2009 12:36
Start planning to use HTTP-IN when it becomes available (soon). LL is already talking about working out a timeline for eliminatingor depreciating XML-RPC once HTTP-IN is in place, working, and stable. It's a better solution but RPC is the way to go for now. Here's some information:

http://wiki.secondlife.com/wiki/LSL_http_server
_____________________