Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008096opensim[REGION] Scripting Enginepublic2016-12-15 16:392017-05-27 14:55
ReporterMandarinka Tasty 
Assigned ToUbitUmarov 
PrioritynormalSeverityfeatureReproducibilityalways
StatusresolvedResolutionfixed 
PlatformUnix, Win, MacOSOS Version
Product Versionmaster (dev code) 
Target VersionFixed in Version 
Summary0008096: The new Constant: integer OBJECT_ATTACHED_SLOTS_AVAILABLE = 35; for llGetObjectDetails
DescriptionHello :)

The patch has been attached.

I have added next flag, that is used in SL, as parameter in list with

Function: list llGetObjectDetails( key id, list params );

It is: Constant: integer OBJECT_ATTACHED_SLOTS_AVAILABLE = 35;

LSL Example:

default
{
    touch_start(integer num)
    {
        llOwnerSay((string)llGetObjectDetails(llGetOwner(),[OBJECT_ATTACHED_SLOTS_AVAILABLE]));
    }
}

It returns avatar's available attachment slot count

If id is not a key of avatar, then it returns 0.

It has been released on last Second Life Server: 16.12.03.322072
TagsNo tags attached.
Git Revision or version number
Run ModeStandalone (1 Region) , Standalone (Multiple Regions) , Grid (1 Region per Sim) , Grid (Multiple Regions per Sim)
Physics EngineBasicPhysics, ODE, BulletSim, ubODE
EnvironmentUnknown, Mono / Linux32, Mono / Linux64, Mono / Windows, Mono / OSX, .NET / Windows32, .NET / Windows64
Mono Version4.0.1
Viewer
Attached Filespatch file icon 0001-The-new-Constant-integer-OBJECT_ATTACHED_SLOTS_AVAIL.patch [^] (2,884 bytes) 2016-12-15 17:46 [Show Content]

- Relationships

-  Notes
(0031479)
UbitUmarov (administrator)
2016-12-15 17:16

attachments.Capacity needs be changed to attachments.Count on commit
but total number of slots is unknown at this stage
so another patch on hold :(
(0031480)
Mandarinka Tasty (reporter)
2016-12-15 18:00

I'm patient :) smiles ) I've replaced Capacity with Count

- Issue History
Date Modified Username Field Change
2016-12-15 16:39 Mandarinka Tasty New Issue
2016-12-15 16:39 Mandarinka Tasty File Added: 0001-The-new-Constant-integer-OBJECT_ATTACHED_SLOTS_AVAIL.patch
2016-12-15 16:39 Mandarinka Tasty Status new => patch included
2016-12-15 17:16 UbitUmarov Note Added: 0031479
2016-12-15 17:46 Mandarinka Tasty File Deleted: 0001-The-new-Constant-integer-OBJECT_ATTACHED_SLOTS_AVAIL.patch
2016-12-15 17:46 Mandarinka Tasty File Added: 0001-The-new-Constant-integer-OBJECT_ATTACHED_SLOTS_AVAIL.patch
2016-12-15 18:00 Mandarinka Tasty Note Added: 0031480
2017-05-27 14:55 UbitUmarov Status patch included => resolved
2017-05-27 14:55 UbitUmarov Resolution open => fixed
2017-05-27 14:55 UbitUmarov Assigned To => UbitUmarov


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker