Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Just had a idea as i woke up about freebie resale prevention

Yiffy Yaffle
Purple SpiritWolf Mystic
Join date: 22 Oct 2004
Posts: 2,802
12-08-2006 08:28
This morning when i first woke up a idea dawned on me. Of course i haven't tested this theiry, so it probably won't be possible. If you can use the changed(integer type){} state to trigger tasks when something changes about the prim (someones sits on, moves it, changes it's inventory, exc), can't you also set the prim to llDie() if someone sets it for sale?

I know anyone can just delete it, but you could hide it in another script by adding the lines to a unpacker set to no modify. Or link a 0.010 sized prim to the container prim to contain the script (hidden from view). Only the more knowledged residents would know whats going on. Most freebie sellers are probably new and don't know jack about building or scripting anyway.

I've checked the list of CHANGE_XXX commands, but i don't think any of them apply to this. There probably is a way, but i just don't see it. Might need to make a feature suggestion if not. Well i share this info and plan to attempt it myself.
_____________________
Script Su
Professional SOA Designer
Join date: 23 Aug 2006
Posts: 79
12-08-2006 08:41
sounds simple to me. I am working on a new licensing service that will check your license whenever rezzed and the creator can cancel licenses and such. Therefore if all the sudden five hundred lincenses popup you know there is something going on....'

Could work in combination with this. Then you make a bunch of embeded checks in the scripts to make sure that the service connection wasnt deleted. And if it was it automatically deletes the object and self destructs.

It would be really hard to take 10 lines isolated checks out of a 200 line script and if they do than they deserve to keep the object LOL.
_____________________
The LSL Repository @ sf.net. The LSL Repository is dedicated to bring open source lsl programmers together and develop the best service oriented scripts. Gridworks gives you the whole package. We also have in-house builders, scripters, web programmers, and salesmen. Premium Account||Age Verified||Gridworks Executive
Yiffy Yaffle
Purple SpiritWolf Mystic
Join date: 22 Oct 2004
Posts: 2,802
12-08-2006 08:55
So far this is the only solution i could find. I couldnt find anything like CHANGED_SALEPRICE so i had to do the next thing. ;p

default
{
state_entry(){llSay(0,"This is a freebie made by Yiffy Yaffle! If you purchased this from somewhere, please inform me who you bought it from so i can eat them alive!";);}
changed(integer type)
{
if(type & CHANGED_INVENTORY)
{
llSay(0,"Triggered!";);
llDie();
}
}
}

With that idea if someone tries to delete the script then the whole prim goes.
_____________________
Vares Solvang
It's all Relative
Join date: 26 Jan 2005
Posts: 2,235
12-08-2006 10:35
If they have deleted the script already, how would the llDie() command be activated?
_____________________
Tiarnalalon Sismondi
Registered User
Join date: 1 Jun 2006
Posts: 402
12-08-2006 11:17
Also, if someone puts the item in a vendor, all it will know is that it was given from one person to another which is the whole sense of a freebie.
Yiffy Yaffle
Purple SpiritWolf Mystic
Join date: 22 Oct 2004
Posts: 2,802
12-08-2006 12:57
Eh well i tried hehe. I guess this cals for a feature suggestion. I have a mind full of ideas but the pencil seams broken. :/
_____________________
Yiffy Yaffle
Purple SpiritWolf Mystic
Join date: 22 Oct 2004
Posts: 2,802
12-08-2006 13:31
/13/59/153687/1.html#post1354628
_____________________
Destiny Niles
Registered User
Join date: 23 Aug 2006
Posts: 949
12-08-2006 13:36
??? Wouldn't setting the object to NO TRANSFER will stop it for being sold?
Yiffy Yaffle
Purple SpiritWolf Mystic
Join date: 22 Oct 2004
Posts: 2,802
12-08-2006 14:06
From: Destiny Niles
??? Wouldn't setting the object to NO TRANSFER will stop it for being sold?


It would but it also prevents the freebie from being given away kindly to friends without having to bug the creator to do it.
_____________________