Shihan Feiri Posted January 30, 2012 Share Posted January 30, 2012 I have see services that use notecard infos based on individual person. In other words, notecard comes to agent with his name inside notecard, and some data connected with this avatar. So, I wonder, what to use to be able trough script to write personal notecard in object prim and send them to someone. Link to comment Share on other sites More sharing options...
Darkie Minotaur Posted January 30, 2012 Share Posted January 30, 2012 First of all, a script can't write or edit a notecard. For sending it to an ava, you can use llGiveInventory Link to comment Share on other sites More sharing options...
PeterCanessa Oh Posted January 30, 2012 Share Posted January 30, 2012 As Darkie said, scripts can't write to notecards so you can't do this from within SL. You would need to investigate a 'bot (external, computer-driven avatar viewer) for this, and potentially anything else that a person could do with SL. Link to comment Share on other sites More sharing options...
Shihan Feiri Posted January 30, 2012 Author Share Posted January 30, 2012 I know for sending, but I recive eg. balanse trough notecard each day with personal info inside. Mybe is catch that this notecard are send trough bots, so in this case something else need be in action. One is sure, they can't be premade for sending in future becose info inside them is dynamic text Link to comment Share on other sites More sharing options...
Darkie Minotaur Posted January 30, 2012 Share Posted January 30, 2012 It certainly would be possible though a bot - which is not exactly LSL scripting. Look at the different bots too see if one for sale can do it. Otherwise you would have to make one or have one made. Link to comment Share on other sites More sharing options...
wrable Amat Posted January 30, 2012 Share Posted January 30, 2012 I seen a java bot tha can do that , the bot uses a list to send updated data notecards. There might be a plug in for metabolt for notecards,but as every one stated it is not a script making the notecards as there is no functions in data_server to wright to a card that i know of. Link to comment Share on other sites More sharing options...
Qie Niangao Posted January 31, 2012 Share Posted January 31, 2012 Hmmm. I wonder if this could be why they had to throttle llGiveInventory(). Link to comment Share on other sites More sharing options...
Darkie Minotaur Posted January 31, 2012 Share Posted January 31, 2012 I don't really think so. The possibility to personalize NCs may habve added to the problem - but there are many CRM tools that let you make 'mail' marketing - and it's used a lot - personalized NCs or not. Link to comment Share on other sites More sharing options...
Madpeter Zond Posted February 3, 2012 Share Posted February 3, 2012 you can use a bot [as I have done] to get around this issue, even thou inworls thats based on SL code has notecard writing secondlife seems to hate adding support for usefull things, even a object level delay for creating and then writing a notecard would be better than having a avatar allways on a sim to create notecards. Link to comment Share on other sites More sharing options...
Co Starsmith Posted September 26, 2012 Share Posted September 26, 2012 That is kinda stupid... there are a lot of functions I think LL should be adding to the LSL language... to have a script read a notecard but not be able to write to it is kinda stupid... I mean the Java language can write to a notepad document.. why cant LSL do it? 1 Link to comment Share on other sites More sharing options...
Rolig Loon Posted September 26, 2012 Share Posted September 26, 2012 Linden Lab could do it, but they have always refused to, mostly because it would add a lot to the asset server load. Every time a notecard is created or edited, it gets a new UUID. The argument has always been that if scripters could edited notecards with LSL, we would be more likely to use them as volatile storage devices instead of using lists in our scripts. Updates and new cards would be likely to happen much more often than people create notecards now, translating to a larger storage and data handling load in the servers. Link to comment Share on other sites More sharing options...
VirtualKitten Posted June 5, 2015 Share Posted June 5, 2015 If there is a throttle on the number of notecards that could be written by avatar could this not be lowered so that notecards could be written by scripts? I cannot see why you can create a notecard in an objects inventory and do nothing with it except give it or delete it . Does this not make the creation of a note card redundant if you can’t edit it? If LSL was to enable this could this not be given a low priority event so it works but is cached until server was ready. If you cannot create notecard can you not create an IM with this information? There are presumably limits here. Other than this there is SQL extensions for SL now that allow you to store information of SIM . They are not widely used at present but are starting to be used more and more. Link to comment Share on other sites More sharing options...
Qie Niangao Posted June 6, 2015 Share Posted June 6, 2015 VirtualKitten wrote: If there is a throttle on the number of notecards that could be written by avatar could this not be lowered so that notecards could be written by scripts? I cannot see why you can create a notecard in an objects inventory and do nothing with it except give it or delete it . Does this not make the creation of a note card redundant if you can’t edit it? If LSL was to enable this could this not be given a low priority event so it works but is cached until server was ready. If you cannot create notecard can you not create an IM with this information? There are presumably limits here. Other than this there is SQL extensions for SL now that allow you to store information of SIM . They are not widely used at present but are starting to be used more and more. What does this mean, and what are you trying to do? In particular, whatever does "SQL extensions for SL" mean?? Also, if an IM can substitute for a notecard in your application then, yeah, why not use an IM? This thread was current three years ago, and there's now a relevant change coming Real Soon Now: Experiences come with a simple key-value-pair persistent store that's vastly preferable to using a notecard as if it were flat file data storage. There remains the specialized purpose of notecards for distribution to avatars, however, which could occasionally be useful for a script to write. Link to comment Share on other sites More sharing options...
Kavana Arkright Posted October 5, 2015 Share Posted October 5, 2015 You don't have to use bots. You could just use a particular number of prims appropriate to your area traffic &/or data necessities & store data in llPrimitiveParams. You could make "Full Bright" a Boolean even. Just be innovative. Email a data report to yourself. Link to comment Share on other sites More sharing options...
Madpeter Zond Posted January 25, 2016 Share Posted January 25, 2016 I ended up creating my own bot to solve this issue http://secondbot.net/ its now open source: https://bitbucket.org/Madpeter/secondbot/ 1 Link to comment Share on other sites More sharing options...
Logan Lythrum Posted July 26, 2020 Share Posted July 26, 2020 (edited) Not being able to write to NC from scripts makes NCs almost useless. Edited July 27, 2020 by Logan Lythrum Link to comment Share on other sites More sharing options...
Bugs Larnia Posted July 30, 2020 Share Posted July 30, 2020 (edited) Bots are the way to go if you want to keep the information inworld. If it's simply storage, you can also use Google Drive, though it takes some setting up. I made a notecard for this once (and yes, I see the irony of that in relation to this post) Quote Logging Stuff on Google Docs ==================== ► Step 1: Setting up the Goodle Docs document Example (entry ids and form id are fictional): Create a form on Google Docs. Add a field Key (type: Short answer text) Add a field Name (type: Short answer text) Add a field Date (type: Date & Time) Fill in the example and then click the options (3 vertical dots) in the upper right and select "Get Prefilled Link". This will give you a link that looks something like this https://docs.google.com/forms/d/e/2FFopTLSdTkkorMqRoPdefwWGk1gAboHb_AG2AF35X7jB1nUOHP9N6Rf/viewform?usp=pp_url&entry.90132327=4254e77a-62b8-47a4-beff-6823e73cc63c&entry.839710298=Ema+Nymton&entry.205968371=2020-04-14+20:25 This can be split up in the following elements: • Base url: https://docs.google.com/forms/d/e/ • Form id: 2FFopTLSdTkkorMqRoPdefwWGk1gAboHb_AG2AF35X7jB1nUOHP9N6Rf • Entry id for Key field: entry.90132327 • Entry id for Name field: entry.839710298 • Entry id for Date field: entry.205968371 Plus, you can see how all the formats are (like Ema+Nymton for the name); you can also use llEscapeUrl though. ► Step 2: Constructing the url: Based on the information above, you need to create an url that contains the same format of data. The only thing that is different is that instead of viewform, you will use formResponse and you need to add "submit=Submit" at the end. With the example above, our url would look like this: https://docs.google.com/forms/d/e/2FFopTLSdTkkorMqRoPdefwWGk1gAboHb_AG2AF35X7jB1nUOHP9N6Rf/formResponse?usp=pp_url&entry.948371827=4254e77a-62b8-47a4-beff-6823e73cc63c&entry.839710298=Ema+Nymton&entry.205968371=2020-04-14+20:25&submit=Submit After that, all that remains is a simple llHTTPRequest with that url and Bob's your uncle and Ema's logged. (Please note that IDs in this example have been randomly generated and are non-functional and Ema Nymton's name is fictional and any relation to a real Ema Nymton is unintentional yet epically cool ) Of course, this example was made for logging something like an avatar, but you can set up your own form as you see fit. Edited July 30, 2020 by Bugs Larnia Note that you can configure your form as you see fit 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now