Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Auto-group activation when entering group area?

Tre Ugajin
Registered User
Join date: 11 Aug 2008
Posts: 11
01-10-2009 17:31
Ok. I am sure I am not the only one with this same situation but I am unable to find anything by searching Google and the SL Forums that is helping at all.

I rent a section of an island sim. As part of the rental agreement for this plot, I also get a section of land on another sim to use for a business/shop/store.

I have the rights to change and edit my group on the residential plot, but the group name on the commercial plot is preset and we are unable to change it... thus we have two groups for our properties.

I build, rezz, and edit all over SL... home, store, sandboxes, friends lots.... everywhere I get a notion to drop an object and start creating. Unfortunately, to do this, I need to activate my group tag for the location I am currently at (except for free sandboxes and public building zones, of course), otherwise my object soon disappears into my "Objects" bin and I get the "Your object has been returned to your inventory because you are not authorized to rezz here" type of message...

Mumbling at this annoyance, I head for the group menu and activate my group... build my creation, pull it back to inventory, and head to my store to drop it for sale... but shortly after dropping it down, it is again returned to inventory because I forgot to change my group tag when I entered my own property.

PLEASE! Tell me there is a script, script process, or some kind of setting that can be adjusted (aside from group name modification, of course) that will automate by recognition, the process of activating a group tag as you enter a parcel of land that you are authorized into a group for.

So simply put, I want to teleport to my store and have a lil message from the Parcel tell me I am recognized as a member of "so-and-so" group. And then when I teleport to my house, I want a new lil' message to pop up saying I am now recognized as a member of "so-and-so 2" group, thus eliminating the frustration and annoyance of having to activate group tags each time you TP to an area you are a member of.

I am new enough to SL that I wouldn't know what scripting code I would even begin to look for, or how to call the group tag functions of SL. I am not even sure it is possible on the client side, even through scripting....

So, is there either a way to make this happen via client side modification? Or should I bring this up to the dev team for a suggestion in the next release candidate?

Thank you well in advance for any and all help and info on this issue... and I know I am speaking for a LARGE group of SL members when I say that a solution one way or another will be ULTIMATELY appreciated World-Wide!

.:Tre:.
Gordon Wendt
404 - User not found
Join date: 10 May 2006
Posts: 1,024
01-10-2009 17:36
Unfortunately no, however you can make it so that whenever you, anyone on a list, or just anyone who comes in range, arrives within range of it and/or on you're property they get sent an IM or a notice reminding them to set the right group to active. You can even set it to spam them repeatedly until they do however that may be a TOS violation and isn't recommended except for use on yourself or people who understand and give explicit permission.
_____________________
Twitter: http://www.twitter.com/GWendt
Plurk: http://www.plurk.com/GordonWendt

GW Designs: XStreetSL

Tre Ugajin
Registered User
Join date: 11 Aug 2008
Posts: 11
01-10-2009 17:45
Well, darn. Do you think that this is something that could go up a an idea to the dev team for future releases?

Also, being n00b enough still and having trouble trying to get LSL down in some kind of clear way;

If I have 3 group members that need to be reminded as they enter a parcel to set their active group, what kind of code am I looking at? Is there something existing already?

Thank you for your help :)
Gordon Wendt
404 - User not found
Join date: 10 May 2006
Posts: 1,024
01-10-2009 17:53
From: Tre Ugajin
Well, darn. Do you think that this is something that could go up a an idea to the dev team for future releases?

Also, being n00b enough still and having trouble trying to get LSL down in some kind of clear way;

If I have 3 group members that need to be reminded as they enter a parcel to set their active group, what kind of code am I looking at? Is there something existing already?

Thank you for your help :)


People have asked for being able to script recognition of what groups a person is a member of for years however I think due to technical as well as massive privacy reasons it's never been seriously considered by LL and it's fairly controversial for privacy reasons among the resident community.
_____________________
Twitter: http://www.twitter.com/GWendt
Plurk: http://www.plurk.com/GordonWendt

