Commit Graph

152 Commits (5ffc22554548977cf91abf9b3fe6c1799ecfea86)

Author SHA1 Message Date
Adam Frisby ba16daff7c * Added JavaScript support to OpenSim scripting. Totally Untested. Enjoy. :) 2008-02-04 12:43:07 +00:00
MW 755ad9e3e0 First part of avatar persistence, currently only really works in standalone mode (with accounts_authenticate set to true), it also only currently has a mysql database connector. (sqlite one will follow soon). It also uses the tribalmedia database system, so this needs checking to see if the old problems with mono have been fixed.
To use, see the appearance section in opensim.ini.example, set "persist = true", then add the correct connection string for your database.(see mysql-AvatarAppearance.sql in share folder for a example of the table mysql table structure).
This could possible be used in a very small grid, but would mean each region server would need to connect to the same mysql database. 
But the work to move the code to one of the grid servers shouldn't be too much.
2008-02-04 12:04:02 +00:00
Tedd Hansen 667197f24d Added OpenSim.32BitLaunch.exe that can be used on 64-bit systems to run OpenSim in 32-bit mode.
Fixed ScriptEngine.Common startup problems.
2008-02-02 00:59:22 +00:00
Tedd Hansen 694642a482 Moved iniFilePath to a static and put it in OpenSim.Application.iniFilePath.
Refreshing config based on this.
Temporarily disabled feature to refresh config file while running.
2008-02-01 23:56:09 +00:00
Justin Clarke Casey a4bf98f4ba * Add asset/texture cache statistics to region server console
* You can type 'stats' at the REGION# prompt to get this information in grid or standalone mode
* Don't take these numbers as gospel yet, since for some reason textures displayed from inventory which require downloading from the server are being recorded as assets 
rather than textures
* But I don't have any reason to believe they aren't broadly accurate.
* I've put these in so I can tell whether the high memory usage on regions is down to the asset/texture cache
* This will require a prebuild
* DEV: Only adds needed to be implemented since, as far as I can tell, assets cached are currently never released.  For my part, seeing large cache memory numbers will 
provoke me to think about doing something about this.
* DEV: Now switched to using a singleton to get the stats reporters rather than threading the object through various layers
* DEV: Will refactor the other server stats reporters to do this in one of the next commits
2008-01-31 00:42:31 +00:00
Justin Clarke Casey beefbb46d2 * Add total logouts (and total logins) to server side user stats
* Passing the stats collector through object chains is not ideal - this will change when more stats come in
* This change will need a prebuild
2008-01-28 22:00:38 +00:00
Justin Clarke Casey fa5fe6b7f6 * Move AssetStatsReporter to Framework.Statistics
* The hooks are still plugged in too high at the asset server, but then next layer down is the database and this may be refactored soon.
* This change will requires a prebuild
2008-01-28 19:49:07 +00:00
Jeff Ames b8820a75ef Ugly workaround for mono-1.2.6 compile failure in TribalMedia code.
Future versions of mono should not need this.
Please revert if this makes you cry.
2008-01-26 05:06:19 +00:00
Justin Clarke Casey 552aacaec9 * Add statistics reference to the opensim app and the example app
* Interestingly, OpenSim builds fine on mono under nant without these references (as nulls are passed in instead of the objects)
* But it appears other systems (at least VS2008) complain if the references aren't present
* Many thanks to Grumly57 for catching this!
2008-01-25 20:09:45 +00:00
Justin Clarke Casey 90c853685c * Add very basic initial login stats to the user server
* Typing 'stats' on the command line will given total number of successful logins today and yesterday
* A little bit more to come, probably
* Refactoring will follow next
2008-01-25 19:24:25 +00:00
Justin Clarke Casey f5340b6470 * Stubbed out beginnings of a user server stress test
* Does absolutely nothing at the moment
2008-01-25 17:37:18 +00:00
Sean Dague 2a27eb883d using embedded resources is a lot easier if you actually
build them in the first place. :)
2008-01-22 22:10:28 +00:00
Justin Clarke Casey 196481efc7 * Fix accidental commenting out of OpenSim.Framework.Data
* This should fix the current DB4o build break (which is the first symptom)
2008-01-21 18:28:23 +00:00
Sean Dague 38991ba0e6 comment out use of the TribalMedia data mapper layer
for now.  It doesn't build on new mono at the moment, and
isn't currently used.  Please make sure this functions on
mono 1.2.6 prior to adding it back in for the main tree.
2008-01-21 16:40:23 +00:00
lbsa71 3af939d993 * vs croaked on strong name key
* updated disclaimer
2008-01-15 20:18:59 +00:00
lbsa71 6d751411b7 * Added specialization of DatabaseMapper, DataReader and ObjectFieldMapper to support LLVector3, LLQuaternion and LLUUID
* Added PrimitiveBaseShapeTableMapper to show how it's done

