Commit Graph

2072 Commits (8ad450f83e70a45b79d9b058bf46854c7168a69c)

Author SHA1 Message Date
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
mingchen 87bddd32df *Added configuration plugin (OpenSim.Framework.Configuration.HTTP.dll) that fetches a file from a remote server
*Right now, values are not saved back to the remote server, but that will be changed
*Removed some warnings from invalid references that were not used anyways
2007-07-23 19:30:33 +00:00
MW f8c1366cbf Applied makomk 's patch from issue #219. 2007-07-23 17:22:23 +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
MW b3cef2fc2a Re-added the ability to set the database provider (dll) in the config file for the userserver and gridserver. 2007-07-21 15:50:29 +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
mingchen 12bb7628d2 *Added ability to manually set the configuration plugin dll from ConfigurationMember 2007-07-20 17:08:01 +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
Adam Frisby f5b24b6679 * New log functions which include the module name as an argument. 2007-07-20 01:21:39 +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
mingchen de104536c1 *Handler Functions can now refuse an object as invalid by returning false, thus forcing the user to re-enter the data
*Added TYPE_STRING_NOT_EMPTY that requires some sort of text to be entered
*Added another parameter to addConfigurationOption called use_default_no_prompt that will not ask via the console a configuration option; it will use whatever is in the config file. If nothing is in the config file for that option, it will force itself to use default
2007-07-19 15:01:14 +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
Adam Frisby 08b04810a8 * Removing more compiler warnings. 2007-07-19 00:23:06 +00:00
mingchen 30a73085c5 *Removed files that were no longer important and prevented compile
*Should compile now!
2007-07-18 23:35:24 +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
Adam Frisby 11efebd29e * Added "GetHostFromDNS" to Util to replace the various DNS resolution methods we use. Favours IPv4 addresses before IPv6 addresses to work around the Vista preference issue. 2007-07-18 21:55:24 +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
Adam Frisby de1dd0e42f * In ur trunk adding ur assets. 2007-07-16 20:44:41 +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
lbsa71 e207cc615f * fixed locations both set to y (thanks to babblefro) 2007-07-15 05:07:28 +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
Adam Frisby 382b6a32c1 * Upgraded MySQL Connector to support 1222 changes. 2007-07-14 21:01:31 +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
Sean Dague 6c0779f618 rename file to not have spaces in it 2007-07-13 16:01:01 +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
Adam Frisby a7e103a922 * OGS project is now back down to zero warnings. 2007-07-13 07:19:08 +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
lbsa71 4adf4c57d4 2007-07-08 12:10:32 +00:00
Adam Frisby b14726a843 * Fixed building - something weird is happening with prebuild though, not adding XMLRPC.DLL to the references for Framework.Data 2007-07-08 10:32:13 +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
Adam Frisby 7b0bb7c616 * Fixed reservation handling for existing region authkey situations. Reservation key now overrides old sim key, however if reservation not found, sim key is used instead. 2007-07-08 00:54:13 +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
lbsa71 8bdbdf48c7 * updated bugfixed xmlrpc for massive win
* got rid of the ugliest hack in the project
2007-07-05 18:30:30 +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
lbsa71 8b3cb93b49 * Started work on converting BaseHttpServer to a stream dispatcher 2007-07-04 04:29:23 +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 78e420f48b *Fixed storage issue as noted in last commit of the OGS1 GridServer
*Reverted the default remote grid server port back to 8001 (from a port change to debug a previous issue)
2007-07-03 19:26:35 +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
lbsa71 9ff5bb9873 * Applied Weathros/tedd's IP v6 patch 2007-07-02 06:57:42 +00:00
lbsa71 d78f6505e3 * worked some more on the RegionInfo attr fuggliness 2007-07-02 06:55:36 +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
lbsa71 97d441fca4 * replaced some more of those butt-fuggly attr constructs with nice Get<> calls; somebody should finish the job. 2007-07-01 20:30:02 +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 bacf90b5d8 * Project files fixed for OGS. 2007-07-01 11:40:48 +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 b8b701fabb * Small bugfix comparing equal UUIDs 2007-06-29 22:10:55 +00:00
Adam Frisby e4df6ea08e * Created new "UUID" class to override LLUUID in general. (Unable to inherit from LLUUID, so written as a wrapper + extra functions), 1:1 Feature compatible with LLUUID designed as "Drop In" replacement. 2007-06-29 22:09:52 +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
lbsa71 b2883faddf * just making sure build files are latest 2007-06-29 16:28:03 +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 1a6f58f337 *Fixed OpenGridServices.sln and prebuild.xml
*NameSpaceChanges branch now fully compiles!
2007-06-27 18:28:45 +00:00
mingchen 2261e4ec2a *Fixed all renaming for OpenGridServices.sln, still a reference issue in prebuild.xml though 2007-06-27 18:04:07 +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