Commit Graph

9764 Commits (8cd9e5953532540027657ad12e0764d64c7f086b)

Author SHA1 Message Date
Melanie Thielker 7b457805a3 Create a MainServer static class to access the regions server's HTTP server 2009-07-10 00:59:43 +00:00
Teravus Ovares e15ffe31e3 * Commit some BinBVH rotation convenience. Calculates the W element of the joint rotation quaternion and provides a property so consumer doesn't have to. 2009-07-10 00:13:42 +00:00
Charles Krinke dc0a19f737 Thank you kindly, Godfrey, for a patch that:
The vector parameter to llSetPos() specifies an absolute position for 
an unlinked prim or the root prim of a linkset; however, when the 
function is used by a child prim, the vector specifies a relative 
offset from the root prim. The changed introduced in llSetPos() treats 
this value as an absolute position in all cases, which has the unintended 
effect of mangling the position of child prims.
2009-07-09 16:53:55 +00:00
Melanie Thielker 744196d9ba Thank you, StrawberryFride, for a patch to fix MSSQL parameter naming. 2009-07-09 15:14:43 +00:00
Charles Krinke 61008c9c13 Thank you kindly, SnowDrop, for a patch that:
This add a configuration option to the MRM module called "hidden".
if MRM is marked as enabled, the module will additionally check for 
the "Hidden" flag, before registering for client side scriping events.
When MRM is running hidden, it will not respond to client side 
scripting events, giving serverside scripting modules, like MRMLoader 
and MRMAddin the ability to leverage the MRM engine. This way, even 
a possible clientside exploit will not be possible, while still 
allowing the MRM engine to run.
2009-07-08 20:57:26 +00:00
Charles Krinke 525ab2c278 Thank you kindly, RandomHuman for a patch that:
The admin_close_region method removes a region from the simulator without deleting it. 
The region can then be recreated by calling admin_create_region with the same UUID. 
There is also a change to admin_create_region to facilitate this.The reason I want 
to have this functionality is to make it possible to detach regions when they are 
idle and recreate them on demand through a web interface. It's probably doable 
using the existing methods by saving and loading oars, but it also doesn't seem 
like that should be necessary.
2009-07-08 20:53:22 +00:00
Jeff Ames 9d5d2f8fd4 Update svn properties. 2009-07-08 17:46:37 +00:00
Melanie Thielker 2d949c1f25 Add DisableUndergroundMovement to scrpting API to allow underground movement
if needed. Defaults to true, so those who want to continue using underground
scripted prims need to add that option and set it.
2009-07-08 14:36:00 +00:00
Melanie Thielker f4498983aa Prevent scripts from moving prims underground 2009-07-08 10:22:51 +00:00
Melanie Thielker d8fe7777bf Prevent teleports from ending underground 2009-07-08 08:38:23 +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 a752936613 A stab at fixong a Windows build break
Mantis #3872
2009-07-07 23:53:24 +00:00
Arthur Valadares 7e8bfc4618 * Allowing LLSD logins to do silent logout of last hung session on standalone only, following the already implemented XMLRPC behavior 2009-07-07 23:07:57 +00:00
Melanie Thielker 4badac3c90 Make a renamed OpenSim.Server.exe use the corret ini file, e.g.
renaming OpenSim.Server.exe to OpenSim.AssetServer.exe will cause
OpenSim.AssetServer.ini to be read by that instance. This facilitates legacy
usage
2009-07-07 21:23:11 +00:00
Melanie Thielker f10e53d167 Update prompt and make it settable from within the ini file 2009-07-07 20:45:29 +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 fe1e9ac5c3 Make the asset IN connector return HTTP 404 if an asset is not found, and
also make it return a non-xml content type so a browser can be used
for testing it.
2009-07-07 17:45:02 +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 6458858575 Change fields and methods in LSL API from private to protected, make some
methods virtual
2009-07-06 13:09:03 +00:00
Dahlia Trimble 5ba499a759 comment out some excessively verbose eventqueue debugging messages 2009-07-05 07:17:12 +00:00
Melanie Thielker 5df21f9dcb Fix previous commit 2009-07-04 18:20:18 +00:00
Melanie Thielker 23c7d6b818 Add the new field agent_access_max. Without it being set to "A", viewers from
1.23 prevent the removal of underwear.
2009-07-04 18:15:01 +00:00
Dr Scofield 840f5f9485 - adding a Persistent flag to RegionInfo
- adding  EstateSettings.Save() to RemoteAdmin ACL code (invoked only when region is persistent)
2009-07-03 15:36:47 +00:00
Charles Krinke 8344df886b Thank you kindly, AnakinLohner, for a patch that addresses:
The patch included updates the root and child prims' AttchedAvatar 
with the right UUID. It also cleans the AttachedAvatar properties 
for the root and child prims on Drop and Detach
2009-07-02 16:02:18 +00:00
Sean Dague 49f89dd758 make methods surounding backup virtual so they could be override for server side created objects 2009-07-02 12:00:39 +00:00
Melanie Thielker 412b555c27 Restore some lost functionality tot he combat module. Code that used to
reside in the economy module was lost in the shuffle when that was moved
to forge. Now it's where it belongs.
2009-07-02 02:46:40 +00:00
Jeff Ames 1d01d6d919 Formatting cleanup. 2009-07-01 23:37:09 +00:00
Jeff Ames a0a44d8ebc Add copyright headers. 2009-07-01 23:25:59 +00:00
Melanie Thielker 3564271c2d Restore the functionality that was removed in r9928. This lets the load
balancer plugin work again. Create a new method, GetClientEP, to retrieve
only the EndPoint for script usage. Marked the purpose of the method
in IClientAPI.cs with a warning. Also restored the corresponding SetClientInfo
functionality.
2009-07-01 15:47:52 +00:00
Jeff Ames 3f2fba610e Update svn properties. 2009-07-01 10:26:43 +00:00
Dahlia Trimble aae94a8c80 add some more intuitive overloads for PrimitiveBaseShape SetPathRange and SetProfileRange 2009-07-01 01:27:36 +00:00
Melanie Thielker 858b0a2efd Updated services to allow external applications like web interfaces to
authenticate against the services. This paves the way for such apps
to directly talk to services.
2009-06-30 21:48:03 +00:00
Sean Dague fe21189aa4 From: Chris Yeoh <yeohc@au1.ibm.com>
Ooops, sorry there was a bug in the patch and causes an exception
on some system (I think it only happens on windows since it didn't
occur during my testin). I've attached a one liner which fixes the problem.
2009-06-30 13:50:12 +00:00
Charles Krinke 6942eaed5b Thank you kindly, Snowdrop, for a patch that solves:
The current API for MRM is quite sparse, this patch 
supplies basic support for accessing the task 
inventory of object.
2009-06-29 21:47:47 +00:00
Arthur Valadares dc9900d73f Thanks StrawberryFride, for a patch that fixes MSSQL migration:
Minor tweak to a region migration SQL script for the OAR DateTime field - SQL Server syntax slightly different from MySQL (and there is no unsigned in MSSQL, sadly)
2009-06-29 19:24:43 +00:00
Arthur Valadares 4f6efa0249 * C# compiler is not smart enough to understand ClientLoop is under very heavy usage and inline DebugPacket, so DebugPacket is run as a method, causing Packet
to be constantly pushed and popped uselessly, if you are not debugging packets. This showed some really big difference in a mock test, let's see how it behaves here.
2009-06-29 19:24:30 +00:00
Charles Krinke 7bb070be55 Thank you kindly, Snowdrop/Snowcrash for a patch that:
This patch makes the worn attachments accessible to MRM scripting
2009-06-29 18:07:30 +00:00
Arthur Valadares 6da88dceb0 * Changing List to Dictionary in PacketQueue.Dequeue for great justice (and performance) 2009-06-29 16:55:00 +00:00
Jeff Ames 715f2f2798 Update svn properties, add copyright header, formatting cleanup. 2009-06-29 15:40:00 +00:00
Sean Dague 3dc2010da6 From: Chris Yeoh <yeohc@au1.ibm.com>
Attached is a patch that changes the oar file saving of creation date/time to an integer
instead of a string. I did this after justincc emailed me saying there is a problem
with internationalisation doing it the old way and I said I'd fix it. Its been
tested with MySQL and I've made the changes for MSSQL but that hasn't been well tested.
2009-06-29 15:05:12 +00:00
Charles Krinke 7545f12c5f Thank you kindly, Godfrey, for a patch that:
The new IRCd module causes an error when multiple instances of OpenSim 
are run on the same machine; since the port number (6666) is hardcoded,
the second and subsequent instances crash upon startup because the port 
is already in use. Attached is a patch which adds a Port specifier to the 
[IRCd] section of the config file, which defaults to 6666 if not present.
2009-06-29 14:01:08 +00:00
Charles Krinke c7c4bc8cd5 Thank you kindly, Grumly57 for a patch that solves:
When a sit position is modified by llSitTarget and the 
sim is restarted, the object sit position is lost until 
llSitTarget is applied again.
2009-06-28 18:19:11 +00:00
MW 706286b7fb Removed the List<NewForce> m_forceList from ScenePresence, as there wasn't any need for a list, as only the last entry in it was acted on. So it now has a single NewForce m_nextVelocity , which is updated (rather than a NewForce object being created every AgentUpdate). So as well as cutting out all the adds and clearing of the list, it also removes the creation of upto 100+ new objects per second per avatar. 2009-06-28 11:07:26 +00:00
Dahlia Trimble 147c9bcd45 Make cleartext authentication case sensitive. Thanks jhurliman for spotting this. 2009-06-27 07:49:10 +00:00
Jeff Ames 2d173d7556 Update svn properties. 2009-06-27 04:31:49 +00:00
MW 9e4d077d70 Fixed null bug, which was making unit tests fail 2009-06-26 12:30:54 +00:00
MW 7a2c41dea0 Extracted the code that handles the sending of prim updates to the client, from ScenePresence into ISceneViewer/SceneViewer. Currently ScenePresence "has" a ISceneViewer, although if we had a proper Node based scenegraph then it would most likely be attached directly to the nodes.
By extracting this code, it should make it easier to experiment with different ways of managing the update process. [Next step to make this module based, could be to create a SceneViewerFactoryModule]
2009-06-26 12:09:43 +00:00
Melanie Thielker febd54499b Enable the RemoteAdmin module to save regions as ini files rather than XML 2009-06-26 11:32:36 +00:00