Page 1 of 2

Scripts Not Running After Restart

Posted: Wed May 22, 2019 9:03 pm
by Koshari Mahana
This doesn't seem to be a consistent problem, it's very random and unpredictable. I've heard from some of the residents of Coopersville that they have had script stop working. There is also a problem (again, seemingly arbitrary) with door scripts being switched to "not running" for no apparent reason. It's not happening often, maybe once a week and with different doors each time. I'm running bulletsim but I've heard from others that this happens with ODE too. Any thoughts?

Thanks!
Koshari

Re: Scripts Not Running After Restart

Posted: Wed May 22, 2019 9:19 pm
by Ilan Tochner
Hi Koshari,

It's good practice to ensure that your scripts handle region start events. Region restarts can happen on any grid so you have to ensure your scripts will know how to handle them.

Re: Scripts Not Running After Restart

Posted: Wed May 22, 2019 10:49 pm
by Koshari Mahana
Hi Ilan, Thank you. The door scripts I'm using I've used for years in many different grids and I have them in the doors of most of the buildings and I've never experienced the scripts not running after restart before, nor has anyone ever reported to me that this has happened to them with my buildings. This is either a new problem or it's specific to Coopersville because it doesn't happen in Four Winds. Then a couple of others said it's happened to them elsewhere so I don't know what to think.

Re: Scripts Not Running After Restart

Posted: Wed May 22, 2019 11:02 pm
by Koshari Mahana
Again, it's arbitrary, it is happening in different buildings each time yet it affects all of the scripts in the linked section even if they are different scripts. Like I said, it doesn't happen all the time, maybe once a week.

Re: Scripts Not Running After Restart

Posted: Wed May 22, 2019 11:57 pm
by Ilan Tochner
Do the script throw any errors? How many scripts to you currently have running in Coopersville? (if you have many it's more likely that problems could occur)

Re: Scripts Not Running After Restart

Posted: Thu May 23, 2019 3:00 am
by Koshari Mahana
No, the scripts that are stopping aren't showing errors. I don't know how many scripts there are in coopersville, how can I find that number?

Re: Scripts Not Running After Restart

Posted: Thu May 23, 2019 4:48 am
by Ilan Tochner
In Firestorm you can open the Statistics Bar by pressing CTRL-Shift-1

You can view more information in the sections inside the Statistics Bar by clicking them (each click opens or closes the additional information section for the section that was clicked).

Re: Scripts Not Running After Restart

Posted: Thu May 23, 2019 10:27 am
by Chris Namaste
yes, i experience the same as koshari in her beautiful sim
its really,as she explains

exemple :
in other sim the sit script (simple scripts & used since long), works fine (in kitely)
in kitely merchant sandbox & some other sims they dont work (i have 10 y sl experience,- im not a scripter at all -,
i just 'know' when someth doesnt work for a reason we dont understand) :),
and its kinda, worrying,since im afraid if we build someth, it wont work everywhere & customers mite b upset
just want to help with this info
thanks:)

Re: Scripts Not Running After Restart

Posted: Thu May 23, 2019 10:46 am
by Ilan Tochner
I just visited Coopersville and found issues that may explain why some scripts don't run consistently well in your world.

There are currently more than 3800 active scripts in your world and enough of them are doing resource-intensive operations when the world is started to drive up CPU usage enough that it's possible that some of their operations may time out during this high-CPU usage period.

I recommend you restart your world and look at the Top Scripts window to check which scripts may require investigation and possible optimization. See: https://kitely.atlassian.net/wiki/space ... erformance

Re: Scripts Not Running After Restart

Posted: Thu May 23, 2019 3:32 pm
by Koshari Mahana
Thanks, I'll try that.