Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008142opensim[REGION] Script Functionspublic2017-04-04 12:222017-06-26 03:12
ReporterUbitUmarov 
Assigned ToUbitUmarov 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusassignedResolutionopen 
PlatformOSOS Version
Product Versionmaster (dev code) 
Target Versionmaster (dev code)Fixed in Version 
Summary0008142: add integer osGetLinkNumber(string name)
Descriptioninteger 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
TagsNo tags attached.
Git Revision or version number
Run ModeStandalone (1 Region)
Physics EngineubODE
EnvironmentUnknown
Mono VersionNone
Viewer
Attached Files

- Relationships

-  Notes
(0031710)
aiaustin (developer)
2017-04-05 01:48
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

(0031712)
UbitUmarov (administrator)
2017-04-05 05:52

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?
(0031714)
UbitUmarov (administrator)
2017-04-05 07:22
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.

(0031715)
aiaustin (developer)
2017-04-05 07:29

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?
(0032078)
djphil (reporter)
2017-06-26 03:12
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.


- Issue History
Date Modified Username Field Change
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
Powered by Mantis Bugtracker