GW Designs: XStreetSL

Tre Ugajin
Registered User
Join date: 11 Aug 2008
Posts: 11
01-10-2009 18:05
From: Gordon Wendt
People have asked for being able to script recognition of what groups a person is a member of for years however I think due to technical as well as massive privacy reasons it's never been seriously considered by LL and it's fairly controversial for privacy reasons among the resident community.


Makes sense I suppose.

I have looked at a few of the auto-greeter type scripts and they appear to be setup to IM anyone entering the parcel... do you know if there is a script out that is more along the lines of your description, an working on a private level as opposed to telling everyone who enters to switch their groups?

I think I am just not searching for the right keywords because I keep getting info about auto-greet/welcome scripts for all who enter.
Gordon Wendt
404 - User not found
Join date: 10 May 2006
Posts: 1,024
01-10-2009 18:14
From: Tre Ugajin
Makes sense I suppose.

I have looked at a few of the auto-greeter type scripts and they appear to be setup to IM anyone entering the parcel... do you know if there is a script out that is more along the lines of your description, an working on a private level as opposed to telling everyone who enters to switch their groups?

I think I am just not searching for the right keywords because I keep getting info about auto-greet/welcome scripts for all who enter.


Not off the top of my head but you can always start a new thread in the products wanted section and I'm sure there's plenty of people who would be willing to script one to your specifications for you although it will probably cost you a little bit even though it should be fairly cheap since it's a simple script.
'
If you'd rather I'd be willing to script one for you too.
_____________________
Twitter: http://www.twitter.com/GWendt
Plurk: http://www.plurk.com/GordonWendt

GW Designs: XStreetSL

SuezanneC Baskerville
Forums Rock!
Join date: 22 Dec 2003
Posts: 14,229
01-10-2009 18:22
llGetParcelDetails can return the key of the group that owns a parcel or that the parcel is set to.

One might be able to use llHttpRequest with an url of the form http://world.secondlife.com/group/UUID and parse the group name from this.

I think there is a service of some kind to simplify this kind of use of data available from world.secondlife.com but I don't recall what it's called at the moment.

This code could go in an attachment or a hud that would tell you - hey, this is SuchAndSuch group's land, set you tag if you want to build here.

This wouldn't be setting the tag for you but a reminder might be of some value.

I'm seeing stuff saying an url of that form is too long for llHttpRequest, but I bet there's a workaround to that.
_____________________
-

So long to these forums, the vBulletin forums that used to be at forums.secondlife.com. I will miss them.

I can be found on the web by searching for "SuezanneC Baskerville", or go to

http://www.google.com/profiles/suezanne

-

http://lindenlab.tribe.net/ created on 11/19/03.

Members: Ben, Catherine, Colin, Cory, Dan, Doug, Jim, Philip, Phoenix, Richard,
Robin, and Ryan

-
Gordon Wendt
404 - User not found
Join date: 10 May 2006
Posts: 1,024
01-10-2009 18:23
Ignore the previous post by me, I'll code something quick and simple up for you that will do what I said above. Pay me if/what you want, don't pay me anything, it's such a simple and fast job it doesn't really matter. Depending on how I do it I'll post it up here and/or send you a copy depending on how specific I make it.
_____________________
Twitter: http://www.twitter.com/GWendt
Plurk: http://www.plurk.com/GordonWendt

GW Designs: XStreetSL

Gordon Wendt
404 - User not found
Join date: 10 May 2006
Posts: 1,024
01-10-2009 18:30
I was going to point you to the products request forum so you can get one coded for you but that means you'll have to pay someone some inflated price for something that takes a good coder 5 minutes to code so I'll script one up for you quickly.
_____________________
Twitter: http://www.twitter.com/GWendt
Plurk: http://www.plurk.com/GordonWendt

GW Designs: XStreetSL

Tre Ugajin
Registered User
Join date: 11 Aug 2008
Posts: 11
01-10-2009 18:54
I dont mind paying something for the work... I would think your knowledge is worth something, otherwise we would all have the same knowledge!

