aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove completely unused SOG.Rotation parameterJustin Clark-Casey (justincc)2011-10-291-1/+1
| | | | We always use SOP.Rotation instead
* Continuation of previous checkin. Found more places where ↵Dan Lake2011-10-271-15/+9
| | | | ForEachScenePresence can be changed to ForEachRootScenePresence.
* Added new ForEachRootScenePresence to Scene since almost every delegate ↵Dan Lake2011-10-271-10/+10
| | | | passed to ForEachScenePresence checks for !IsChildAgent first. It consolidates child and root handling for coming refactors.
* For now, comment out error message on new script engine console commands.Justin Clark-Casey (justincc)2011-10-271-1/+4
| | | | This causes false positives if a simulator has more than 1 region and the current region is 'root' since this sends the command separately to each region and each region has its own XEngine
* Added optional owner classes to existing OSSL agent PermissionsMichelle Argus2011-10-261-6/+61
| | | | | | PARCEL_GROUP, PARCEL_OWNER, ESTATE_MANAGER and REGION_OWNER can be combined with the existing agent uuid option to limit ossl functions to agents and owner classes. Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
* Implementation of PRIM_OMEGA, but only for settingSignpostMarv Martin2011-10-262-4/+18
| | | | Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
* Implementing PRIM_LINK_TARGET, but only for setting paramsSignpostMarv Martin2011-10-262-4/+14
| | | | Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
* Add case to Lightshare/WindlightBlueWall2011-10-221-0/+3
| | | | Thanks thomax for a patch to add handling for Sun/Moon pos.
* Merge branch 'master' of git://opensimulator.org/git/opensimDan Lake2011-10-191-67/+91
|\
| * Extend scripts stop/start/suspend/resume console commands to allow action on ↵Justin Clark-Casey (justincc)2011-10-191-67/+91
| | | | | | | | | | | | a single script by giving the script item id (which can be found via scripts show). Not an ideal way to do this on a region with many scripts. Needs refinement later.
* | Renamed and rearranged AvatarFactoryModule to eliminate redundant lookups of ↵Dan Lake2011-10-191-1/+1
|/ | | | scene presence by client ID.
* Add "scripts stop" and "scripts start" console commands.Justin Clark-Casey (justincc)2011-10-191-2/+48
| | | | | These will stop all running scripts and start all stopped scripts respectively. A stopped script does not save any events for later processing.
* minor: improve command help on scripts suspend/resumeJustin Clark-Casey (justincc)2011-10-191-2/+5
|
* Fix resume scripts.Justin Clark-Casey (justincc)2011-10-192-9/+33
| | | | | On resume, we need to place requeue the script for event processing if there are any events on the queue. Also need to do this under m_Script lock in order to avoid a race
* Add "scripts suspend" and "scripts resume" commands.Justin Clark-Casey (justincc)2011-10-192-3/+53
| | | | | These aim currently to suspend and resume all scripts. However, resume isn't currently working due to what looks like a bug in resume functionality itself.
* on log and "show scripts" messages, show script item UUID rather than asset UUIDJustin Clark-Casey (justincc)2011-10-191-4/+4
| | | | The item ID is the one required for any script manipulation on the command line, so I think it's somewhat more useful to show this bearing in mind the limited space available
* add current script status to "scripts show" command (running, suspended, etc.)Justin Clark-Casey (justincc)2011-10-193-7/+31
|
* Add "show scripts" command to show all scripts currently known to the script ↵Justin Clark-Casey (justincc)2011-10-192-2/+28
| | | | | | engine in the current region. Also added synonym of "scripts show"
* refactor: Use SOP.SitTargetAvatar instead of calling a special ↵Justin Clark-Casey (justincc)2011-10-171-1/+1
| | | | GetAvatarOnSitTarget() which returned exactly the same thing
* rename OS_NPC_SIT_IMMEDIATE to OS_NPC_SIT_NOW since it's shorter and more ↵Justin Clark-Casey (justincc)2011-10-171-1/+1
| | | | | | | | understandable This makes something like osNpcSit(npc, llGetKey(), OS_NPC_IMMEDIATE) now become osNpcSit(npc, llGetKey(), OS_NPC_SIT_NOW); This is why it's in development :)
* Implement osNpcStand(<npc-id>)Justin Clark-Casey (justincc)2011-10-173-0/+17
| | | | Allows you to stand an NPC that has sat.
* Implement osNpcSit(). This is still in development so don't trust itJustin Clark-Casey (justincc)2011-10-174-0/+19
| | | | | | | | | Format is osNpcSit(<npc-uuid>, <target-uuid>, OS_NPC_SIT_IMMEDIATE) e.g. osNpcSit(npc, llGetKey(), OS_NPC_SIT_IMMEDIATE); At the moment, sit only succeeds if the part has a sit target set. NPC immediately sits on the target even if miles away - they do not walk up to it. This method is in development - it may change so please don't trust it yet. Standing will follow shortly since that's kind of important once you're sitting :)
* Don't execute rest of code in XEngine.RemoveRegion() and Close() if the ↵Justin Clark-Casey (justincc)2011-10-141-0/+6
| | | | module is disabled.
* Get rid of some traces of the old pre-ROBUST grid architecture configJustin Clark-Casey (justincc)2011-10-121-2/+0
|
* When shutting down XEngine, log how many scripts are being shutdown so the ↵Justin Clark-Casey (justincc)2011-10-122-2/+5
| | | | user knows why they are waiting.
* osSetParcelDetails - PARCEL_DETAILS_CLAIMDATEPixel Tomsen2011-10-112-21/+32
| | | | | | | this new flag set parcels claim date value 0 for this flag set current unixstamp http://opensimulator.org/mantis/view.php?id=5725
* Convert getLastReportedSimFPS() and getLastReportedSimStats() into more ↵Justin Clark-Casey (justincc)2011-10-102-2/+2
| | | | idiomatic LastReportedSimFPS and LastReportedSimStats on SimStatsReporter
* refactor: have lsl and ossl interrogate scene.StatsReporter directly rather ↵Justin Clark-Casey (justincc)2011-10-102-2/+2
| | | | | | than going through scene I know this goes against the law of demeter but I don't think it's that useful here and I'd rather get rid of nasty little wrapper methods
* Removed all refs to IClientAPI from IAttachmentsModule. Separated client ↵Dan Lake2011-10-041-1/+1
| | | | handlers for attachments to call public interface and rearranged module file into sections
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimDan Lake2011-10-031-3/+18
|\
| * trival tweak to trigger the continuous integration systemJustin Clark-Casey (justincc)2011-10-041-1/+1
| |
| * Return NULL_KEY from llGetTexture if a non-existent face is indicated, ↵Justin Clark-Casey (justincc)2011-10-041-1/+1
| | | | | | | | | | | | rather than "" As per http://wiki.secondlife.com/wiki/LlGetTexture
| * For llGetTexture(), if the face texture asset is in the inventory, return ↵Justin Clark-Casey (justincc)2011-10-041-1/+16
| | | | | | | | | | | | | | | | the inventory name rather than the asset UUID This is as per http://wiki.secondlife.com/wiki/LlGetTexture Applied patch in http://opensimulator.org/mantis/view.php?id=4552 with an additional break statement if an inventory item is found to exit early. Thanks Michelle Argus!
* | Removed redundant code in AttachmentsModule and simplified interfaces which ↵Dan Lake2011-10-031-2/+1
|/ | | | converted back and forth between ScenePresence and IClientAPI. More to be done still.
* llGetLinkKey, llGetLinkName Fix for sitting AvatarPixel Tomsen2011-10-011-0/+41
| | | | | | when an avatar sits on a prim, we get now his key & name ;-) http://opensimulator.org/mantis/view.php?id=4476
* llAvatarOnLinkSitTarget ImplementationPixel Tomsen2011-09-293-0/+20
| | | | http://wiki.secondlife.com/wiki/LlAvatarOnLinkSitTarget
* refactor: rename SOG/SOP.GetProperties() to SendPropertiesToClient() to ↵Justin Clark-Casey (justincc)2011-09-151-1/+1
| | | | | | reflect what it actually does This also makes it consistent with some other methods that send data to the client.
* minor: if the script engine fails to find a prim for a script, also print ↵Justin Clark-Casey (justincc)2011-09-121-1/+1
| | | | out that prim's local id in the error message.
* Delay loading scripts until the scene has finished loadingOren Hurvitz2011-09-091-0/+3
|
* llSetPrimitiveParams Prim type params precision errorsMicheil Merlin2011-09-092-44/+90
|
* When invoking any of the OSSL teleport functions, do it on a separate thread ↵Justin Clark-Casey (justincc)2011-09-071-6/+13
| | | | | | | rather than the script thread. This is to prevent the aborting of attachment script threads on teleport from aborting the one actually doing the teleport. This allows OSSL teleport functions to work when invoked on scripts in attachments (and huds, I assume)
* refactor: use SOG register target waypoints and rots directly instead of ↵Justin Clark-Casey (justincc)2011-09-011-4/+6
| | | | calling through the SOP, which doesn't make conceptual sense anyway.
* Eliminate pointless checks of SOG.RootPart != nullJustin Clark-Casey (justincc)2011-09-013-13/+3
| | | | It's never possible for SOG to have no RootPart, except in the first few picosends of the big bang when it's pulled from region persistence or deserialized
* Fix issue with llGetTorque() where it would only ever return a zero vector.Justin Clark-Casey (justincc)2011-09-011-1/+1
|
* Remove pointless cluttering SOP.ParentGroup != null checks.Justin Clark-Casey (justincc)2011-09-015-114/+63
| | | | | The only times when ParentGroup might be null is during regression tests (which might not be a valid thing) and when scene objects are being constructed from the database. At all other times it's not possible for a SOP not to have a SOG parent.
* refactor: move SOP.IsAttachment and AttachmentPoint up into SOG to avoid ↵Justin Clark-Casey (justincc)2011-08-272-14/+14
| | | | pointless duplication of identical values
* refactor: simplify SOP.AttachedAvatar into SOG.AttachedAvatarJustin Clark-Casey (justincc)2011-08-263-7/+7
| | | | This does a tiny bit to reduce code complexity, memory requirement and the cpu time of pointlessly setting this field to the same value in every SOP
* llSetPrimitiveParams correct prim hollow for cases where limit should be 70%.Micheil Merlin2011-08-252-51/+111
| | | | Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
* Fix llAttachToAvatar()Justin Clark-Casey (justincc)2011-08-243-2/+22
| | | | | | Apart from one obvious bug, this was failing because attempting to serialize the script from inside the script (as part of saving the attachment as an inventory asset) was triggering an extremely long delay. So we now don't do this. The state will be serialized anyway when the avatar normally logs out. The worst that can happen is that if the client/server crashes, the attachment scripts start without previous state.
* rename AttachmentsModule.ShowDetachInUserInventory() to ↵Justin Clark-Casey (justincc)2011-08-231-1/+1
| | | | DetachSingleAttachmentToInv() for consistency and to reflect it's actual behaviour