👩‍💻 Scripting changes coming soon

News from the Second Life Team – January 2024 Edition

 

Happy New Year! We’re off to a great start to the year at the Lab and happy to share more Second Life updates with you. You’ll find news on scripting additions, PBR Materials, Project Viewers, and an update on the Second Life Mobile Private Alpha program. Enjoy!

A handful of new, useful scripting features will be getting released in the coming weeks:

llComputeHash

LSL’s old llMD5 function has a significant flaw: it always adds a “:” character to the input string. This makes it useless for most hashing purposes. Enter: llComputeHash! This new function can generate a hash of an input string using any of the following hashing algorithms: md5, md5_sha1, sha1, sha224, sha256, sha384, and sha512.

 
default {
touch_start(integer count) {
string message = your-test-message-here;
 
list algorithms = [md5, md5_sha1, sha1, sha224, sha256, sha384, sha512];
 
integer algorithmCount = llGetListLength(algorithms);
llOwnerSay(message=’ + message + );
 
integer i = 0;
for (i = 0; i < algorithmCount; ++i) {
string algorithm = llList2String(algorithms, i);
string hash = llComputeHash(message, algorithm);
llOwnerSay(algorithm + = + hash);
}
}

llGetNotecardLineSync

You know how it takes an incredible amount of time for your furniture to boot up after resetting its scripts? Argh! Yeah, it’s annoying, and likely due to your sofa/throne/maypole reading configuration from one or more notecards in its inventory.

The new llGetNotecardLineSync function makes loading data from notecards in object inventory much faster by providing a synchronous access method with the caveat that the notecard must be in the region’s asset cache.

 
string NOTECARD_NAME = notecard;
key gLineCountId;
 
default {
state_entry() {
// Request number of notecard lines.
gLineCountId = llGetNumberOfNotecardLines(NOTECARD_NAME);
}
 
dataserver(key id, string data) {
if (id != gLineCountId) { return; }
 
integer count = (integer)data;
integer i;
for (i = 0; i < count; ++i) {
string line = llGetNotecardLineSync(NOTECARD_NAME, i);
if (line == EOF) {
llOwnerSay(—EOF—);
}
else if (line == NAK) {
llOwnerSay(—NAK—);
}
else {
llOwnerSay(line);
}
}
}

BTW, if you’re interested in knowing more about the scripts that power a huge amount of Second Life’s furniture, vehicles and more check out the open source AVsitter project. 🪑

llGetCameraAspect, llGetCameraFOV, and llWorldPosToHUD

Several functions have been added to help content creators position HUDs:

  • llGetCameraAspect – Returns the aspect ratio of the wearer’s screen as a float (width/height)
  • llGetCameraFOV – Returns a float value for the current camera’s field of view
  • llWorldPosToHUD – Returns HUD position of an in-world object
 
integer gHasPerms = FALSE;
 
function printCameraInfo() {
float aspect = llGetCameraAspect();
float fov = llGetCameraFOV();
llOwnerSay(aspect = + (string)aspect + FOV = + (string)fov);
}
 
default {
on_rez(integer a) {
llResetScript();
}
 
state_entry() {
llRequestPermissions(llGetOwner(), PERMISSION_TRACK_CAMERA);
}
 
run_time_permissions(integer perms) {
if (perms & PERMISSION_TRACK_CAMERA) {
gHasPerms = TRUE;
printCameraInfo();
}
}
 
touch_start(integer count)
{
if (gHasPerms) {
printCameraInfo();
} else {
llRequestPermissions(llGetOwner(), PERMISSION_TRACK_CAMERA);
}
}

Scripting roadmap

Status of these upcoming changes and more are visible on Second Life’s new public road visible at feedback.secondlife.com. If you have ideas or feedback on the scripting system check out the Scripting Features and Scripting Bugs boards.

🧪 Project Viewers

😀 Emoji

This viewer is also in RC and is based on a contribution by Kitty Barnett, and adds the ability to insert emojis in text chat.

Maintenance W

This Viewer brings many fixes (see list here), including a fix to a long standing issue with voice failing after quickly restarting your viewer

Maintenance X

This Viewer brings many usability improvements, including:

  • Saving you some clicks by allowing the deletion of folders containing worn items. 
  • In case you only wish to detach, Alt+Shift+R will now detach selected attachments so you can remove those less fashionable items at rapid speed.
  • The time format has been changed to show the more superior SLT instead of PDT.
  • The group join fee will be shown when leaving a group so you can be extra sure you want to leave it.
  • Shift+Alt+N will now open the Notifications floater 
  • Group notices can now be accessed directly from the People floaters Groups tab. Hover that mouse cursor over the group name for access.
  • Group notices will now default as being sorted by date with the newest first 

Maintenance Y

With this Viewer, you can now preview your outfit photos when hovering your cursor over outfits in the Outfit floater. You can also now remove locations from history via the context menu located in the Places floaters Visited tab.

image4.png

See the list of additional fixes here.

Default Viewer

🎨 GLTF PBR Materials

At the end of November, we announced in this blog post that PBR became available grid wide! The PBR Materials project brings increased realism and enables bringing GLTF content into Second Life with expected results. Now you can create scenes with real reflections which mimic how our eyes have learned to identify that a surface is metal, plastic, or some other material. Whether you create objects in Second Life or simply enjoy seeing and wearing them, PBR Materials will provide a big step up in the appearance of the Second Life world.

Individually faceted disco ball reflections
image1.png

As of January 8th, 2024, the PBR Materials Maintenance 1 viewer became the default viewer for Second Life. See Release Notes here. There are 17 new Materials available in the Library so you can start building with PBR today!

📱 Mobile Update

On December 12th, we announced our Mobile Private Alpha, bringing the richness of the Second Life virtual world to your Android or iOS mobile device. Qualifying Premium Plus members can apply now for the Private Alpha. If you are Premium Plus, you can learn more at this link.

Check out this video if you haven’t already!

We’ve had an incredible amount of interest, so if you’ve applied but haven’t been added yet, you’re still on our list. Future testers will be added and notified as the Private Alpha continues to expand. Thanks again for your patience as we process the ongoing demand and we look forward to your participation!

Have A Great Weekend From All Of Us At Zoha Islands/Fruit Islands

Windows 10 and Second Life

Just a quick note about Windows 10 and SL compatibility:

After my post yesterday, a resident messaged me and told me they could not use SL after they upgraded to Windows 10. The first time after I upgraded to Windows 10, I also tried logging into SL without luck (I use Firestorm viewer).

However, what I discovered was that the graphics drivers have to be updated after you install Windows 10, and that is not something that Windows 10 prompts you to do. Apparently the upgrade rolls your graphics card drivers back to their original version. If you try Windows 10 and are not able to log in, try updating your graphics drivers and see if that makes a difference.

I remain respectfully yours,
~ Suzanne Piers, ZoHa Islands Blogger/Social Media

Windows 10 Privacy Concerns

Unless you’ve been living under a rock, I’m sure you are aware that the Windows 10 update has been released. Naturally, it isn’t without it’s flaws, and one of the biggest is the concerns about privacy. Many articles and blog posts have been written about the intrusion by Microsoft into your personal information, such as the one rumor flying around that Microsoft will use your computer (and thus your bandwidth) to send out updates to other users. Is there much ado about nothing, or does the public have some valid concerns? I upgraded to Windows 10 just a few days ago, and wish now that I’d read this before installing. But read on!

Ask Bob Rankin‘s blog tells about five things you must do now to protect your privacy on your Windows 10 OS.

If you allow Windows 10 to upgrade your existing system automatically, as I did, it will enable many default settings that you may not want enabled.

Bob discovered five privacy-related features you may want to tweak or disable. Here they are…I lifted this directly from the article, which you can find by clicking here: Do These 5 Things Now.

“Windows Update Delivery Optimization (WUDO) is a peer-to-peer file distribution server, like a Bittorrent client, built right into Win 10. WUDO doesn’t just speed up delivery of Windows updates to you. Instead, pieces of the Win 10 installation and update files on your machine and/or local network may be distributed to other Win 10 users who need them.
Windows 10 Privacy settings

“Instead of investing in a global content-delivery system, Microsoft is using YOUR upload bandwidth to distribute its product! There’s no evidence that WUDO is a threat to your privacy or security, it’s just a bit icky. And who knows if it might not be subverted by Evil Hackers tomorrow?

“If you have a fast Internet connection (especially the upload speed), you’re a trusting soul, and you don’t mind facilitating the distribution of Windows 10 to your friends and neighbors, do nothing. But if you prefer to disable WUDO, follow these steps:
•Open the Start Menu
•Click or tap “Settings”
•Select “Update & security”
•In the left-side pane, select “Windows Update”
•In the right-side pane, select “Advanced options”
•In the new right-side pane that opens, select “Choose how updates are delivered”
•Move the slider control under “Updates from more than one place” to “OFF”

“WiFi Sense is a Win 10 (and Windows Phone) feature that I think is nonsense. It lets your contacts, Facebook “friends,” and Skype contacts share your WiFi network without knowing the network key. You get access to their WiFi networks, too. But I don’t want share my WiFi with all of those contacts, and WiFi Sense does not permit discrimination at the individual level. Also, if some of your contacts have your network key and use WiFi Sense, you may get total strangers using your WiFi.

“Fortunately, this feature is also optional. To learn more about WiFi Sense, and for instructions on how to disable it, see my article Is Windows 10 WiFi Sense Nonsense?

“Should you opt out of personalized ads? This one is tricky. With ad personalization turned on, Microsoft will try to show you the ads that are chosen ‘based on the sites that you visit, your online searches and more.’ Some find this useful, and some find it creepy, when they see ads for products directly related to web pages they’ve recently browsed. Turning off ad personalization won’t turn off ads, but it will ensure that the ads you see are completely unrelated to your interests. Again, Microsoft makes it easy to turn it off; just visit this link and toggle tracking “off” in your browser and on your Microsoft account, if you ever use one.

“But don’t think that ends the collection of data about your online or even offline activities. Consider what’s in the privacy policy linked at the bottom of the page:

” ‘Microsoft collects data to operate effectively and provide you the best experiences with our services. You provide some of this data directly, such as when you create a Microsoft account, submit a search query to Bing, speak a voice command to Cortana, upload a document to OneDrive, or contact us for support. We get some of it by recording how you interact with our services by, for example, using technologies like cookies, and receiving error reports or usage data from software running on your device. We also obtain data from third parties (including other companies).’

Cortana is a personal assistant built into Windows 10. It’s ability to respond to voice commands is similar to Siri on the iPhone, or the “OK Google” feature on Android phones. Some pundits believe that Cortana is the omnipresent, silent observer of everything you do, online or offline, reporting it back to Microsoft. I’m not so sure about that. But to disable Cortana and end the collection of data through it, type “cortana” in the search box and click on the first link in the search results (system settings). Then slide the off/on switch to “OFF”.

“Last but not least, wade through the 13 pages (yes, thirteen!) of Privacy Settings and turn off whatever seems appropriate. Type “privacy settings” in the search box to find the link to that system settings page.

“It’s a bit tedious to batten down the privacy hatches in Windows 10. But at least Microsoft makes it possible to do so. And remember, this isn’t just an issue with Microsoft. Most of the snooping (and perhaps more) that Windows 10 does is also done by Google and Facebook.

“Google recently implemented a Security and Privacy Dashboard that makes it fairly easy to understand and manage the related settings. But Facebook gives you few privacy controls, and obscures their privacy and data collection policies in a collection of documents containing over 20,000 words.

“Don’t get me wrong on Windows 10. For the most part, I’m very pleasantly surprised at how well the folks in Redmond reponded to the many (well deserved) criticisms of Windows 8. Win 10 is a huge improvement in usability, and will probably speed up your computing. But information is power, and it’s better to have that power in your hands. Take a few minutes to review and tweak your Windows 10 privacy settings.”

I hope you find this information helpful.

I remain respectfully yours,
~ Suzanne Piers, ZoHa Islands Blogger/Social Media

Windows 10: A User’s Perspective

ZoHa Islands resident Traugh Underwood (Bluebane Akula) contacted me in-world recently, and said that he was a Windows 10 user and would be happy to answer any questions I might have about the OS. I was delighted that he was willing to discuss his experiences with Windows 10 and sent him a note card with my questions, which he most graciously answered for me. Below is Traugh’s discussion of his experiences with Windows 10. (Traugh lives in the UK).

——————————————————————-

Q: How long have you been using Windows 10?

A: Since October 1st, 2014. As a technical support for a lot of my friends, I wanted to get used to it quickly. Despite Microsoft advising people not to do so, I have been using as my only OS on my PC since then.

———————————————————

Q: Are you using the Alpha version or Beta version, if there is one? Has it been real buggy?

A: Its always been beta. There have been some bugs, especially in the early builds. But unlike other operating systems, Microsoft had a special insider app for Beta testers we could send feedback through, and a LOT of changes have happened along the way because of insiders voicing their opinion, even down to silly things like the icon for the recycle bin.

———————————————————

Q: What OS were you using before Windows 10?

A: I was using windows 8.1 before i jumped up to 10. 8.1 was very controversial. Although I can understand why people didn’t like it, for me the change in 8.1 to the start bar that people were so upset about, was far outweighed by the benefits of apps and a much faster OS than 7.

———————————————————

Q: Did you ever use Windows 7, and how does Windows 10 compare?

A: I did use 7, from its launch until Win 8 was launched. How does it compare to 10? Ummm well 10 is as if 7 and 8 had a baby. So take all the things you like about 7 and combine it with added apps, faster booting, better memory management and a much better DirectX system.
Also for gamers and multitaskers especially, the multi-desktop is invaluable if you only have 1 monitor. I actually dropped my second monitor because I just wasn’t using it on windows 10.

———————————————————

Q: What do you like best about Windows 10 in general?

A: It’s difficult to pinpoint just one thing, to be honest. There are a lot of things in Windows 10 that I now use daily. Cortana is very useful when I’m feeling lazy and just want to tell my PC to do stuff instead of clicking and using my keyboard. Multi-desktop is invaluable especially as a gamer as you can devote one desktop just to running a full screen game, and then switch desktops to check things without having to use alt tab (there is a shortcut to change screens – Crtl-Win-Left/Right). The notification bar is very useful to anyone used to a smart phone. It’s wonderful to have the ability to see whats going on with the PC without having all the annoying pop-ups you used to get in 7 and 8. But above all else, I would say the performance boost is what I really admire about Windows 10.

———————————————————

Q: What do you like least about Windows 10 in general?

A: Up until this point its been certain bugs, or when some app you use daily stops working and you had to wait a few days for the fix. But that’s something you have to accept when beta testing, and for the past week everything has been working flawlessly.

———————————————————

Q: How does Windows 10 interface with Second Life? Good and bad?

A: Second Life runs exactly as it did on all my other OS’s I personally don’t see a difference, but a friend of mine running Windows 10 on an Apple machine saw vastly improved frame rates. On Apple OS, he gets 15 fps. On windows 10 he gets 25/30 fps.

———————————————————

Q; What viewer are you using for Second Life?

A: As a builder I use a combination of Firestorm and the official viewer, depending on what I’m doing.

———————————————————

Q: Did you change viewers because of Windows 10? If so, what were you using before?

A: I haven’t changed any programs I was using since windows 7. Since 8 and 10 are built upon 7’s code, I’ve not found any incompatibility so far moving up from 7.

———————————————————

Q: Do you do other gaming besides Second Life? If so, what do you play and what do you like or dislike about Windows 10 as it pertains to your gaming experience?

A: I play a LOT of games on Steam, I currently own over 150 games, as well as software. I’ve tried every one of my games testing them during the beta process, and not had a problem with any so far.

———————————————————

Q: Finally, would you recommend that Second Life residents upgrade to Windows 10 right away, or wait awhile? Why or why not?

A: That’s an interesting question. I would say it comes down to personal preference. If you’re someone who is competent with technology and likes the idea of having the latest in features, then you may want to get it straight away. If not, then you may want to wait a little while. Personally I don’t see a downside to it, and I have personally helped a bunch of people make the transition from Windows 7 and 8 up to 10, and nobody has ever complained about it. Most have said its the best version yet. But all that aside, my biggest advise would be don’t just read one review. If you decide to wait, everyone will have their own personal view on Win 10 including me, and to really get a good view, you will need to look at multiple reviews and make a decision for yourself.

———————————————————

Please comment about anything else you’d like to say, good or bad, about Windows 10?

In reference to the “forced update” conspiracy everyone is ranting about I have this to say:-

Windows 10 does do SOME forced updates. This is exactly the same situation LL had to do not so long ago. They had so many people running outdated viewers on Firestorm, and even some still on Phoenix that they were forced to deny access to SL on any viewer that wasn’t mostly up to date. This was for the benefit of all SL residents and for SL as a platform.

Windows 10 pushes updates to the PC that are required for the improvement of the user experience, so stuff like bug fixes, security hotfixes, etc. However there is also an addition released last Sunday to allow users to choose updates not directly linked to the actual OS; for example graphics updates, sound drivers etc. These will be optional, so if you don’t want to do them you wont have to, which is very good news for gamers who don’t want to update their nvidia/AMD graphics drivers. In the past, updating drivers on AMD, for instance, caused problems in SL so you couldn’t see mesh avatars/clothing etc.

Best wishes, Bluebane Akula.

———————————————–

Thank you so much, Traugh, for your first person perspective on using Windows 10! It sounds exciting and I am really looking forward to the ability to have two screens on one monitor, among other things. It sounds like Windows 10 is mostly positive, taking the good things from both 7 and 8.1 and melding them into an OS that is going to be user friendly. SL residents would benefit from the upgrade to Windows 10, and I personally will be upgrading with it’s initial release on July 29th. I’ll let you know how it goes!

I remain respectfully yours,
~ Suzanne Piers, ZoHa Islands Blogger/Social Media

Windows 10 Update

I’m sure by now most of you have heard about the hoopla surrounding the new Windows 10 update. This OS for PCs will be the be all to end all, and is the last version of Windows that Microsoft will release. How could that be? Well, they will begin to release updates to Windows 10 with versions, kind of like the viewers do for Second Life. For instance, Firestorm is on viewer 4.7.1 (45325), so I assume we will eventually see Windows 10.2.4.20 or whatever.

Most people who have upgraded to the Windows 8.1 have moaned and groaned about its aggravating interface. Windows 7 users seem quite happy with their version, but with the release of Windows 10, support for both Windows 8.1 and Windows 7 will eventually be discontinued. Microsoft is very focused on getting users on board with Windows 10. Microsoft insists that Windows 10 is the be all to end all of operating systems.

One of the things that has caused so much uproar is the “forced” update. Many conspiracy theorists and control freaks have a problem with Microsoft “forcing” this update on them. People worry that it is way too big brother, similar to the Xbox fiasco where they forced users’s web cam to be active and Xbox connected to the internet all the time, whether the user wanted it to or not. PC users with Windows 10 will lose control over Windows updates. The updates will happen automatically, whether you want them to or not.

Switching to Windows 10 will be optional and free for a year after release. After that, you must pay for the upgrade, which will cost approximately $119 USD. They will quickly discontinue supporting Windows 7 and Windows 8.1, because having a unified OS is Microsoft’s ultimate goal.

windows 10 iconIf you have an updated, officially registered legal copy of Windows 7 or Windows 8.1, you may have noticed the new little Windows icon at the bottom right of your computer screen. If you can see it that’s because you qualify for the free upgrade to Windows 10. Clicking that link opens a small popup that tells you a little bit about the new OS and then asks if you would like to register to receive Windows 10 on July 29. Registering will allow Microsoft to patch your PC with a few updates between now and then to speed up the full upgrade when it becomes available next month. If you’re wanting to switch that’s quite the little bonus. The big question is: will you make the switch?

Windows 10 update window
There are many pros to making the leap to Windows 10. Windows 8.1 users will be happy to hear the Start Menu will be back. Windows 10 is a little less touch-centric. Gamers will be excited to see the new PC to Xbox integration. Direct X 12 will be built into the system, which will be great for anyone that is into gaming. There is a new version of Internet Explorer, called Edge. Hopefully it will prove to be a much more viable choice in comparison to it’s predecessor. Windows 10 also adds the convenience of Cortana, which will be useful. Cortana is an intelligent personal assistant and knowledge navigator which has been on the Windows Phone 8.1 and will be added to the Windows 10 and the Xbox One. However most people are excited about the most beneficial feature of Windows 10 == the added security. With only one uniform OS, Microsoft will theoretically be able to better manage and protect its systems because they won’t have to divvy their time between each version of Windows.

So what’s the downside, you ask? Microsoft has been fairly silent on that topic. The one thing that has some users concerned is that after switching to Windows 10, users will lose control of updating their OS. Once you’re in, you’re in; you will lose a level of freedom on your system. You will also lose Windows Media Center, but there are other alternatives. In addition to this, some of the new features will have limitations.

There are obviously both pros and cons for jumping to Windows 10 and everyone will feel a little differently about it. Second Life residents worry if the SL viewers will be compatible with the new OS. The answer is yes it should be, and it should improve your SL experience. As always, though, when you install a new OS on your computer, be sure that you also update all of the drivers for your video card and other components to be sure that they are working together. Most of the problems that SL residents have with OS upgrades can be traced to faulty or incomplete installation. As Second Life users, we should be enthusiastic about the perks that Windows 10 provides in the gaming arena. It seems to be a good step in the right direction after the backlash from Windows 8.

I will be upgrading when Windows 10 releases. I’ll keep you posted!

I remain respectfully yours,
~ Suzanne Piers, ZoHa Islands Blogger and Social Media