Commit Graph

1550 Commits (80234b98e5dd03de08229fb5cc6dd2a42e70ec24)

Author SHA1 Message Date
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
Tedd Hansen 16defc30eb krinkec's updates to ll* interface and functions 2007-08-14 19:06:57 +00:00
MW 20b50489c0 Can now create some new empty inventory items (like notecards and scripts) from the create menu in the inventory window. Although currently you can't update/edit them (and have those changes saved). 2007-08-14 17:48:25 +00:00
MW 181a90967e Start of inventory items, when you upload a texture the data will now be stored in the inventory database and you will still have that texture in inventory on later logins (Again only in standalone mode with authentication.)
Also there might be some problems if you upload textures in other regions to the start one (due to us not updating the CAPS url properly).
2007-08-14 17:29:15 +00:00
Tedd Hansen 09e1f5f22e Correct caps of Default.lsl for Linux. Thanks again krinkec. :) 2007-08-14 16:42:00 +00:00
Tedd Hansen 2a892eb736 Removed some debugging. Removed *.lso from project include in prebuild.xml. 2007-08-14 16:25:22 +00:00
Tedd Hansen 9573aa7582 llSay() works again. Cleanup of debug messages. 2007-08-14 16:14:19 +00:00
Tedd Hansen afaa12a9e2 ScriptEngine: Some error handling, logs to logger 2007-08-14 15:59:36 +00:00
MW ff08d4d016 More inventory work, should be able to now create new inventory folders and them be stored in database (so are there on next login). Again only works in standalone mode with Account/password authentication turned on. [Creating new inventory items should be working very soon.]
The test is to make sure that it hasn't broke grid mode at all.
2007-08-14 14:57:52 +00:00
MW a228b5984e Start of Inventory service, currently only (partially) functional in standalone mode and using sqlite).
In standalone mode, if you have account authenticate turned on (setting in opensim.ini) then when you create a new account, a set of inventory is created for that account and stored in database (currently only a set of empty folders). Then during login the database is search for that set and sent to the client in the login response.
More functions will be added soon, like creating new folders (and a bit later items) from the client inventory window.
2007-08-14 13:54:46 +00:00
Tedd Hansen 7b2663a41e Disabled ScriptEngine until I add error handling tomorrow 2007-08-13 21:25:16 +00:00
Tedd Hansen 79dc1a4f7d Common script for all objects (Default.lsl). ScriptEngine touch_start event now works, but llSay only outputs to server console. 2007-08-13 20:55:07 +00:00
MW a63fb0147b committed a test version of OpenSimAssetSet.xml in last commit, so fixing that. 2007-08-13 20:40:38 +00:00
MW 45fcbaae1b Added Scene.ConvertLocalIDToFullID() method. 2007-08-13 20:24:37 +00:00
MW b3c6920328 added Sample OnObjectGrab event to SceneEventManager for script engines to subscribe to. 2007-08-13 20:11:35 +00:00
MW fc82bd8de7 Changed ScriptLoader to use Path.combine. 2007-08-13 19:56:48 +00:00
Tedd Hansen 876f71cf93 (DotNet) ScriptEngine is now loaded and added to Scene during startup. 2007-08-13 19:39:51 +00:00
Tedd Hansen c2c21ea170 Setting culture for startup thread to invariant. Config now read correctly on alternate regional settings. 2007-08-13 18:33:03 +00:00
MW 8af12cd9a8 Some more work on SceneObjectGroup 2007-08-13 18:25:12 +00:00
Tedd Hansen 050921d7b6 krinkec's updates to ll* interface and functions 2007-08-13 17:28:08 +00:00
MW 9cd64931d6 oops , guess I should include the new files next time 2007-08-13 16:24:12 +00:00
MW 04b1767886 Separated Login Service from usermanager, which helps to clean up the code a bit and also should help to integrate the inventory server (when it is wrote/finished). 2007-08-13 15:55:36 +00:00
MW dc24317678 Added the SetPartText access method to SceneObjectGroup to set the text of member SceneObjectParts. 2007-08-13 14:39:12 +00:00
MW 7fbc3266df The Welcome message /message of the day shown in the client during login, can now be set from the .INI file for standalone mode (change the standalone_welcome = "Welcome to OpenSim" line). 2007-08-13 13:41:54 +00:00