Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

on/off switch for scripts on your property

Winter Phoenix
Voyager of Experiences
Join date: 15 Nov 2004
Posts: 683
04-28-2005 14:46
I think we could use an on/off switch for lag inducing scripts on your own property. So when your done for the night you can flip a switch and all your hide/show balls and smoking chimneys shut off. Your nieghbors would thank you. This would have to have an altitude ceiling attributed to it so you wouldnt kill everybodys blimps and spaceships that needed to traverse your airspace, maybe a warning message could come up and say " adjust altitude over 200 meters, scripts disabled" or something of that nature.
This not only would make your neighbors happier when your not around, but you could use it yourself when you wanted to have a bunch of guests over for a chat and didnt need your steaming waterfalls and door counters slowing down the bandwidth. Just flip a switch and poof. Yes, no, maybe?

Vote on Prop 301
_____________________
~GIVEN FREE REIGN THE SYSTEM WILL TELL YOU,
WHAT TO DO,
WHEN AND HOW TO DO IT,
WHAT YOU CAN READ, VIEW, OR LISTEN TO,
WHAT YOU CAN SAY,
WHAT YOU CAN DO WITH YOUR OWN BODY,
AND SUCK ALL YOUR MONEY OUT OF YOUR POCKET WHILE IT DOES THIS!
QUESTION AUTHORITY!~ W.P
Gydeon Fox
Registered User
Join date: 4 Mar 2005
Posts: 148
How would the switch know what to turn off?
04-28-2005 14:59
A global button might not work because of the diversity of all the scripts out there. I'm not a game developer, of course, but it would seem to me that this could be solved in the Script Library. Somebody could write an on/off button script which would disable the thing it's attached to.

That way, if you have a bunch of things listening, you could call out some code and they'd all shut themselves off... I think. But then wouldn't you have to click on them to make them start listening again? Hmm... maybe one of the scripting pals could clear this up for us?


Gydeon.
Winter Phoenix
Voyager of Experiences
Join date: 15 Nov 2004
Posts: 683
04-28-2005 15:05
hmmm, well we have a switch that shuts down OUTSIDE SCRIPTS from our property,
wouldnt this just extend to include OUR OWN scripts as well? The altitude ceiling part would need to be added. Dunno the technical ramifications of this, just like the concept lol.
_____________________
~GIVEN FREE REIGN THE SYSTEM WILL TELL YOU,
WHAT TO DO,
WHEN AND HOW TO DO IT,
WHAT YOU CAN READ, VIEW, OR LISTEN TO,
WHAT YOU CAN SAY,
WHAT YOU CAN DO WITH YOUR OWN BODY,
AND SUCK ALL YOUR MONEY OUT OF YOUR POCKET WHILE IT DOES THIS!
QUESTION AUTHORITY!~ W.P
Nekokami Dragonfly
猫神
Join date: 29 Aug 2004
Posts: 638
04-29-2005 13:16
It would be nice if the switch (or script add-on) would detect when the land owner isn't there and shut off automatically. Though I suppose that wouldn't let other people enjoy your steam sauna or whatever while you're gone.

Not that I really mind the bubbles blowing out of the house next door whenever the wind is right, but yeah.... a way to conveniently "turn out the lights" when you're leaving could help encourage more neighborly behavior.

I think a larger issue may be that many newer players don't even realize they're lagging the sim with lights and particles. I know I didn't understand what kinds of loads different effects caused for at least my first month.

neko
Margot Abattoir
Senior Member
Join date: 15 Jul 2004
Posts: 234
04-30-2005 06:50
Ty...I'd be very, very interested in an 'on-off' switch for the falls that I do...rather than compromising aesthetics...which is what I plan to do...too much lighting and scripts does not a comfy, lag-free neighborhood make :(

5k to the scripter(or) that can do one for me...that works...:)
si Money
The nice demon.
Join date: 21 May 2003
Posts: 477
04-30-2005 09:08
It's very easy for an on/off function to be added to any script. If you were to add the same command to all of your scripts, say listen for "goodnight" on channel 10, you would then simply be able to:

/10 goodnight <press shout>

And everything would turn off.
_____________________
Like a soul without a mind
In a body without a heart
I'm missing every part

-- Progress --
Catherine Omega: Yes, but lots of stuff isn't listed. "Making UI harder to use than ever" and "removing all the necessary status icons" things.... there's nothing like that in the release notes. :)
Jillian Callahan
Rotary-winged Neko Girl
Join date: 24 Jun 2004
Posts: 3,766
04-30-2005 10:47
From: Margot Abattoir
Ty...I'd be very, very interested in an 'on-off' switch for the falls that I do...rather than compromising aesthetics...which is what I plan to do...too much lighting and scripts does not a comfy, lag-free neighborhood make :(

5k to the scripter(or) that can do one for me...that works...:)
I've looked at your falls... mostly because they're very pleasing to look at. :D

