|Anonymous | Login | Signup for a new account||2019-10-20 23:18 PDT|
|Main | My View | View Issues | Change Log | Roadmap | Summary | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0008142||opensim||[REGION] Script Functions||public||2017-04-04 12:22||2017-06-26 03:12|
|Product Version||master (dev code)|
|Target Version||master (dev code)||Fixed in Version|
|Summary||0008142: add integer osGetLinkNumber(string name)|
|Description||integer osGetLinkNumber(string name)|
returns the link number of the prim or sitting avatar with name "name" on the link set or -1 if the name is not found.
- if names are not unique, the one with lower link number should be return
- names "Object" and "Primitive" are ignored
in test. The name to number map is cached, some invalidations may be missing on some code paths
|Tags||No tags attached.|
|Git Revision or version number|
|Run Mode||Standalone (1 Region)|
edited on: 2017-04-05 01:48
@Ubit, should osGetLinkNumber also be added into bin/config-include/osslEnable.ini with its correct threat level and access list?
Also, other recent osFunction additions that don't (yet) seem to be in bin/config-include/osslEnable.ini ...
osGetInertiaData, osSetInertiaAsBox, osSetInertiaAsSphere, osSetInertiaAsCylinder, osClearInertia
this functions are to be unrestricted like lsl ones
CheckThreatLevel(ThreatLevel, "osMyFunction"); is not light thing to call without real need. several others need to have it removed also.
the only side effect is they are not disabled with OSSL, but I can fix that one of this days :)
on the other hand, does make any sense to disable all opensim scripting extensions on opensim?
edited on: 2017-04-05 07:31
added ossl enable checks.
the functions like this should be added to wiki, not osslEnable.ini
but lets wait for more feedback, they can still change accordingly.
Noted. I had treated osslEnable.ini as a complete list of all OSSL functions even those with threat level None.. and even the one(s) that cannot be turned off like osCheckODE.
So my thought is that if its complete at the moment except for the 5 new ones mentioned above... maybe its worth adding them in even if only as comments and preserving the complete list as a code standard in openSim?
edited on: 2017-06-26 03:23
Please, keep in mind.
If new functions are added to opensim but are not added to the opensim wiki, then many users ignore their existence and how they work.
In this case, creating new function loses much of its interest ...
Call for Volunteers
osGetLinkNumber @ http://opensimulator.org/wiki/OsGetLinkNumber [^]
Tank you in advance.
|2017-04-04 12:22||UbitUmarov||New Issue|
|2017-04-04 12:22||UbitUmarov||Status||new => assigned|
|2017-04-04 12:22||UbitUmarov||Assigned To||=> UbitUmarov|
|2017-04-05 01:48||aiaustin||Note Added: 0031710|
|2017-04-05 01:48||aiaustin||Note Edited: 0031710||View Revisions|
|2017-04-05 05:52||UbitUmarov||Note Added: 0031712|
|2017-04-05 07:22||UbitUmarov||Note Added: 0031714|
|2017-04-05 07:29||aiaustin||Note Added: 0031715|
|2017-04-05 07:31||aiaustin||Note Edited: 0031714||View Revisions|
|2017-06-26 03:12||djphil||Note Added: 0032078|
|2017-06-26 03:23||djphil||Note Edited: 0032078||View Revisions|
|Copyright © 2000 - 2012 MantisBT Group|