aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Add ThreatLevel.NoAccess to OSSL. This allows to enable OSSL without enablingMelanie2012-01-062-1/+5
| | | | | any methods, even those without threat, automatically. It is for use with setups wanting to allow only specific methods to specific users.
* Introduce a LightShare kill packet ans send it when needed. Currently onlyMelanie2011-12-281-0/+1
| | | | understood by AVN v0.3
* Cleaned up ScenePresence parameters for Flying, WasFlying, FlyingOld and ↵Dan Lake2011-12-121-3/+1
| | | | IsColliding
* Mantis 5816: osParseJSON Decoding Problemsnebadon2011-12-113-191/+72
| | | | | | | osParseJSON uses hand-crafted decoding that has two issues * does not seem to handle top-level JSON lists * does not seem to handle unicode text thanks otakup0pe!
* Fix CHANGED_TEXTURE and CHANGED_COLOR.Melanie2011-12-051-18/+18
|
* Use agent.Animator.CurrentMovementAnimation in llGetAgentInfo() rather than ↵Justin Clark-Casey (justincc)2011-12-031-1/+1
| | | | asking for a new determination
* Rename ScenePresenceAnimator.GetMovementAnimation() -> ↵Justin Clark-Casey (justincc)2011-12-031-1/+1
| | | | DetermineMovementAnimation() for better code readability
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimBlueWall2011-11-262-2/+2
|\
| * When removing an LSL sensor for a script (e.g. through llResetScript() or ↵Justin Clark-Casey (justincc)2011-11-261-1/+1
| | | | | | | | | | | | state change), don't also remove sensors for other scripts in the same prim. Hopefully fixes http://opensimulator.org/mantis/view.php?id=4448 and http://opensimulator.org/mantis/view.php?id=4452
| * minor: remove mono compiler warningJustin Clark-Casey (justincc)2011-11-261-1/+1
| |
* | Add missing property to llGetLinkPrimitiveParamsBlueWall2011-11-262-0/+4
|/
* If the entire simulator is shutting down then don't bother to unload the ↵Justin Clark-Casey (justincc)2011-11-171-7/+19
| | | | | | | scripts from the appdomain in XEngine. All the other actions (script state save, etc.) still occur. This makes shutdown where there are many scripts vastly quicker.
* Rename ForEachAvatar back to ForEachScenePresence. The other changesDan Lake2011-11-033-11/+11
| | | | | | from previous commit which sort out which iterator is used are left intact. A discussion is needed as to what constitutes an avatar vs a ScenePresence.
* Renamed ForEachRootScenePresence to ForEachAvatar. Cleaned up calls toDan Lake2011-11-033-15/+14
| | | | | | | | | | | | | | the 3 iteration functions so more of them are using the correct iteration for the action they are performing. The 3 iterators that seem to fit all actions within OpenSim at this time are: ForEachAvatar: Perform an action on all avatars (root presences) ForEachClient: Perform an action on all clients (root or child clients) ForEachRootClient: Perform an action on all clients that have an avatar There are still a dozen places or so calling the old ForEachScenePresence that will take a little more refactoring to eliminate.
* Merge branch 'master' of git://opensimulator.org/git/opensimDan Lake2011-11-021-315/+362
|\
| * Restore the recursive calling of PRIM_LINK_TARGET because the version I madeMelanie2011-11-021-327/+334
| | | | | | | | breaks LINK_SET et al.
| * Some positioning fixes from AVN trunkMelanie2011-11-021-1/+42
| |
| * Streamline PRIM_LINK_TARGET, eliminating a recursion and a failure scenarioMelanie2011-11-021-4/+3
| |
* | Changes UpdateFlag in SOP to an enumeration of NONE, TERSE and FULL.Dan Lake2011-11-021-9/+6
|/ | | | | | | | | | | | | | | | | UpdateFlag is now referenced/used only within SOP and SOG. Outsiders are using ScheduleFullUpdate, ScheduleTerseUpdate or ClearUpdateSchedule on SOP consistently now. Also started working toward eliminating those calls to ScheduleFullUpdate, ScheduleTerseUpdate or ClearUpdateSchedule from outside SOP in favor of just setting properties on SOP and let SOP decide if an update should be scheduled. This consolidates the update policy within SOP and the client rather than everywhere that makes changes to SOP. Some places forget to call update while others call it multiple times, "just to be sure". UpdateFlag and Schedule*Update will both be made private shortly. UpdateFlag is intended to be transient and internal to SOP so it has been removed from XML serializer for SOPs.
* 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
| |