Difference between revisions of "Dataserver"

From Second Life Wiki
Jump to navigation Jump to search
Line 9: Line 9:
! Input
! Input
! Type
! Type
! Description
! colspan="4" {{!}} Description
{{!}}-
{{!}}-
{{!}} colspan="2" {{!}} {{LSLG|llGetNotecardLine}}
{{!}} colspan="2" {{!}} {{LSLG|llGetNotecardLine}}
{{!}} {{LSLG|string}}
{{!}} {{LSLG|string}}
{{!}} The line in the requested notecard, if {{LSLG|EOF}} the line requested is past the end of the notecard.
{{!}} colspan="4" {{!}} The line in the requested notecard, if {{LSLG|EOF}} the line requested is past the end of the notecard.
{{!}}-
{{!}}-
{{!}} colspan="2" {{!}} {{LSLG|llGetNumberOfNotecardLines}}
{{!}} colspan="2" {{!}} {{LSLG|llGetNumberOfNotecardLines}}
{{!}} {{LSLG|integer}}
{{!}} {{LSLG|integer}}
{{!}} The number of lines in the notecard requested.
{{!}} colspan="4" {{!}} The number of lines in the notecard requested.
{{!}}-
{{!}}-
{{!}} rowspan="5" {{!}} {{LSLG|llRequestAgentData}}
{{!}} rowspan="7" {{!}} {{LSLG|llRequestAgentData}}
{{!}} {{LSLG|DATA_ONLINE}}  
{{!}} {{LSLG|DATA_ONLINE}}  
{{!}} {{LSLG|integer}} {{HoverText|boolean|TRUE or FALSE}}
{{!}} {{LSLG|integer}} {{HoverText|boolean|TRUE or FALSE}}
{{!}} If the requested agent is online
{{!}} colspan="4" {{!}} If the requested agent is online
{{!}}-
{{!}}-
{{!}} {{LSLG|DATA_NAME}}
{{!}} {{LSLG|DATA_NAME}}
{{!}} {{LSLG|string}}
{{!}} {{LSLG|string}}
{{!}} The requested agents name
{{!}} colspan="4" {{!}} The requested agents name
{{!}}-
{{!}}-
{{!}} {{LSLG|DATA_BORN}}
{{!}} {{LSLG|DATA_BORN}}
{{!}} {{LSLG|string}}
{{!}} {{LSLG|string}}
{{!}} The account creation/"born on" date as a string in in ISO 8601 format of YYYY-MM-DD.
{{!}} colspan="4" {{!}} The account creation/"born on" date as a string in in ISO 8601 format of YYYY-MM-DD.
{{!}}-
{{!}}-
{{!}} {{LSLG|DATA_RATING}}
{{!}} {{LSLG|DATA_RATING}}
{{!}} {{LSLG|llCSV2List}}
{{!}} {{LSLG|llCSV2List}}
{{!}} [behavior, 0, appearance, 0, building, 0]
{{!}} colspan="4" {{!}} [behavior, 0, appearance, 0, building, 0]
{{!}}-
{{!}} rowspan="3" {{!}} {{LSLG|DATA_PAYINFO}}
{{!}} rowspan="3" {{!}} {{LSLG|integer}} bit-field
! colspan="2" {{!}} Flag
! Value
! Description
{{!}}-
{{!}} colspan="2" {{!}} {{LSLG|PAYMENT_INFO_ON_FILE}}
{{!}} {{LSL Hex|0x1|1}}
{{!}} If payment info is on file.
{{!}}-
{{!}}-
{{!}} {{LSLG|DATA_PAYINFO}}
{{!}} colspan="2" {{!}} {{LSLG|PAYMENT_INFO_USED}}
{{!}} {{LSLG|integer}} bit-field
{{!}} {{LSL Hex|0x2|2}}
{{!}} <table {{Prettytable}}><tr><th>Flag</th><th>Value</th><th>Description</th></tr><tr><td>{{LSLG|PAYMENT_INFO_ON_FILE}}</td><td>{{LSL Hex|0x1|1}}</td><td>If payment info is on file.</td></tr><tr><td>{{LSLG|PAYMENT_INFO_USED}}</td><td>{{LSL Hex|0x2|2}}</td><td>If payment info has been used.</td></tr></table>
{{!}} If payment info has been used.
{{!}}-
{{!}}-
{{!}} {{LSLG|llRequestInventoryData}}
{{!}} {{LSLG|llRequestInventoryData}}
{{!}} Landmark
{{!}} Landmark
{{!}} {{LSLG|vector}}
{{!}} {{LSLG|vector}}
{{!}} global_position_of_landmark = {{LSLG|llGetRegionCorner}}() + (vector)data;
{{!}} colspan="4" {{!}} global_position_of_landmark = {{LSLG|llGetRegionCorner}}() + (vector)data;
{{!}}-
{{!}}-
{{!}} rowspan="3" {{!}} {{LSLG|llRequestSimulatorData}}
{{!}} rowspan="9" {{!}} {{LSLG|llRequestSimulatorData}}
{{!}} {{LSLG|DATA_SIM_POS}}  
{{!}} {{LSLG|DATA_SIM_POS}}  
{{!}} {{LSLG|vector}}
{{!}} {{LSLG|vector}}
{{!}} The sims global position.
{{!}} colspan="4" {{!}} The sims global position.
{{!}}-
{{!}}-
{{!}} {{LSLG|DATA_SIM_STATUS}}
{{!}} rowspan="7" {{!}} {{LSLG|DATA_SIM_STATUS}}
{{!}} {{LSLG|string}}
{{!}} rowspan="7" {{!}} {{LSLG|string}}
{{!}} <table {{Prettytable}}><tr><th>Value</th><th>Description</th></tr><tr><td>"up"</td><td>simulator currently up and running</td></tr><tr><td>"down"</td><td>simulator currently down</td></tr><tr><td>"starting"</td><td>simulator currently starting</td></tr><tr><td>"stopping"</td><td>simulator currently stopping</td></tr><tr><td>"crashed"</td><td>simulator has crashed</td></tr><tr><td>"unknown"</td><td>simulator status unknown or unknown simulator</td></tr></table>
! Value
! colspan="3" {{!}} Description
{{!}}-
{{!}} "up"
{{!}} colspan="3" {{!}} simulator currently up and running
{{!}}-
{{!}} "down"
{{!}} colspan="3" {{!}} simulator currently down
{{!}}-
{{!}} "starting"
{{!}} colspan="3" {{!}} simulator currently starting
{{!}}-
{{!}} "stopping"
{{!}} colspan="3" {{!}} simulator currently stopping
{{!}}-
{{!}} "crashed"
{{!}} colspan="3" {{!}} simulator has crashed
{{!}}-
{{!}} "unknown"
{{!}} colspan="3" {{!}} simulator status unknown or unknown simulator
{{!}}-
{{!}}-
{{!}} {{LSLG|DATA_BORN}}
{{!}} {{LSLG|DATA_BORN}}
{{!}} {{LSLG|string}}
{{!}} {{LSLG|string}}
{{!}} The account creation/"born on" date as a string in in ISO 8601 format of YYYY-MM-DD.
{{!}} colspan="4" {{!}} The account creation/"born on" date as a string in in ISO 8601 format of YYYY-MM-DD.
{{!}}}
{{!}}}
|caveats
|caveats

