Commit Graph

755 Commits (bb1d4d23c4703cde5c3f7f7d2d123a8abaac3cfa)

Author SHA1 Message Date
Justin Clarke Casey 2ff08c84f5 * minor: formatting adjustments in OpenSim.ini.example 2009-07-10 19:47:26 +00:00
Justin Clarke Casey 148e2d55fa * minor: Make GridCommon.ini.example refer to inventory service rather than asset where appropriate
* Send debug level notice to console if a user fails authentication
2009-07-10 18:40:37 +00:00
nlin 0ec6dfb1a1 Experimental fix for tilted avatar capsule, Mantis #2905
Set av_capsule_tilted to false in opensim.ini. Default is true, so there is
no change in avatar behavior (and no breaking of existing content which
relies on the tilted capsule).

This commit straightens up the avatar capsule so it behaves consistently
(e.g. same collision behavior against prims regardless of which direction
the avatar is coming from; ability to fit through narrow doorways).

Please note this introduces other side effects which have not been fixed.
In particular:

* The avatar frequently falls through the terrain if it is not flat, though
the avatar behaves pretty well on flat terrain. This requires investigation
of the ode terrain collider.
* The apparent foot position of the avatar with respect to the ground
is changed. This requires investigation of the avatar height/capsule height.

Please consider this as work in progress.
2009-07-08 01:41:05 +00:00
Melanie Thielker 159db5cded B.U.S.T. Implant #1. Add inventory services to B.U.S.T.
OpenSim.Server.exe now runs both asset and inventory services
2009-07-07 20:19:40 +00:00
Melanie Thielker 10d874fb27 Removing the left over monolithic user server config files 2009-07-07 16:46:24 +00:00
Melanie Thielker 3bfd98eae7 Committing the basic universal server Technology (B.U.S.T.) 2009-07-07 16:21:51 +00:00
Melanie Thielker 7d5b620e6b Thank you, mcortez, for a patch to prebuild to allow includes with wildcards.
Fixes Mantis #3860
2009-07-06 23:53:47 +00:00
Melanie Thielker 9e714b9784 Add a comment and an example region config file 2009-06-25 16:05:59 +00:00
Dr Scofield 8f5efc4994 - adds the possibility of setting the socket receive buffer size
option for LLUDPServer. On windows .NET the default socket receive
  buffer size is 8192 bytes, on recent linux systems it's about
  111K. both value can be a bit small for an OpenSim instance serving
  many clients. The socket receive buffer size can be configured via
  an OpenSim.ini config option

- adds a general catch clause to LLUDPServer.OnReceivedData() to
  prevent it submerging when an unexpected Exception occurs.
2009-06-25 07:50:02 +00:00
Dr Scofield afd5f76648 From: Alan Webb <alan_webb@us.ibm.com>
This change moves texture send processing out of the main
  packet processing loop and moves it to a timer based
  processing cycle.

  Texture packets are sent to the client consistently over
  time. The timer is discontinued whenever there are no
  textures to transmit.

  The behavior of the texture sending mechanism is controlled
  by three variables in the LLCLient section of the config
  file:

   [1] TextureRequestRate (mS) determines how many times per second
       texture send processing will occur. The default is 100mS.
   [2] TextureSendLimit determines how many different textures
       will be considered on each cycle. Textures are selected
       by priority. The old mechanism specified a value of 10 for
       this parameter and this is the default
   [3] TextureDataLimit determines how many packets will be sent for
       each of the selected textures. The old mechanism specified a
       value of 5, so this is the default.

  So the net effect is that TextureSendLimit*TextureDataLimit
  packets will be sent every TextureRequestRate mS.

  Once we have gotten a reasonable feeling for how these parameters
  affect overall processing, it would be nice to autonmically manage
  these values using information about the current status of the
  region and network.

  Note that this also resolves the pathologcal problem that
  previously existed which was that a seated avatar generated very
  few in-bound packets (theoretically) and would therefore be the
  least able to retrieve the images being displayed by a
  projector script.
