Commit Graph

1923 Commits (2681de366b22d1fc57d808c0cd98da0426a0379e)

Author SHA1 Message Date
Tedd Hansen 37446b0392 Moved in-AppDomain event execution from Script to OpenSim.Region.ScriptEngine.Executor. Script no longer responsible for handling event calls to itself (and we can create reference cache in Executor). 2007-08-18 23:24:38 +00:00
Brian McBee 318376707d starting to add bits and pieces to physics prims that we will eventually need for collisions. not hooked in yet. 2007-08-18 23:05:02 +00:00
Tedd Hansen 1ae73931da Added (theoretical) AppDomain cleanup code. 2007-08-18 22:33:06 +00:00
Tedd Hansen 240712ca9f Scripts are working again. Scripts are now loaded into limited AppDomains (no security yet).
*phew* that only took me 12 hours of coding...
2007-08-18 22:09:07 +00:00
Tedd Hansen 6faa8d8d68 Script loads into separate AppDomain without errors. Events and llFunctions not working yet. 2007-08-18 21:31:35 +00:00
Tedd Hansen f444fe4f87 Moved OpenSim.Region.ScriptEngine.Common.dll from bin\ScriptEngine\ to bin\ folder - hopefully solves compile problem on Linux. 2007-08-18 21:10:40 +00:00
Tedd Hansen 551f2af39f LSL Compiler now only referring required assemblies (DotNetEngine and Common). Changed Vector and Rotation to custom types (stored in Common) that needs to be changed later. No longer using Axiom. Script support still broken. 2007-08-18 20:53:13 +00:00
Tedd Hansen 1d41fd4984 Working on AppDomains. Scripting is now officially broken. :] 2007-08-18 19:54:04 +00:00
Tedd Hansen 6d10c65358 Moved LSL_BuiltIn_Commands_Interface.cs to a separate library (OpenSim.Region.ScriptEngine.Common). Fixed last compile error (forgot to include LSL_BuiltIn_Commands.cs). 2007-08-18 18:53:03 +00:00
Tedd Hansen 1284369a32 Started on AppDomains for ScriptEngine. Moved llFunctions in LSL_BaseClass.cs to LSL_BuiltIn_Commands.cs. Changed how scripts are loaded. 2007-08-18 18:18:14 +00:00
Brian McBee 6c7f828833 When teleporting to distant region, you can now go to the point you want to go to, instead of the default 128,128 2007-08-18 17:10:54 +00:00
Brian McBee fdd5602422 llstrenglength (thanks ldvoipeng!) 2007-08-18 16:56:05 +00:00
Brian McBee 8eb9952e5f lsl test cases, and llregioncorner (thanks Dalien!) 2007-08-18 02:15:21 +00:00
Adam Frisby 4177f5c485 * Applied dalien's terrain help patch (thanks!) 2007-08-17 22:57:46 +00:00
Adam Frisby d2e48c8014 * Added new terrain-sim <simname> <terrain commands...> function to run terrain commands on a specific sim.
* Made arguments for terrain save grdmap optional. Uses defaultstripe if no argument specified.
2007-08-17 22:44:34 +00:00
Tedd Hansen fcf7db7272 Pimped up Default.lsl. Now featuring a touch counter.
Changed "ObjectID" in ScriptEngine to IScriptHost reference. Events will now be queued based on IScriptHost reference instead of string ID of object. Removed "root" object reference in script.
2007-08-17 21:24:38 +00:00
Tedd Hansen 577fb1a987 Removed RAIL test from startup for now... 2007-08-17 19:47:40 +00:00
Tedd Hansen 3998c1611c (2/2) Added DotSets.dll and Mono.PEToolkit.dll 2007-08-17 18:42:54 +00:00
Tedd Hansen 4e8536588f (1/2) removed DotSets.dll and Mono.PEToolkit.dll 2007-08-17 18:42:07 +00:00
Tedd Hansen f2dd6c86f7 Added RAIL.dll
Updated DotSets.dll and Mono.PEToolkit.dll
Started on microthreading - currently display exception during startup
2007-08-17 18:39:04 +00:00
Tedd Hansen 66695ded13 krinkec's updates to ll* interface and functions. 2007-08-17 17:33:18 +00:00
mingchen d3660ed269 *Moved network_servers_info.xml into OpenSim.ini under [Network] 2007-08-17 15:45:49 +00:00
Adam Frisby 4a9e40ea47 * Added support for the IMG-format loader to terrain's load-tile function. 2007-08-16 23:29:28 +00:00
lbsa71 e53d680d41 * Now sending manager, host and root host to Script in constructor.
* Changed how Script accesses World
* Implemented llSay, llWhisper and llShout
* Added SetText() to IScriptHost, implemented llText
* Minor renamings to conform with code conventions
2007-08-16 18:40:44 +00:00
MW cb90510e16 Had to rename Rotation in SceneObjectGroup to GroupRotation to stop conflict with Rotation in entitybase (couldn't override as they are different types (LL vs Axiom) and didn't want to add new).
When you take prims into inventory (or delete them), they should now be removed from the prim datastore, so they no longer reappear in-world when you restart opensim.
2007-08-16 18:22:08 +00:00
lbsa71 25fd8d0273 * Introduced IScriptHost as an interface to fetching object data from scripts.
* This meant introducing AbsolutePosition on all objects (since SimChat wants that)
2007-08-16 17:08:03 +00:00
MW 67873b8614 Deleted old inventoryCache.cs 2007-08-16 16:57:30 +00:00
MW 531f64a53b Taking Prims (SceneObjectGroups) in and out of inventory should now work and if left in inventory will still be there after restarts. (as with the rest of inventory it will only fully work in standalone mode with account authentication turned on). 2007-08-16 16:31:32 +00:00
MW 915f8cc1a1 I will get it right, honestly! 2007-08-16 14:48:58 +00:00
MW 5bbbf44719 Sorry everyone forget to include this, if someone wants to arrange it, I will present myself on a deepgrid region for public flogging. 2007-08-16 14:37:16 +00:00
MW b6c48c53b2 Can now set the plugins for standalone mode's Inventory database (default sqlite) and for its user database (default DB4o). Currently changing the user plugin to MySql should work (if you have MySql setup (should be same as for grid mode). There is also a MySql provider for the inventory but not 100% certain if that is finished and functional (will need to check with Adam on that). 2007-08-16 11:24:40 +00:00
lbsa71 94af938742 The 'Party Party Groupie Groupie Life is a game' commit:
* Added prototypical MoneyBalance support
  * Finalized konceptual touch wiring
  * Turned SimpleApp into a tedious harvesting game.
