aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Scripting (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-04-09* Adds World.OnNewUser += delegate(IWorld sender, NewUserEventArgs e);Adam Frisby2-1/+50
* This event fires when a new avatar is created within the Scene. (Internally corresponds to EventManager.OnNewPresence)
2009-04-09* Limits MRM scripting to Region Master Avatar only.Adam Frisby1-1/+4
* This makes MRM scripting ever so slightly more secure. If you have enforced Object Permissions enabled, it may be acceptable to enable MRM within your regions. * Security bug reports on this feature are much appreciated (eg: anyone finding ways around this to execute a MRM as a basic user).
2009-04-09* World.OnChat no longer fires if there is no chat text (prevents the typing ↵Adam Frisby1-2/+3
animation packet from firing OnChat)
2009-04-09* Added additional debug testing info to SceneAdam Frisby3-6/+56
* Corrected issue with MRMs where it would attempt to overwrite an already loaded DLL. (and thus fail with cryptic UnauthorizedAccessException.) * Made DrunkenTextAppreciationModule.cs MRM not crash with StackOverflowException * Added some temporary logging to MRM World.*
2009-04-09* Forgot to commit IEntity in last commit.Adam Frisby2-0/+67
* Added "DrunkenTextAppreciationModule" Demo MRM - behaves very similarly to the sobriety filter in WoW. ;)
2009-04-09* Moves Name, GlobalID and WorldPosition into new IEntity interface.Adam Frisby5-22/+98
* Avatar and Object now inherit from IEntity. * Avatar.Position is now Avatar.WorldPosition to match IObject property. * Implements event World.OnChat += delegate(IWorld sender, ChatEventArgs e);
2009-04-09* Implements retrieving child primitives via World.Objects[id] (MRM)Adam Frisby2-5/+13
* Optimizes SceneGraph - fetches on primitives via "GetGroupByPrim" wont search the entire list if the primitive is infact the root. (Core) * Updates Test MRM.
2009-04-09* Implements IObject.OnTouch += delegate(IObject sender, TouchEventArgs e)Adam Frisby2-0/+73
* This is equivalent to LSL 'touch(int senders)'
2009-04-06Add copyright headers, formatting cleanup.Jeff Ames7-9/+171
2009-04-06Update svn properties.Jeff Ames6-175/+175
2009-04-06* Implements World.Parcels[] array for MRM scripting.Adam Frisby5-3/+67
2009-04-06* Adds AutoOAR module, this will automatically OAR your regions every 20 ↵Adam Frisby1-0/+5
minutes to a directory called "autooar", if enabled. Default disabled. Use [autooar] Enabled=true in OpenSim.ini to enable. * Adds some MRM XMLDOC
2009-04-05* Fixed copyright headers on HyperGrid source files. (Now match the rest of ↵Adam Frisby1-0/+1
OpenSim, license text is unchanged) * Added Bitmap[,] to IParcel for MRM
2009-04-05* Minor cosmetic change to SEUser to get Bamboo to initiate another build. (grr)Adam Frisby2-2/+16
* Adds basic IParcel interface. Soon to live on World.Parcels{[id],[x,y]}
2009-04-05* Typo in constructor during class rename (whoops!)Adam Frisby1-1/+1
* OpenSim is now over 9000.
2009-04-05* Implements ISocialEntity - this represents the class of "user-like" ↵Adam Frisby3-1/+48
objects such as Users, Groups, etc. Destined to be used as the return value of any "Owner" properties. * Implements basic "SEUser" class which implements Avatar/Agent SE functions (primitive).
2009-04-04* Removes IsPhysical, IsPhantom from IObject, since this is now represented ↵Adam Frisby2-13/+0
in IObject.Physics.Enabled / IObject.Physics.Phantom instead.
2009-04-04Implements on IObjectPhysics:Adam Frisby1-21/+62
* SetMomentum * AddAngularForce * AddForce * FloatOnWater * Force * Acceleration * Torque * Velocity * RotationalVelocity * CenterOfMass * GeometricCenter * Buoyancy * Mass (Partial) * Density (Partial)
2009-04-04* Implements IObjectPhysics on SOPObject partially.Adam Frisby3-7/+116
* Eg, IObject.Physics.* is now valid syntax and compiles (but will throw NotSupported at runtime)
2009-04-04* Implements IObjectPhysics, this collects Physics attributes into one ↵Adam Frisby1-0/+32
interface, will be referenced on IObject as IObject.Physics.* * Eg; IObject.Physics.Torque = new Vector3(30.0,0.4,0.5); * Maps loosely to internal PhysicsActor class.
2009-04-04* More fiddling with MRM IPersistence, now stores <T> instead of Object.Adam Frisby1-4/+5
2009-04-04* Changed IPersistence interface so that passing the MRMBase is unessecary.Adam Frisby2-7/+5
2009-04-04* Renamed Heightmap.Height to Heightmap.Length to avoid confusion about axis.Adam Frisby3-3/+35
* Added XMLDOC to MRM API code, this means we have usable programming docs being produced here: http://docs.opensimulator.org/namespaceOpenSim_1_1Region_1_1OptionalModules_1_1Scripting_1_1Minimodule.html (eg IObject, IHeightmap, etc)
2009-04-04Add copyright headers, formatting cleanup.Jeff Ames6-5/+140
2009-04-04* Removes IObject.Position, IObject.Rotation from IObjectAdam Frisby2-6/+55
* Adds IObject.WorldPosition and IObject.OffsetPosition - this is equivilent to AbsolutePosition and OffsetPosition in SOP respectively. * Adds IObject.WorldRotation and IObject.OffsetRotation - as above.
2009-04-04* Drops Heightmap.Get/Heightmap.Set from IHeightmap interface.Adam Frisby2-5/+28
* Adds Heightmap[x,y] to interface. * MRM Scripts should utilize World.Heightmap[x,y] = 0.0; to replace set, and Val = World.Heightmap[x,y] to get.
2009-04-03* Implements MRM IObject.Say - this is equivilent to llSayAdam Frisby1-0/+8
Example: public override void Start() { Host.Object.Say("Hello World!"); }
2009-04-03* Implements Scene.SimChat(string,...) rather than byte[]. We should ↵Adam Frisby1-0/+11
probably mark byte[] as obsolete. * Implements SOPObject.Say for MRM. (Note, not IObject yet)
2009-04-03* MRM Scripts will now no longer disconnect the client if there was an error ↵Adam Frisby1-15/+27
in compilation or script initialisation. * Clarified some debug text for MRM Enabling
2009-04-03* Implements "ID" semi-global within MRM scripts. This is tied to the 'state ↵Adam Frisby5-7/+45
ID' for MRMs. * Implements IPersistence interface, allows simple KeyValue access for MRM scripts to a more permanent datastore.
2009-04-01Update svn properties.Jeff Ames4-197/+197
2009-04-01* MRM AdjustmentsAdam Frisby4-14/+32
* Renamed 'Material' to PhysicsMaterial (Wood, Glass, Metal, etc.). May want to place in subclass with other physics specific properties. (We however need to support these features in ODE/etc first.) * Renamed Faces to Materials. IObjectFace to IObjectMaterial - this is for clarity for those coming from a 3D Programming background (it also makes more sense if/when we support Meshes in core). Properties and members remain identical. * Added XMLDoc comments to IObject to assist people writing MRMs in XMLDoc aware editors.
2009-04-01* MRM AdjustmentsAdam Frisby4-15/+150
* Changes World.Objects from Array IObject[] to IObjectAccessor. * Syntactically identical in most behaviour, however the indexer is now ranges not from 0..Count, but any valid internal LocalID. Additional indexers have been added for UUID. * Example: for(int i=0;i<World.Objects.Count;i++) will not work any more, however foreach(World.Objects) will remain functional. * This prevents us needing to create a list for each access to World.Objects which should [in theory] present a dramatic speed improvement to MRM scripts frequently accessing World.Objects.
2009-04-01* Adds World.Avatars[] to MRM Scripting. Contains an enumerable array ↵Adam Frisby5-1/+73
containing IAvatar instances for each avatar in the region. * Adds Test/TestModule.cs which demonstrates a very quick and simple MRM Test.
2009-04-01* Removes some hard-coded magic numbers relating to RegionSize. We now use ↵Adam Frisby2-29/+28
Constants.RegionSize as expected. (Working towards enlarged or smaller regionsizes that arent multiples of 256m) * Adds minor functionality to MRM Scripting.
2009-03-12From: Christopher Yeoh <yeohc@au1.ibm.com>Dr Scofield1-3/+7
Patch to RegionReady which adds a field which adds to the message whether the region is ready due to a server startup or due to an oar file loading.
2009-03-07Add copyright headers.Jeff Ames12-12/+336
2009-03-07Update svn properties.Jeff Ames12-845/+845
2009-03-05MRM Scripting ChangesAdam Frisby3-8/+8
* Renames MiniRegionModule to MRMModule to make it more distinct from the actual Mini Region Module[s] executed in Scene. * Renames MiniRegionModuleBase to MRMBase for convenience. MRM's need to be adjusted to inherit from MRMBase.
2009-03-05* Implements a number of members on SOGObject for use with the MRM Script ↵Adam Frisby2-15/+166
Engine API. * It's lag-tacular! :D
2009-03-04* Fleshed out the MRM Module a little.Adam Frisby5-44/+84
* Please don't use this yet, it represents a very heavy security risk if you enable it.
2009-03-04* Whoops. Left MiniModule enabled to anyone. (potential security risk). ↵Adam Frisby1-0/+3
Disabled - edit code to load.
2009-03-04* More work on MiniRegionModule module.Adam Frisby5-0/+275
2009-03-04IObjectFace needs to be public to compile.Mike Mazur1-1/+1
2009-03-04* More work on MiniRegionModule module.Adam Frisby6-3/+243
2009-03-04* Implementing some interfaces for aformentioned script engine. Ignore this.Adam Frisby4-0/+136
2009-02-16cosmetic: adding region name to logging statementDr Scofield1-3/+3
2009-02-13Add copyright headers. Minor formatting cleanup. Fix some compiler ↵Jeff Ames1-1/+1
warnings. Fix some m_log declarations.
2009-02-11From: Christopher Yeoh <yeohc@au1.ibm.com>Dr Scofield1-0/+146
This changeset add the RegionReady module code. The module sends a message on a configurable channel when an oar file has finished loading or if the script engine has emptied its queue for the first time (eg server startup). Config is something like this: [RegionReady] enabled = true channel_notify = -800 The module also knows if there was an error with startup.