2009-06-25 07:42:06 +00:00
diva ce7de3581c Implementation of a simple authentication service + in connector in route to making HGInventory (client access) work in standalone again. This is the refactoring of what was/is there, but done in the new model. Not complete yet, but key authentication works. It should be enough to make HGInventory work again soon. 2009-06-17 03:52:39 +00:00
diva e1fd76ace6 Moving these nice HG connectors to their homes. 2009-06-15 23:29:00 +00:00
diva 54d44e370b Removing the OpenSim.SimulatorServices project. All of those region modules are now in CoreModules/ServiceConnectorsIn, where they belong. 2009-06-15 00:17:17 +00:00
diva 380f59d0ff Factoring out "land_data" / RequestLandData that was hanging off of IGridServices, erroneously. Not sure when this is used, but now it is implemented in the new model of service connectors. Hopefully it works. 2009-06-14 23:00:23 +00:00
Jeff Ames ffcb58e568 Formatting cleanup. 2009-06-14 22:00:08 +00:00
Jeff Ames 8d0eb3307f Update svn properties. 2009-06-14 21:37:50 +00:00
diva 7a9c85526c Pulled out HelloNeighbour into its own service, INeighbourService, which may get more functions as we go along. It's a very simple service and service connectors, and it served primarily to establish the design of services that dependent on Scenes and that must always have a local connector. More refactoring coming, as this showed how to do it right. 2009-06-14 15:35:09 +00:00
diva e533f58733 Removed a change in StandaloneHypergrid.ini introduced in r9838, which was incorrect. 2009-06-11 01:50:52 +00:00
diva 7f772d7a7d Fixed problem in configuration for GridHypergrid.ini. 2009-06-10 18:43:03 +00:00
Charles Krinke 831264fc98 Thank you kindly, BlueWall, for a patch that solves:
SQLite error on creating user.
2009-06-10 17:53:06 +00:00
diva a3f36f1954 Added some defaults to OpenSim.ini.example so that it works out of the box again with zero configuration. 2009-06-10 16:31:22 +00:00
diva 89219ab35a Flipping memory cache to false (default) in Flotsam cache, because of a bug in libomv. 2009-06-10 15:25:52 +00:00
diva 0f367bd7bb Heart surgery no.2: the inventory service hooks.
Several improvements in the connectors themselves.
Several improvements in configurations.
Needed to add a hack in IUserService and UserManagerBase, to be removed when that service is refactored.
2009-06-10 13:18:32 +00:00
Melanie Thielker 0356fef9ab Updating the flotsam asset cache. Thank you, mcortez!
Fixes Mantis #3784
2009-06-08 20:09:49 +00:00
diva db9d3d3a90 Added Flotsam's cache config vars to configuration. Made it the default in grided sims. Made Cenome cache the default in standalone sims. More splitting in ini files, invisible to the user. 2009-06-06 17:06:47 +00:00
diva 99f3382c9c Fixed placement of optional configs for CenomeAssetCache. Thank you ImazeR. 2009-06-04 18:36:02 +00:00
Dahlia Trimble 9e3b592fa3 Thank you Imaze Rhiano for a patch that implements Cenome Memory Asset Cache (Mantis #3759)
See the files: bin/config-include/GridCommon.ini.example and bin/config-include/StandaloneCommon.ini.example to configure and enable this caching method.
2009-06-03 08:41:08 +00:00
Dahlia Trimble 528db43326 revert r9765 due to too many errors on some compilers. Affects Mantis #3759 2009-06-03 02:03:11 +00:00
Dahlia Trimble b38be1a7fd Thank you Imaze Rhiano for a patch that implements Cenome Memory Asset Cache (Mantis #3759)
See the files: bin/config-include/GridCommon.ini.example and bin/config-include/StandaloneCommon.ini.example to configure and enable this caching method.
2009-06-02 22:42:47 +00:00
Arthur Valadares eb330f71be * Making silent logoff of old hung sessions for new connections default for
StandAlone users. Not touching grid.
2009-06-01 18:34:40 +00:00
Arthur Valadares d0084f08f2 * Allows standalone region users to skip the "You must wait 5 minutes to log again" message and
allow the region to kick the old user and log the new one without reporting any failure.
Default is still to show message and fail login
2009-05-29 22:38:18 +00:00
diva e0ef697402 Adding the GlynnTucker cache module as the default choice in .ini's.
Minor log message change in the module itself.
2009-05-27 16:11:23 +00:00
Jeff Ames d4957dd9be Update svn properties. 2009-05-25 01:59:50 +00:00
diva c287c4c57b Added one missing config var for HG standalones. 2009-05-23 15:08:03 +00:00
diva 1be22bc626 Changing extension of two of the config files to .example because they need to be copied and customized. 2009-05-23 01:40:03 +00:00
diva 92d5b1560d Added a few pre-packaged configurations to make it easier for people to configure their sims. 2009-05-22 22:48:25 +00:00
diva 9de2436c1e Removing the [UserService] section, because it's not working yet. 2009-05-22 00:23:43 +00:00
diva 94d4f28e2d Comment out the asset cache config in .ini.example. 2009-05-20 18:55:45 +00:00
Melanie Thielker 23d902be42 Remove the old asset cache and local services and the configurations for them 2009-05-18 23:18:04 +00:00
diva df16532858 Bug fix and config rename. 2009-05-18 23:15:50 +00:00
Melanie Thielker 4789500d32 Rename OpenSim.Server.exe to OpenSim.Services.exe and the corresponding
ini to OpenSim.Services.ini.example, which makes soooo much more sense.
Thanks, Adam!
2009-05-18 21:14:08 +00:00
Melanie Thielker f7dbfe63e5 This commit changes the way the new server works. There is no longer a server
exe for each function, rather each function is a connector and the server ini
loads them. If you like your multiple processes, use -inifile with the server.
Otherwise, you get one server process that serves all configured funcions, see
example .ini. The new exe is OpenSim.Server.exe. Clean your bin, loads of names
have changed!
2009-05-18 21:04:25 +00:00
diva d0d4f7afde DLL name change in config var. 2009-05-18 20:38:35 +00:00
Dr Scofield a885556063 From: Chris Yeoh <yeohc@au1.ibm.com>
We've encountered problems with textures never fully downloading and
objects not moving or being deleted (from the client's point of view)
even when the bandwidth settings on the client have been set very
low. This can happen over reasonably lossy links (eg you're on the
other side of the world from the server) as the server retries 3 times
and then gives up.

Whilst its possible to set ReliableIsImportant, this forces the server
to keep retrying no matter what which potentially could lead to
problems. This patch allows for the setting of MaxReliableResends
explicitly (is set to 3 normally) in OpenSim.ini so if you know you
will have clients connecting with poor connections you can set it a
bit higher (10-15 works quite well even for very poor connections).
2009-05-18 16:10:48 +00:00
diva 720e2bc5d9 Renaming [ServiceConnectors] back to [Modules]. 2009-05-17 15:37:50 +00:00
diva aac8ca0411 HG asset transfers starting to work -- GETs only for now. 2009-05-17 01:38:43 +00:00
diva 5e4fc6e91e Heart surgery on asset service code bits. Affects OpenSim.ini configuration -- please see the example. Affects region servers only.
This may break a lot of things, but it needs to go in. It was tested in standalone and the UCI grid, but it needs a lot more testing.
Known problems: 
* HG asset transfers are borked for now
* missing texture is missing
* 3 unit tests commented out for now
2009-05-15 05:00:25 +00:00
Melanie Thielker f5dcfaa726 Update ini examples 2009-05-13 14:32:00 +00:00
Melanie Thielker 16efb78698 Changes to the new user system to add the modularity developed for the asset
system
2009-05-11 22:54:09 +00:00
Melanie Thielker 7d23e0f481 Commit the asset server app config 2009-05-11 20:00:34 +00:00
Melanie Thielker 59175847a9 Smooth out some .ini stuff, actually commit the example 2009-05-11 19:53:24 +00:00
Melanie Thielker d7b2beea18 Add selling for $0 back to the sample economy module. This is disabled by
default but can be enabled in OpenSim.ini. If enabled, things can be sold
for $0. Other amounts will cause the buyer to see a message and the transaction
will fail.
2009-05-11 18:23:39 +00:00
Melanie Thielker 461e213a39 Plumb the HG asset broker. More naming changes to clarify things. Lots more
config options.
2009-05-11 02:59:26 +00:00
Homer Horwitz 1d234ca83f Fixed handling of inventory a bit
- AssetType isn't InventoryType. Those enums contain different numbers. Use AssetType for the asset type, InventoryType for the inventory type.
- The ToString method (or ToLower) of AssetType/InventoryType doesn't necessarily return the correct LLSD string.
- Replaced several magic numbers by their corresponding enum.
- Fixed the invType for gestures and animations in the library.
This should fix Mantis #3610 and the non-terminating inventory loading
2009-05-09 21:11:12 +00:00
Melanie Thielker c1e7352d75 Add the asset service connectors and sample config. READ WARNINGS!!! 2009-05-09 02:49:55 +00:00
Melanie Thielker aec069d161 More additions to the nextgen reference UGAIM 2009-05-08 14:08:41 +00:00
Melanie Thielker 5e28a5982d Committing the user server executable skeleton 2009-05-05 03:15:41 +00:00
Melanie Thielker b44a56e0b4 Add a parameter that limits the max size of the outbound packet. Defaulted
at 1400 since the headers get added to that (32 bytes plus UDP headers)
2009-05-04 02:24:30 +00:00
Adam Frisby 0b2a34438c * Makes ObjectUpdate compressing tweakable in OpenSim.ini - introduces:
TerseUpdatesPerPacket=10
FullUpdatesPerPacket=14
TerseUpdateRate=10
FullUpdateRate=14
2009-05-02 19:09:48 +00:00
Melanie Thielker 66e25abbfe Plumb conifg into the client views. Add config option to configure packet
dropping.
2009-05-02 17:31:49 +00:00
Charles Krinke 280d2cbf4a Thank you kindly, BlueWall, for a patch that:
Move json stats to non-published resource name
Remove well-known resource name for json stats, 
creating dynamic uris with private keys and add 
a user configurable resource name for region owner usage.
2009-05-02 16:28:30 +00:00
Charles Krinke 47640aca22 Thank you kindly, MCortez for a patch that solves:
Different people using Hippo 0.5.1 report that trying 
to send group instant messages crashes the viewer 
(Hippo 0.5.1). This is the case even for empty groups 
or if all group members are online.
2009-05-02 16:16:27 +00:00
Melanie Thielker 62bcf0e694 Numerous packet improvements.
Don't allow packets to be resent before they have actually been sent for the
first time. Switch from serializing a packet to get it's length to the LibOMV
provided Length property. Fix resend timing. Fix the use of dangling references
to Acked packets. Fix the packet handler to play nice with the packet pool.
Fix the packet pool. Add data block recycling to the packet pool. Packet pool
is now ENABLED by default. Add config option to disable packet and data block
reuse. Add ObjectUpdate and ImprovedTerseObjectUpdate to the packets being
recycled.
2009-05-02 13:16:41 +00:00
Melanie Thielker 0f721da5f1 Add a tweakable for the prim queue preload 2009-05-01 19:33:18 +00:00
Charles Krinke 8944ab910c Thank you kindly, MCortez for a patch that:
The attached patch provides the necessary infrastructure to support 
security and authentication features of the xmlrpc server.
* Read/Write keys for accessing a Group's xmlrpc service.
* Requiring user session verification for write operations.
2009-04-29 22:31:00 +00:00
Dr Scofield a89f60d4c9 From: Alan Webb <alan_webb@us.ibm.com> & Dr Scofield <drscofield@xyzzyxyzzy.net>
- Adds an admin_modify_region call to allow changing of parcel voice
  settings and changing of public/private status
- add boolean "public" and boolean "enable_voice" to
  admin_create_region XmlRpc call to allow specifying of
  public/private status and to allow enabling voice for all parcels;
  also added config variables to allow setting of defaults for those
- fixing cut-and-paste artefacts
2009-04-29 09:05:01 +00:00
diva d8313e314f Getting rid of -hypergrid=true on the command line. This config now goes inside OpenSim.ini in the Startup section. This makes the HG compatible with -background, and prepares the way for further work on HG-related config vars. Might help with mantis #3527. 2009-04-27 00:16:59 +00:00
Melanie Thielker c9c4dcdaf0 Adapt the opensim.ini example to reflect the php file names actually used
in wiredux to reduce confusion a bit
2009-04-26 18:17:00 +00:00
Melanie Thielker e8c8cd52b8 Fix another typo in the ini example 2009-04-25 16:59:28 +00:00
Melanie Thielker 0317f42c63 Fix a typo in OpenSim.ini.example 2009-04-25 16:52:15 +00:00
Teravus Ovares 2ebedc5c29 * update example to reflect optional Well known hostname. 2009-04-22 06:09:11 +00:00
Melanie Thielker bd522720f7 Change the default for FreeSwitch Voice to disable. Most people don't have
the server, after all.
2009-04-22 02:17:59 +00:00
Charles Krinke 5ea4faa6f2 Thank you kindly, MCortez, for a patch that:
* Refactors the xmlrpc calls to a single location to 
make it easier to debug and include alternative 
xmlrpc call mechanisms
* Includes an alternative xmlrpc call mechanism that 
sets HTTP Keep-Alive to false which solves nearly all 
System.Net exceptions on some windows environments
2009-04-21 20:44:17 +00:00
Dr Scofield 4a8313f14c culling AsteriskVoiceModule and SIPVoiceModule, now that we have
working FreeSwitchVoiceModule and soon will have a fully working
VivoxVoiceModule.
2009-04-21 16:06:16 +00:00
Dahlia Trimble 5f1fa0d3d7 Added a "force_simple_prim_meshing" option to the ODE settings in OpenSim.ini which will use meshes for collisions with simple prim shapes rather than internal ODE algorithms. This may help with Mantis #2905 and Mantis #3487 for those experimenting with capsule settings.
Note that this will increase memory usage and region startup time.
2009-04-19 01:21:38 +00:00
Charles Krinke 659b55905d Thank you kindly, MCortez, for a patch that:
Added is a patch that adds a rough Groups implementation. This patch allows 
the creation, adding and maintaining Groups, Roles and Members. Work has begun 
on a very naive implementation of messaging, and minimal support for notifications 
{no attachments yet}. Proposals are not yet supported, but are on the to-do list.
This implementation is not active by default, and must be configured in 
OpenSim.ini to become active.
2009-04-18 21:33:48 +00:00
idb 47d6dee657 Remove the default plywood texture from the library. Its presence can cause usability problems when selecting textures. The texture is still in assets and can still be applied using the "Default" button or by uuid from scripts. The removal may not shown up until after clearing the cache.
Fixes Mantis #3460
2009-04-18 17:31:57 +00:00
Sean Dague 8a2362c474 add some stub config to OpenSim.ini.example for freeswitch. This needs
quite a bit of explaining before people can probably figure this out,
which will be coming in the wiki.
2009-04-17 20:07:22 +00:00
Teravus Ovares eac5d4015d * Committing more BulletDotNETPlugin work
* Tweak the LLSetStatus results in the ODEPlugin.  Hopefully it's a little less unstable.
* ODEPlugin is using experimental math for LLSetStatus, use with caution! :)
2009-04-16 07:31:48 +00:00
idb 988737b182 Correct Opensim.ini.example to reflect the default settings for clouds.
Fixes Mantis #3421
Change the agent/avatar events subscriptions to just OnNewClient. The data only needs to be sent once and keeping track of log ins/movements is not required. This will also send cloud data to child agents so that they can see clouds above neighbouring regions not just regions that they have visited.
2009-04-11 10:18:20 +00:00
Teravus Ovares 2dca78b2bf * BulletDotNETPlugin supports Axis lock (LLSetStatus) from the script engine now. 2009-04-11 03:04:08 +00:00
Melanie Thielker ae6f265729 Add an optional region module which will supply a script event,
xmlrpc_uri(string) in response to a OpenRemoteDataChannel call. The string
is the fully qualified URI to post XMLRPC requests for that script to.
2009-04-10 21:26:36 +00:00
Justin Clarke Casey 7c04c1e44c * Apply http://opensimulator.org/mantis/view.php?id=3427
* Return different values for llCloud() over time based on a cellular automation system.
* Thanks aduffy70!
2009-04-10 14:56:58 +00:00
Teravus Ovares e8dfa00d8c * Updated BulletDotNET dll with the ContactFlags definition. 2009-04-10 06:08:52 +00:00
Justin Clarke Casey 1066aa6998 * Remove Autooar module pending it's migration to the forge 2009-04-09 19:49:33 +00:00
Justin Clarke Casey 513ae92bbb * Apply http://opensimulator.org/mantis/view.php?id=3406
* Makes Second Life environment sensor ranges and maximum response number configurable
* Thanks Intimidated
2009-04-07 19:15:26 +00:00
Teravus Ovares 0d4880d5cf * This fixes BulletDotNET so it can now be used on linux. 2009-04-07 03:33:28 +00:00
Teravus Ovares 9459b16cc2 * BulletDotNET Updates.
* Should react somewhat normally to editing, and setting physics now.
2009-04-07 00:13:08 +00:00
Melanie Thielker fb900f6055 Applying Intimidated's patch to fix anim handling.
Fixes Mantis #3417
2009-04-06 18:02:12 +00:00
Melanie Thielker 2a5d38a580 Thank you, Intimidated, for a patch too fix the movement animation handling
Fixes Mantis #3413
2009-04-06 10:44:41 +00:00
Homer Horwitz 648452dd91 - Add new RegionModulesControllerPlugin to the application modules
- Change several classes to use the new plugin for handling of region-modules
  (NOTE: No regionmodule is using this yet)
- Add necessary prebuild parts (don't forget to runprebuild)
Attention: Work in progress. This shouldn't break anything, but you never know...
2009-04-05 17:08:11 +00:00
Homer Horwitz 50aa775ea7 - Move IWindModule to OpenSim.Region.Framework.Interfaces
- Fix a dependency problem.
Hopefully fixes Mantis #3395
2009-04-05 17:08:01 +00:00
idb e7d4ea134e Applied a patch from mcortez with settings for the new wind module.
Fixes Mantis #3382
2009-04-05 10:35:25 +00:00
Teravus Ovares e592d03843 * Committing what I have on the BulletDotNETPlugin that I have so far.
* It's not ready to try.   It doesn't do what you expect in many ways.
* It throws errors and prints jibberish on the console
* Test it out only if you're brave and you've backed up first.
* The opensim.ini line is physics = BulletDotNETPlugin
2009-04-05 08:35:38 +00:00
diva 3c9cba1627 Added CreateObject(regionhandle, userID, itemID) to post objects that are to be fetched from the user's inventory server and rezzed in the region. Added all code necessary to fetch the item and the asset, and rez it inworld. The access to the item is uncap-ed and unverified -- I may place it later either under a cap or with auth verification. But in this model regions don't have the user's inventory, so they would have to guess the item IDs.
Added safemode config to Standalone Hypergrid, similar effect to AllowRegionAccessToInventory in Inventory Server. Everyone should have these vars set to their default values except me!
2009-04-05 03:27:50 +00:00
Homer Horwitz 13128c4e9d Thanks jonc for a new and better cloud image (for classic clouds).
Fixes Mantis #964. Please remember to clear the viewer cache.
2009-04-04 15:43:16 +00:00
Homer Horwitz 8136cf4075 Thanks jonc, for a patch that adds rendering of classic clouds.
First part of Mantis #964, the necessary clouds image will follow separately.
2009-04-04 15:43:02 +00:00
Dahlia Trimble 59a6dfbf5a Correction to "user" example config option for IRC 2009-04-02 03:47:56 +00:00
Melanie Thielker a1fe54baa0 Add a "user" config option to the IRC module config. Like all other IRC
config options, this has NO default, if you use the IRC module, you MUST
add this setting to your ini file.
2009-04-01 12:28:46 +00:00
Melanie Thielker 76ca096384 Add a PIDFile in [Startup], which the PID will be written to 2009-04-01 12:13:42 +00:00