aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Removal of script that was unable to compile no longer crashes server.Tedd Hansen2007-08-253-14/+45
| | | | | Displays script compile error messages in-world.
* Test to see if this change improves or makes worse the texture sending bugMW2007-08-251-0/+2
|
* testing Tedds temporary CIA-standinTedd Hansen2007-08-251-1/+0
|
* testing Tedds temporary CIA-standinTedd Hansen2007-08-251-0/+1
|
* Added class for "long commands" (command that returns as event) with ↵Tedd Hansen2007-08-259-77/+259
| | | | dedicated thread for processing. Added support for llSetTimerEvent(). Deleting old compiled scripts before new compile is attempted (avoids loading wrong script on compile error).
* Scripts no longer crash sim after 5 minutes (override ↵Tedd Hansen2007-08-257-60/+190
| | | | InitializeLifetimeService). Loading/Unloading of scripts are now handled in separate thread so server is no delayed because of this. Each script is loaded into a single AppDomain (temporary test for script unload, eats ~15KB more memory for each script). Unload of scripts has been verified to free up memory.
* Hopefully fixed the bugs in primitives rotation editingMW2007-08-253-6/+9
|
* updated to include saving of object flags.Sean Dague2007-08-252-9/+17
| | | | | | People will need to blow away their databases after this point.
* Set some default values for "create user" in case anyone just pressing ↵MW2007-08-241-4/+4
| | | | return as the answer to some of the settings.
* Now also enabled Inventory persistence in standalone mode when account ↵MW2007-08-241-0/+4
| | | | Authentication is turned off.
* add some better verbose statements to get a better feel for what is goingSean Dague2007-08-241-6/+14
| | | | | | on in the data paths
* Hopefully fixed the issue of inventory not working for the master account. ↵MW2007-08-242-22/+30
| | | | (Note you will need to delete userprofile.yap for this to take effect.)
* Small bit of refactoring to the startup command script code (moved it into a ↵MW2007-08-242-19/+29
| | | | separate method), so that I could add a new CLI command of "command-script <fileName>", so that as well as the startup command script still being processed on startup. A user can create other command scripts and use the single command ("command-script <filename>") to run them at any time. Could be useful for trying out various configurations etc.
* Fixed a problem where some prims didn't show up when you crossed or ↵MW2007-08-241-0/+3
| | | | teleported into another region.
* Added temporary fix for the sqlite datastore exception in windows .Net, ↵MW2007-08-241-2/+11
| | | | Added a Try catch block around "shapeDa.Fill(ds.Tables["primshapes"]);" line. Seems if the database file is empty (ie opensim has just created it or nothing has been stored in it yet.) then the exception will be fired and catch, then opensim can continue and have no problems (it will still save prims fine), then on next restart if the database file has entries in it, the exception will no longer be thrown.
* Had "using OpenSim.Physics.Manager;" defined twice in SceneObjectGroup.cs, ↵MW2007-08-241-1/+0
| | | | so removed one of them.
* Hopefully fixed mantis bug #318 (exception when a prim moves across a ↵MW2007-08-242-3/+24
| | | | border, for now have stopped prims moving beyond a regions area, will add sending prims from one region to another soon).
* attempted fix for .NET issue with the databaseSean Dague2007-08-241-6/+6
|
* Scripts are now copied into a prim (ie new copy placed in the prim) rather ↵MW2007-08-243-9/+34
| | | | than moved into there.
* Updated sqlite3.dll to version 3.4.2MW2007-08-242-0/+9
| | | | | | Fixed it so now when you move a script to a Prim or delete a script from a prim the change should show up in the prims inventory straight away (without having to close the edit window and reopen it). When linking prims, all parts except for the root part of the new group are removed from the physics engine, as currently we only really support root parts in the physics engine.
* Add region to dbSean Dague2007-08-231-48/+50
|
* I think this fixes blob save/load issues (though I'm still not convinced this Sean Dague2007-08-231-20/+26
| | | | | | | | | will handle > 8k textures yet). Need MW to test to see if this gets rid of his issue. There is commented code left in here for now until we know it is fixed
* Lowered priority of script threads. Executing state_entry() event on script rez.Tedd Hansen2007-08-234-11/+2
|
* Added RemovePrim method to the physics plugins interface.MW2007-08-237-13/+54
| | | | | | | | Implemented that method in ODE plugin. Hooked it up so when deleting/taking prims into your inventory they will be removed from physics engine. Enabled the other physics hook ups in Scene.cs (and also added registering prims with physics plugin when they are rezzed from Inventory.) So now to get the avatar to prim collision testing working, just change to use the ODE plugin (in the OpenSim.ini file, physics = OpenDynamicsEngine). Remember though ODE only really works (without problems) when running with a single region.
* grouping of functions to make the overall logic easier to grasp for people,Sean Dague2007-08-231-349/+394
| | | | | | and start to show how this can be super classed with some common elements.
* fix typoSean Dague2007-08-231-5/+1
|
* Implemented Resize Method in OdePrim.MW2007-08-233-8/+31
| | | | | | | | attached the links to that from SceneObject, so now resizing works (as much as resizing currently works in opensim, fixing resizing in general is on my todo list for today). Rotation of a root prim also now updates the physics engine. So think there really is only deleteprim left, then it should be usable (Different shapes (other than boxes that it currently uses) can wait a little bit longer). [of course there are still the other issues of ODE not really working when there is more than one region in a instance of opensim].
* Added a PhysicsActor PhysActor member to SceneObjectPart, and made it so ↵MW2007-08-233-11/+23
| | | | | | | | this is set when registering the prims with the physics engine. Position changes of the prim is now updated straight away to physic engine. (note at the moment, only root prim is registered with physics engine. Think we need to decide how we are going to manage child prims and physics.) As before this is all currently disabled (in scene.cs) until its in a bit more working condition.
* Added danx0r's physics patch, although for now have disabled the lines in ↵MW2007-08-234-2/+50
| | | | Scene.cs, as any changes to prims (like size or position changes) are only updated to the physics engine when you restart opensim. Also prims aren't deleted from the physics engine. These shouldn't be hard to fix.
* More lsl functions (thanks to ldviopeng and wjordan!)Brian McBee2007-08-231-9/+40
|
* setup test tables function which lets us make sure that everythingSean Dague2007-08-221-111/+28
| | | | | | | | | | we are going to ask for from the database is actually there. This will let us bail early with a useful error message, instead of late with a hard to understand one. Do some other cleanups to get rid of debug input I put in
* Bit of refactoring of the sqlite storage code to build the Sean Dague2007-08-221-50/+187
| | | | | | | | data definition in ado.net objects up front. This makes auto generating the sql commands work a lot more reliably.
* Debug shows how many bytes (total) a script (assembly) uses after compile ↵Tedd Hansen2007-08-221-4/+4
| | | | and load.
* GC.GetTotalMemory(true) was blocking.Tedd Hansen2007-08-224-12/+17
| | | | | We now support individual scripts on individual prims. Do the script dance... \o/ \o\ /o/ \o/ .o.
* Added OnRemoveScript event handler to ScriptEngine. Fixed event queuing of ↵Tedd Hansen2007-08-223-2/+8
| | | | empty objects crash.
* Added OnRemoveScript(uint localID, LLUUID itemID) event , trigged when a ↵MW2007-08-228-2/+70
| | | | script in a primitive is deleted.
* (Untested) Scripts are individually loaded into objects (on rez), and event ↵Tedd Hansen2007-08-228-141/+161
| | | | fired likewise. Bugfixes coming in next commit.
* Added Scene.GetSceneObjectPart(uint localID)MW2007-08-221-0/+17
|
* Made SceneObjectGroup.GetChildPrim() public, for now so that script engine ↵MW2007-08-225-20/+32
| | | | can get ref to the SceneObjectPart/ IScriptHost.
* A little bit of cleaning up.MW2007-08-223-6/+4
|
* A case of 'while I was working someone set me up the bomb'.lbsa712007-08-221-1/+2
|
* * Added stub OnRezScript handler with plentiful of commentslbsa712007-08-221-0/+11
|
* added ParentPartID to TaskInventoryItem class to make it easier to store ↵MW2007-08-221-4/+4
| | | | them in database.
* Fixed typo.MW2007-08-224-6/+6
|
* Added forgotten file.MW2007-08-223-5/+147
| | | | | Made a change to the Scene.EventManager OnRezScript event, it now includes the itemID as a param. This uuid is unique to each instance of a script, so can be used for tracking changes/editing, stopping and deleting a script.
* Start of Task Inventory (ie prim's inventory). For now, you can only move ↵MW2007-08-227-57/+200
| | | | scripts into a prim (from your user inventory) and although the script will now show up in the prims inventory, you can't make any changes to it (or delete it). Also a prim's inventory is currently not saved between restarts.
* auto create sqlite database if it doesn't exist. This works, but needs someSean Dague2007-08-211-85/+161
| | | | | | | cleaning up prior to release. However this should make it easy for people to start using sqlite storage.
* Added OnRezScript event to Scene.EventManager.Which the script engine should ↵MW2007-08-217-2/+70
| | | | subscribe to. This is triggered whenever a script is moved into a primitive (and includes the localid of the prim and the script text as params) . Currently though the script item isn't deleted from a users inventory, nor does it actually show up in the objects inventory (this will be fixed soon.) So that means that it isn't currently possible to edit a script (or delete it) once it has been added to a primitive.
* Hopefully fixed the problem of users avatars not always showing up when ↵MW2007-08-212-6/+19
| | | | either you or another user has crossed from one region to another. (however a avatar's appearance isn't kept across regions, but we need to add that to inter-regions communications so for now people will have to put up with some other user's avatars appearing as the bald(ish) fat man
* Old group is now deleted from datastore when you link groups/prims, so that ↵MW2007-08-212-3/+2
| | | | the new group can be stored correctly.