2007-08-15 21:24:25 +00:00
Tedd Hansen 6831c42fe2 compile error removed :) 2007-08-15 19:30:19 +00:00
Tedd Hansen 9c3251b177 Bugfixes in LSL compiler. Changed most datatypes to int (instead of UInt32) and double (instead of float). 2007-08-15 19:25:29 +00:00
mingchen ae20503dae *Added the ability to run commands after all regions have started up
*By default, it is set to startup_commands.txt. Simply add a list of commands separated by a new line to be run or change the file by changing the path of a startup commands file in OpenSim.ini
2007-08-15 19:08:27 +00:00
MW 94dded470d More work on inventory, can now create other inventory types, like Clothes and body parts. [Note while you can edit these, at the moment your changes won't be saved between restarts. This will be fixed very soon.] 2007-08-15 18:34:36 +00:00
lbsa71 2a5a8c48c3 * We now have a field of spinning objects. 2007-08-15 18:13:32 +00:00
lbsa71 a4602515ce * Added more spinning parts to ComplexObject.
* We now have CylinderShape
* This commit dedicated to the birth of techno house.
2007-08-15 18:02:05 +00:00
lbsa71 2fe9b8139c * Again, FileSystemObject reports filename.
* SimpleApp now featuring spinning box with spinning parts.
* Damn. That's cool.
2007-08-15 17:15:41 +00:00
lbsa71 c47bca94d2 * Exploring Group/Part from an app perspective. 2007-08-15 16:57:47 +00:00
Adam Frisby 226339cd40 * Applying ckrinke's LSL baseclass changes (Thanks!) 2007-08-15 16:57:01 +00:00
Adam Frisby bf60577e57 * Fixed bug with llModPow
* Implemented llSleep
* Implemented llGetEnergy (always returns 1.0)
* Implemented llGetRegionName
* Implemented llGetRegionTimeDilation (always returns 1.0)
* Implemented llGetRegionFPS (always returns 10.0)
2007-08-15 16:52:24 +00:00
Adam Frisby ceb1c12bd1 * New LSL functions
+ llAsin / llAcos
+ llMD5String
+ llModPow
+ llGetUnixTime
2007-08-15 16:44:00 +00:00
Adam Frisby c170c60df7 * Division of parcel boundaries occurs in double space rather than decimal. 2007-08-15 16:17:40 +00:00
MW 217d511077 Temporary fix for the region crossing crash, Although we need to start to change and improve how we handle caps. 2007-08-15 15:24:37 +00:00
Adam Frisby 5699bb2e64 * Permissions! - You can now only perform certain functions (such as editing other peoples objects) if you have permission to do so.
* Moved OnPermissionError to EventManager - now triggers a standard blue alert.
* Terraforming now requires permission via the permissions manager. [Defaults to admin-only]
* Permissions manager is now substantiated in Scene
* Buttload of new permissions added.
* Estate manager operations now require various levels of permission to operate
* OGS1 now produces 'summary reports' for a commsManager of each scene it maintains connections for. Reduces grid network traffic for ping checks.
* Added new "permissions true" / "permissions false" console command to enable or disable permissions.
2007-08-15 14:10:26 +00:00
MW a4fc02d790 Partial fix for the permissions on edited notecards/scripts (now you might still see the messages next to the items of no copy or whatever, but they shouldn't stop you doing thing like reading etc) 2007-08-14 20:05:39 +00:00
Tedd Hansen 6b72ed01e3 Minor change to LSL_BaseClass adding pseudocode to World.SimChat 2007-08-14 19:36:43 +00:00
MW ea5d414170 Added public RegionInfo RegionsInfo property to SceneBase (so scripts can access it). 2007-08-14 19:30:57 +00:00
MW a979808493 preliminary support for editing notecards and scripts.
Although there seems to sometimes be a problem of when you login again, old notecards and scripts will have their permissions messed up and you won't be able to even view their text. This seems to be related to the client's cache, and if you clear your client's cache, on the next login they should be fine again. [I have a couple of ideas about what might be causing this so hopefully will have it fixed soon.]
2007-08-14 19:19:09 +00:00