aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * minor format changes and message additionsJustin Clarke Casey2009-07-101-3/+3
|
* * minor: standardize some logging messagesJustin Clarke Casey2009-07-101-2/+1
|
* Now we are past revision 10000, I think its time to start to fix that ↵MW2009-07-103-7/+7
| | | | massive bug that was introduced in revision 1. So here is the first part of that fix.
* Remove all references to HttpServer from CommsManager (all incarnations)Melanie Thielker2009-07-1032-83/+67
| | | | | | Change all uses of the HttpServer properties to use the new singleton
* * Commit some BinBVH rotation convenience. Calculates the W element of the ↵Teravus Ovares2009-07-101-0/+8
| | | | joint rotation quaternion and provides a property so consumer doesn't have to.
* Thank you kindly, Godfrey, for a patch that:Charles Krinke2009-07-091-2/+4
| | | | | | | | | | | 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.
* Thank you kindly, SnowDrop, for a patch that:Charles Krinke2009-07-081-3/+9
| | | | | | | | | | | | | 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.
* Thank you kindly, RandomHuman for a patch that:Charles Krinke2009-07-081-0/+31
| | | | | | | | | | | | | 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.
* Add DisableUndergroundMovement to scrpting API to allow underground movementMelanie Thielker2009-07-081-1/+3
| | | | | | | if needed. Defaults to true, so those who want to continue using underground scripted prims need to add that option and set it.
* Prevent scripts from moving prims undergroundMelanie Thielker2009-07-081-1/+4
|
* Prevent teleports from ending undergroundMelanie Thielker2009-07-082-0/+52
|
* Experimental fix for tilted avatar capsule, Mantis #2905nlin2009-07-082-7/+29
| | | | | | | | | | | | | | | | | | | | | | | 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.
* Change fields and methods in LSL API from private to protected, make someMelanie Thielker2009-07-061-99/+104
| | | | | | methods virtual
* comment out some excessively verbose eventqueue debugging messagesDahlia Trimble2009-07-051-2/+2
|
* Thank you kindly, AnakinLohner, for a patch that addresses:Charles Krinke2009-07-021-0/+18
| | | | | | | | 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
* make methods surounding backup virtual so they could be override for server ↵Sean Dague2009-07-021-3/+3
| | | | side created objects
* Restore some lost functionality tot he combat module. Code that used toMelanie Thielker2009-07-021-1/+16
| | | | | | | reside in the economy module was lost in the shuffle when that was moved to forge. Now it's where it belongs.
* Formatting cleanup.Jeff Ames2009-07-0110-326/+326
|
* Add copyright headers.Jeff Ames2009-07-015-5/+133
|
* Restore the functionality that was removed in r9928. This lets the loadMelanie Thielker2009-07-016-51/+66
| | | | | | | | | 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.
* Update svn properties.Jeff Ames2009-07-015-330/+330
|
* Thank you kindly, Snowdrop, for a patch that solves:Charles Krinke2009-06-298-2/+320
| | | | | | | | The current API for MRM is quite sparse, this patch supplies basic support for accessing the task inventory of object.
* * C# compiler is not smart enough to understand ClientLoop is under very ↵Arthur Valadares2009-06-291-26/+25
| | | | | | | 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.
* Thank you kindly, Snowdrop/Snowcrash for a patch that:Charles Krinke2009-06-293-2/+81
| | | | | This patch makes the worn attachments accessible to MRM scripting
* * Changing List to Dictionary in PacketQueue.Dequeue for great justice (and ↵Arthur Valadares2009-06-291-8/+18
| | | | performance)
* Update svn properties, add copyright header, formatting cleanup.Jeff Ames2009-06-292-3/+30
|
* From: Chris Yeoh <yeohc@au1.ibm.com>Sean Dague2009-06-295-13/+18
| | | | | | | | 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.
* Thank you kindly, Godfrey, for a patch that:Charles Krinke2009-06-291-1/+2
| | | | | | | | | | 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.
* Thank you kindly, Grumly57 for a patch that solves:Charles Krinke2009-06-281-0/+1
| | | | | | | | When a sit position is modified by llSitTarget and the sim is restarted, the object sit position is lost until llSitTarget is applied again.
* Removed the List<NewForce> m_forceList from ScenePresence, as there wasn't ↵MW2009-06-281-20/+18
| | | | 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.
* Update svn properties.Jeff Ames2009-06-272-244/+244
|
* Fixed null bug, which was making unit tests failMW2009-06-261-3/+7
|
* Extracted the code that handles the sending of prim updates to the client, ↵MW2009-06-264-159/+269
| | | | | | | 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]
* Make delete-region delete the section from an ini file. Will delete the wholeMelanie Thielker2009-06-261-2/+28
| | | | | | file if it has no sections left.
* Make create region save the new region to ini file format if the nameMelanie Thielker2009-06-251-10/+28
| | | | | | | specifies an ini file. If the ini file exists, the region will be added.
* Added a note to the ScenePresence.UpdateMovement() method, to remind ↵MW2009-06-251-1/+1
| | | | everyone that the so called "forces" are actually velocities.
* Applied patch from mantis #3820 which changed the clearing of the ↵MW2009-06-251-20/+16
| | | | | | | ScenePresence.m_forcesList, so it used the List.Clear method rather than doing a loop through the list and manually removing each item. Thanks dslake. I also fixed the issue where the code also loops through the m_forcesList and copies each force to the ScenePresence's movementVector. Which resulted in only the last force in the list actually be acted on. As each copy overrode the last one. So now it only copies the last force in the list.
* moving the m_PendingAcksMap.Remove() out of the foreach and clearingDr Scofield2009-06-251-1/+1
| | | | | | it instead after the foreach as we are going through the whole m_PendingAcks list anyhow
* have to clear m_PendingAcks not m_PendingAcksMapDr Scofield2009-06-251-1/+1
|
* hmph: missing '{'/'}', thx to nebadon for reporting it and rob smartDr Scofield2009-06-251-3/+10
| | | | | for spotting it!
* fixing windows specific compile error.Dr Scofield2009-06-251-32/+32
|
* From: Alan Webb <alan_webb@us.ibm.com>Dr Scofield2009-06-251-1/+1
| | | | | | | | | | | | | | | After noticing on several occasions that the thread counts we see when running OpenSIm were bordering on the astronomical I decided to seriously investigate. After much poking I discovered that the problem is actually very simple. The XEngine secition of the example ini says that the timeout for an iden thread is in seconds, and an example value of 60 is specified. In fact, this is actually resulting in a 60mS idle timeout, which is not normally enough for a smart thread to survive. I have added a multiplier to the XEngine constructor so that the number now matches the published behavior.
* cosmetic changeDr Scofield2009-06-251-2/+1
|
* streamlining m_NeedAck logicDr Scofield2009-06-251-31/+29
|
* streamling m_PendingAcks logic to get rid of gratuitous List<...>Dr Scofield2009-06-251-20/+20
| | | | | instantiations and object copies.
* commenting out expensive bits (who in the world even uses SetClientInfo()?)Dr Scofield2009-06-251-29/+29
|
* changing DropSend()'s foreach loop so that it does not copy theDr Scofield2009-06-251-5/+11
| | | | | LLQueItem m_NeedAck queue each time.
* commenting out rather expensive bits of GetClientInfo() --- the onlyDr Scofield2009-06-251-13/+20
| | | | | | | | bit of GetClientInfo that is actually used seems to be userEP as part of the OSSL osGetAgentIP() script function. Now commented are the parts where we serialize and copy out the *entire* packet queue of the client (locking the packet handler in the process).
* more efficient way of checking for already seen packets:Dr Scofield2009-06-251-29/+47
| | | | | | | | | | | - uses Environment.TickCount for all timestamps (instead of more costly Util.UnixTimeSinceEpoch() - takes care of Environment.TickCount overflow (which will happens after 24.8 days of system uptime) - avoids instantiating List copies for each check - gets rid of one lock() invocation - moves calculation of loop invariant variable out of the loop itself
* adding logging statement for receive buffer sizeDr Scofield2009-06-251-0/+2
|