UpdateScriptTask

From Second Life Wiki
Jump to navigation Jump to search

POST:

<llsd>
	<map>
		<key>is_script_running</key>
		<integer>1</integer>
		<key>item_id</key>
		<uuid>84609c46-02c9-72a7-2fc5-f6a8ceddb41d</uuid>
		<key>target</key>
		<string>mono</string>
		<key>task_id</key>
		<uuid>df9e7ca7-daa9-836b-73e4-3fc1d560d2b9</uuid>
	</map>
</llsd>

Response:

<llsd>
	<map>
		<key>state</key>
		<string>upload</string>
		<key>uploader</key>
		<string>https://sim2777.agni.lindenlab.com:12043/cap/0573c509-0000-910b-79b2-736a2c98a7c8</string>
	</map>
</llsd>

Compiling for mono so I just POSTed the the script text to the uploader, and it worked!

Response to upload:

<?xml version="1.0" ?>
<llsd>
	<map>
		<key>compiled</key>
		<boolean>true</boolean>

		<key>state</key>
		<string>complete</string>

		<key>new_asset</key>
		<uuid>ff2b1049-a949-7ce6-046f-344bb5265ed7</uuid>
	</map>
</llsd>