[Opensim-dev] Adding scripts to SceneObjectPart
Daniel Herzog
Daniel.Herzog at t-systems-mms.com
Thu Apr 2 08:16:15 UTC 2009
Thank's a lot for your help. I will give it a try.
Daniel
> From: Teravus Ovares <teravus at gmail.com>
> Subject: Re: [Opensim-dev] Adding scripts to SceneObjectPart
> To: opensim-dev at lists.berlios.de
> Message-ID:
<34cc66250903311303x3dbd556dqca15734c07543130 at mail.gmail.com>
> Content-Type: text/plain; charset=windows-1252
>
> And there you have the answer Daniel. Send client your avatar's UUID
> as the owner for that script, if you want to be able to read the
> script. At least for now, this'll work.
>
> Sincerely
>
> Teravus
>
> On 3/31/09, Melanie <melanie at t-data.com> wrote:
>> There was a hack like that, done for IBM at one time. After IBM were
>> done with that, it was removed in a code cleanup.
>> Right clicking a script will not give you an "open" menu entry unless
>> you're the owner.
>> The hack was to fudge the owner inside the task inventory file to make
>> the person clicking it to appear to be owner.
>>
>> Melanie
>>
>> Teravus Ovares wrote:
>> > It seems kind of strange for you to say this because it has, in the
>> > past allowed anyone to see the script and change it. This is purely
>> > a permissions module thing. The evidence contradicts what you're
>> > saying.
>> >
>> > Sincerely
>> >
>> > Teravus
>> >
>> > On 3/31/09, Melanie <melanie at t-data.com> wrote:
>> >> I'm sorry to contradict you. That is a viewer limitation. It would
>> >> take wuite extensive changes to core to be able to fake it to the
>> >> viewer to make every authorized user seem the owner to the viewer.
>> >> It just won't show the option unless you are owner...
>> >>
>> >> Melanie
>> >>
>> >> Teravus Ovares wrote:
>> >> > I think what Melanie means is, it isn't possible without tweaking
the
>> >> > permissions module. This is OpenSource :). There isn't really
a
>> >> > 'can't'.
>> >> >
>> >> > Sincerely
>> >> >
>> >> > Teravus
>> >> >
>> >> > On 3/30/09, Melanie <melanie at t-data.com> wrote:
>> >> >> Only the owner can view script source. Making a script viewable
>> >> >> for anyone is not possible. I believe you need to use either
>> >> >> 00038000 or 0001c000 to get full perms.
>> >> >>
>> >> >> Melanie
>> >> >>
>> >> >> Mike Mazur wrote:
>> >> >> > Hi,
>> >> >> >
>> >> >> > On Mon, Mar 30, 2009 at 11:10 PM, Daniel Herzog
<dhe at mms-dresden.de> wrote:
>> >> >> >> In addition to the method ?AddTouchScript()? in the ExtSim
>> >> >> >> module what might be possible values that could be assigned
>> >> >> >> to ?taskItem.BasePermissions? and ?taskItem.CurrentPermissions?
(line 500 and line 501 in ExtSim.cs)?
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >> Does 2147483647 stands for ?not allowed??
>> >> >> >
>> >> >> > Unfortunately I was unable to find a value for any permissions
>> >> >> > property which allowed viewing of the script source for any
>> >> >> > script inserted into a prim in this way. If you do figure out
>> >> >> > how to do this, please let me know ;)
>> >> >> >
>> >> >> > Thanks,
>> >> >> > Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20090402/2ff4385e/attachment-0001.html>
More information about the Opensim-dev
mailing list