Commit Graph

2384 Commits (cf7560d1aaa12d9f705efd08a9a36498f332afd9)

Author SHA1 Message Date
Tedd Hansen 734f288290 LSL ScriptEngine now only needs to inherit from BaseClass and we will be MUCH closer to complete LSL support than we were yesterday. 2007-08-12 16:44:57 +00:00
Tedd Hansen f5955ab539 Initial LSL to C# converter, not working yet! 2007-08-12 13:38:16 +00:00
MW 822881eac5 Added a new column (SceneGroupID) to sqlite3 table (sqlite3-prims.sql) so that we can tell what prims belong to the same SceneObjectGroup. If sdague has a different method in mind when he gets back then he can change it then. 2007-08-11 20:20:33 +00:00
MW 3520e9e3ee Applied danx0r 's ODE patch [mantis issue 263] 2007-08-11 17:54:46 +00:00
MW 114807b9d1 Made account Authentication optional in "sandbox/standalone" mode. Just change "standalone_authenticate = false" to be true in OpenSim.ini. Then as per grid mode, you can use the "create user" command to create new accounts. 2007-08-11 11:59:51 +00:00
MW f147d8e0f0 Few small fixes 2007-08-10 18:52:46 +00:00
MW afa445660e I'm sorry but it has now became a case of either it goes or I go, so I'm removing the creating a different named log file every time opensim is ran (I can't take doing a bit of developing then finding 500 log files in the bin folder), and as opensim allows multiple regions in a instance there should no longer be the need to run multiple instances of opensim from a single folder (which was I believe the reason that code was added ).
If someone else can't live without the multiple log files then I guess...
2007-08-10 17:40:57 +00:00
MW 79f0ac82e3 Some cleaning up and removed a few old files no longer in use.
Temporary have had to rename the OpenSim.DataStore.MonoSqlite project to OpenSim.DataStore.MonoSqlite1, as I'm not sure what was done to stop the old project name being included in the VS2005 solution.
Also some config changes:
OpenSim now has a INI (OpenSim.ini) file that it will read some config settings from (if the ini file exists).
Added Mono.Data.SqliteClient.dll so that we can use the same code for sqlite on Windows and mono/linux. (from what I can tell Mono class libraries have a MIT license so there should be no problems with us including this dll).
So now to get the basic prim storage working , you need to first create the sqlite database file from the sqlite3-prims.sql in share directory. Then in the OpenSim.ini file, change the storage_plugin so it points to OpenSim.DataStore.MonoSqlite1.dll (storage_plugin = OpenSim.DataStore.MonoSqlite1.dll). Then in your region.xml files change the DataStore value so it is the name of your database file (at the moment you need a different sqlite3 database file for each region).
2007-08-10 17:22:54 +00:00
Tedd Hansen 8b17e4da10 Renamed Compiler.LSL to Compiler.LSO 2007-08-10 16:22:20 +00:00
MW e7eeab90d6 Removed a piece of debug code 2007-08-10 14:04:00 +00:00
MW 427431ba17 Fixed a couple of mistakes. 2007-08-10 14:01:05 +00:00
MW 94c7e41ef1 Made a few changes so that once we enable the sqlite data store (simple line change in OpenSimMain), then basic ( with a few limits at moment) prim database backup will work. 2007-08-10 13:59:19 +00:00
Sean Dague 6063d2ce5f Couldn't leave this one alone. Data is now flowing both ways in
sqlite *but* isn't being added back to the scene on load because 
some information (like rootpart) isn't currently exposed enough
to save/restore, and I don't want to change the SceneObjectGroup
definition without MW around to discuss.

A couple of minor changes on the object interface for SceneObjectGroup
and tweaks to this class, and we have persistant prims again.
2007-08-09 23:51:26 +00:00
Sean Dague 0443723ea5 comment out load from sqlite as this blows up on object creation right now.
must run away on vacation.  See you all in a week and change.
2007-08-09 21:26:39 +00:00
Sean Dague a2a8de816b completely untest load prims from db code. Testing shortly 2007-08-09 21:07:53 +00:00
Sean Dague ad2133e5cf utility functions to convert from rows to new objects. untested 2007-08-09 20:59:37 +00:00
Tedd Hansen ae970d4171 Removed 2 warnings. Added pointer comments to where to add hooks and modify functions to get SE working. 2007-08-09 20:59:35 +00:00
Sean Dague 484121f3f4 added GroupPosition 2007-08-09 20:31:10 +00:00
Sean Dague ec0dc208dd build update clauses correctly 2007-08-09 20:07:58 +00:00
Sean Dague 9fb651932e some more typos about wrong table for shapes 2007-08-09 19:55:41 +00:00
Sean Dague 88496505b1 use correct table name for shapes 2007-08-09 19:52:02 +00:00
MW 765bd02a48 SceneObjects should now (hopefully) call datastore.StoreObject(). 2007-08-09 19:30:52 +00:00
Sean Dague 1681e3ac15 pull out some uneeded attributes, and setup keys on primshapes dataset 2007-08-09 19:06:48 +00:00
Sean Dague 2b25717c8c prim.Shape -> primshapes table 2007-08-09 19:02:32 +00:00
Tedd Hansen 6829c45cb3 ScriptEngine just needs 2 events hooked up and llSay() implemented to work. See TODO.txt for details. 2007-08-09 18:57:41 +00:00
MW e36c645729 Deleted old LSLEngine files (those under Scene.Scripting) 2007-08-09 18:45:40 +00:00
Sean Dague e53afe91ab prim object -> prims table code 2007-08-09 18:37:55 +00:00
Tedd Hansen c447c45895 Removed spaces from directory names 2007-08-09 18:07:22 +00:00
Sean Dague 21685bf304 make MonoSqliteDataStore compile with new objects
now the fun begins of connecting all the dots
2007-08-09 18:06:26 +00:00
Tedd Hansen bf69aca961 Merged OpenSim.ScriptEngine.DotNetEngine.Compiler.LSL into OpenSim.ScriptEngine.DotNetEngine to avoid the compile error 2007-08-09 18:03:24 +00:00
MW d451dddcd0 Start of replacing the old SceneObject/Primitive classes with the new versions.
PLEASE NOTE: that with this revision some prim related features may be broke for a while. (things like linking prims and the parcel prim count.)
Also this revision may not work on mono, but that will be fixed soon.
2007-08-09 17:54:22 +00:00
MW a56a17fab2 Making sure my local working copy is in sync with svn before I start the job of enabling the new SceneObject classes. 2007-08-09 12:59:42 +00:00
Brian McBee 50e3797c59 Transition between not flying / flying should be smoother 2007-08-09 06:19:41 +00:00
Sean Dague 3592043431 Start defining prim shape definition. Officially bed time now 2007-08-09 03:56:11 +00:00
Sean Dague b097d89f38 decrease insanity level significantly by factoring all the columns into
a Dictionary, and programatically building up sql commands for our dataset.
Prims done, prim shapes next
2007-08-09 02:26:34 +00:00
Sean Dague d746813130 intermediate checkin of code that compiles before I do something
stupid and nuke all this work.
2007-08-09 01:54:01 +00:00
Sean Dague 8425693076 Commit in the changes for all the parameter bindings for prims 2007-08-09 00:42:32 +00:00
lbsa71 25a6791627 * Checked in new tweaked Prebuild.exe
* Ignored binaries
2007-08-08 21:23:42 +00:00
Brian McBee 0a6628f333 worldmap now gets correctly updated when terrain changes 2007-08-08 20:47:44 +00:00
Sean Dague f732d5b2c8 sigh, Data ... not Date. I'm dumb 2007-08-08 20:30:38 +00:00
Sean Dague 672d7f7b34 name changes in MonoSqliteData store 2007-08-08 20:30:05 +00:00
Sean Dague e8e3afa8fe rename to MonoSqliteDataStore 2007-08-08 20:28:58 +00:00
Sean Dague 238fe86bc7 screwed up the move, removing this file to give us proper history tracking 2007-08-08 20:28:34 +00:00
MW ad1a8ac381 missed this file 2007-08-08 19:57:15 +00:00
Sean Dague 6ec523d5e6 moving to new namespace as this is mono only 2007-08-08 19:48:11 +00:00
Sean Dague a5f8d012b7 This chunk of code actually properly saves out some parameters of
current objects to disk, and does updates on those objects usefully.
It is now functional enough to mean that moving to new objects is 
just lots of plug and chug.
2007-08-08 19:35:16 +00:00
Brian McBee 01f4aeb520 when teleporting to a non-adjacent region, client was not getting new neighbours 2007-08-08 18:18:14 +00:00
Sean Dague 48ad7ca905 databits are actually flowing to disk 2007-08-08 17:59:16 +00:00
MW 369fb2e623 Added checks to the last commit to make sure the xml files exist before it tries to load them. 2007-08-08 17:29:37 +00:00
MW cf203cf5ee The startup set of assets in the local asset server can now be set from a xml file (OpenSimAssetSet.xml). (remember to make changes to the set, you will also need to delete the old asset .yap file, so that it is recreated).
Also the set of items in the OpenSim inventory Library can also now be set from a xml file (OpenSimLibrary.xml).
2007-08-08 17:11:02 +00:00
Tedd Hansen 1a9966abac Commit works? 2007-08-08 15:40:35 +00:00
MW a3b1a61e6a Removed System.Windows.Form reference from DotNetEngine.Compiler.LSL , it didn't seem to be needed anyway. 2007-08-08 15:26:19 +00:00
MW 6bfe911af3 Rotated the terrain textures that are created for world map by 90 degree as somehow they had got out of sync with the terrain. 2007-08-08 14:50:44 +00:00
Tedd Hansen 356f59ac45 Added ScriptEngine to solution (prebuild.xml) 2007-08-08 14:36:54 +00:00
Tedd Hansen 2a0e157985 Added ScriptEngine.DotNetEngine 2007-08-08 14:05:13 +00:00
lbsa71 ef0fea268f * Got SimpleApp working again
* Minor shape koncept experiments
2007-08-08 11:16:45 +00:00
Brian McBee 5061a703ea CAPS should now be working in standalone mode. Texture uploads will work even after you cross a region boundary. 2007-08-08 07:00:56 +00:00
Brian McBee 185115ee51 OGS1GridServices.cs
Sims should crash less in gridmode just because their neighboring regions aren't available.
2007-08-08 04:59:03 +00:00
Sean Dague 013641f31d starting to push some of the actual sql commands to get this to disk.
Not working yet.
2007-08-07 19:49:43 +00:00
MW 266b272673 Some more work on new Sceneobject. 2007-08-07 18:31:20 +00:00
lbsa71 d0156b491b * koncept bugfix 2007-08-07 17:25:21 +00:00
MW 5ac5785cf2 a couple of changes in the new Sceneobject classes, just committing so things are kept in sync. 2007-08-07 17:22:15 +00:00
lbsa71 2a0a8c43ef * Removed duplicated Script residue 2007-08-07 16:37:08 +00:00
Sean Dague e4df1de58b actually transfer some data to the row definition. Going to hook
this up to the sim in my env now to make sure we're getting data flow
in a reasonable way at this point.
2007-08-07 15:45:16 +00:00
Sean Dague cf3babd988 actually get sqlite stuff to compile. This isn't connected to the
main prebuild yet.  Going to attempt to get some tracing on current
SceneObjects first
2007-08-07 15:13:27 +00:00
Sean Dague f54049ceb8 some more sqlite stuff. Checking in to get it to another computer
to do a bit more live hacking on data flow
2007-08-07 14:39:00 +00:00
Brian McBee b55e01b939 OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
One last try at getting the X and Y all set straight.
2007-08-06 20:53:45 +00:00
Sean Dague 67004b5b03 adding shell of SqliteDataStore 2007-08-06 20:36:57 +00:00
Brian McBee 565dee5e0a OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
One last array with X and Y flipped. Terrain load-tile should be working now.
2007-08-06 19:13:10 +00:00
Brian McBee 86da47dc4e OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
This time I think I have BOTH terrain rotation AND terraforming working. Could those of you with large terrain maps please test this thoroughly?
2007-08-06 18:14:48 +00:00
Brian McBee 73dadb4821 OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
Backing out previous change to GetHeights1D. Terrain should now load with the correct rotation, but terraforming is now broken again.
2007-08-06 17:45:57 +00:00
MW 4c9cc74ac2 Re-added Grid mode. (which had got removed/disabled in revision 1515) 2007-08-06 16:33:54 +00:00
lbsa71 fdbb891659 * commands are done foreach instead of by [i]
* fixed 'show users' format bug.
2007-08-06 14:14:43 +00:00
lbsa71 07b011af3a * renamed some scene to world
* passing on NotImplemented from Update()
2007-08-06 13:40:45 +00:00
lbsa71 9924f35613 * encapsulated firstname/lastname on ScenePresence
* fixed 'users' console command
* minor refactorings
2007-08-06 13:21:30 +00:00
lbsa71 1b100e17a5 * minor refactorings 2007-08-06 13:01:47 +00:00
lbsa71 ea980ca928 ... and here's the second part... 2007-08-06 12:54:58 +00:00
lbsa71 74cd26b722 Part 1 of a two-part commit to change caps of 'scripting' dir... 2007-08-06 12:54:13 +00:00
lbsa71 95de99ff0a * Now we have boxes. Yay!
* Removed unused SendPrimitiveToClient that didn't have rot.
2007-08-06 12:49:08 +00:00
lbsa71 9bdeb8af6f * SimpleApp works again:
* NetworkServersInfo settable without config file
  * DefaultHomeLoc throws if getted before setted
  * Removed nonsensical sandbox distinction
  * Refactored default config file creation

* Some more small refactorings on shapes
2007-08-06 10:48:40 +00:00
MW f1e10e555d clean up of startup config settings (command line args etc),
Now using the Nini configuration library (suggest we look into using this for the rest of our config handling, as it provides a standard interface for command line args, INI files, Xml files, .NET config files, and windows registry). 
One IMPORTANT change is that to TO START GRIDMODE , you need to now use -gridmode=true .
Also need someone to test it under mono. (there is a dll that has been compiled under mono available, just hoping that we don't have to deal with separate dlls for windows and linux.
2007-08-04 18:15:48 +00:00
Brian McBee bb60d87538 OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
Fix for terraforming: now works across the region, not just when x=y! Wahoo!
2007-08-04 14:13:02 +00:00
Adam Frisby e970ee2955 * More work on PermissionManager - going AFK for a bit. 2007-08-04 01:08:53 +00:00
Adam Frisby 3fc2d86dfe * More work on PermissionManager 2007-08-04 00:56:56 +00:00
Adam Frisby a425e92168 * Little more cleaning of EstateManager - still needs packets to be moved, but general functionality has been abstracted. 2007-08-04 00:45:55 +00:00
Adam Frisby 8c5271a6e0 * Extracted and refactored several large methods. Needs moving of packet handling into ClientView. 2007-08-04 00:29:25 +00:00
Brian McBee dc7279118f OpenSim/Region/Environment/Scenes/ScenePresence.cs
More tuning of regioncrossing variables. I made tolerances a little too tight with the last patch.
2007-08-03 22:40:33 +00:00
Brian McBee 6cb3833021 OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs, OpenSim/Region/Environment/Scenes/ScenePresence.cs
Fix for array out-of-bounds error in basicphysics.
2007-08-03 21:54:21 +00:00
MW a6aea50eac changed the properties so that most of them only take up one line per get/set. 2007-08-03 20:09:55 +00:00
lbsa71 e4196ee6b8 * Changed some names 2007-08-03 18:45:42 +00:00
Brian McBee c1e88d0b8c ATTENTION!!! Change to default to "sandbox" (did we come up with a better name yet?) mode. Added -gridmode switch to run that way. 2007-08-03 18:12:55 +00:00
Brian McBee 599a6d32ee Changes to prepare for future possible configuration of separate logdir, configdir, datadir. 2007-08-03 18:01:55 +00:00
MW 0975ff6cfd Yet another commit related to the SceneObject rewrites. 2007-08-03 16:17:05 +00:00
MW c9a5d4bc4b Yet another commit related to the SceneObject rewrites. 2007-08-03 15:04:23 +00:00
MW ec5ae36fda and more work on those classes. Think they are just about ready to begin hooking them up. 2007-08-03 14:47:38 +00:00
MW ad21cb2ea8 Ditto...More work on the AllNewSceneObject* classes. 2007-08-03 12:00:24 +00:00
MW dde8aafb8a More work on the AllNewSceneObject* classes. 2007-08-03 11:44:30 +00:00
Brian McBee 3e4d677c77 Fixes flying glitch (hang) when crossing region boundaries 2007-08-02 21:34:45 +00:00
Adam Frisby cd2a411afe * Terrain load variables now work. HiRAW exporter works wonderfully. :D 2007-08-02 20:51:06 +00:00
Adam Frisby ed0704d527 * Fixed several issues with Terrain
* RAW/HiRAW export modes now work again
* Filename variables (such as %x%) now work correctly when loading or saving multiple tiles.
2007-08-02 20:25:28 +00:00
Adam Frisby fcafbc9a4a * Added new "terrain add" command. 2007-08-02 20:07:35 +00:00
MW 5c28f3c3a2 Some more work on SceneObject/ Primitive rewrites (slowly getting there) 2007-08-02 16:40:50 +00:00
MW 5fa0821531 Changed a couple of method in PermissionManager from private to protected to fix the error that ckrinke just reported 2007-08-02 13:06:21 +00:00
Adam Frisby ad03c0dc69 * Added support for CreateLink to LSL Interpreted API
* Added new "PermissionManager" which handles access to protected resources for users. (ie editing other peoples objects, etc)
2007-08-02 12:30:40 +00:00
Adam Frisby 9e97aa20b4 * Fixed Issue#249 - Terrain reverting without baking crashes the simulator. 2007-08-01 23:12:59 +00:00
Adam Frisby a250d24492 * Attempted to Fix an issue whereby X and Y coordinates on terrain brushes were reversed. 2007-08-01 23:02:54 +00:00
Adam Frisby 38cd3bf185 * Fixed terrain fill command
* Added "terrain smooth" command
* Added "terrain clip" command
2007-08-01 22:53:05 +00:00
Adam Frisby 04d40b71d4 * Fixed an assorted group of bugs with tiled terrain import. 2007-08-01 22:45:05 +00:00
Adam Frisby a2d71904f1 * Added load-tile terrain command to correspond with previous commit. 2007-08-01 21:51:02 +00:00
Adam Frisby 61017d10d8 * F32 Terrain load function written to support loading tiles from a larger heightmap. 2007-08-01 21:46:48 +00:00
Adam Frisby d2c7bd3fff * Terrain engine now knows the region coordinates - this can be later used to allow loading of single terrain files for multiple regions. 2007-08-01 21:27:58 +00:00
Adam Frisby 5c0f1ff293 * Applied issue#254 - startpingcheck should not be reliable if it's being resent anyway. (Thanks Babblefrog!) 2007-08-01 20:17:19 +00:00
MW 1d5544a23a Little bit more work on AllNewSceneObjectPart2 2007-08-01 20:11:42 +00:00
MW cdd1285e9e few small changes.
Updated libsl to latest version.
2007-08-01 18:04:31 +00:00
MW edc572dacf Some more work on SceneObject/primitive rewrites (AllNewSceneObjectGroup2 /Part2).
Updated the JavaVM to a later version I did (basically some clean up and a little bit more functional).
Added SendLoadURL method to IClientAPI.
2007-08-01 16:50:20 +00:00
Adam Frisby 899ab4cd32 * Fix for issue#246/251 - Rescaling primitives has offset problems. (Thanks DharmaVoyager!) 2007-07-31 19:14:17 +00:00
Sean Dague 55b569069d clear userAgent state on client shutdown, which fixes the issue
where you could only login once with a given id in standalone mode.
2007-07-31 14:42:50 +00:00
Adam Frisby 7db7ad0722 * Fixed a bug where the simulator could crash if the userserver was particularly busy. 2007-07-30 22:13:21 +00:00
Sean Dague 74bb5282a0 mass update of files to have native line endings 2007-07-30 20:11:40 +00:00
Sean Dague a47e2d9ae7 added OnDisconnectUser event to required classes 2007-07-30 20:08:33 +00:00
Adam Frisby 3032831859 * Raised ping timeout to 150 seconds
* Ping checks are now sent every 5 seconds instead of every one if no other packets are recieved.
2007-07-29 13:29:37 +00:00
MW 5ee2e38c11 Deleting objects should now work. But beware they aren't send to your trash folder or anything so there is at the moment no way to recover deleted objects. 2007-07-29 13:05:57 +00:00
Adam Frisby 8b3981f1fd * Primitives no longer walk around while being rescaled. 2007-07-29 12:46:41 +00:00
Adam Frisby 5146661ed1 * Experimental fix for random walking of resized prims. 2007-07-29 12:41:30 +00:00
Adam Frisby 7d2f976b14 * Fixed a potential div by zero with terrain commands. 2007-07-29 12:11:54 +00:00
Adam Frisby bdb2ad2d43 * Switched back to NullStorage until crazy DB4o error is fixed. 2007-07-29 09:59:44 +00:00
Adam Frisby 038774de30 Commit 1/2
* DB4o no longer crashes the sim on Startup
* DB4o now crashes the sim on shutdown.
* Variety of console verbosity fixes.
2007-07-29 09:37:29 +00:00
Adam Frisby c518a9e141 * Fixed an issue with Mono/UNIX filenames and DB4o storage engine. 2007-07-29 08:08:35 +00:00
Adam Frisby 2a03bea9bd * Assorted minor fixes (DB4o now properly commits saves on shutdown) 2007-07-29 07:57:26 +00:00
Adam Frisby 4d6045ba1f * Db4o Datastore is now the default. 2007-07-29 07:56:14 +00:00
Adam Frisby 50250a3a3a * Highly experimental: Added DB4o DataStore support. Untested. 2007-07-29 07:54:49 +00:00
Adam Frisby 039d46e8fa * OpenSim now performs compatibility checks at startup and warns the user if the Operating System or Platform version they are using is unsupported. 2007-07-29 07:24:20 +00:00
Adam Frisby c33b29a105 * Applying issue#230 - Avatar stuck at region edge (Thanks Babblefrog!)
* Fix for issue #237 - Sim startup cannot read a terrain file (Reported by CutterRubio)
2007-07-29 06:23:07 +00:00
Adam Frisby 0f90cdfed1 * Applying issue#238 - Console help is incomplete. (Thanks CutterRubio) 2007-07-29 06:20:46 +00:00
MW 3edc4cd0d5 fixed the problem with other avatar's clothes being white. 2007-07-28 14:41:52 +00:00
MW e86396ad1f You should now see the correct Avatar for other users, including their clothes, although their still seems to be a few problems with the clothes, in that sometimes other avatar's default clothes are white.
At last, removed the need for the avatar-texture.dat file. (Please never come back).
2007-07-28 13:44:12 +00:00
MW 1b850b4483 Should now have version 0.1 of our new ruth default avatar. At the moment, you only see your own avatar correctly, all other user's avatars show up as the old ruth. This will be fixed soon.
We also need better clothing for the new ruth and to edit the body shape. 
To get this working you will need to delete your asset yap file and also in grid mode the user server needs to be updated.
2007-07-27 16:23:04 +00:00
MW d143e7b074 A few changes so that the number of warnings is less but without deleting everything.
Like, I removed the Obsolete from the old caps method as at this time not all caps calls can use the new Caps stream method as it doesn't properly deal with LLSD Arrays. 
Now down to 3 warnings on the events in IClientAPI and for now I think we have to live with them as I think most of those events will be used.
2007-07-27 12:21:52 +00:00
Adam Frisby bc11fa8fda * Removing some housekeeping tagged elements.
* 6 Compiler warnings left (total) - two legacy caps warnings, four unused ScenePresence events.
2007-07-27 06:20:32 +00:00
MW f0dd115a8c More work on inventory and opensim library.
Fixed a number of bugs in the AssetCache related to asset downloading.
2007-07-26 17:41:31 +00:00
lbsa71 39b64564dc * Started renaming world to Scene
* Update and UpdateMovement now first stores array to avoid collection update exceptions
* Ignored some bins
2007-07-26 14:55:42 +00:00
MW 74654dc735 Added the default shape to the OpenSim library. Now need to get the new ruth into asset format and add that. 2007-07-25 19:18:34 +00:00
MW 2b42ea0a42 Start of the OpenSim library , for now only contains a few textures. 2007-07-25 18:19:38 +00:00
Adam Frisby 3641ef0fdd * Terrain now uses the older slower method again until the fast version can be fixed. 2007-07-25 14:44:52 +00:00
Adam Frisby 2de8f0ef3d * Fixed an issue where Terrain brushes may not update correctly. 2007-07-25 14:38:10 +00:00
Adam Frisby cd88a4914d * Assorted terrain fixes 2007-07-25 10:08:16 +00:00
Adam Frisby aa704172d1 * Several functions should now be more efficient with sending packets to the client (at the expense of some server CPU while editing) 2007-07-24 06:01:11 +00:00
Adam Frisby 2760378f7a * Users doing terraforming should see updates instantly now.
* Other viewers in the sim will see updates no more than once every 5 seconds.
2007-07-24 05:54:44 +00:00
Adam Frisby b9af2fe393 * SendLayerData overload including coords now uses patch number rather than coords directly. 2007-07-24 05:38:21 +00:00
Adam Frisby 402aa1b0d2 * Small fix, patch values should be multiplied by their size (16) 2007-07-24 05:23:28 +00:00
Adam Frisby d8997b59d3 * Terrain should now send just updated patches. 2007-07-24 05:22:33 +00:00
Adam Frisby 4b0734c4ad * Terrain Fracture Generator now produces more appropriate results.
* Terrain Flatten Brush has been optimised, now affects an appropriate sized section of terrain.
* Navier-Stokes handler bounds issue partially fixed.
2007-07-24 04:53:21 +00:00
Adam Frisby ad5548de9f * More console related changes. 2007-07-24 04:10:08 +00:00
Adam Frisby 3cbc1e011d * Reduced a significant number of compiler warnings (back down to 9 for all projects combined, all 'never used' things) 2007-07-24 03:59:32 +00:00
Adam Frisby 3abdec8d17 * Fixed a typecasting issue with Navier-Stokes algorithms in libTerrain. 2007-07-23 16:16:09 +00:00
Adam Frisby a60b2654ed * 1 line commit: Erosion functions should taint the terrain. 2007-07-23 15:47:14 +00:00
Adam Frisby 14879fead9 * Bonus commit, added a "terrain fill" command to fill a terrain with a specific height value. 2007-07-23 05:31:58 +00:00
Adam Frisby b8da9c3a64 * Major style changes in libTerrain.Channel - now uses .NET-style naming syntax.
* Issue#218 - Updated mySQL region table.
2007-07-23 05:29:52 +00:00
MW 5db16cbd9b Couple of small changes 2007-07-22 13:41:19 +00:00
MW 276011a0a1 Think I've recovered my deleted files, so hopefully it works now. 2007-07-22 13:31:08 +00:00
MW 70fa302042 * Some work in progress code: Inventory cache, start of inventory server/service, userprofile cache, inventory handling. (non of it is enabled yet (or at least it shouldn't be).
* Fixed some of the problems with crossing regions when flying: you should no longer sink to ground level when crossing (should keep roughly your right height). Should no longer sometimes get sent back to the centre of the current region when attempting to border cross. But instead sometimes you will find you avatar stop at the edge of region and you will need to start moving again to retry the crossing (which should then work). This code is partly based on Babblefrog's issue #212 patch. [I think I have some ideas of how to solve the stopping at edges problem, just want to get the inventory code done first]
* Capabilities code has now been moved to the OpenSim.Framework.Communications project as some of the caps code will be tightly tied to inventory/asset handling and it was causing a two way reference problem when it was in its own project/dll.

This is a Big commit as I was going to keep my inventory work local until I had it in a working state, in case it brakes anything, but its getting harder to keep in sync with svn.
2007-07-22 11:44:36 +00:00
Adam Frisby 98b4701647 * Aerobic erosion now uses Navier Stokes algorithms for wind calculations. 2007-07-22 02:48:53 +00:00
Adam Frisby 0d7af9bbf0 * Added Navier Stokes computational fluid dynamics algorithms to libTerrain.Channel. 2007-07-22 02:42:29 +00:00
Adam Frisby f645705851 * More navier-stokes fun. Will finish it later. 2007-07-22 02:21:10 +00:00
Adam Frisby 3f8b609831 * Ported Jos Stam's Navier Stokes algorithm from his GDC2003 Paper to C# and included in libTerrain - May I never have to do that again. 2007-07-22 02:06:46 +00:00
Adam Frisby 65f69b9a12 * Enabled hydraulic erosion command. 2007-07-21 23:48:48 +00:00
Adam Frisby 8574c5476d * Reimplemented Hydraulic Erosion routines, may be buggy. 2007-07-21 23:26:05 +00:00
Adam Frisby d72d1537e2 * Removed reference to libTerrain-BSD.dll from the terrain filter system. 2007-07-21 22:34:53 +00:00
Adam Frisby 03e116de0d * Updated licensing headers on libTerrain imported components. 2007-07-21 22:33:31 +00:00
Adam Frisby f84937367f * Deleted libTerrain-BSD.dll
* Added libTerrain to BasicTerrain directly as a subfolder
2007-07-21 22:25:42 +00:00
Adam Frisby 4eb8ca49a9 * Renamed terrain functions to match OpenSim naming styles.
* Added capability to support minimum/maximum terrain limits (from the last 'bake')
2007-07-21 22:20:22 +00:00
Adam Frisby 1f17275a20 * Fixed an issue whereby extremely tall terrains would be unable to output a gradient map.
* Renamed several terrain variable names for clarity.
2007-07-21 22:08:19 +00:00
Adam Frisby 0319cb4f46 * Issue#211 - 30 second timeout is too low. (Thanks Babblefrog) 2007-07-21 21:39:05 +00:00
Adam Frisby 2c90c61020 * Issue#206 - Casting of a LLUUID from XMLRPC hashtable causes an error. (Thanks Babblefrog)
* Issue#205 - MySQLManager User Creation support readded (Thanks Babblefrog + adjohn)
* Issue#204 - Clients now recieve terrain updates properly (Thanks Babblefrog) [May do some slight modifications on this to make it an event]
2007-07-21 07:29:37 +00:00
Adam Frisby 32aacd4f36 * Issue#209 - Terrain Hills Patch (Thanks Babblefrog)
* Issue#208 - Region crossing should be using External host (Thanks Babblefrog)
* Issue#207 - Prebuild.xml contains path errors (Thanks Gareth)
2007-07-21 07:23:00 +00:00
MW cd5877557c Attempt to fix the bug/crash that MetaLeo just reported. 2007-07-20 23:19:03 +00:00
lbsa71 2da8a7c128 * Fixed an config issue (log not initialized in RegionInfo config)
* Added LineInfo stacktrace parser to LogBase (not used yet though)
2007-07-20 14:16:12 +00:00
Adam Frisby 765ff13f22 * Assortment of Console changes - console messages are now grouped into modules (eg "client", "grid", "terrain", "storage", etc) 2007-07-20 01:32:27 +00:00
MW 39704bcecc opps have a setting as true when it should be false. 2007-07-19 22:59:43 +00:00
mingchen ed69e84874 *Moved XmlConfiguration to its own project
*Made it possible to load a configuration interface by DLL
*Deleted the 1024 config files until they are updated
2007-07-19 20:39:33 +00:00
MW b2c6f316e1 Some work on Inventory (not yet finished or enabled) 2007-07-19 20:21:02 +00:00
MW 0b6e332e16 Added some Alert methods to Scene , and a console command handler. So from the console to send alerts use : alert general <message> , for a instance wide message , or use alert firstname secondname <message> to send a alert to one user. (TODO: add region wide messages). 2007-07-19 10:44:19 +00:00
Adam Frisby e348aaa3a5 * Fixing sandbox mode crash caused by removal of LocalStorage during cleanup earlier. 2007-07-19 03:36:39 +00:00
Adam Frisby 33b4cc1bb0 * Added housekeeping comments, see mailing list in just a moment... 2007-07-19 01:08:26 +00:00
Adam Frisby 23a734d0c7 * More cleaning 2007-07-19 01:02:59 +00:00
Adam Frisby e189681095 * Added TriggerTouchStart function to Interpreted Events API
* One less compiler warning. Heh.
2007-07-19 00:55:14 +00:00
Adam Frisby 36fc7390f2 * Moved EventManager to SceneBase (from Scene)
* Added OnShutdown event to EventManager (to be used to perform cleanups, etc)
* Fixed another compiler warning.
2007-07-19 00:52:10 +00:00
Adam Frisby 5e490e0599 * Nearly back down to zero compiler warnings again... 2007-07-19 00:46:27 +00:00
Adam Frisby 920ffaf24b * Cleaned out remaining references to the old LocalStorage system in prep. to move to StorageManager. 2007-07-19 00:42:59 +00:00
Adam Frisby f29acf95b0 * Removed yet more compiler warnings
* Dropped old ILocalStorage storage engines.
2007-07-19 00:29:50 +00:00
Adam Frisby 6cf9d6da21 * Removing more compiler warnings 2007-07-19 00:25:40 +00:00
mingchen 222becc879 *New Configuration System, much easier and less buggy compared to the original system in place
*View RegionInfo.cs for an example on how it works!
*This hopefully copies all the files over, but who knows :)
2007-07-18 23:15:08 +00:00
Adam Frisby 4cd9a87183 * Reverting 1371 2007-07-18 22:49:11 +00:00
Adam Frisby bb55713de0 * Please to be checking you rename the strings inside the project when you rename libraries! 2007-07-18 22:38:10 +00:00
MW 4c8b8d22ff A script/custom application should be able to add a particle system to a prim, just create a new libsecondlife.Primitive.ParticleSystem() and then call AddNewParticleSystem() on the OpenSim particle : we really need to rename our particle class to stop conflict with the one in libsl. 2007-07-18 21:26:31 +00:00
MW d2b459b8e5 Sculpted Prims should now work. 2007-07-18 20:29:06 +00:00
MW 643a02ec60 More testing some ideas, to find best method for SceneObject Primitive classes. 2007-07-18 18:12:16 +00:00
MW e78a0ac886 Just trying things out, nothing to see here, please go back to sleep. 2007-07-18 13:55:14 +00:00
MW 04ece84d6b few small changes 2007-07-18 13:40:07 +00:00
lbsa71 f70ec1fa75 * Added a FileSystemObject to SimpleApp
* Added Some ShapeTypes (shapes doesn't work though!)
* Fixed some \0 issues
2007-07-18 09:36:47 +00:00
Adam Frisby c52f9c04e2 * One hopefully-final attempt at fixing this remoting issue. 2007-07-18 00:27:11 +00:00
Adam Frisby be11cddc00 * Once more into the breach! 2007-07-18 00:14:17 +00:00
Adam Frisby 32a82019c3 * and again... 2007-07-18 00:10:11 +00:00
Adam Frisby 3d0d7cb74c * More attempts at fixing Ckrinke's phantom remoting error. Heh. 2007-07-18 00:02:09 +00:00
Adam Frisby f9eab1f0f2 * Fixing compile 2007-07-17 23:54:33 +00:00
Adam Frisby f65808ab07 * More LSL changes (and fixing a compile warning)
* More attempted fixes for the phantom remoting bug.
2007-07-17 23:47:45 +00:00
Adam Frisby 9fc72755ce * More LSL related fun 2007-07-17 23:14:19 +00:00
Adam Frisby c287ee17ad * Working more on the Interpreted Script API (for use in scripts which have to occupy something [Hello LSL]) 2007-07-17 23:04:46 +00:00
Adam Frisby 7b7267984a * Added exception handler to deal with RemotingExceptions for Child Agents. 2007-07-17 20:40:01 +00:00
Adam Frisby 3a554de6e2 * Applying babblefrog's DNS patches from issue #188 2007-07-17 19:40:22 +00:00
Adam Frisby 7a88260851 * Added quick ping check reply system to OGS1GridServices 2007-07-17 18:53:19 +00:00
Adam Frisby 61526951ef * Attempting to fix a bug. 2007-07-17 18:25:35 +00:00
Adam Frisby 5524b96b10 * Readjusted strength of the terrain brushes from seconds / 100.0 to seconds / 5.0. (5 seconds = raise one brush radius) 2007-07-17 18:08:53 +00:00
lbsa71 fea3c20576 * renamed MySceneObject to CpuCounterObject 2007-07-17 17:57:46 +00:00
lbsa71 d95918f228 * Changed SimpleApp to use EventManager and Scene timer
* Refactored a lot of m_* and public -> wrappers
2007-07-17 17:47:23 +00:00
Adam Frisby b3830528d1 * Added "backup" console command for sdague 2007-07-17 15:43:51 +00:00
lbsa71 47ea453b32 * debugged quite a lot of db-related strangeness and various refactoring goofs 2007-07-17 00:07:26 +00:00
lbsa71 497ab5d7ab * RegionApplicationBase restructuring now complete
* Still has some weird bug in SimpleApp though.
2007-07-16 23:25:35 +00:00
Adam Frisby 6c9d9b660d * Trimmed a few hundred warnings off SimpleApp. 2007-07-16 22:09:00 +00:00
lbsa71 f35f5ddaf7 * And yet more restructuring of startup sequence... 2007-07-16 21:53:39 +00:00
Adam Frisby 1462cb1b50 * Reset IP in SimpleApp back to localhost 2007-07-16 21:47:26 +00:00
Adam Frisby c3133715aa * Fixed SimpleApp 2007-07-16 21:43:30 +00:00
Adam Frisby bcc93c0d5b * SimpleApp's IP address is slightly less hard coded (now reading from a hard coded var vs lots of use of "127.0.0.1") 2007-07-16 21:23:11 +00:00
mingchen cf9c48bf71 *No Hippos :( 2007-07-16 20:40:04 +00:00
mingchen c2bb8e3bc1 *Hippos? 2007-07-16 20:39:25 +00:00
lbsa71 85bdec5e0d * Massive restructuring of RegionApplicationBase, OpenSimMain and SimpleApp 2007-07-16 20:10:54 +00:00
mingchen 41b9baa054 *Adding some more files 2007-07-16 19:52:46 +00:00
mingchen 2873b82b78 *Renamed everything Parcels and ParcelData to Land and LandData
*Added missing files (I hope)
2007-07-16 19:40:25 +00:00
mingchen 7fabf9612a *Renamed ParcelManager to LandManager
*Made the Parcel class its own file and moved the Parcel and LandManager into their own folder in Environment
*Some renaming might need to be done so the Parcel class doesn't have issues with the libsecondlife Parcel class, but Land doesn't seem right.
2007-07-16 18:45:19 +00:00
lbsa71 d79e69d168 * Since we're discussing it, applying the m_ convention on some members... 2007-07-16 18:44:30 +00:00
lbsa71 e6dea73d1f * Removed some superfluous assigns
* Moved physics plugin scene creation into local scope
2007-07-16 18:37:31 +00:00
lbsa71 58f4d69833 * working on RegionApplicationBase
* Renamed PhysicsManager to PhysicsPluginManager because it is.
2007-07-16 18:15:54 +00:00
lbsa71 4a17587b8d * Restructured the RegionApplicationBase. 2007-07-16 18:10:27 +00:00
Adam Frisby ddf73763db * Rigged up LSL Script Engine to OpenSim - not quite fully tied yet however, still lacks connection to ScriptInterpretedAPI. (but Hello World should work!) 2007-07-16 18:06:35 +00:00
Adam Frisby ac4f8745ba * Updating internal LSL handler/compiler with Tedd's r1.
* Importing begginings of DB4oDataStore
2007-07-16 17:46:47 +00:00
Sean Dague 2a3c79df83 changed to native line ending encoding 2007-07-16 15:40:11 +00:00
mingchen d216f5779c *Trunk compiles now
*Added "RemoveEntity" and renamed "AddNewEntity" to "AddEntity"
2007-07-16 14:56:35 +00:00
lbsa71 cba02cb632 * Some minor renamings 2007-07-16 13:00:32 +00:00
mingchen 7f10179129 *Fixed bug that incorrectly tabulated 'others' prims on a parcel
*Added support for selected prims (does not yet support prims being sat on)
*Added support for listing avatars with prims on parcel with their prim count
2007-07-16 01:25:16 +00:00
MW 9685c65901 Couple of small changes to NPC test character. 2007-07-15 23:39:52 +00:00
Adam Frisby 571bd78e58 * More scripting enhancemnents and properties. 2007-07-15 22:36:35 +00:00
MW 4dbad04b9f It wasn't me who messed up flying when adding a test NPC class. (honestly!) 2007-07-15 22:11:03 +00:00
Adam Frisby f2c449f10e * Added new scripting related events, in particular a new event which is triggered by console commands so that the script can subscribe to console messages and operate when they occur.
* Added new example script (work in progress)
* Fixed typo in Scripting engines for C# and JScript.NET
2007-07-15 22:04:56 +00:00
mingchen 173c5ee79e *Fixed master avatar requesting when in grid mode. 2007-07-15 21:21:14 +00:00
MW bf2f3ea29a Hijacked simpleApp again (sorry lbsa71, guess I should create my own simpleApp), to try out a basic test npc character(/class). 2007-07-15 21:10:05 +00:00
mingchen 6510aea0ed *Added support for the "show" button that highlights objects over the selected Objects
*Known bug, client does some weird "showing" when more than 255 objects are meant to be selected (linked objects count as one object)
2007-07-15 21:02:13 +00:00
Adam Frisby 61446c0cd8 * Primitives are now loaded from Datastore during scene initialisation. 2007-07-15 18:49:11 +00:00
Adam Frisby 9fdd4946c3 * Fixed an issue where world map blocks were not transmitted correctly. 2007-07-15 18:10:49 +00:00
MW 3c326aae99 Removed the reference to ClientManager from scene, as scene really shouldn't have a direct reference to the UDP/Packet server's clientmanager, instead it should send all data through the ScenePresences.
For those functions that was using the clientManager's foreachClient(delegate) method, there is now a ForEachScenePresence(delegate) in scene. 
This change helps with the decoupling of client packet functions from the scene functions.
2007-07-15 18:05:41 +00:00
MW a87ebda895 Removed reference to Scene EventManager from primitive. In its place, primitive now has its own event (OnPrimCountTainted) that ParcelManager subscribes to.
Removed some unused code from SimpleApp.
2007-07-15 17:40:21 +00:00
Adam Frisby aebd58d75e * PROTIP: It helps to know what your doing when playing with reflection. 2007-07-15 17:32:54 +00:00
Adam Frisby 813cdd0c80 * Marked old terrain methods as obsolete.
* Missed an item using the old local storage.
2007-07-15 15:53:29 +00:00
Adam Frisby 2dea3dbd6b * Terrain now uses the new StorageManager. 2007-07-15 15:51:09 +00:00
Adam Frisby 6d455f3b6c * Storage Manager now initialises with a DB name equal to that of the region name, and DB file specified in the DataStore config item. Storage engines may ignore the DB name parameter.
* OnBackup event is now triggered using the Storage manager.
2007-07-15 15:43:53 +00:00
Adam Frisby 8fc1dfec79 * Added loading methods for NullStorage. 2007-07-15 15:40:50 +00:00
Adam Frisby 275d8c0247 * Adding example "NullStorage" DataStore engine. 2007-07-15 14:58:23 +00:00
Adam Frisby 593851eaa5 * Fixed bug where UserServer SendKey would not be saved in configuration. 2007-07-15 14:21:17 +00:00
Adam Frisby c46a508945 * Fixed duplicate CAP bug when a user logs out then relogs back in in grid mode. 2007-07-14 23:06:05 +00:00
Adam Frisby e9bcc7a3fd * Fixed an issue which caused regions to crash when duplicating primitives. 2007-07-14 22:44:41 +00:00
Adam Frisby 2ccb8f7118 * Excelsior! 2007-07-14 22:35:47 +00:00
lbsa71 a04f968f8c * libterrain now builds again 2007-07-14 21:26:20 +00:00
mingchen 4f5c1e40b4 *Updated getParcel to accept floats as well. This helps in finding the parcel under an exact point (when precision matters) 2007-07-14 19:09:00 +00:00
Adam Frisby ab32704968 * Added "quit" alias for the "shutdown" console command in RegionServer 2007-07-14 17:40:54 +00:00
mingchen bf32020693 *Removed ParcelManager from SceneObject and Primitive and replaced with events in EventManager
*Prim count and sim-wide prim count correctly reflect object bonus multiplier
2007-07-14 17:01:15 +00:00
lbsa71 eee1eb2f42 * SimpleApp finally doing something fun. :) 2007-07-14 16:01:10 +00:00
mingchen a3f2c1276a *Added support for simwide area and simwide prim count for parcels 2007-07-14 15:57:20 +00:00
lbsa71 811d2b69c9 * Worked some more on SimpleApp
* Removed SceneObject references to RegionHandle, ParcelManager, EventManager as they are public on Scene
* Moved PulseScript behaviour into MySceneObject
2007-07-14 15:33:25 +00:00
mingchen 423d03eaef *Added support for prim counting on parcels
**No restrictions yet in place, or total prim count
2007-07-14 15:11:36 +00:00
MW 5a909a2054 Set up parcel manager and the master avatar in SimpleApp. 2007-07-14 14:48:36 +00:00
lbsa71 0bb2b7f18d * encapsulated some public fields 2007-07-14 14:15:58 +00:00
lbsa71 1a92dc9073 * Apparently, we need to tell ParcelManager that there is no parcels.
* Cleaning lady cleaning build ignores (No, MW, I don't mind, anything for you)
2007-07-14 14:13:05 +00:00
MW a04602d9c1 Added AddPreCompiledScript method to ScriptManager.
Done some work on lbsa71's simpleApp(hope he doesn't mind):
now have the avatar showing up and the terrain and his pulsating box (well except its not a box, as there seems to be something wrong with our PrimitiveBaseShape..DefaultBox() settings). 
Also noticed a few other problems that I had to work around, so these need looking into.
2007-07-14 13:18:02 +00:00
mingchen d879c6e8fc *Moved the OnSignificantClientMovement event to ScenePresence.
*ParcelManager's resetSimParcels does not set any default values.
*Updated ParcelData with correct defaults previously set in resetSimParcels
*Region overrides are now sent to viewer instead of dummy'd
2007-07-13 23:13:25 +00:00
mingchen 862dc9fe97 *Reworked parcel joining to work the same way as LL's method.
**Parcels within selection now join and not the two parcels selected at each corner
*Created OnSignificantClientMovement event that is triggered when an avatar moves more than 2 meters.
2007-07-13 21:13:38 +00:00
MW 9b61def98d Chat/Shout/etc should be working again 2007-07-13 21:12:16 +00:00
Adam Frisby e6dc575bc3 * Added sample event to ScriptInterpretedEvents 2007-07-13 20:29:51 +00:00
Adam Frisby e14ef63113 * Small commit: SceneObject now registers itself with the Backup event via the function ProcessBackup. 2007-07-13 20:10:32 +00:00
Adam Frisby ad264a6b6d * Fixing issue with ParcelFlags. ParcelFlags is now a uint rather than an enum. 2007-07-13 20:01:16 +00:00
Adam Frisby c0093052b0 * Default parcel flags now allow flying, landmark creation, object entry, deeding to group, terraforming, object creation and outside scripts. 2007-07-13 19:51:05 +00:00
Adam Frisby 985e0b765a * Obsoleted ILocalStorage
* Added IRegionDataStore
* Added OnBackup event to EventManager
2007-07-13 19:27:15 +00:00
MW 401af6ad4a Prim Copying (both CTRL+D and shift-drag) should now work. 2007-07-13 19:01:09 +00:00
Adam Frisby 41cd6cdfdd * Fixed bug reported by xyzo - region assets are now stored in "regionassets.yap", asset server assets are now in "gridassets.yap" 2007-07-13 19:00:10 +00:00
lbsa71 a076369fa3 * I want to commit too! 2007-07-13 18:01:44 +00:00
Adam Frisby 3f6c4e6187 * Renamed OpenSim.Region.Enviroment.Scripting to OpenSim.Region.Scripting
* Renamed OpenSim.Scripting to OpenSim.Region.Scripting
2007-07-13 18:01:02 +00:00
Adam Frisby 08331f97d3 * Reorganising Java Virtual Machine code into a subfolder for the JVM specific parts, leaving the JVMEngine folder specifically for Script/IScript interfaces.
* Fixed a compile issue with the Interpreted Scripts API.
2007-07-13 17:53:11 +00:00
MW 07b0e2df6f Part two of Darok's Bullet physics plugin: added the actual plugin, although haven't added the project to prebuild.xml yet.
Also might have messed up some of the SVN properties on some of the folders, so if the cleaning lady has to come in again, I just hope she doesn't moan.
2007-07-13 17:52:11 +00:00
Adam Frisby 6d37fe4947 * Moved LSL-style functions to ScriptInterpretedAPI.cs and put a XML remark comment that they are defunct and best avoided at all costs.
* More wrappers: llCollisionFilter, llCollisionSprite, llCos, llCreateLink, llDeleteSubList, llDeleteSubString, llDetachFromAvatar
* More functions: osCos, osDeleteSubList, osDeleteSubString
2007-07-13 17:43:25 +00:00
Adam Frisby 946180885d * Added wrappers for:
llAbs, llAcos, llAddToLandPassList, llAdjustSoundVolume, llAllowInventoryDrop, llAngleBetween, llApplyImpulse, llApplyRotationalImpulse, llAsin, llAtan2, llAttachToAvatar, llAvatarOnSitTarget, llAxes2Rot, llAxisAngle2Rot, llBase64ToString, llBreakAllLinks, llBreakLink, llCSV2List, llCeil, llCloseRemoteDataChannel, llCloud
* Added functions for:
osAbs, osAcos, osAsin, osAtan2, osAxes2Rot, osAxisAngle2Rot, osBase64ToString, osCSV2List, osCeil.
2007-07-13 17:25:01 +00:00
Adam Frisby 9be896c8ce * Adding LSL stuff for Tedd_, implementing LSL-style functions in ScriptAPI.cs, implementing server event callbacks in ScriptInterpretedEvents.cs
* Added Tedd_'s LSL compiler thingie, although it cannot be referenced yet.
2007-07-13 17:14:30 +00:00
MW 0ac6809343 Think SceneObject/Primitive copying should now work, just need to hook it up to a event and test. 2007-07-13 16:53:31 +00:00
MW fcc7f86427 Changed simpleApp to use basic physics.
Done some work of fixing primitive/SceneObject copying.
Set DefaultHome region to 1000,1000.
2007-07-13 16:12:38 +00:00
lbsa71 d89362fe99 Shouldn't be needing explicitly adding login xmlrpc 2007-07-13 15:49:54 +00:00
lbsa71 878289ef88 * removed PrimitiveOld and CreatePrimFromObjectAdd 2007-07-13 15:20:18 +00:00
lbsa71 170b648d4d One of these days i WILL have my pulsating cube! 2007-07-13 15:09:55 +00:00
lbsa71 581ea0d92e inlined packet deserialization 2007-07-13 12:44:50 +00:00
lbsa71 33ef93f4a6 * ObjectAddPacket now confined to ClientView,´using PrimitiveBaseShape instead - w00t! 2007-07-13 12:32:34 +00:00
lbsa71 a0ac1f06e6 * Moved SendNameReply to ClientView
* Removed unused LoginService
* Minor renames on BinaryStreamHandler
2007-07-13 07:19:00 +00:00
Adam Frisby 0f1b2f278b * Fixing compiler warnings in an attempt to reduce them back down to zero. 2007-07-13 07:17:42 +00:00
mingchen 486632986c *Parcel updates are now sent to users over newly subdivided areas and users over parcels being joined to correctly update the viewers
*NOTE: Parcel updates are packets sent to the viewer when they enter a new parcel containing information such as parcel name, media URLS, etc
2007-07-12 23:57:26 +00:00
mingchen df24ce6dfd *Parcel and estate support fully restored into Sugilite
*Significant movement (currently set to 2 meters of movement for performance reasons, even though its speedy) and initial login now sends parcel updates
2007-07-12 20:33:10 +00:00
mingchen b27924d0a5 *Found and fixed bug that crashed viewer when logging in or viewing land owners
*Reenabled estate manager; remember, the master avatar is the only one that can use this (by default: Test User with password 'test')
*Still working on readding support for updating parcel information when logging in or moving into a new parcel
2007-07-12 16:19:32 +00:00
MW 7198d7980d Next time maybe I should check it still compiles before committing. 2007-07-12 15:30:09 +00:00
MW 20a77a6d4b Fixed a number of bugs in the local InstantMessage handling, sending InstantMessages will no longer crash the server. But they still aren't really working correctly, you can't type replies to received messages. 2007-07-12 15:16:19 +00:00
MW 27c595c007 Cleaning up some of the CAPS functions, Asset uploads now use the new LLSDStreamhandler system. 2007-07-12 13:09:39 +00:00
MW 17ddb8b493 Hopefully texturing prims should now work correctly. 2007-07-11 18:32:32 +00:00
MW 2ceff87a02 More work on UserProfile and inventory cache (still currently not enabled).
Asset uploading over CAPS now works, and although inventory isn't really working yet, this should now at least enables texturing of prims.
2007-07-11 17:47:25 +00:00
MW 9d989612b0 updated libsecondlife.dll to a 1.18 version (from the libsecondlife aditi branch, so when they have a trunk version that is 1.18 ready, best to update again).
Started some work on a userProfile/inventory cache.
2007-07-11 14:39:03 +00:00
Adam Frisby 561b87b303 * Applying dalien's patches from bug#177 and #179 2007-07-11 02:51:51 +00:00
MW f0ecc1de4c preliminary inter region communications (between regions in different instances) now works, so child agents and border crossings (and teleporting) now work.
The .net remoting is still very basic: we need security sinks added.
And we really need the OGS 2 protocol as soon as possible.
2007-07-10 20:52:43 +00:00
MW ebdc64730a Fixed the crashing when trying to look at the map in grid mode. Although the textures for the regions don't seem to show up, about to look into that. 2007-07-10 18:58:42 +00:00
MW 7f03246653 Gird mode in sugilite should now work in so far as you should be able to login and move between regions in the same instance. Moving to regions in a different instance of opensim still needs implementing (working on it now).
Also trying to look at the map in grid mode will crash the server.
2007-07-10 17:56:31 +00:00
lbsa71 9f5f65c847 * LLSDStreamhandler now works. 2007-07-09 23:32:29 +00:00
lbsa71 85dd493614 * some follow up renaming of members et c. 2007-07-09 21:25:43 +00:00
lbsa71 08a1fa3f96 * Introduced ClientManager for great justice. 2007-07-09 21:03:36 +00:00
lbsa71 d91f33b87b Re-applied dalien patch (#175) and included bin\data with avataranimations.xml 2007-07-09 19:56:22 +00:00
MW 93f3ef7e0d Done a little bit of renaming in primitive.cs and on a few events in IClientAPI.
Disabled CAPS asset uploading as it seems it now crashes the server.
2007-07-09 15:59:35 +00:00
Adam Frisby e8acf1cca9 * Begun work on Primitive Duplication. Not hooked up yet, but theoretically could be done so. In practice, more work needs to be done. 2007-07-09 15:29:39 +00:00
lbsa71 f62b7f3d1e * reverted rev 1200 waiting for info re animations.xml 2007-07-08 19:47:04 +00:00
lbsa71 252ff78eb3 Applied animations patch (#175) submitted by dalien 2007-07-08 19:28:53 +00:00
lbsa71 5f8de1e704 * By popular demand, all generated build files are now deleted. Somebody should make sure the wiki is updated. 2007-07-08 19:27:04 +00:00
Adam Frisby 74410efb22 * Bugfix with instant message handlers. Looking at implementing grid IM server, ideally using a known scalable infrastructure. 2007-07-08 03:45:06 +00:00
Adam Frisby 855ebe739b * Missed a line - IM support in local simulator should now work. 2007-07-08 03:36:17 +00:00
Adam Frisby bdab40280b * Added instant message support for the local region. Grid support forthcoming. 2007-07-08 03:32:27 +00:00
Adam Frisby 10ece46cf6 * Updating prebuild 2007-07-08 02:58:01 +00:00
mingchen bc02ddf523 *Fixed several bugs that crashed the viewer and opensim server when logging in on grid mode
*Note: Grid Mode now works in sugilite, but is still unstable
**Known bug in which the grid server crashes after being relaunched from a previously create configuration
**Crashing of the viewer crashes the OpenSim server which then crashes the grid server -- needs better handling of exceptions
**Multiple sims is still untested, but should connect correctly. Moving between the sims may be a different story
2007-07-06 20:40:03 +00:00
mingchen 93640f1d71 *Fixed 2 small references to localhost which has some conflicts when resolving.
*Grid mode now gets past region handshake, BUT the client (both nicholas and the normal one) crash as soon as the next step is displayed on the screen
2007-07-06 13:57:49 +00:00
mingchen e2bafc8d6c *Fixed crash of OpenSim client when in grid mode from a recent commit
*The XML issue is now fixed (yay lbsa71) -- but I am still getting a "login packet never received", but that is probably an issue on my end, and not it the code
2007-07-05 20:46:37 +00:00
MW 70d8731aa2 Fixed rotation editing of individual prims in a group. I think positioning and rotations should now be correct (for both groups and on editing individuals of a group). Resizing still needs work. 2007-07-05 19:19:39 +00:00
mingchen 583f2a9de8 *Removed SimProfile.cs as it is no longer needed (in favor of SimProfileData)
*Added simulator_data_request XMLRPC method to request data from the grid server about a sim instead of faking its login
*Login is progressing, now just getting an XML error (http://pastebin.com/942515) -- if you can fix this, throw MingChen in IRC a Private Message
2007-07-05 15:15:28 +00:00
Adam Frisby ad86e94b3d * Tweaks to Java engine (uses less threads). Added support for OnFrame and OnNewPresence events. 2007-07-05 04:23:34 +00:00
Adam Frisby c570b107f8 * Java engine fully back in Sugilite 2007-07-05 00:24:40 +00:00
Adam Frisby 3c46e5b170 * Added Java support back into Sugilite (although it still needs a calling host to be added). 2007-07-05 00:09:45 +00:00
MW beb3073bec A bit more work on Building tools/support.
updated Axiom.MathLib.dll.
2007-07-04 19:07:27 +00:00
lbsa71 5c32b33a66 * re-fixed the utf-16 bug in xmlRpcResponse serialization
* added LLSDStreamHandler.cs to Caps (Haven't enabled it yet, though)
* removed last traces of old rest handling
2007-07-04 16:28:59 +00:00
lbsa71 6a2588454a * Removed AssetHttpServer, using BaseHttpServer instead
* Removed legacy REST handling
* Created two custom IStreamHandlers for asset up/download
* Removed quite a lot of double and triple encodings, trying to work towards binary only and direct write into storage.
* Introduced BaseStreamHandler with GetParam() and some other goodies
2007-07-04 14:12:32 +00:00
lbsa71 9a51949cb4 * Added StreamHandler support
* Implemented RestStreamHandler
* Some caps functions now use it
* Moved out RestMethodEntry from httpserver
* The IStreamHandler interface now reports required method and Content-Type
2007-07-04 11:47:32 +00:00
Adam Frisby 827cccb99c Grid Servers:
* Sugilite grid server now works with older regions properly (using it on deepgrid for testing)
* Sugilite user server still broken with sugilite region server
* Reduced the number of compiler warnings to zero
Region Servers:
* Added debug information to OGS1 Comms to help debug user server connectivity issues.
2007-07-04 07:45:42 +00:00
Adam Frisby 249ce4cf6f * More cleaning - Sugilite now only has build errors for "value is never used" properties (which I presume will be filled in over time) 2007-07-04 05:49:12 +00:00
Adam Frisby daf7b8ec76 * Cleaning - attempting to get compiler warnings back down to zero. 2007-07-04 05:25:40 +00:00
MW bd8018fa1c Today's work on Building support/tools. Think I am slowly getting there. 2007-07-03 20:10:20 +00:00
mingchen e06ffb3981 *Removed GridInfo class as it has been previously replaced with the much better NetworkServersInfo class
*Got the GridServer in OGS1 to go through with registering the region, but the actual storage of the region isnt working right now.
**After this is fixed, grid mode should work!
2007-07-03 17:03:14 +00:00
mingchen 898b48464a *Renamed OGS1 XmlRpcLoginToSimulatorMethod to the more appropriate XmlRpcSimulatorLoginMethod
*Attempt to fix the "sim not found" issue by adding sim if...well...not found (OGS1)
2007-07-03 14:56:00 +00:00
lbsa71 9b6b6d05d4 * Optimized usings (the 'LL ate my scripts' commit)
* added some licensing info
2007-07-03 14:37:29 +00:00
lbsa71 73a5ec391a * Completed conceptual LlsdMethod - everything resides in SimpleApp pending guru approval. 2007-07-03 07:06:08 +00:00
Adam Frisby 315a49e7fd You can now substitute %name% in the filename argument for terrain save & load commands to input the sims name. Useful for sugilite regions where you are running multiple sims in a single instance and need to get them to load or save in a pattern. (Needs cleaning & expansion) 2007-07-02 23:52:18 +00:00
Adam Frisby 96dfb33bca Attempted workaround for Mono's insistence on compiling BasicTerrain incorrectly 2007-07-02 23:42:38 +00:00
mingchen 67af17fdd1 *OGS1 Key2Name/Name2Key works
*OGS1 doesnt crash on startup anymore
2007-07-02 21:02:11 +00:00
lbsa71 71f1b2d878 * Added conceptual LlsdMethod Demo to SimpleApp (work in progress) 2007-07-02 20:44:39 +00:00
MW d1d38f2ede Applied Darok's PhysicsVector ToString patch 2007-07-02 17:48:34 +00:00
Adam Frisby 858e232cec * Added "HiRAW" mode export for generating as precise outputs as possible in the .RAW format. Ideal for exporting a heightmap to a simulator only capable of reading the RAW format. If you are exporting between OpenSim regions, use F64 instead. 2007-07-02 16:04:50 +00:00
lbsa71 fcabdab7bc * Started working on LlsdMethod for BaseHttpServer
*Renamed IRestHandler.cs to RestMethod.cs which is the correct name.
2007-07-02 16:03:58 +00:00
Adam Frisby c25a2fea59 * Added support for SL-style RAW export similar to the official simulators operation (low resolution) 2007-07-02 15:45:09 +00:00
lbsa71 686f6a8331 * Fixed Issue #161 by using PhysicsScene.Null instead of BasePhysicsScene
* Hid NullPhysicsScene for great justice
* Fixed broken Grid build
2007-07-02 08:03:11 +00:00
MW 7f18f494f1 Just committing this because I want my commit to be on the front page of www.opensimulator.org rather than lbsa71's being there. 2007-07-01 21:45:47 +00:00
lbsa71 2d34caabb9 * removed try-catchall from scene constructor
* added reference server-side addnewprim prototype to Scene - not implementet yet though.
2007-07-01 21:16:45 +00:00
MW 2852cda727 More work on SceneObject/Primitive and building (Linking is a work in progress as is all). Committing now as I've finished for the night and will be continued tomorrow. 2007-07-01 21:04:33 +00:00
MW 54ef77f0fd Can change the name and description of a prim. 2007-07-01 18:33:44 +00:00
MW 9800c05c1b Started change to having SceneObject and then that having child Primitives which in turn have a Shape object (currently PrimitiveBaseShape). The plan is only for the SceneObject to interface with the physics engines. As a physics Entity should be able to have mulitple shapes connected to it. 2007-07-01 17:26:33 +00:00
lbsa71 7cafe7f6d9 * now saves ExternalHostName in config 2007-07-01 16:19:47 +00:00
lbsa71 06a8c13200 MAJOR IP RESTRUCTURING
* moving towards IPEndPoints all over the place
* trying to make the internal/external division
2007-07-01 16:07:41 +00:00
lbsa71 5e805656db Fixed SimpleApp - aka thankgoditssundaycommit
* Updated SimpleApp with various introduced dependencies
* Extracted ScenePrescence creation in Scene
* removed try-catchall from UserManagerBase (that actually hid a bug)
* Refactored RegionInfo
  * handle is calculated
  * it will explode upon accessing x,y,ip,port,externalip if not explicitly initialized
* Removed superfluous 'ref' keywords
* Removed a shitload of 'catch Exception e' that causes build warnings
* Lots of small refactorings, renames et c
* Ignored some bins
2007-07-01 13:17:27 +00:00
Adam Frisby 31649aa1d5 * Fixed scripting engine with a few minor updated namespace issues. 2007-07-01 11:24:50 +00:00
Adam Frisby 72cd28be1b * Experimental patch: Replaced IPAddress.Any with IPAddress.Parse("0.0.0.0") to force IPv4 2007-06-29 20:09:29 +00:00
Adam Frisby cc1c4c034c * Applying Danx0r's BasicPhysics update. 2007-06-29 18:37:26 +00:00
mingchen 6b3777d3db *Deleted Logger.cs from OpenSim.Framework 2007-06-29 16:43:48 +00:00
mingchen 90b01ba80c *Hopefully fixed the empty dialog box error on client when logging in on sandbox mode 2007-06-29 01:58:16 +00:00
Adam Frisby 135e9b1f53 * Removed J# language support because it has issues with Mono. 2007-06-28 19:35:20 +00:00
mingchen fe0528b98c *Added UUIDNameRequest packet support (untested, but should work -- at least in sandbox mode)
*Various small renamings
2007-06-28 19:09:50 +00:00
MW 41f26668d9 enabled physics plugin flying flags. 2007-06-28 17:48:45 +00:00
mingchen d3363bbc28 *Renamed GridCommsManager to CommunicationsOGS1 to match CommunicationsLocal -- its sandbox mode counterpart 2007-06-28 17:03:09 +00:00
mingchen 108d89f894 *Master User is now set up
*Added support for getting user profile information from remote grid server (untested)
*Updated prebuild.xml
2007-06-28 16:17:20 +00:00
MW e1ebfaef63 Applied ScenePresence movement patch from Darok. 2007-06-28 15:56:24 +00:00
mingchen bee543300f *User Profile requests on OGS UserServer now uses XMLRPC instead of REST
*Added base support for setting up a master user
2007-06-28 14:45:46 +00:00
MW 561db23e5f Finished removing the old scripting code, Scene.Scripting.cs and OpenSim.Framework.Interfaces.Scripting. 2007-06-28 14:10:05 +00:00
MW 3456d951d8 Imported the scripting changes, so now should be up to date with sugilite. 2007-06-28 13:13:17 +00:00
MW 14ea54b441 should now work. 2007-06-28 11:54:51 +00:00
mingchen 440bb4a358 *Fixed UserServer and OpenSim so now they start without crashing. 2007-06-28 02:07:59 +00:00
mingchen 0232f01a58 *Moved all the classes into their own file from LLSDHelpers.cs
*Some folder renaming to follow project Name
*Updated prebuild.xml
2007-06-27 19:43:46 +00:00
mingchen 9eaecabdd0 *Moved VersionInfo.cs to its correct place in OpenSim.csproj
*Added OpenSim.Region.Caps
*Updated prebuild.xml and ran prebuild
2007-06-27 19:04:23 +00:00
mingchen 1dcc814b70 *More compile fixes (should be it on OpenSim.sln) 2007-06-27 17:20:45 +00:00
mingchen fe120533ef *Updated prebuild.xml and ran prebuild again
*Removed .user, .suo, and unneccessary files in /bin/Physics/
*OpenSim.sln should compile with nant and on windows now
2007-06-27 17:12:32 +00:00
mingchen e392e222a8 *Added some missing files I forgot to add...OpenSim.sln should compile now 2007-06-27 16:55:27 +00:00
mingchen e41eedc9ae *Some more restructuring/fixing -- should compile, but high chance I forgot to add/remove something 2007-06-27 16:39:11 +00:00
MW 646bbbc84b Some work on restructuring the namespaces / project names. Note this doesn't compile yet as not all the code has been changed to use the new namespaces. Am committing it now for feedback on the namespaces. 2007-06-27 15:28:52 +00:00