aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-07-17Revert "refactor: make llGiveInventory() use existing GetInventoryItem() ↵Justin Clark-Casey (justincc)1-11/+24
method rather than iterate through TaskInventory itself." This reverts commit 58b13d51a7eddb442e38e6dc6790a9e7cf68bad7.
2012-07-14acting on feedback from justinccSignpostMarv1-6/+7
2012-07-14acting on feedback from justinccSignpostMarv1-39/+42
2012-07-14added in some extra variables, it sometimes thinks it is on the same parcel :(SignpostMarv1-5/+7
Signed-off-by: SignpostMarv <github@signpostmarv.name>
2012-07-14adding workaround for silent failure if position is outside the bounds of a ↵SignpostMarv1-13/+41
region, implementing parcel prim count check. Signed-off-by: SignpostMarv <github@signpostmarv.name>
2012-07-14Implementation of llSetRegionPos(). Does not implement failure on object ↵SignpostMarv1-4/+39
entry/prim limit/access restrictions. Signed-off-by: SignpostMarv <github@signpostmarv.name>
2012-07-11Where possible, use the system Encoding.ASCII and Encoding.UTF8 rather than ↵Justin Clark-Casey (justincc)1-6/+2
constructing fresh copies. The encodings are thread-safe and already used in such a manner in other places. This isn't done where Byte Order Mark output is suppressed, since Encoding.UTF8 is constructed to output the BOM.
2012-07-04Use GetInventoryItem() in llRezAtRoot rather than iterating through a cloned ↵Justin Clark-Casey (justincc)1-40/+36
dictionary
2012-07-04refactor: In llGetNotecardLine() use existing GetInventoryItem() rather than ↵Justin Clark-Casey (justincc)1-10/+4
inspecting a clone of the TaskInventory dictionary that was not cloned thread-safe
2012-07-04refactor: In llGetNumberOfNotecardLines() use existing GetInventoryItem() ↵Justin Clark-Casey (justincc)1-10/+4
rather than inspecting a clone of the TaskInventory dictionary that was not cloned thread-safe
2012-07-04refactor: use existing GetInventoryItem() in GetScriptByName(), itself ↵Justin Clark-Casey (justincc)1-13/+9
renamed from ScriptByName()
2012-07-04refactor: In llGetInventoryType() use existing GetInventoryItem()Justin Clark-Casey (justincc)1-11/+5
2012-07-04refactor: In llGetInventoryCreator() use existing GetInventoryItem()Justin Clark-Casey (justincc)1-12/+8
2012-07-04refactor: In llGetInventoryPermMask() use existing GetInventoryItem()Justin Clark-Casey (justincc)1-24/+21
2012-07-04refactor: in llGetInventoryPermMask use existing GetInventoryItem()Justin Clark-Casey (justincc)1-23/+19
2012-07-04refactor: In llRemoteLoadScriptPin() use existing GetInventoryItem()Justin Clark-Casey (justincc)1-20/+5
2012-07-04refactor: replace use of LSL_Api.GetTaskInventoryItem() with existing ↵Justin Clark-Casey (justincc)1-22/+11
GetInventoryItem()
2012-07-04refactor: In llGetInventoryKey() use existing GetInventoryItem()Justin Clark-Casey (justincc)1-15/+9
2012-07-04In llMessageLinked() use GetInventoryItems() rather than cloning ↵Justin Clark-Casey (justincc)1-4/+2
TaskInventory directory GetInventoryItems() returns a new list and so is equivalent, and creates this list under lock whereas Clone() is not thread-safe
2012-07-04In llRequestInventoryData() use GetInventoryItems() rather than cloning ↵Justin Clark-Casey (justincc)1-3/+2
TaskInventory directory GetInventoryItems() returns a new list and so is equivalent, and creates this list under lock whereas Clone() is not thread-safe
2012-07-04refactor: In llCollisionSound() use existing GetInventoryItem() method ↵Justin Clark-Casey (justincc)1-11/+5
rather than have it iterate through TaskInventory itself.
2012-07-04refactor: In llRemoveInventory() use existing GetInventoryItem() method ↵Justin Clark-Casey (justincc)1-14/+9
rather than have it iterate through TaskInventory itself.
2012-07-04refactor: make llGiveInventory() use existing GetInventoryItem() method ↵Justin Clark-Casey (justincc)1-24/+11
rather than iterate through TaskInventory itself.
2012-06-28Change AttachmentsModule.DetachSingleAttachmentToInv() to accept a SOG ↵Justin Clark-Casey (justincc)1-9/+6
directly instead of an item ID to then shuffle through attachments, saving CPU busywork. Almost all callers already had the sog to hand. Still checking that it's really an attachment, but now by inspecting SOG.AttachedAvatar
2012-06-13Committing the Avination implementation of llCastRay. This is a complete rewriteMelanie1-100/+345
wich does it's thing independently of physics. Enjoy!
2012-06-11Commitig the Avination implementation of llTeleportAgent andMelanie1-0/+94
llTeleportAgentGlobalCoords. These do NOT use PERMISSION_TELEPORT like their SL counterparts because that permission is not yet understood by TPVs based on v1.x.
2012-06-05Remove unused ScenePresence list structure in llGetAgentList()Justin Clark-Casey (justincc)1-1/+0
2012-05-26minor: code formatting from 0b72f773Justin Clark-Casey (justincc)1-12/+11
2012-05-26Mantis 6025 llRequestPermissions auto grant for NPCs.Talun1-1/+23
If the script requesting permissions is owned by either the NPC or the NPCs owner (if the NPC is created as owned) then grant any permissions automatically.
2012-05-26One can now get hyoergrid region co-ordinates with llRequestSimulatorDataBlake.Bourque1-5/+21
2012-05-26Use GetInventoryItem() in LSL_Api.InventoryKey(string name, int type).Justin Clark-Casey (justincc)1-17/+7
Also removes small bug where calling this method would add 1 to LPS, evne though all callers already did this.
2012-05-26refactor: replace LSL_Api.InventoryKey(string) largely with ↵Justin Clark-Casey (justincc)1-37/+15
SceneObjectPartInventory.GetInventoryItem(string) Also gets llStopAnimation() to call KeyOrName rather than duplicating logic.
2012-05-23Fix llGetSimulatorHostname to return configured hostnameBlueWall1-1/+2
2012-05-15Port Avination's collision fixes to core.Melanie1-10/+11
2012-05-13Modifications for SMTP in OpenSimulator. Email size limit was fixed (was out ↵Chris Koeritz1-7/+21
of step with documentation at 1024, so boosted to 4096). Added configuration item for maximum email size. Redundant sleep inside email module was fixed (LSL Api was already sleeping). Added sleep time configuration item for snooze between email sending for LSL Api. Added two new configuration items (email_max_size and email_pause_time) into the example OpenSim.ini, plus fixed a spelling error (llimits) and odd tabbing. Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2012-05-09Mantis 6015 new LSL function llGetAgentList.Talun1-0/+85
Details in the lsl wiki
2012-05-08refactor: Eliminate local id parameter from api initialize.Justin Clark-Casey (justincc)1-21/+19
This is always available from m_host.LocalId
2012-05-08Instead of constantly looking up unchanging self item in script code, pass ↵Justin Clark-Casey (justincc)1-143/+101
in self item on initialization.
2012-05-03Fixes Mantis #5999. llSetLinkPrimitiveParams with PRIM_BUMP_SHINY did cause ↵Snoopy Pfeffer1-1/+1
a runtime error.
2012-04-30llGenerateKey implementation. Creates a random UUID I.E: ↵TBG Renfold1-0/+7
UUID.Random().ToString(); Signed-off-by: TBG Renfold <tbg.renfold@g2mv.co.uk>
2012-04-25Port Avination link order to make OpenSim behave like SL. Make Primstar ↵Melanie1-5/+7
scripts work. Fixes Mantis #5990
2012-04-24Add osForceAttachToAvatar() and osForceDetachFromAvatar()Justin Clark-Casey (justincc)1-28/+45
These behave identically to llAttachToAvatar() and llDetachFromAvatar() except that they do not enforce the PERMISSION_ATTACH check Intended for use in completely controlled dedicated environments where these checks are more a UI hinderance than a help. Threat level high.
2012-04-23Replace common code to fetch self inventory item (as opposed to uuid) with ↵Justin Clark-Casey (justincc)1-155/+76
GetSelfInventoryItem() However, at some point it would be far more convenient to receive the TaskInventoryItem in the constructor rather than just the item UUID, so we don't have to constantly refetch our self item.
2012-04-23refactor: Replace calls to InventorySelf() with existing m_itemID in LSL_ApiJustin Clark-Casey (justincc)1-94/+42
There's no point look up an item ID that we already have.
2012-04-23Mantis 5977 Corrections to llRegionSayToTalun1-2/+6
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2012-04-17refactor: Rename EstateSettings.IsEstateManager() to ↵Justin Clark-Casey (justincc)1-1/+1
EstateSettings.IsEstateManagerOrOwner() to reflect what it actually does. This makes it consistent with other parts of OpenSimulator that are treating ESTATE_MANAGER and ESTATE_OWNER as different entities. As per opensim-dev mailing list.
2012-04-17Null reference in llGetObjectMass on a seated avatar.Talun1-1/+1
2012-04-13Missing or unimplemented LSL memory functions.Talun1-12/+28
Implemented to behave as if scripts were LSO. Signed-off-by: nebadon <michael@osgrid.org>
2012-04-12Mantis 55025 Implement script time.Talun1-4/+3
Signed-off-by: nebadon <michael@osgrid.org>
2012-04-09Mantis5502 implementation of some of the new constantsTalun1-18/+24
Signed-off-by: Melanie <melanie@t-data.com>