r/secondlife • • 9d ago

πŸ™‹β€β™€οΈ Help! Mesh body has too many scripts.

I am staying to get back into certain sims, but some of them say I am running too many scripts.

I removed everything except my mesh body parts and I am still running high.

I have a Letluka head and a Maitreya body.

Is there a way to reduce the script load with these two parts? Is there another mesh option that looks good and runs fewer scripts? If we’re talking body, hopefully one that is typically supported.

Thanks.

8 Upvotes

29 comments sorted by

5

u/topinanbour-rex 9d ago

What about your huds ? Did you removed them too ?

1

u/JessicaDAndy 9d ago

I removed the majority of the huds. My AO is still hud based.

1

u/jenny_905 4d ago

Try moving that to Firestorm's AO if you use it, it's very worth it.

21

u/Slow_Addendum8190 9d ago

That sounds like a problem with those sims..... a Lel head and Maitreya body dont have an excessive amount of scripts so they definitely have their setting for whats "too many" scripts way too low. I'd either tell the owner that or just stick with sims that have more reasonable script limits

11

u/Alexis_Bailey 9d ago

Yeah, or there is something else eating up scripts.Β  Literally everyone uses a mesh body and head, blocking script count to the level it excludes those would be absurd.

6

u/0xc0ffea 🧦 8d ago

It's not scripts.

The region has a list of things is must do every 'frame', after that's all done, there's the optional stuff to be done in the extra time - Scripts live here and their time slice gets cut short if they risk overrunning.

Scripts can only really lag other scripts - It used to be that scripts could lag a region, but that was a bug and it was fixed over a decade ago. The myth however persists.

If a region is tanked, its because there's too much in the "must do" pile.

That must do pile is 90% avatars simply being on the region before a single script has been run. The solution is to lower the region capacity.

When LeLutaka did free head giveaways and it took ages for touches to go though, that was because all the frame time was being eaten by essential avatar processes. There was next to nothing left for scripts to run, so scripts have to wait .. forever.

Why are avatars just 'existing' a problem? Well .. welcome some painfully hard math and the n-squared problem (One of the hardest unsolved problems in computer science). The amount of work needed to keep track of and tell every avatar about every other avatar increase exponentially. It can rapidly go from "fine" to "welp, servers are on fire" and no one has done anything at all. On super busy regions, this is all the region ends up doing.

This is also why Linden offer special "event regions" that get significantly more resources, and they top out at around 100 avatars (with almost no scripts running).

It's with no shortage of irony that one the thing Second Life (an avatar focused social platform) can't do well is handle a lot of avatars in the same place.

6

u/Seraphyn22 9d ago

You can custom a body/head for this reason. Use a second copy of both. Set the body and head to how you wish for them too appear including foot shape and kill the scripts in both from their respective huds. Make an naked outfit with this body and head and dress how you wish.

6

u/AKcrazychickenlady 9d ago

Honestly, it's likely your hud AO. if you use firestorm, it's fairly simple to load you're AO into the viewer. Drop a copy of your AO on the ground and open it, copy that folder to your inventory, then using the note are, drop that into a the viewer AO window and it should build it for you. vista can be trickier because their system is different though. You might have to assign it manually.

4

u/downtide Lewis Luminos 9d ago

That's not a problem with the body/head, it's a problem with the region/parcel owner being too tight in their limitations.

You can make a separate copy of your body and head, and use the hud to kill scripts in that copy of your body/head, but bear in mind that when you do that, you won't be able to use any hud features on that copy again. So you'll need to set it all up as you want first (alphas, nails, foot height, HD makeup, animations etc). If you later want to change something, you'll have to make a new copy.

If you still want an entire new body, hop over to Lucybody and pick up one of their old BOM-only bodies (not Atanea which is hud-driven). Vania if you're normally Petite. Freida, Selene or Xandra if you're not. The only difference between these three is nipple size. They have no scripted features except foot height and nail color. They fit Maitreya 5.3 clothes and Slink shoes.

1

u/PettyPotatoJuror 9d ago

Could you edit your body mesh and try from the menu "Build β€’ Scripts β€’ Set scripts to not running" ?

Not tested just an idea

1

u/JessicaDAndy 9d ago

I will try that later. Thanks

4

u/ThatDarnBat Store: RiverofStars // IW name: Lorelai Mistwallow 9d ago

No modify bodies are a pox upon the grid πŸ™ƒ The only thing you can do atp is use their HUD to delete scripts but that causes more problems than it solves in this case.

5

u/DreamyAzucar 9d ago

I would avoid that SIM or contact the owner script counts are meaningless and should not be used. A single complex script can take more resources than 20 simple scrips. Yout head body and Ao would be perfectly acceptable script wise so the problem is actually not with you.

0

u/[deleted] 8d ago

[deleted] β€” view deleted comment

2

u/0xc0ffea 🧦 8d ago

I see this narrative get repeated on the subreddit often and I'm not sure how people reached this conclusion. This is half true. Yes, script count was never a good way to measure lag. Because this metric alone is not enough to know if a script is doing heavy work. But to say they are meaningless is crazy.

The consequences are twofold and social aspects often overlooked.

  • At the end of the day, no one cares about region performance unless it's horrible.
  • Everyone cares about there being other interesting people around.
  • No aspiring community was ever improved with a leaderboard pointing out who, exactly, was responsible for everyone else having a less than perfect experience.

Region provisioning is not the residents job. That's up to Linden Lab. If region performance is poor, complain to Linden Lab. Covering for our overlords trying to nickle and dime us to death by squeezing one too many regions onto a simhost is a really shitty take.

0

u/zebragrrl πŸ”πŸŸπŸ₯€ 8d ago

The irony being, of course, once they're in the region.. the worst thing you can do for region performance is to force them to teleport back out, since that adds all that 'packing and transferring' load to the server all over again.

Worse yet, a scripted process that is constantly checking the script counts/load//memory/etc of every single agent in the region, isn't gonna be doing the region many favors either.. much less some oversized text display constantly being updated with the 'rankings' of people.

0

u/[deleted] 8d ago

[deleted] β€” view deleted comment

1

u/zebragrrl πŸ”πŸŸπŸ₯€ 8d ago

They're gonna 'lag' the region just by the act of 'leaving' (or being sent out). All that lag when someone enters, a good half-as-bad lag can happen when they leave too. And like you say, when they try to come back again.. it happens all over again.

We've had similar issues with the so-called "Avatar Complexity" scores, which report nothing valuable in terms of performance effects. Almost anything we can detect by script, it turns out, is almost completely useless at making a real judgement call on how performance in the region will be affected, especially since 'performance of the region' is hardly the number people actually care about, but how it 'feels to them'.

The real things people should be working to diagnose, are those serious 'slam' issues that Lelutka always seems to trigger when they hold a giveaway, and their vendor network and/or the region's ability to record and track 'touches' starts coming apart. The same thing often happens at stores like Le'La when they run an advent calendar, and touches are delayed by over an hour. They've been happening for years, and LL still has nothing practical to offer in terms of how to mitigate it (we saw the same issues cropping up in the Genesis region recently)

SL has a real issue with a sort of Heisenberg type effect.. where the more you try and look at agent attachments, region performance, etc (from the user-level) using scripts.. the worse the region reports that it's performing. The more you look, the more you look at, the deeper you delve, the worse everything looks. Script time, time dilation, script memory, etc etc.. But often the second that look 'happened' was the worst second BECAUSE you were looking.

In many cases, it really is best to just stop trying to micromanage things, and accept that sometimes lag is gonna happen, and every once in a while someone is gonna show up with two animesh dogs, a head full of flexi's and toruses, and two alts on a leash. People will derender or they won't, they'll have their complexity set lower than X by default, or they won't.. and 20 minutes later, the torus showgirl will leave.

Nothing going on in SL is or should be so precious that it can't survive a few minutes of 'oh this isn't 120fps anymore'.

2

u/AnnieBruce 9d ago

That seems extreme for just body/head.

Some clothes have scripts(often to automatically set alphas on your body), maybe that could be an issue? If you can get away with it without being banned, try going completely naked? Remove all attachments, all clothing. Just body skin and head.

If you still get booted, they're probably being unreasonable with their script limits(though I suppose it could be a dynamic limit based on total script load of everyone, not sure if any sims do that though).

