Commit Graph

1073 Commits (57ff76850d1d50d31efe7c20998c57a162ac819d)

Author SHA1 Message Date
Sean Dague 6c77ae5507 add a few more verbose bits 2007-11-09 20:47:20 +00:00
Sean Dague 8ac2f5a3a0 turn back on verbose message for resending packets 2007-11-09 20:32:55 +00:00
Sean Dague 3e5ea796ae don't break if they haven't defined the Sun section of their config 2007-11-09 20:02:44 +00:00
Sean Dague 114945b842 make Sun progression configurable for the Sim from OpenSim.ini 2007-11-09 19:53:23 +00:00
Teravus Ovares 90274434c6 * Moved BulletX off of the 'constant terse update' method. It now only sends terse updates when needed.
* Removed the 'constant poll method' from SceneObjectPart.cs - It was bad :P
* Updated some Masses in ODE to help large prim slow down by friction easier.
2007-11-09 13:45:42 +00:00
Adam Frisby 7fb227ed1e * Protip: Commit AFTER compiling. 2007-11-09 02:38:26 +00:00
Adam Frisby b7629d7a3d * Added some code to prevent a spinlock. 2007-11-09 02:31:40 +00:00
Adam Frisby 7861390f72 * Tweaked how the throttle works. 2007-11-09 02:26:26 +00:00
Adam Frisby 1875317127 * Tweaked throttle sizes. Throttle is now 256kbps outbound per client. 2007-11-09 02:24:14 +00:00
Adam Frisby 5099667844 * Added some *VERY* experimental highly dodgy throttling of outbound packets to help alleviate clients borking during massive amounts of updates. Needs work. 2007-11-09 02:22:01 +00:00
Adam Frisby 3a5ae43d5e * Fixed compile issue. 2007-11-09 02:13:07 +00:00
Adam Frisby c93f7188c7 * Added a mutex to the LoginService allowing only a single login simultaneously. (queues)
* This is a temporary fix to prevent an issue with adjohn reported when attempting to login large numbers of users in a short period of time.
* A rewritten login service is on the cards.
2007-11-09 01:59:18 +00:00
Teravus Ovares b01e309414 * Fixed Resending Terse Updates Message on the console causing CPU usage to spike when the network connection isn't 100% and fast. 2007-11-09 01:43:54 +00:00
Teravus Ovares b74983328c * Stopped printing the prim's X cordinate difference from the last movement on the Console. 2007-11-08 18:17:48 +00:00
Teravus Ovares fcc276a68d * Fixed occasional character drift caused by sim not sending the avatar's final resting velocity.
* Added Smooth moving prim
* Added event to PhysicsActor RequestPhysicsterseUpdate to allow physics plugins to be able to schedule a terse update.
2007-11-08 15:22:36 +00:00
Jeff Ames fc3e247956 fixed non-ASCII chat and IM 2007-11-08 07:14:46 +00:00
Jeff Ames 0b4e15bc35 converted hard-coded chat type values to ChatTypeEnum 2007-11-08 03:11:10 +00:00
Teravus Ovares 9e9dad1cde * Added Rotational Velocity reporting for Client Interpolation to Terse Updates
* Added Angular Velocity reporting for smooth-ish rotations on object collisions
2007-11-08 00:10:40 +00:00
Sean Dague 428d603e87 get rid of the debug line, that's just going to drive everyone nuts 2007-11-07 22:24:38 +00:00
Sean Dague 2884112227 move Sun into a Region Module, pass 1. Currently this works fine with
a fixed 30 minute day and the sun going East -> West again.  It gets rid of
super noon as well.  It's a bit debug heavy right now, which I'll clean up
tomorrow.  I also plan to make time progression configurable in OpenSim.ini,
but that will be tomorrow.
2007-11-07 22:22:32 +00:00
Sean Dague 65eb1852a3 add SendSunPos function to IClientAPI to let us pull all the sun
calculation logic into a module
2007-11-07 20:29:30 +00:00
Sean Dague 9b6c8ba7d1 disable profuse logging messages for not saving physical
objects, as it clouds up the console a bit too much
2007-11-07 20:26:03 +00:00
Jeff Ames f86a65f14b refactored some duplicate SceneObjectGroup searching code in Scene 2007-11-07 02:42:18 +00:00
Teravus Ovares 919118f0ef * fix for Bug 563
* fix for ODE geoms not getting disposed of properly when resizing.
2007-11-06 17:19:10 +00:00
lbsa71 ee1fcc729c * Added better logging to AssetCache
* AssetCache now ignores duplicate uploads
* some m_ refactoring
* ignored some bins
2007-11-06 11:10:45 +00:00
dan miller ec85a31140 physical prims AND other changes in ODE (Teravus) -- note this is experimental! 2007-11-05 22:20:18 +00:00
dan miller 62a43affe4 physical prims 2007-11-05 22:18:12 +00:00
dan miller c1d05740e5 adding missing ODE files for mesh 2007-11-05 18:05:21 +00:00
MW 7fb9665cf5 Fixed the MyNpcCharacter errors 2007-11-05 15:08:56 +00:00
lbsa71 f6c8c10d3f * Substituted som 'GenericCall' with Action<>
* OnRequestWearables does no longer accept 'Client' as param, since it's always on the current client
* Fixed SendOwnWearables to always operate on self, as that's what it does
2007-11-05 14:38:58 +00:00
MW 73fbacea1f Started to cleanup/close down childagent connections when a user teleports. As the client will not close old childagent connections without being told explicitly to do so by each region the connection is to. Currently only implemented in standalone mode. ( the TellRegionToCloseChildConnection( ) in OGS1GridServices.cs needs implementing for grid mode, and the inter region .net remoting added for the new messages).
hopefully fixed the echo bug in chatmodule.
2007-11-05 13:58:44 +00:00
dan miller fdb57b28b1 prim cuts in ODE
Much thanks to Gerhard!
Merged with Darok's recent changes re: physical prims
2007-11-05 12:25:53 +00:00
MW 6bb1e91d41 Changed it so opensim.exe should scan for new application plugins every time its ran, rather than just the first time (or when the addins and addin-db-000 directories were deleted). 2007-11-05 12:24:07 +00:00
lbsa71 e1e611452b * UpdateWearable should SendOurAppearance
* Ignored some bins
2007-11-05 09:16:42 +00:00
Charles Krinke 7eff1572cb Thank you, Teravus for: Solution for 'after using physical prim with MonoSqliteDataStore, the sim lags with constantly updating assets.". This mostly affects BulletX. 2007-11-05 04:33:06 +00:00
Jeff Ames 76aa5b81b0 removed duplicated BOMs 2007-11-05 02:48:05 +00:00
Adam Frisby 7896a0c453 * Temporarily reverted SQL syntax. 2007-11-05 01:35:17 +00:00
Adam Frisby 181dd8d8dc * Changed MySQL Syntax on Region Updates for Grid Server. 2007-11-04 23:31:35 +00:00
MW d56ed8fe9c Some more refactoring 2007-11-04 22:22:53 +00:00
MW 1467720f60 Added forgotten ApplicationPlugins directory and moved the load region code out to a plugin.
To make opensim search for the new plugin, you will need to delete the "addin-db-000" and "addins" sub directories in bin if you have them.
2007-11-04 22:16:13 +00:00
Adam Frisby 9f4ae7230f * Small touchup of console messages 2007-11-04 20:37:55 +00:00
Jeff Ames e0cfa89d83 normalized line endings 2007-11-04 14:52:19 +00:00
MW 18ae60db37 Deleted Regionloader .csproj files. 2007-11-04 14:40:16 +00:00
MW ef2cea41ce Added forgotten IApplicationPlugin file 2007-11-04 14:38:12 +00:00
Jeff Ames 2d1c255e8c normalized line endings 2007-11-04 14:34:45 +00:00
MW e50a2e2ce2 Applying Teravus patch # 557. Some glue code for the updating of prim's velocity. 2007-11-04 14:06:41 +00:00
MW 039f2c46c0 Added support for OpenSim application plugins (as requested by Adam), which use Mono.addins for loading/management. (which is a pure .net solution so works on both Mono and MS .net, and is under the MIT license, will add the source code for the library later). I also suggest we look into switching to using Mono.addins for our Region module loading management.
A little bit more refactoring of Scene.
2007-11-04 13:48:15 +00:00
MW d34ee746e7 add a IAssetProvider.CommitAssets() call to the grid asset server, when a asset is uploaded to it. Don't think the MySql provider needs this call but the Sql provider does else the assets don't get written out to the database file. 2007-11-04 10:46:05 +00:00
MW 19fe9a0208 Do I really have to write a log entry, can't I just hide this commit somewhere so its added but doesn't show up anywhere. As I can't believe I would make such a stupid mistake and not notice. 2007-11-04 10:40:28 +00:00
Tleiades Hax dfc6108f1b removed our own inplementation of UUID's, it wasn't used anywhere. 2007-11-04 06:15:43 +00:00
darok bcc0f3265d Fixes a bug with a ZERO Quaternion when creating a prim. 2007-11-03 20:50:11 +00:00
darok fbf3c6a768 Modifications for prim movement. For now only in Mod. BulletX, but i think it can be easy to add to ODE. Enjoy kick the prims and be careful with the falling ones ;D 2007-11-03 19:33:00 +00:00
MW dabbdec2cd First part of Scene refactoring:
Started the move of some of the methods from scene into a inner class (currently called InnerScene.cs), the idea being that the code related to the 3d scene (primitive/entities/Avatars etc) will be in this inner class, then what is now Scene.cs will be left as a kind of wrapper class around it. And once the spilt is complete can be renamed to something like RegionInstance (or any name that sounds good and ids it as the Region layer class that "has" a scene). 
Added SceneCommunicationService which at the moment is a kind of high level wrapper around commsManager. The idea being that it has a higher level API for the Region/Scene to send messages to the other regions on the grid. a Example of the API is that instead of having sendXmessage methods, it has more functional level method like PassAvatarToNeighbour. Hopefully this will allow more freedom to do changes in communications that doesn't break other things.
2007-11-03 19:14:22 +00:00
MW add6fb9722 tiny commit to prepare for the first proper part of Scene.cs refactoring. 2007-11-03 19:03:56 +00:00
mingchen b51a900beb *Master Avatar can be specified by a previous UUID in either grid mode or standalone mode by specifying a master_avatar_uuid attribute in the place of master_avatar_xxxx_name and master_avatar_password.You will not be asked for the name and password if a valid UUID is specified. 2007-11-03 17:49:45 +00:00
lbsa71 5b4e4cb3ac * Removed unused UDPServerBase 2007-11-03 15:51:02 +00:00
mingchen 51488ee7f4 *Moved region loading into its own interface IRegionLoader
*Added ability to load regioninfo remotely from a webserver from a single file. See share/RegionLoading/HOWTO_REMOTE_REGION_LOADING.txt for more info and an example file.
2007-11-03 15:09:21 +00:00
MW 91c2c3c096 testing different rest post method/class for Grid asset client. (possible that I haven't set the post url correctly) 2007-11-03 14:04:59 +00:00
darok f8e0cf0f1d Changes in BulletXPlugin: Added new class BulletXActor class inherits from PhysicsActor and it's the ancestor for BulletXCharacter and BulletXPrim.Physical modifications: Changes for pass the value of Physical flag in the SceneObjectPart class to the Physics engines. New call for AddPrimShape so it has a new parameter called "isPhysical". The old call will be obselete soon (i believe). PhysActor and its descendants have a new property called IsPhysical. By the way no new special funcionallity added. It's more like preparing the way for new modifications. 2007-11-03 10:25:43 +00:00
MW a30866ed45 Added temporary try catch to udpserver while testing something out (will remove later) 2007-11-02 14:54:56 +00:00
Sean Dague 21e47f8ef0 debug tracing for asset server hangs 2007-11-01 22:01:26 +00:00
Tleiades Hax 317ef312bd Need to clean up resources when creating/updating assets 2007-11-01 21:38:41 +00:00
Tleiades Hax cb2ae6eaed 2007-11-01 21:36:47 +00:00
Tedd Hansen dcf41cb683 ScriptServer fixes: Added more debug logging, mutex lock (to be extra-super-sure) on script load/unload, removed experimental Grid-scriptengine from compile because of dynamic module loader, and added random string to script filename to bypass module loader file lock.
Please delete your copy of bin/ScriptEngine/OpenSim.Grid.ScriptEngine.DotNetEngine.dll.
2007-11-01 19:27:03 +00:00
lbsa71 4fad66f855 * Diuerse beavtificatems 2007-11-01 19:19:05 +00:00
darok bda35705e6 Partialy fixed a bug with collisions in BulletXPlugin. 2007-11-01 19:12:06 +00:00
darok 4faa824c3e Changes in BulletXPlugin: Added new class BulletXActor class inherits from PhysicsActor and it's the ancestor for BulletXCharacter and BulletXPrim. 2007-11-01 17:49:56 +00:00
MW 7a66eff8af renamed FetchAsset to RequestAsset on IAssetServer, as think its a more fitting name. As the call shouldn't actually return the data, but just add a request for the data to be sent back via the callback. 2007-11-01 17:28:38 +00:00
MW 88f04731ca Test on the grid asset problem, don't update to this version unless you just want to test to see if this fixes anything (but it could just as well break grid assets even more). 2007-11-01 15:54:59 +00:00
Tedd Hansen 2aa9440437 Goodbye LSO to .Net translator. May your bits live on in our memories. 2007-11-01 15:13:04 +00:00
Charles Krinke 8af272b3ab Thank you, Melanie for solving: When receiving an ObjectAdd packet, the Rotation member is silently ignored and the prim is created with 0,0,0,1 rotation. The patch introduces a fix that passes the Rotation parameter from the packet to the object and uses it in the actual object creation. 2007-11-01 03:56:54 +00:00
Charles Krinke 41e71e5548 Thank you Melanie for a patch to SceneObjectPart.cs so that on first transmission of task data to the connection of the creator/owner, the CreateSelected bit in the object flags is now set. 2007-11-01 02:49:33 +00:00
lbsa71 b3aa6e616b * Took a stab at #500 by making sure there is only one place stuff gets added, and that that place is thread-aware.
* Refactored it to TryGetValue instead of Contains
2007-10-31 20:39:52 +00:00
Tleiades Hax 5fb956f75a Improved logging, to identify which asset fetch caused an execption during retrieval of assets from the asset server 2007-10-31 18:49:40 +00:00
Sean Dague e729accdac redefault to sqlite for all services, especially now that
we can run without a config file
2007-10-31 14:41:04 +00:00
Sean Dague 048939fbb5 fix typo in filename 2007-10-31 14:08:12 +00:00
lbsa71 0d528e1d22 * Added a streamhandler that does streams both in and out
* The RestDeserialisehandler now does streams and returns an object instead of string
2007-10-31 12:45:03 +00:00
Jeff Ames dbcab80520 fixed bug with user not getting land properties on login 2007-10-31 09:50:36 +00:00
MW 720065ef9e forgotten file 2007-10-31 09:26:06 +00:00
MW a9ad16b13a some small changes 2007-10-31 09:18:24 +00:00
Jeff Ames f42afe81af added .dat extension to dumped asset files 2007-10-31 08:07:20 +00:00
Jeff Ames 13854d562f fixed filenames in log messages 2007-10-31 07:56:31 +00:00
lbsa71 064404ab40 * Moved OpenSim/Framework/General to OpenSim/Framework for great justice. 2007-10-31 07:28:23 +00:00
Jeff Ames 7f0d836d35 made illogical bitwise operations logical 2007-10-31 05:29:51 +00:00
Charles Krinke 33d6222e8d Thank you Teravus, very much, for a 'jump', 'crouch' and 'inertia' patch for all three physics plugins. 2007-10-31 04:18:34 +00:00
Jeff Ames 98b238cf6b set svn:eol-style 2007-10-31 01:21:04 +00:00
dan miller f5195a453c Tevarus' patch for object flags & implemented Phantom edits 2007-10-30 23:38:56 +00:00
Tleiades Hax 6a8d8f54e8 Step one on the long march towards grid based inventory. Introduction of an InevntoryServer 2007-10-30 22:42:34 +00:00
lbsa71 a8c42a5829 * doh II 2007-10-30 17:28:41 +00:00
lbsa71 9e34f04cbb * doh 2007-10-30 17:19:34 +00:00
lbsa71 90e7c59c11 * Added OpenLifeGrid to Launcher 2007-10-30 17:13:30 +00:00
lbsa71 6865f5cbd4 * Now the launcher actually WORKS. Yay. 2007-10-30 16:55:24 +00:00
Jeff Ames ecb2305a04 temporary fix for sitting collisions in ODE 2007-10-30 09:56:29 +00:00
lbsa71 67e12b95ea * Optimized usings
* Shortened type references
* Removed redundant 'this' qualifier
2007-10-30 09:05:31 +00:00
lbsa71 c32d1f0562 * Deleted .user file 2007-10-30 08:52:34 +00:00
MW 3d8219f6c7 as per the "Filesystem cleanup for OpenSim repository" mailing list thread. Have flattened the OpenSim.Framework project/namespace. The problem is that the namespace is still wrong as its "OpenSim.Framework" while the directory is "OpenSim\Framework\General" , so we need to decide if we change the directory or correct the namespace.
Note this has lead to a big flat project, but I think a lot of the files we most likely don't even use any longer. And others belong in other projects/namespaces anyway.
2007-10-29 21:46:25 +00:00
MW f6e8cbbd06 Fixed a bug in SQLAssetServer that only seemed to be a problem when running under the MS .net Runtime, but was fine with mono. 2007-10-29 15:58:52 +00:00
MW 0837f6b78d fixed one bug (where the assets we read and created from the OpenSimAssetSet.xml file, weren't actually getting added to the database). This should make textures/assets work again with db4o, but still seems a problem with sqlite 2007-10-29 14:37:08 +00:00
lbsa71 27b5fad56d * Removed AssetNotFound as it crashes client
* Fixed introduced bugs in ScenePresence
2007-10-29 12:59:04 +00:00
lbsa71 03d49b0217 * ModuleLoader: Privatized some too-public fields
* Scene: Changed name from MakeAvatarPhysical to MakeRootAgent and added ForEachClient
* SceneManager: Added ForEachScene
* Worked some on appearances.
2007-10-29 11:54:31 +00:00