Page 1 of 1

LSL versus OSSL

Posted: Sun Dec 23, 2012 10:51 pm
by Ohn Lang
(reposting from old forum)
For those coming from Second Life, much of LSL is transferable to OpenSim, however there are some differences in LSL support and you will probably want to look at optimizing your scripts for OpenSim.

There are also quite a few very nifty OSSL functions that either do things you can't do in Second Life, or maybe do things better or easier than in Second Life. For example, reading notecards is vastly easier with OSSL, and you can even make notecards through scripts. NPCs are very easy to make with OSSL, and dynamically creating textures with drawings and even text is really easy too.

The OpenSim website has some very handy pages to help you:

Whether, and to what degree, an LSL function is supported: http://opensimulator.org/wiki/LSL_Status/Functions

Whether, and to what degree, an LSL event is supported: http://opensimulator.org/wiki/LSL_Status/Events

OSSL specific functions: http://opensimulator.org/wiki/Category:OSSL_Functions

[By Graham Mills] Some OSSL functions are restricted to the World Manager. See http://www.kitely.com/virtual-world-new ... functions/ for details.

Re: LSL versus OSSL

Posted: Thu Jan 10, 2013 8:54 am
by Graham Mills
Can someone clarify what is meant by "Allowed for the World Manager" on http://www.kitely.com/virtual-world-new ... functions/. Does it mean that only the World Manager can run such scripts or that any user can run scripts so long as they're in an object created by the WM (I appreciate there are other permutations)?

Re: LSL versus OSSL

Posted: Thu Jan 10, 2013 9:07 am
by Ilan Tochner
Hi Graham,

You should be able to run scripts from an object owned by the person whose world you are in.

Re: LSL versus OSSL

Posted: Thu Jan 10, 2013 9:28 am
by Graham Mills
Thanks, Ilan. So such objects would not be of use in a world that you don't own and hence are not distributable, i.e. it works from creator rather than owner fields?
Ilan Tochner wrote:Hi Graham,

You should be able to run scripts from an object created by the person whose world you are in.

Re: LSL versus OSSL

Posted: Thu Jan 10, 2013 9:48 am
by Ilan Tochner
Hi Graham,

The current OpenSim implementation is to check permissions against the owner of the object not the creator.

I had assumed you meant running an object inside the world manager's world not an object given to you by the world manager. I can see how my previous reply could be confusing so I fixed it (see above) in order to not confuse anyone else.

Re: LSL versus OSSL

Posted: Thu Jan 10, 2013 9:52 am
by Graham Mills
Thanks for clarifying, Ilan.