Returns the creator of the object.
Aww c'mon why not.
These forums are CLOSED. Please visit the new forums HERE
llDetectedCreator() |
|
|
Tcoz Bach
Tyrell Victim
Join date: 10 Dec 2002
Posts: 973
|
04-16-2004 13:36
Returns the creator of the object.
Aww c'mon why not. _____________________
** ...you want to do WHAT with that cube? **
|
|
Christopher Omega
Oxymoron
Join date: 28 Mar 2003
Posts: 1,828
|
04-18-2004 12:03
I like this idea, but would rather see an llGetCreatorKey(key id) that works like the llGetOwnerKey function we currently have. That way, we can find out the creator of any object *and* inventory item all wrapped up in one neat little package.
|
|
Nexus Nash
Undercover Linden
Join date: 18 Dec 2002
Posts: 1,084
|
04-18-2004 12:10
We've been asking for that for AGES! the llGetCreatorKey() BUT until the creator names and key can be fixed in object (the <none>
I don't think we will see this!_____________________
|
|
Oz Spade
ReadsNoPostLongerThanHand
Join date: 23 Sep 2003
Posts: 2,708
|
04-19-2004 03:38
I endorse this idea/feature. (and the fixing of the creator/owner = none)
_____________________
"Don't anticipate outcome," the man said. "Await the unfolding of events. Remain in the moment." - Konrad
|
|
Xylor Baysklef
Scripting Addict
Join date: 4 May 2003
Posts: 109
|
04-19-2004 06:55
What about llSetOwner() and llSetCreator()? *ducks*
Xylor |
|
Tcoz Bach
Tyrell Victim
Join date: 10 Dec 2002
Posts: 973
|
04-19-2004 07:46
Well, get c reator would be specific to the object that calls the function...I'm not sure I see this as being as valuable...having an object tell you who created it would be uselss if the creator owns the object, and only partically useful if somebody else owned it. The object will always be created by you...what's the point of having the object tell the new owner that, or know it internally?
Detected means you could, for example, give out a gun, with bullets you created. You could script your objects to simply recognize the name of a bullet, coupled with the match up of the craetor (so, if the bullet is named "My Bullet", AND the bullet was created by me, do the damage). This would immediately eliminate a great deal of spoofing hacks, and all the shouting bullets need to do. I don't see getcreator solving this without shouting. Somebody mentioned encryption to deal with spoofing...I considered it of course, but am dubious, since I'm willing to bet the encryption calls will be slow. _____________________
** ...you want to do WHAT with that cube? **
|
|
Christopher Omega
Oxymoron
Join date: 28 Mar 2003
Posts: 1,828
|
04-19-2004 18:52
Originally posted by Tcoz Bach Well, get c reator would be specific to the object that calls the function... Well, llGetCreator would, but not llGetCreatorKey. With llGetCreatorKey(key id) you could wrap an llDetectedCreator, llGetCreator, and llGetInventoryCreator(int n) into one function: llGetCreatorKey(llDetectedKey(int)); // Gets the creator of the specified detected key. llGetCreatorKey(llGetKey()); // Gets the object's creator. llGetCreatorKey(llGetInventoryKey(int)); // Gets the creator of the specified inventory item. Im suprised why LL hasnt taken this route with llGetOwnerKey, there's A TON (IMHO) of wasted function-space and maintenance time with current stuff. These functions can be depricated: llGetOwner, replaced with llGetOwnerKey(llGetKey()); llDetectedOwner, replaced with llGetOwnerKey(llDetectedKey(int)); It's called encapsulation LL ![]() Hehe ![]() Oh, and another rant: llGetCreatorKey(key) and llGetOwnerKey(key) are horrible names ^_^ Id prefer llGetOwnerFor(key) and llGetCreatorFor(key). Yipes, went off topic! Sorry! ==Chris ::throws a heat-seaking tomato at Xylor:: ![]() _____________________
October 3rd is the Day Against DRM (Digital Restrictions Management), learn more at http://www.defectivebydesign.org/what_is_drm
|
|
Tiger Crossing
The Prim Maker
Join date: 18 Aug 2003
Posts: 1,560
|
04-20-2004 07:33
Yes, there should have been a whole suite of functions to get information based on a key. That there aren't such functions makes me think there is some technical reason. I mean, it's the obvious way to write the language, isn't it? Get a key, whether from an event like listen or a llDetectedKey call, and then psas it to a suite of info functions.
Oh, and even llGetCreator() would be handy if it only returns the creator of the prim the script is in. A No-mod script could make sure it's in a prim created by you, or cease to run. It would be a way to prevent someone from stealing a vehicle script, for example, because you made the vehicle's prims modifiable to permit customization. They couldn't rip out the script and slap it in their own car and sell it. But, as I said above, passing keys to info functions is THE way to go in ALL cases. It's the most versatile. _____________________
~ Tiger Crossing
~ (Nonsanity) |
|
Green Fate
Social Conundrum
Join date: 5 Dec 2003
Posts: 79
|
Yes
06-07-2004 23:42
Me too please!
|
|
Azelda Garcia
Azelda Garcia
Join date: 3 Nov 2003
Posts: 819
|
06-07-2004 23:55
Yeah, you could actually give the bullets names like:
BULLET DAMAGE=10 TYPE=STUN Of course, if you've ever given a mod copy copy of any of your objects to anyone ever, they can make a ton of copies with names like: BULLET DAMAGE=100 TYPE=ULTRADEATH Back on-topic, personally, I think that LSL should be able to do anything an avatar can do, and also not have to go via sensor events all the time. llGetScale( key ) llGetOwner( key ) llDeleteObject( key ) and why stop there, things like: llMoveObject( key, vTargetPos ) llReturnObject( key ) I'd assume there's some sortof API somewhere that the SL client plugs into somehow; it shouldnt be difficult to just build the LSL wrappers to plug into the same API functions? Azelda |
|
Siobhan Taylor
Nemesis
Join date: 13 Aug 2003
Posts: 5,476
|
06-08-2004 01:27
Originally posted by Tcoz Bach Detected means you could, for example, give out a gun, with bullets you created. You could script your objects to simply recognize the name of a bullet, coupled with the match up of the craetor (so, if the bullet is named "My Bullet", AND the bullet was created by me, do the damage). Yay, at last... a bullet with your name on it... _____________________
http://siobhantaylor.wordpress.com/
|
|
Green Fate
Social Conundrum
Join date: 5 Dec 2003
Posts: 79
|
Updates
06-08-2004 01:58
What I really want it to do is take an item dropped into inventory, check the name and also that I made it. If both things are a match then handover the new version to the avatar who dropped the old one. As it is now, anyone can make an item of the same name and pass it into the updater... which will hand that anyone a copy of the new wares. Is there some other way to check?
|
|
Azelda Garcia
Azelda Garcia
Join date: 3 Nov 2003
Posts: 819
|
06-08-2004 02:27
Sortof off-topic to the thread, but...
You can do this; you'd need to have an upgrade script builtin to the original object. The player would place the object on the upgrade machine. The upgrade script would detect teh collision with the upgrade machine, or its presence, or hear it whispering "UPGRADE!" on a special channel. It would authenticate to the upgrade machine by sending an authentication code on a secret channel. The upgrade machine would confirm and request the old object to kill itself. The old object would send a final handshake confirmation to the upgrade machine and promptly die. At this point the upgrade machine would GiveInventory the new version to the owner of the old device. There are doubtless other ways to do this too, but this is one possibility that stands a good chance of working 99% of the time. Azelda |
|
Mitzpatrick Fitzsimmons
Neurotican Mage
Join date: 20 Sep 2004
Posts: 62
|
llDetectedCreator()
04-27-2005 13:43
Yeah I'd like to see this too...
|
|
SuezanneC Baskerville
Forums Rock!
Join date: 22 Dec 2003
Posts: 14,229
|
10-09-2005 12:15
I think that LSL should be able to do anything an avatar can do, and also not have to go via sensor events all the time. llGetScale( key ) llGetOwner( key ) llDeleteObject( key ) and why stop there, things like: llMoveObject( key, vTargetPos ) llReturnObject( key ) I'd assume there's some sortof API somewhere that the SL client plugs into somehow; it shouldnt be difficult to just build the LSL wrappers to plug into the same API functions? Azelda This sounds like an excellent idea to me. Might need some restrictions on it though. _____________________
-
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 - |
|
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
|
10-10-2005 00:52
*jaw drops*
Thread necromancy. The suggestions aren't bad ones. _____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river. - Cyril Connolly Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence. - James Nachtwey |