I see that I forgot to refresh the thread prior to posting my original reply as your message changed and another message was added from Suzanne (thanks Suzanne as well).

If you want to quote me a price, I can trade you in-world L$ for script? If that is okay I mean... :)
Gordon Wendt
404 - User not found
Join date: 10 May 2006
Posts: 1,024
01-10-2009 19:34
Here's a simple script to do what you want, it will notify you repeatedly if you're within range but don't change you're active group and will only notify you. This version won't check if you're on you're own land so if you're anywhere within the set parameter of meters it will trigger, it also won't check that you own the land that you have it on and will trigger at the set interval as long as you're within range and don't have the right group active.

Now that you've got me interested though I may very well do a more complex version which I'll either sell or put the code up for free for on the Secondlife Wiki.

CODE

// KEEP THIS HEADER SECTION INTACT

// This code is licensed CC-BY-SA
// The information for this license can be found at
// http://creativecommons.org/licenses/by-sa/3.0/

// Simply put you can modify this and give it away but you have to credit
// me (Gordon Wendt) as the original author as well as any authors of other
// pieces of the code and you have to release any versions you sell or distribute
// under the same or similar license

// If you need more information on the license go to the link listed above


// END OF HEADER SECTION
//---------------------------------------------------------------------


// the range you want the scanner to detect you in
integer range = 96;

// the delay between sensor checks
//higher means you may not be notified as quickly,
//lower means you'll be notified faster
//but will be notified more often
//if you don't change you're active group
//and lower causes more load on the simulator.
integer delay = 30;

// the message you want to see
//if you have the wrong group active
string msg = "You have the wrong group active, change you're active group";

default
{
state_entry()
{
llSensorRepeat("",llGetOwner(),AGENT,range,PI,delay);
}

sensor(integer num_detected)
{
if (llSameGroup(llDetectedKey(0)))
{
}

else
{
llOwnerSay(msg);
}
}
}
_____________________
Twitter: http://www.twitter.com/GWendt
Plurk: http://www.plurk.com/GordonWendt

GW Designs: XStreetSL

Gordon Wendt
404 - User not found
Join date: 10 May 2006
Posts: 1,024
01-10-2009 19:48
From: Tre Ugajin
I dont mind paying something for the work... I would think your knowledge is worth something, otherwise we would all have the same knowledge!

I see that I forgot to refresh the thread prior to posting my original reply as your message changed and another message was added from Suzanne (thanks Suzanne as well).

If you want to quote me a price, I can trade you in-world L$ for script? If that is okay I mean... :)


I am just going to release this script under the CC-BY-SA license (more information on that is at the top of the script in comments) and while I may make a more complex version that I'll either sell or release I don't want any money for this. If you want to pay something for getting this script though please make a donation to NCI Golem who is the payment alt for New Citizens Inc (NCI)

NCI is a nonprofit in SL that does great work helping new residents and older residents alike by helping new residents learn and get used to SL and by hosting classes and other great educational events.
_____________________
Twitter: http://www.twitter.com/GWendt
Plurk: http://www.plurk.com/GordonWendt

GW Designs: XStreetSL

Tre Ugajin
Registered User
Join date: 11 Aug 2008
Posts: 11
01-10-2009 20:06
Well that is really cool of you.

I will certainly make a donation to NCI as I am sure there are plenty of people in SL just trying to get on their feet and can use the help.

I will test the script tomorrow.

Much appreciation and good luck with an advanced version as well!!! Glad to see you are interested :)
Gordon Wendt
404 - User not found
Join date: 10 May 2006
Posts: 1,024
01-11-2009 11:23
A note on Usage:

If you are on land that is owned by a group you need to have the object be set (I'm not sure if need to deed it) to the same group for it to work properly.
_____________________
Twitter: http://www.twitter.com/GWendt
Plurk: http://www.plurk.com/GordonWendt

GW Designs: XStreetSL