You use one-call particles and one-call texture animations. Your scripts are, by and large, not active. If anyone is feeling "lag" (and this isn't really what the term means, but people use it this way all the time...) it's local to thier machine, and is really slowed frame-rate from having to draw particles, animate textures and draw lighting. No change in the way you use your scripts would help that. In fact, adding something to turn that on and off *would* add lag. Whether from a repeating sensor to make it happen automatically, or from the listens that would be nessesary to give all the prims a central switch.
_____________________
Winter Phoenix
Voyager of Experiences
Join date: 15 Nov 2004
Posts: 683
04-30-2005 13:44
Hmm, but what of the feature in your land menu that turns off 'outside scripts'. Is this a 'lag' inducing active/listening device? Im not talking about a user made script to shut this stuff down, Im thinking a built in, incorporated into the SL software, button next to 'outside scripts' called ' ALL SCRIPTS DISABLED' or something. A 'general' shutdown of all things scripty in the moving object, active script zone. A 'power down' switch for a house where nobody is home. Forgive my tech ignorance in these departments, feel free to awaken me to the ramifications of this idea.
_____________________
~GIVEN FREE REIGN THE SYSTEM WILL TELL YOU,
WHAT TO DO,
WHEN AND HOW TO DO IT,
WHAT YOU CAN READ, VIEW, OR LISTEN TO,
WHAT YOU CAN SAY,
WHAT YOU CAN DO WITH YOUR OWN BODY,
AND SUCK ALL YOUR MONEY OUT OF YOUR POCKET WHILE IT DOES THIS!
QUESTION AUTHORITY!~ W.P
Jillian Callahan
Rotary-winged Neko Girl
Join date: 24 Jun 2004
Posts: 3,766
04-30-2005 13:51
From: Winter Phoenix
Hmm, but what of the feature in your land menu that turns off 'outside scripts'. Is this a 'lag' inducing active/listening device? Im not talking about a user made script to shut this stuff down, Im thinking a built in, incorporated into the SL software, button next to 'outside scripts' called ' ALL SCRIPTS DISABLED' or something. A 'general' shutdown of all things scripty in the moving object, active script zone. A 'power down' switch for a house where nobody is home. Forgive my tech ignorance in these departments, feel free to awaken me to the ramifications of this idea.
No, Such a feature probably would not induce any lag. And, it probably would have exactly the effect you intend, to free up server resources for others in the sim. I'm still thinking about what side effects it would have that might be negative, but I'm really not seeing any. :)
_____________________
si Money
The nice demon.
Join date: 21 May 2003
Posts: 477
04-30-2005 17:05
From: Jillian Callahan
No, Such a feature probably would not induce any lag. And, it probably would have exactly the effect you intend, to free up server resources for others in the sim. I'm still thinking about what side effects it would have that might be negative, but I'm really not seeing any. :)


Jillian is correct. It would matter how you define the listener. A lot of people erroneously define listeners which listen on channel 0 for anyone/anything. Your goal would be to create something that listens on a channel other than 0 (so you have almost no event triggers in the first place), then further restrict it to yourself (so only things you say on a non-0 channel), and then further by a command such as "goodnight", which really doesn't leave any room for wasted cycles in listen event triggers.
_____________________
Like a soul without a mind
In a body without a heart
I'm missing every part

-- Progress --
Catherine Omega: Yes, but lots of stuff isn't listed. "Making UI harder to use than ever" and "removing all the necessary status icons" things.... there's nothing like that in the release notes. :)
Winter Phoenix
Voyager of Experiences
Join date: 15 Nov 2004
Posts: 683
05-12-2005 13:23
hmmm, so a /9hide/show isnt always listening? If its a stupid question feel free to shoot me.
_____________________
~GIVEN FREE REIGN THE SYSTEM WILL TELL YOU,
WHAT TO DO,
WHEN AND HOW TO DO IT,
WHAT YOU CAN READ, VIEW, OR LISTEN TO,
WHAT YOU CAN SAY,
WHAT YOU CAN DO WITH YOUR OWN BODY,
AND SUCK ALL YOUR MONEY OUT OF YOUR POCKET WHILE IT DOES THIS!
QUESTION AUTHORITY!~ W.P
Legith Fairplay
SL Scripter
Join date: 14 Jul 2004
Posts: 189
05-12-2005 13:46
I don't think there would be anything wrong with the feature its self.. but I would warn about flaming those that don't use it.

This would be a good feature for private residents who block access from there land to all except some friends.. since presumably no one is in the house when they are not.

I'd like it more if I could define "sub parcels" a finer carving which I could set this on off script to. Since many scripts on my property define it. But some are only used during special occasions. And I'd rather not split up the land in strange ways when i just want object, or location info
_____________________
Butterflies and other creations at:
Legith's Island Park Lozi(44,127)
And on slexchange.com