Revision as of 22:29, 11 February 2007

Description

Event: dataserver( key queryid, string data ){ ; }

Triggered when task receives asynchronous data

• key queryid
• string data

Specification

Function Input Type Description
llGetNotecardLine string The line in the requested notecard, if EOF the line requested is past the end of the notecard.
llGetNumberOfNotecardLines integer The number of lines in the notecard requested.
llRequestAgentData DATA_ONLINE integer boolean If the requested agent is online
DATA_NAME string The requested agents name
DATA_BORN string The account creation/"born on" date as a string in in ISO 8601 format of YYYY-MM-DD.
DATA_RATING llCSV2List [behavior, 0, appearance, 0, building, 0]
DATA_PAYINFO integer bit-field Flag Value Description
PAYMENT_INFO_ON_FILE 0x1 If payment info is on file.
PAYMENT_INFO_USED 0x2 If payment info has been used.
llRequestInventoryData Landmark vector global_position_of_landmark = llGetRegionCorner() + (vector)data;
llRequestSimulatorData DATA_SIM_POS vector The sims global position.
DATA_SIM_STATUS string Value Description
"up" simulator currently up and running
"down" simulator currently down
"starting" simulator currently starting
"stopping" simulator currently stopping
"crashed" simulator has crashed
"unknown" simulator status unknown or unknown simulator
DATA_BORN string The account creation/"born on" date as a string in in ISO 8601 format of YYYY-MM-DD.

Examples

Deep Notes

Signature

event void dataserver( key queryid, string data );