|
View:
New views
8 Messages
—
Rating Filter:
Alert me
|
|
|
llgetOwner not returning owner??Hi. I've got a sphere containing a script. The sphere is worn and I'm doing:
ownerKey=llGetOwner();
In the script.
I sell a copy of the object to another person. It says that they are the owner. However, when they run the script, it gives my key as the owner, not theirs (?!)
This has to be some kind of user error, but I'm not sure what's wrong. It seems pretty straightforward.
Has anybody heard of this? is there something that can cause the llGetOwner funciton to return the object creator rather than the owner? Or is there something else that can affect that function?
_______________________________________________ Click here to unsubscribe or manage your list subscription: https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters |
|
|
Re: llgetOwner not returning owner??If ownerKey is set in state_entry when you first
compile, it doesn't get changed until the script is started
again.
You should add
on_rez(integer r){
llResetScript();
}
----- Original Message -----
_______________________________________________ Click here to unsubscribe or manage your list subscription: https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters |
|
|
Re: llgetOwner not returning owner??Are you sure you're firing it again? Something like changed and
CHANGED_OWNER or attach and llResetScript? El On 20 Sep 2009, at 18:07, M. Brain wrote: > Hi. I've got a sphere containing a script. The sphere is worn and > I'm doing: > > ownerKey=llGetOwner(); > > In the script. > > I sell a copy of the object to another person. It says that they > are the owner. However, when they run the script, it gives my key > as the owner, not theirs (?!) > > This has to be some kind of user error, but I'm not sure what's > wrong. It seems pretty straightforward. > > Has anybody heard of this? is there something that can cause the > llGetOwner funciton to return the object creator rather than the > owner? Or is there something else that can affect that function? > _______________________________________________ > Click here to unsubscribe or manage your list subscription: > https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters http://educationaldesigns.eloisepasteur.net/ http://eloisepasteur.net/blog/ SL Education collaboration forum: http://forum.eloisepasteur.net/ _______________________________________________ Click here to unsubscribe or manage your list subscription: https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters |
|
|
Re: llgetOwner not returning owner??I'm guessing that you aren't running that line again after the
ownership transfer (like it's only in state_entry for instance). So ownerKey is still set to what it was the first time. Unless there's a reason not to, I'd suggest adding code so that the script just resets itself whenever the owner changes (use CHANGED_OWNER in the change() event). On Sun, Sep 20, 2009 at 1:07 PM, M. Brain <11d-universe.20.scifiguy@...> wrote: > Hi. I've got a sphere containing a script. The sphere is worn and I'm > doing: > > ownerKey=llGetOwner(); > > In the script. > > I sell a copy of the object to another person. It says that they are the > owner. However, when they run the script, it gives my key as the owner, not > theirs (?!) > > This has to be some kind of user error, but I'm not sure what's wrong. It > seems pretty straightforward. > > Has anybody heard of this? is there something that can cause the llGetOwner > funciton to return the object creator rather than the owner? Or is there > something else that can affect that function? > _______________________________________________ > Click here to unsubscribe or manage your list subscription: > https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters > > Click here to unsubscribe or manage your list subscription: https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters |
|
|
Re: llgetOwner not returning owner?? (11d-universe: message 15 of 20)the changed owner thing did the trick. I just needed to run it in a
different state module. Thanks to everyone who suggested the solution. I never would have guessed this one. :) On Sep 20, 2009, at 1:21 PM, "Eloise Pasteur - eloisepasteur@..." <+11d-universe+scifiguy +d9a611e597.eloisepasteur#gmail.com@...> wrote: > Are you sure you're firing it again? Something like changed and > CHANGED_OWNER or attach and llResetScript? > > El > > On 20 Sep 2009, at 18:07, M. Brain wrote: > >> Hi. I've got a sphere containing a script. The sphere is worn and >> I'm doing: >> >> ownerKey=llGetOwner(); >> >> In the script. >> >> I sell a copy of the object to another person. It says that they >> are the owner. However, when they run the script, it gives my key >> as the owner, not theirs (?!) >> >> This has to be some kind of user error, but I'm not sure what's >> wrong. It seems pretty straightforward. >> >> Has anybody heard of this? is there something that can cause the >> llGetOwner funciton to return the object creator rather than the >> owner? Or is there something else that can affect that function? >> _______________________________________________ >> Click here to unsubscribe or manage your list subscription: >> https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters > > http://educationaldesigns.eloisepasteur.net/ > http://eloisepasteur.net/blog/ > SL Education collaboration forum: http://forum.eloisepasteur.net/ > > > > Click here to unsubscribe or manage your list subscription: https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters |
|
|
LSL portal access - is it only me with problems.I click on LSL portal in Explorer favorites and wait 30 seconds to a couple
of minutes for the home page to appear. Then I type the function name in SEARCH and wait another 30 seconds or more for it to find the URL BUT I can type the function name in Google and it finds it instantly. Back door works much better than the front. _______________________________________________ Click here to unsubscribe or manage your list subscription: https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters |
|
|
Re: LSL portal access - is it only me with problems.I've not tried the portal, but their website was running really slow
yesterday and today for me when I was trying to move some money around for Lindex, check friends online and the like. El. On 29 Sep 2009, at 05:52, <AnnMarie@...> wrote: > I click on LSL portal in Explorer favorites and wait 30 seconds to a > couple > of minutes for the home page to appear. > Then I type the function name in SEARCH and wait another 30 seconds > or more > for it to find the URL > > BUT > > I can type the function name in Google and it finds it instantly. > > Back door works much better than the front. > > > _______________________________________________ > Click here to unsubscribe or manage your list subscription: > https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters http://educationaldesigns.eloisepasteur.net/ http://eloisepasteur.net/blog/ SL Education collaboration forum: http://forum.eloisepasteur.net/ _______________________________________________ Click here to unsubscribe or manage your list subscription: https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters |
|
|
Re: LSL portal access - is it only me with problems.Yes, portal has been running very slow for me too. But even on a good day it's an annoyingly slow site. Google pages will cached, shame the portal doesn't employ some decent caching too...
On Tue, Sep 29, 2009 at 5:52 AM, <AnnMarie@...> wrote: I click on LSL portal in Explorer favorites and wait 30 seconds to a couple _______________________________________________ Click here to unsubscribe or manage your list subscription: https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters |
| Free embeddable forum powered by Nabble | Forum Help |