NOTE: Nothing actually works yet - this code should be considered more of educational value until it's all wired together
2008-01-14 22:34:19 +00:00
lbsa71 6946050ada * Added ThirdParty node for external library sources that are shipped with the solution.
* Added conceptual TribalMedia.Framework.Data library; this is meant as a generic database layer abstraction library, that should be specialized into OpenSim.Framework.Data
* OpenSim.Framework.Data should subclass FieldMappers to extend LLVector3 and LLQuaternions
2008-01-13 19:31:56 +00:00
Tedd Hansen 27859faf7a Welcome back LSO.
Added old LSO code, will use it as base to create new LSO VM.
2008-01-12 15:49:41 +00:00
Tedd Hansen bacbade369 Major reorganizing of DotNetEngine. Moved common script engine parts to ScriptEngine.Common, only .Net-specific code in DotNetEngine. AppDomains, event handling, event execution queue and multithreading, script load/unload queue, etc has been moved to ScriptEngine.Common.
Loads of things has been put into interfaces instead of the specific class.
We are now one step closer to ScriptServer, and its very easy to implement new script languages. Just a few lines required to make them a OpenSim script module with all its glory.
2008-01-12 14:30:22 +00:00
Tedd Hansen 39880f2b45 Added references for last commit 2008-01-12 11:07:49 +00:00
Tedd Hansen 1e9a66cbaa ScriptServer communication protocol (v1), primitive RPC-like TCP client/server 2008-01-12 00:48:58 +00:00
Sean Dague 411d06c94e moving Region store for SQLite into the OpenSim.Framework.Data.SQLite
namespace to mirror what is done with MySQL.  This will require a 
configuration change for people using SQLite for prims which is given
as an example in OpenSim.ini.example
2008-01-09 18:41:20 +00:00
Teravus Ovares f43e75762a * Adding More to the MessageServer classes.
* Don't forget to prebuild
2008-01-07 01:39:26 +00:00
Tedd Hansen 966f639ad6 Changes to ScriptServer to (hopefully) make it compile on both .Net and Mono.
Some debug info for startup added to find bugs. ++
2008-01-05 15:48:02 +00:00
Teravus Ovares b86d119721 * Added shell Messaging Server. Don't run the MessagingServer yet or you might end up with problems later. 2008-01-05 02:41:30 +00:00
Justin Clarke Casey e678056e13 Put warning codes explaining why some explicit bin/ScriptEngines paths were added to prebuild.xml 2008-01-02 08:36:51 +00:00
Tedd Hansen 05cc9af2fb prebuild.xml back to 2901 because of bug in prebuild on nant 2008-01-01 14:49:09 +00:00
Tedd Hansen 8d79a5d93c Minor changes. Changed Prebuild.xml to avoid first-time-compile error because of dependencies. Made some changes to new LSLString. 2008-01-01 14:23:14 +00:00
Justin Clarke Casey 508048f3c4 Fix up prebuild.xml so it compiles on Linux. Needs to be retested on Windows. 2007-12-31 01:18:35 +00:00
Teravus Ovares 57a1132585 * Fixed References in Prebuild so the project compiles
* Added Friends List methods to IUserData interface
* Created Stub friendslist Database Methods
2007-12-30 23:29:44 +00:00
Tedd Hansen c084c54fb5 Added ScriptEngine.RemoteServer module 2007-12-30 19:08:22 +00:00
Justin Clarke Casey 04f284e175 Add System.Xml back into AssetServer and into AssetLoader for the first time. Prebuild generation ran fine on my Linux box without these, so I presume this is a Windows
related problem if these are missing
2007-12-28 23:09:20 +00:00
Justin Clarke Casey 4ae10034bd Factor out common asset loading from AssetServerBase and Grid/AssetServer/Main 2007-12-28 22:13:43 +00:00
Adam Frisby 8b6dd623bd * Added osTerrainSetHeight(int x, int y, double val) to LSL commands
* Added osTerrainGetHeight(int x, int y) to LSL commands
2007-12-27 05:20:03 +00:00
Sean Dague 7d53c736f6 start to pull in config for OpenSim export 2007-12-14 17:51:18 +00:00
Sean Dague 65a002fc3a stubbing in OpenSimExport program. This does nothing
yet except compiles a shell
2007-12-14 16:29:06 +00:00
Teravus Ovares 71fd737a66 * Applied MSSQL Patch from akokko, Thanks! akokko
* This hasn't been tested in MSSQL mode, however it's been checked to make sure it doesn't cause any issues with mySQL/SQLlite
2007-12-05 15:53:58 +00:00
Adam Frisby 981c97502a * Moved XMLRPC Controller to a Application Plugin. Requires testing. 2007-12-03 07:06:46 +00:00
Sean Dague 719257b9a9 remove the .dll from System.Data, this breaks monodevelop builds 2007-11-27 15:32:30 +00:00
Jeff Ames e3998230cc added dummy POS physics plugin 2007-11-16 10:25:27 +00:00
lbsa71 57ff76850d * Added MySQLDataStore (adapted from MonoSqlite
* Made startup a little bit more forgiving on dll load
* Minor renamings and musings
2007-11-15 15:32:28 +00:00
Teravus Ovares cb07ba0d68 * Moves the Meshmerizer to a separate plugin
* Experimental.   Linux Prebuild needs testing.
* One more update after this to remove the ODEMeshing directory....
2007-11-10 19:13:52 +00:00
dan miller c7628fc77e added ODE back to prebuild 2007-11-05 18:07:20 +00:00
lbsa71 44f3e4fc50 * Reverted local xsd copy 2007-11-05 15:33:03 +00:00
lbsa71 ce33db72cb * prebuild now creates .exe references in NAntTarget
* prebuild now uses local copy of schema (for future expansions)
2007-11-05 15:10:20 +00:00
Sean Dague 53235e1e05 disable ODE as it is breaking the build 2007-11-05 14:53:23 +00:00
MW 1467720f60 Added forgotten ApplicationPlugins directory and moved the load region code out to a plugin.
To make opensim search for the new plugin, you will need to delete the "addin-db-000" and "addins" sub directories in bin if you have them.
2007-11-04 22:16:13 +00:00
MW 878f9d8b02 forgot change in prebuild.xml 2007-11-04 16:46:49 +00:00
MW 6df3a56805 trying to fix the problem of Mono not liking to work with Mono.Addins, but MS .net is fine with it. 2007-11-04 16:27:57 +00:00
MW 039f2c46c0 Added support for OpenSim application plugins (as requested by Adam), which use Mono.addins for loading/management. (which is a pure .net solution so works on both Mono and MS .net, and is under the MIT license, will add the source code for the library later). I also suggest we look into switching to using Mono.addins for our Region module loading management.
A little bit more refactoring of Scene.
2007-11-04 13:48:15 +00:00