[Opensim-dev] Test before you call OSSL function

Leal Duarte ajlduarte at sapo.pt
Thu Oct 17 15:10:05 UTC 2019


Well lets try put some perspective on this...

The problem is not how hard it is to detected and handle disabled functions

The problem is WHY are you using them !!!

See OSSL got a lot a functions in time and for very different reasons.

Many are there because they are just funny/useful on very specific 
regions or cases.

Once the allow control was introduced, that got worse, because as dev in 
can just not care, i just flag a specious feature as SEVERE, 
ESTATE_OWNER only. And just let you change it and shoot your own feet, 
or worse someone else feet...

And in many cases you are just doing that. ( the C# scripts was a 
example i just had to kill )

see a very simple and useful(?) example

osGetNotecardLine(..)

none of that Dataserv mess of llGetNotecardLine(..) right?

well wrong.. Dataservice is need because the notecard may be on a assets 
server on the other side of the world...

and not using it will stall the engine thread, potentially all of then.

Why do i see its  errors at osgrid LBSA ?

A lot more examples, but you got the point.

When one writes a script, one must take in consideration its target 
audience..

you can't use osSlerp()  if you want it to run at current Kitely, can you?

So issue is to identify a set that should be universally supported, and 
everyone make the effort to support it.

...

Ubit


On 17-Oct-19 15:17, dz wrote:
......


More information about the Opensim-dev mailing list