Group Gift Giver question
|
|
Milla Alexandre
Milla Alexandre
Join date: 22 Jan 2007
Posts: 1,759
|
06-11-2009 13:50
Ok....since I'm not getting any response at all from the creator.......I'll ask you guys. I decided to get a group gift gadget so I can have monthly gifts that people can get from my new shop. I created my group.....read the instructions for the gift box thing ... which were pretty straight forward. But.....nowhere does it mention how to actually set the gift giver to the right Group. So....my main shop is in a rented space in a city sim......meaning of course I have to have my renter group tag activated to rez. Well....dontcha know....the group giver wants to give gifts to people in THAT group. Ok...so....I re-set the box to MY group....put on MY group tag....take it....re-rez it while wearing MY group tag (hoping that I can, cause I'm not sure) and it rezzes fine.....I re-set it to do it's thing.......and it STILL will not give the gift to my group. It still seems to link itself to the LAND.....not the owner. The scripts in the thing are no mod.....so I can't fix it if it's a script issue....but is this the way they normally work? Does the item have to be used on a parcel set to the group you own, in order for it to give the gift to that group? I can't imagine why....since many shops are not in regions owned by the shop owner.....would seem too limiting. But...is there a group gift device that WILL work for me in a shop I rent? 
|
|
Gabriele Graves
Always and Forever, FULL
Join date: 23 Apr 2007
Posts: 6,205
|
06-11-2009 15:32
The "group" in this case is not likely to be an SL group but a list of people who subscribe to your "group" giver by touching the "group" giver object. You cannot send any items via scripting to an SL group.
_____________________
 Trout Rating: I'm giving you an 8.2 on the Troutchter Earth-Movement Slut Scale. You are an amazing, enchanting woman, and, when the situation calls for it, a slut of the very best sort. Congratulations and shame on you!
|
|
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
|
06-11-2009 15:42
Not a lot to go on here, without knowing more about the scripts, but if the object containing the scripts is Mod perm, you can try setting it to the desired group and then selecting it and Tools / Reset All Scripts in Selection. That's on the premise that just re-rezzing it didn't reset it (and actually, not resetting on rez might be a good thing for such a device).
I'm a little puzzled by the idea of setting it to a different group than the parcel is set to: is there not autoreturn at this location?
I'm also a little unclear about how the thing works in the first place. As Gabriele said, I don't think I know of any way to get a list of group members by script, so to send stuff to all group members AFAIK it must be using a bot behind the scenes, somewhat similar to how group inviters work. That's all fine, if true, except that the bot would have to be in-world for it to work, so if the creator ever gets bored or lazy, it would quit working.
_____________________
Archived for Your Protection
|
|
Nina Stepford
was lied to by LL
Join date: 26 Mar 2007
Posts: 3,373
|
06-11-2009 15:51
how does the open collar vendor work? it is a vendor that gives out freebies to anyone using the group tag. i suspect it uses the google api, but everything associated with open collar is open source afaik.
_____________________
SLU - ban em then bash em! ~~GREATEST HITS~~ pro-life? gtfo! slu- banning opposing opinions one at a time http://www.sluniverse.com/php/vb/zomgwtfbbqgtfololcats/15428-disingenuous.html learn to shut up and nod in agreement... or be banned! http://www.sluniverse.com/php/vb/off-topic/1239-americans-not-stupid.html
|
|
Gabriele Graves
Always and Forever, FULL
Join date: 23 Apr 2007
Posts: 6,205
|
06-11-2009 15:56
From: Nina Stepford how does the open collar vendor work? it is a vendor that gives out freebies to anyone using the group tag. i suspect it uses the google api, but everything associated with open collar is open source afaik. When you touch something, the script can detect if you are in the same group as the vendor and give or deny based on that but the group scripting functions are limited to just that - detecting if an avatar key is in the same group as the object with the script in.
_____________________
 Trout Rating: I'm giving you an 8.2 on the Troutchter Earth-Movement Slut Scale. You are an amazing, enchanting woman, and, when the situation calls for it, a slut of the very best sort. Congratulations and shame on you!
|
|
Nina Stepford
was lied to by LL
Join date: 26 Mar 2007
Posts: 3,373
|
06-11-2009 16:02
then why are you two making it sound like an insurmountable issue?
'But...is there a group gift device that WILL work for me in a shop I rent?'
can someone tell her the name of such a product?
_____________________
SLU - ban em then bash em! ~~GREATEST HITS~~ pro-life? gtfo! slu- banning opposing opinions one at a time http://www.sluniverse.com/php/vb/zomgwtfbbqgtfololcats/15428-disingenuous.html learn to shut up and nod in agreement... or be banned! http://www.sluniverse.com/php/vb/off-topic/1239-americans-not-stupid.html
|
|
Gabriele Graves
Always and Forever, FULL
Join date: 23 Apr 2007
Posts: 6,205
|
06-11-2009 16:05
From: Nina Stepford then why are you two making it sound like an insurmountable issue? 'But...is there a group gift device that WILL work for me in a shop I rent?' can someone tell her the name of such a product? Milla seems to be indicating from her OP that she wants to give a gift to a group of people all in one go automatically, not as they come to the vendor and touch it. That is the difficulty and what cannot be achieved by scripting and SL groups alone. Additionally she does not want the group to be the same as her land, so she is going to have turn off autoreturn in order to set any vendor to a new group. If Milla does want just to let people come and touch a vendor and just get the gift that way *and* the giver she has works that way then what she needs to do is turn off autoreturn, set the giver object to the group she wishes to give gifts to (via the Edit tools) and then drop her gift in the giver object.
_____________________
 Trout Rating: I'm giving you an 8.2 on the Troutchter Earth-Movement Slut Scale. You are an amazing, enchanting woman, and, when the situation calls for it, a slut of the very best sort. Congratulations and shame on you!
|
|
Nina Stepford
was lied to by LL
Join date: 26 Mar 2007
Posts: 3,373
|
06-11-2009 16:06
who are you talking to?!?!
'I decided to get a group gift gadget so I can have monthly gifts that people can get from my new shop.'
_____________________
SLU - ban em then bash em! ~~GREATEST HITS~~ pro-life? gtfo! slu- banning opposing opinions one at a time http://www.sluniverse.com/php/vb/zomgwtfbbqgtfololcats/15428-disingenuous.html learn to shut up and nod in agreement... or be banned! http://www.sluniverse.com/php/vb/off-topic/1239-americans-not-stupid.html
|
|
Gabriele Graves
Always and Forever, FULL
Join date: 23 Apr 2007
Posts: 6,205
|
06-11-2009 16:10
From: Nina Stepford who are you talking to?!?! 'I decided to get a group gift gadget so I can have monthly gifts that people can get from my new shop.' Well, I didn't read that way at first, however my last post does in fact have the solution *if* the touch vendor is what she needs.
_____________________
 Trout Rating: I'm giving you an 8.2 on the Troutchter Earth-Movement Slut Scale. You are an amazing, enchanting woman, and, when the situation calls for it, a slut of the very best sort. Congratulations and shame on you!
|
|
Gabriele Graves
Always and Forever, FULL
Join date: 23 Apr 2007
Posts: 6,205
|
06-11-2009 16:22
If Milla's vendor does not do what she wants then the following script will give the first object in the prim's inventory to someone in the same group as the prim containing the script:- default { touch_start(integer numdetected) { if (llSameGroup(llDetectedKey(0)) { string name = llGetInventoryName(INVENTORY_OBJECT, 0); if (name != "") llGiveInventory(llDetectedKey(0), name); } } }
_____________________
 Trout Rating: I'm giving you an 8.2 on the Troutchter Earth-Movement Slut Scale. You are an amazing, enchanting woman, and, when the situation calls for it, a slut of the very best sort. Congratulations and shame on you!
|
|
Nina Stepford
was lied to by LL
Join date: 26 Mar 2007
Posts: 3,373
|
06-11-2009 16:29
what if the first item in inventory is the script?
_____________________
SLU - ban em then bash em! ~~GREATEST HITS~~ pro-life? gtfo! slu- banning opposing opinions one at a time http://www.sluniverse.com/php/vb/zomgwtfbbqgtfololcats/15428-disingenuous.html learn to shut up and nod in agreement... or be banned! http://www.sluniverse.com/php/vb/off-topic/1239-americans-not-stupid.html
|
|
Gabriele Graves
Always and Forever, FULL
Join date: 23 Apr 2007
Posts: 6,205
|
06-11-2009 16:43
From: Nina Stepford what if the first item in inventory is the script? I said, it picks the first object, it can never pick anything but an object. It is likely that all gifts Milla drops in will be boxed.
_____________________
 Trout Rating: I'm giving you an 8.2 on the Troutchter Earth-Movement Slut Scale. You are an amazing, enchanting woman, and, when the situation calls for it, a slut of the very best sort. Congratulations and shame on you!
|
|
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
|
06-11-2009 16:47
From: Nina Stepford what if the first item in inventory is the script? Gabriele's script will give the first prim "object" that it finds in inventory, which is distinct from scripts, textures, animations, landmarks, etc., each of which has its own inventory type. There are all sorts of ways one could elaborate on the script to affect how it chooses what to give, but it illustrates the ability to selectively give only to group members, given a source of those members' keys (as with a touch). (Btw, re-reading the OP again, I suspect Nina is correct and that this gift giver does exactly that, not the much harder task we'd thought.)
_____________________
Archived for Your Protection
|
|
Gabriele Graves
Always and Forever, FULL
Join date: 23 Apr 2007
Posts: 6,205
|
06-11-2009 16:55
From: Qie Niangao (Btw, re-reading the OP again, I suspect Nina is correct and that this gift giver does exactly that, not the much harder task we'd thought.) I agree, it does seem that way on second reading.
_____________________
 Trout Rating: I'm giving you an 8.2 on the Troutchter Earth-Movement Slut Scale. You are an amazing, enchanting woman, and, when the situation calls for it, a slut of the very best sort. Congratulations and shame on you!
|
|
Milla Alexandre
Milla Alexandre
Join date: 22 Jan 2007
Posts: 1,759
|
06-11-2009 17:15
Whew, sorry it took so long to get back and read these replies LOL Um, ok....firstly, yes, the idea is that it gives the gift (boxed, so yes, it has to be an object) to a person in the same group when they touch it. I had set the object to my group.....my friend joined and came and touched the gift sign....it did not give her the gift. When I first rezzed it.....I had another resident on the sim check it, and gave HIM the gift....but he was wearing his resident tag for that sim. So....that's when I figured it was goofing because the gift giver was rezzed while I was wearing my tag for that sim also. I don't know why it didn't get auto-returned when I re-rezzed wearing my own tag....but it didn't. I set it to MY group....reset the whole set up. It asks for a # of objects to give......and that's it. Nowhere does it specify in the directions about being sure it is set the proper group.....but that was kind of obvious. My question arose, because even after making that correction...it wont give the gift. But.....since I'm going away for a few days I don't have time to mess with it.....so I simply set out a sign to buy the gift for 0L. The hell with it......it's a gift....I'll do a gift skin every month....group or no group. It's just something fun to do anyway.  I can't modify the object so if there's a glitch with it, I'm SOL. I got it on xstreet.....it was only 50L. No great loss. Thanks for all the info gang~!
|
|
Gabriele Graves
Always and Forever, FULL
Join date: 23 Apr 2007
Posts: 6,205
|
06-11-2009 17:21
From: Milla Alexandre Whew, sorry it took so long to get back and read these replies LOL Um, ok....firstly, yes, the idea is that it gives the gift (boxed, so yes, it has to be an object) to a person in the same group when they touch it. I had set the object to my group.....my friend joined and came and touched the gift sign....it did not give her the gift. When I first rezzed it.....I had another resident on the sim check it, and gave HIM the gift....but he was wearing his resident tag for that sim. So....that's when I figured it was goofing because the gift giver was rezzed while I was wearing my tag for that sim also. I don't know why it didn't get auto-returned when I re-rezzed wearing my own tag....but it didn't. I set it to MY group....reset the whole set up. It asks for a # of objects to give......and that's it. Nowhere does it specify in the directions about being sure it is set the proper group.....but that was kind of obvious. My question arose, because even after making that correction...it wont give the gift. But.....since I'm going away for a few days I don't have time to mess with it.....so I simply set out a sign to buy the gift for 0L. The hell with it......it's a gift....I'll do a gift skin every month....group or no group. It's just something fun to do anyway.  I can't modify the object so if there's a glitch with it, I'm SOL. I got it on xstreet.....it was only 50L. No great loss. Thanks for all the info gang~! The resident who touches the giver must be wearing the tag of the group that is eligible for the gift. Being a member is not enough - that is mostly likely the reason. If you do the following (even if you did, do it again as it is easy to have made a mistake the first time) and it still does not work then it could be SL problems or a faulty script: 1) Turn off autoreturn on the parcel where the giver will be rezzed. 2) Rez the giver whilst wearing the tag of the group who is eligible for the gift. 3) Reset the giver using Reset Scripts in Selection whilst editing the object. 4) Add gift(s) to giver. If it fails to work and SL is not misbehaving, my simple version will definitely work and all you need to do is drop it in a prim.
_____________________
 Trout Rating: I'm giving you an 8.2 on the Troutchter Earth-Movement Slut Scale. You are an amazing, enchanting woman, and, when the situation calls for it, a slut of the very best sort. Congratulations and shame on you!
|
|
Skell Dagger
Smitten
Join date: 26 Jun 2007
Posts: 1,885
|
06-11-2009 20:34
Your other option would be to get a Subscribe-o-matic, which is free for the owner with 500 or less members (and is still pretty cheap when you go over that many). You can set it to give out an object when someone subscribes to it, and you can also send out messages and gifts at any time to members. There are also options for you, as a store-owner, to allow people to retrieve past gifts from it or to disable that option (so people don't just subscribe, grab the gift, then unsubscribe). The important thing about that, with regard to your problem, is that it doesn't matter which land group the Subscribe-o is set to; it'll give out its contents to people that join *it* rather than people in any specific conventional group. Daros and I only just got one, after both being members of various store subscribe-o's around the grid, and I don't know how we got along without it for so long. More info here: http://www.subscribeomatic.com/You can get it inworld, or also from Xstreet: http://www.xstreetsl.com/modules.php?name=Marketplace&file=item&ItemID=323598
_____________________
It always ends in chickens...
Store blog - http://primflints.wordpress.com/ Inworld - http://slurl.com/secondlife/Jindalrae/21/25/442 XStreet - http://tinyurl.com/primflints Photos - http://www.flickr.com/photos/skelldagger/
|