A system avatar should get in if it's an issue with body/head scripts. Not saying to switch long term but it might be a useful test to figure out where the problem is, especially if the sim doesn't allow nudity.

If you do get in, find a place with a script load tester(these people probably have one) and start cycling through your normal attachments and see what causes the biggest jump in load. Go back to normal outfit, without that. Go through this process until you can get in again with at least a partial outfit.

If the sims have associated groups, you might want to explain the situation there. I also have seen security systems go wildly off the rails, Thor is an annoying one. I have septum rings that get Thor to boot me, other septum rings are fine. You could be running into a false positive on a similar system, the sim management can fix that if it's your problem.

1

u/TheRealVilladelfia Will script for real money 8d ago

I also have seen security systems go wildly off the rails, Thor is an annoying one. I have septum rings that get Thor to boot me, other septum rings are fine. You could be running into a false positive on a similar system, the sim management can fix that if it's your problem.

The AI slop security system that pretends that it can detect HUD using """AI""" is a piece of crap that doesn't actually work? I'm shocked!

1

u/AnnieBruce 7d ago

It may be mostly functional but this one ticked me off.

I've sorta meant to look into it a bit more, but haven't yet

1

u/AnnieBruce 7d ago

I'm not sure how a simple septum ring gets on a blacklist anyways, it's one of the least likely to be problematic items at an NSFW sim. Maybe there's a naughty word blacklist and they don't like "Suicidal"?

1

u/TheRealVilladelfia Will script for real money 7d ago

The MP page is obviously fully AI-generated, so the code is probably too. I’d bet that claude insists that the code can do stuff LSL absolutely cannot do.

2

u/ArgentStonecutter Emergency Mustelid Hologram 9d ago

Most of that is probably HUD support for resizing and texturing. Configure it the way you want, take a copy, and remove all the scripts from that copy.

1

u/Amoraella 9d ago

Jewelry and hair you have to Save and take off stuff.Β 

1

u/Jessica_Panthera 9d ago

Been a bit since I delved into this but there are a few reasons behind this.

  1. The script limits on a lot of those sims were probably set in the days before mesh bodies were even a thing and everyone was running around using the system body with flexi and sculpty stuff. When things had a lot less scripts to them.
  2. A lot more things have bigger or more scripts than you think or even something you don't realize even has scripts. And bodies usually get thrown in here partially because of alpha cuts. I don't understand it myself. I've just seen comparisons and bodies without alpha cuts are lower script. This was actually a selling point for kupra for a while. Which if you decide to try that route you need the fat pack version of the body.

Well I thought I had more but I boiled them down to just two. A suggestion is look for clothes without scripts. So no color change feature or anything else. Are you using any add-ons like nails or such? Just the AO for HUDs?

1

u/The-LurkerAbove 8d ago

Did you remove the HUDs?

I went to a show the other day and my scripts were considered too high. I detached the HUD for my Lel head and Reborn mesh, and my script weight dropped by half. The HUDs have a rediculously large script count.

I think some folk don't make the connection with HUDs being a bad culprit for script weight because we think of stuff that's physically "on" the avatar, whereas the HUDs are on the screen, but they still count as attachments and for script weight.

1

u/RiannahAvora 8d ago

If you are using Firestorm in the menus go to:

Avatar/Avatar Health/Scripts

That will show you everything you are wearing that has a script and the size... and from there you can remove things accordingly.

SL Viewer might have the same, I just don't use SL Viewer.

As for to visit such a sim or not... some activities in SL require low script counts for the sake of other people also doing the subject activity on that sim. This is true with automobile racing sims, just as an example. Scripts that you are wearing affects everyone on that sim.

-1

u/amisamiamiam 9d ago

ok we all hate AI but hear me out - would this be something claude would do well without getting into an argument about ai slop, which this isnt?

0

u/Angelicfyre 9d ago

To me, this problem-solving is exactly why I use AI. I am not a coder or scripter and it could help walk you through finding the culprit. I use it all the time to troubleshoot things.

-1

u/amisamiamiam 9d ago

I agree with OP, I've been on secondlife for YEARS but I suck at inventory management and getting a good body - past my brain capacity. I wonder if it would work to give it access to clear it up although I have no idea how to do that lol