Rock Vacirca
riches to rags
Join date: 18 Oct 2006
Posts: 1,093
|
01-31-2010 04:50
One of the features of the Radegast client that really caught my eye was this, in the release notes for version 1.7: From: someone Backup of all text from the inventory (scripts and notecards) This means (if I understand this correctly) that all the notecards in your inventory can now be searched for text (once they have all been backed-up). Am I right in thinking that this is very difficult, if not impossible, to do in script? i.e. run a script that will search across all notecards in your inventory for a particular string of text. Rock
_____________________
Chapter & Metaverse http://rock-vacirca.blogspot.com/
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
01-31-2010 05:28
From: Rock Vacirca One of the features of the Radegast client that really caught my eye was this, in the release notes for version 1.7:
This means (if I understand this correctly) that all the notecards in your inventory can now be searched for text (once they have all been backed-up).
Am I right in thinking that this is very difficult, if not impossible, to do in script? i.e. run a script that will search across all notecards in your inventory for a particular string of text.
Rock difficult? no. slow? yes.
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|
Beverly Ultsch
Registered User
Join date: 6 Sep 2007
Posts: 229
|
01-31-2010 05:34
I don't see how this can be done at all in script, you don't have access to your inventory via script.
It could be done by dropping all your notecards into a scripted object, but as void says this would be very slow.
|
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
|
02-03-2010 21:10
From: Beverly Ultsch
It could be done by dropping all your notecards into a scripted object, but as void says this would be very slow.
and it won't work if the text you're looking for is in a line that's truncated before the text's position in that line llGetNotecardLine is truncated to 255 chars, if the text you're searching for falls in char 256 or above in that line, the script won't see it
|