Commit Graph

7368 Commits (705b675d281aa9e93e2ad9929783822a4fe234fc)

Author SHA1 Message Date
Melanie 8d36d7beed Enable the profile module to be replaced completely, even for the base
profile data
2009-12-25 23:10:07 +00:00
dahlia 7a06ab834d Clear Shape.SculptEntry if prim type is not a sculptie in llSetPrimitiveParams() - addresses Mantis #4462 2009-12-24 11:00:08 -08:00
Melanie 0ce3d4b0a9 Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim 2009-12-24 16:44:47 +00:00
Melanie 86a429bc44 Add the LSL List Size property 2009-12-24 16:44:12 +00:00
Diva Canto 2c3d7972b9 No-op in this commit. Just increasing the tag number due to weirdnesses. 2009-12-23 19:43:50 -08:00
Diva Canto 1fa938aab0 Library Module: allows adding folders/items to the Library from IAR files placed under bin/Library. This works only for standalones. 2009-12-23 17:31:30 -08:00
Diva Canto 908992a105 Fixes the broken build of the previous commit. 2009-12-23 17:10:37 -08:00
Melanie 53386b6f1f Add saving assets from gestures to IAR 2009-12-23 23:09:41 +00:00
Melanie f2d2073f2b Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim 2009-12-23 21:21:22 +00:00
Melanie c05a35cc71 Fix a bounds exception I came across in IAR restore 2009-12-23 21:20:48 +00:00
Charles Krinke fddefff284 Thank you kindly, Ziah for a patch that adds the channel to the class ChatEventArgs and retrieves it's value along with the others from the OSChatMessage in HandleChatPackage. With this the MRM Script can check if a ChatEvent is coming in on a specifc Channel. The Second Part adds the Method say(string msg , int channel) to send a chat message on the specified channel. The idea behind this is to enable MRM's to communicate with regular LSL or OSSL Scripts so that they may can act as a Backend to access a Database or do business Logic for those Scripts.
Signed-off-by: Charles Krinke <cfk@pacbell.net>
2009-12-23 10:34:11 -08:00
Diva Canto f45a69821b Added Close() to Inventory/Archiver/InventoryArchiveReadRequest, so that the stream can be closed. 2009-12-22 21:00:46 -08:00
Melanie c11f259e15 Remove GetState. It is really unused and was reinstated by the revert 2009-12-22 15:46:55 +00:00
Melanie a24d9bff03 Revert "Remove an insterface member that was never used"
It was used. By the API, which is dynamically loaded. So it didn't complain
until it hit Bamboo

This reverts commit 33d5018e94.
2009-12-22 15:45:56 +00:00
Melanie 33d5018e94 Remove an insterface member that was never used 2009-12-22 15:35:39 +00:00
Melanie 1876ce90af FINALLY! Script compile errors now appear in the script error pane,
not in a funky debug window.
2009-12-22 09:24:01 +00:00
root 05e8b4e72c Add a data path for error messages
Committed from my other box where git is not configured properly

Signed-off-by: Melanie <melanie@t-data.com>
2009-12-22 04:55:43 +00:00
Melanie e530180c1e Glue code for a couple of new LSL function implementations 2009-12-22 00:26:12 +00:00
Melanie 32904c0ce8 When a script has been loaded, remove it's state entry, so recompiling
doesn't pick up the old state again.
2009-12-21 22:05:43 +00:00
Melanie 51ecdf0148 Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim 2009-12-21 15:48:46 +00:00
Jeff Lee d04f6688e4 Fixes some incorrect values returned by llGetPrimitiveParams() and osGetLinkPrimitiveParams().
Signed-off-by: Melanie <melanie@t-data.com>
2009-12-21 15:48:30 +00:00
Diva Canto 641a789bbc Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-12-21 07:46:33 -08:00
Diva Canto 68187f7245 Bug fix: in standalone, HGInventoryBroker needs to get the local inventory server URL from NetworkServersInfo. 2009-12-21 07:44:17 -08:00
Melanie de59910758 Patch from Ziah.
Mantis #4456: Patch to implement some minor MRM Functions : SitTarget,
SitTargetText, TouchText and Text
2009-12-21 14:46:07 +00:00
Melanie 27453890d5 Script State Fix: Part 2
Change the reader to wrap old-style definitions in new style wrappers.
Change importer to not check irrelevant data that can't be reconstructed
This removes the last bit of knowledge of XEngine's .state files from core.
2009-12-21 10:26:52 +00:00
Melanie 83d8ba5775 Remove extra checking on the itemID of saved state, since it changes during
rez from inventory.
2009-12-21 06:41:10 +00:00
Melanie f6ef487413 Script State Fix: Step 1
Add Engine=xxx attribute and check for it's presence. Ignore state data
written bby another engine
2009-12-21 06:29:23 +00:00
Melanie 37b07aa9ec Fix a case where an idle sim can eat 100% of a core 2009-12-20 16:44:31 +00:00
Diva Canto 26e3a8ee4b * Bug fix in HG: preserve the home region coordinates across multiple HG TPs.
* Removed unnecessary debug messages.
2009-12-19 10:16:07 -08:00
dahlia 9485f17bf9 random drive-by minor math optimization. No need for concern, bitshed was within acceptable limits 2009-12-15 19:12:24 -08:00
Justin Clark-Casey (justincc) 6bd087a8f9 minor: remove some mono compiler warnings 2009-12-15 16:42:42 +00:00
Melanie 0f616d2ffe Prevent OSSL from crashing if the sim was loaded from a remote config and
osGetGridName, osGetGridNick or osGetGridLoginURI is used.
2009-12-15 15:42:51 +00:00
Diva Canto 9e54e61a43 Make the HG map search recognize host names without ports. 2009-12-14 08:27:16 -08:00
Melanie 0813dc8c1d Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim 2009-12-14 00:32:00 +00:00
Melanie c426549f53 Add an option to exit an instance rather than restarting a region within it 2009-12-14 00:31:15 +00:00
Teravus Ovares (Dan Olivares) f046457249 Tweaking the ModifyLand packet to be async. Advice from Adam 2009-12-13 04:02:18 -05:00
Teravus Ovares (Dan Olivares) 4ef8dc7d96 * Add some glue that allows LocalPacketHandlers to decide if they want the packet to be processed asynchronously or not.
* Make several packets not asynchronous (such as AgentUpdate).    In theory, all fast returning packet handling methods should not be asynchronous.   Ones that wait on an external resource or a long held lock, should be asynchronous.
2009-12-13 02:08:28 -05:00
Adam Frisby 87e89efbf9 * Mistaken ThreatLevel classification on osGetSimulatorMemory - should have been MODERATE. 2009-12-13 03:49:22 +11:00
Adam Frisby 963cf25813 * Implements OSSL function: osGetSimulatorMemory - returns the current amount of memory allocated to the simulator process (Moderate Threat Level).
* Cleans redundant information out of the Simulator Version. Versions now look like:
"OpenSimulator 0.6.9(dev) Unix/Mono"
* [Minor] additional log info for MySQLInventoryData
2009-12-13 03:04:16 +11:00
Teravus Ovares (Dan Olivares) 0639e90f56 * Bugfix mantis 4441, "Use of Autopilot isn't playing any animations."
* Turns out the new animator used a different movement bitflag then the one used in the code to autopilot the avatar
2009-12-12 02:41:59 -05:00
Teravus Ovares (Dan Olivares) 35961caec6 Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-12-12 01:24:25 -05:00
Kunnis d89f3e9811 Getting rid of SimpleRegionInfo and SerializableRegionInfo per Mel
Signed-off-by: Melanie <melanie@t-data.com>
2009-12-12 04:44:32 +00:00
Diva Canto 81debdfebe A few more guards along the path to user server. 2009-12-11 20:20:18 -08:00
Diva Canto 4bbe9a51ac Added an image uuid to objects marked "Show in search". Only works for boxes. 2009-12-11 09:09:36 -08:00
Diva Canto decd51f081 Attempt at fixing mantis #4411. 2009-12-11 08:11:26 -08:00
Teravus Ovares (Dan Olivares) 2f8b9cbf2b * Commit some sit code that's commented out for now. 2009-12-08 11:28:13 -05:00
Melanie dd5696e8bd Same for the remote auth connector 2009-12-07 14:31:55 +00:00
Kunnis 4c61fcfc40 Getting rid of the dead field RootInventoryFolderId on UserProfileData, It's not even stored in mysql.
Signed-off-by: Melanie <melanie@t-data.com>
2009-12-06 03:57:15 +00:00
Melanie a44749b9d2 Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim 2009-12-06 02:54:47 +00:00
Teravus Ovares (Dan Olivares) 8d196dbd14 * Adds Normal to the fields returned by the Physics Raycaster
* Fixes recognizing when a sit target is and isn't set.
* * 1. Vector3.Zero.
* * 2. Orientation: x:0, y:0, z:0, w:1 - ZERO_ROTATION
* * (or) Orientation: x:0, y:0, z:0, w:0 - Invalid Quaternion
* * (or) Orientation: x:0, y:0, z:1, w:0 - Invalid mapping, some older objects still exist with it
2009-12-05 22:18:00 -05:00
Melanie 9453c42631 Experimental: Remove explicit property sends 2009-12-06 02:54:19 +00:00
Melanie 1a695875a7 Skip single prims in unlink selections 2009-12-06 02:54:09 +00:00
Melanie f71025aeed Change locking to not mix explicit Monitor.* calls with lock() 2009-12-06 02:54:00 +00:00
Melanie 5259a32319 Remove extra forced updates. They're not needed for each prim. Really. 2009-12-06 02:53:50 +00:00
Melanie 46d5add175 Lock updates out while linking and unlinking 2009-12-06 02:53:42 +00:00
Melanie e3a22ff37d Eliminate multiple updates on link/unlink 2009-12-06 02:53:34 +00:00
Melanie f8cc409034 Cause better packing of ObjectProperties 2009-12-06 02:53:24 +00:00
Teravus Ovares (Dan Olivares) c4b6010fb3 * Fixes mantis 4416. Animator is dereferenced on logout 2009-12-05 13:01:21 -05:00
Justin Clark-Casey (justincc) c0f3a4c833 Allow terrain heightmaps to be loaded directly from URIs via the remote admin plugin
See http://opensimulator.org/mantis/view.php?id=4418
Thanks StrawberryFride
See
2009-12-04 18:26:58 +00:00
Teravus Ovares (Dan Olivares) 781db43a76 * Fixes the 10x10x10 hard physics limitation. (wierdly, you have to set this for each region in your Regions.ini[PhysicalPrimMax = 10(default)])
* Adds a configurable maximum object mass before the mass is clamped.  Default is 10000.01.  Configurable by changing maximum_mass_object in the [ODEPhysicsSettings] section.
* Clamping the mass is important for limiting the amount of CPU an object can consume in physics calculations.  Too high, and the object overcomes restitution forces by gravity alone. This generates more collisions potentially leading to 'deep think'.
2009-12-03 20:21:10 -05:00
Teravus Ovares (Dan Olivares) d9a20edfb0 * Move code from that last commit to LLClientView since it's a linden client specific limitation, it moves to the Linden Specific client handler. 2009-12-03 02:02:04 -05:00
Teravus Ovares (Dan Olivares) af04cd1ae0 * If the position that comes in on Scene.SetHomeRezPoint has a component that is 255.5, replace the component with the user's position in the simulator.
* Fixes mantis 4414: http://opensimulator.org/mantis/view.php?id=4414
2009-12-03 01:50:54 -05:00
Justin Clark-Casey (justincc) f7b2f0e61e Add position and region of prim items with missing assets in log reports 2009-12-02 18:15:33 +00:00
Adam Frisby 30fe88b808 * Terrain uploads via the Estate Tools now support a multitude of file formats. Specifically: . bmp, .raw, .r32 & .r64. (in ascending order of precision)
* It uses file length as the detection routine (as each of these formats has a distinct size in bytes for a 256x256 array.) - more formats should be possible to add.
2009-12-03 02:44:12 +11:00
Melanie 5ee79c62bf Change default destination of deleted items to the trash folder. Everything
else still goes to L&F
2009-12-02 10:21:24 +00:00
Teravus Ovares (Dan Olivares) d2c1610d17 * Test Autoconvert line ending on my repo.. 2009-12-01 11:35:32 -05:00
Teravus Ovares (Dan Olivares) 75e28b3a16 * Fix Inconsistent line ending style on Scene 2009-12-01 10:48:11 -05:00
Teravus Ovares (Dan Olivares) 7a2e8cb05f * Fix Inconsistent line ending style on ScenePresenceAnimator 2009-12-01 10:47:18 -05:00
Teravus Ovares (Dan Olivares) 56dca3b5a4 * Fix Inconsistent line ending style on SimStatsReporter 2009-12-01 10:45:36 -05:00
Teravus Ovares (Dan Olivares) d4073d9bd5 * Fix Inconsistent line ending style in LLUDPClient 2009-12-01 10:19:39 -05:00
Teravus Ovares (Dan Olivares) 475d23741d * Fix Inconsistent line ending style in ScenePresence 2009-12-01 10:17:17 -05:00
Teravus Ovares (Dan Olivares) 83694e5578 * Add a close method to the ScenePresenceAnimator that dereferences the class variables and make the ScenePresence Close method call it. 2009-11-30 14:03:20 -05:00
Teravus Ovares (Dan Olivares) 0cb4ff1b68 * Modified ScenePresence to use the Util version of the EnvironmentTickCount method (and it's subtract method). Remove redundant EnvironmentTickCount definitions in ScenePresence. 2009-11-30 13:53:43 -05:00
dahlia 5b0bb1eff9 Merge branch 'master' of ssh://dahlia@myConnection01/var/git/opensim 2009-11-30 01:09:46 -08:00
dahlia e987e85c0c add agent position to output of "show users" console command 2009-11-30 01:09:03 -08:00
Teravus Ovares (Dan Olivares) 4338f4e1d7 * Patch from Misterblue to fix Environment.TickCount for statistics purposes. Resolves the wrap-around of the 32 bit uint.
* Teravus moved the Environment methods to the Util class
2009-11-29 05:06:25 -05:00
Melanie 9fd9211a38 Add some conditionals to references to the WorldComm module, so that the
module can be disabled without crashing the sim
2009-11-28 09:23:26 +00:00
Teravus Ovares (Dan Olivares) e7333515d9 Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-11-27 19:17:54 -05:00
Teravus Ovares (Dan Olivares) 8296413add * Re-enable lightweight packet tracking stats on a 3000 ms interval. 2009-11-27 19:17:36 -05:00
Justin Clark-Casey (justincc) 66f511c76a Remove unused GetDefaultAppearance() static function that is also available on AvatarFactoryModule 2009-11-27 19:45:33 +00:00
Justin Clark-Casey (justincc) e5661e5609 Remove stub Python module and DLLs since this was never fully implemented
It may be possible to reintroduce this if someone wants to implement a Python hookup for OpenSim scripting (I'm sure it can't be too hard).
Might be possible to import wholesale from modrex
See http://opensimulator.org/mantis/view.php?id=4395
Thanks mpallari
2009-11-27 19:31:19 +00:00
Justin Clark-Casey (justincc) 55a0896918 minor: remove mono compiler warning 2009-11-27 19:28:26 +00:00
Justin Clark-Casey (justincc) e078fb2e71 Implement god mode user freezing and unfreezing
See http://opensimulator.org/mantis/view.php?id=4356
Thanks Revolution
I performed a subsequent probable bug fix in this patch
2009-11-27 19:23:51 +00:00
Justin Clark-Casey (justincc) 2e47e51475 Make locking of timers and listeners in script related functions consistent
See http://opensimulator.org/mantis/view.php?id=4316
Thanks KittyLiu!
2009-11-27 19:01:45 +00:00
Justin Clark-Casey (justincc) 25e2b16451 Apply patch to stop failure of llParcelMediaCommandList() on group deeded land
See http://opensimulator.org/mantis/view.php?id=3999
2009-11-27 17:52:23 +00:00
Justin Clark-Casey (justincc) 32ef1b9e23 remove stringent content type checking to make it easier to load oars directly from urls 2009-11-27 15:10:12 +00:00
Justin Clark-Casey (justincc) 1f71523a5a minor: make irc bridge logging less verbose if it isn't actually enabled 2009-11-27 14:47:49 +00:00
Melanie b9eb244d6d Reset update flag when a SOG is deleted. This fixes llDie(); 2009-11-27 08:59:03 +00:00
Melanie 3ae3cd0a5b Make llDie virtual, since it's functionality is engine specific 2009-11-27 08:16:47 +00:00
Teravus Ovares (Dan Olivares) f84da8e642 Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-11-26 17:03:19 -05:00
Teravus Ovares (Dan Olivares) e2200026ca * Fixes a case of d.BodyEnable with IntPtr.Zero passed as the parameter in linkset where EnableBody was called and the body is immediately disabled. The previous functionality assumed that a body was received in EnableBody but.. in some cases, it wasn't. 2009-11-26 17:03:00 -05:00
Jeff Lee 9d05962029 Added osGetRegionStats() function, to return a number of sim statistics 2009-11-26 17:43:17 +00:00
Jeff Lee d39c300d11 Added osGetRegionStats() function, to return a number of sim statistics 2009-11-26 17:43:00 +00:00
Melanie c6bfecccaa Fix a small bug. Trusted script crossings now work again 2009-11-26 17:16:22 +00:00
Melanie 41226dc991 Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim 2009-11-26 17:05:48 +00:00
Melanie 9d63f90467 Remove the old (Remoting) region crossing code. Fix the new code to
pass script state and assembly again properly. Reintroduce respecting tht
TrustBinaries flag. Changes the interregion protocol! No version bump
because it was broken anyway, so with a version mismatch it will simply
stay broken, but not crash. Region corssing still doesn't work because
there is still monkey business with both rezzed prims being pushed across
a border and attached prims when walking across a border. Teleport is
untested by may work.
2009-11-26 17:03:09 +00:00
Justin Clark-Casey (justincc) ee0b5abc62 minor: reduce region ready logging verbosity 2009-11-26 16:51:10 +00:00
Justin Clark-Casey (justincc) 2bc19a1e23 Resolve issue where an iar load fails to preserve original item creators
See http://opensimulator.org/mantis/view.php?id=4394
This change preserves the uuid when a profile is found rather than the ospa
2009-11-26 16:39:30 +00:00
Melanie 05fc504ff3 Remove the old remoting-type interregion code for prim/script crossing 2009-11-26 12:16:42 +00:00
Melanie 88842edc95 Remove GetAssemblyName and friends from the SE interface. It's now handled
internally
2009-11-26 12:08:20 +00:00
Teravus Ovares (Dan Olivares) a5f2803c79 * Re-enable the AbsolutePosition = AbsolutePosition in the LSL_Api in the SetRot method if the object is not active physical. This is important for scripted rotating doors. without AbsolutePosition = AbsolutePosition, the door won't rotate. It's also important that we do not use AbsolutePosition = AbsolutePosition if the object is active physical because that would cause a complete rebuild of the object which would break vehicles. This is the best of both worlds right now. Doors as child prim should work again so long as you don't check the Physical box.
* Thanks talentraspel
* Thanks NixNerd
* Thanks KittoFlora
* Thanks lockd
2009-11-26 01:34:46 -05:00
Teravus Ovares (Dan Olivares) dac9c6fb23 Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-11-25 14:13:51 -05:00
OpenSim Master a3755d831d Patch: Fix a bug in LAND animation when the TickCount wraps into negative numbers
by Mic Bowman
Signed-off-by: Teravus Ovares (Dan Olivares) <teravus@gmail.com>
2009-11-25 14:13:29 -05:00
Melanie cc3617f74f Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim 2009-11-25 17:03:11 +00:00
Justin Clark-Casey (justincc) 59caa68e08 minor: add doc to a few parcel methods 2009-11-25 17:49:38 +00:00
Melanie 0b380f68d8 Change osTeleportAgent parameters from long to int. That numerical range is
not even supported by the underlying type, so there is no need to ask
for a type the script can not even supply.
2009-11-25 17:02:45 +00:00
Justin Clark-Casey (justincc) 40464f6cc6 Change chat config code so that enabled = false actually does disable the chat module 2009-11-25 16:23:37 +00:00
Justin Clark-Casey (justincc) a4d2a97bc6 minor: remove some mono compiler warnings, add --merge load oar switch to help information 2009-11-25 16:14:08 +00:00
Justin Clark-Casey (justincc) c18422ad3a Implement oar merging
An oar can now be merged with existing region contents by using the --merge option
For example, load oar --merge my.oar
Existing terrain, region settings and parcel data is left in place when an oar is merged.
See http://opensimulator.org/wiki/OpenSim_Archives#Usage for more information
2009-11-25 16:02:47 +00:00
Justin Clark-Casey (justincc) f9807884a4 Add MIT/X11 licensed NDesk.Options (http://www.ndesk.org/Options) DLL to aid command line parsing 2009-11-25 15:28:43 +00:00
Teravus Ovares (Dan Olivares) a642968fd5 * Reverting last commit.. because it just made it worse. 2009-11-25 04:00:52 -05:00
Teravus Ovares (Dan Olivares) abddb60b8d * Attempt number 1 to stop the repeating crouch animation that sometimes happens.
* This tries to address it by correcting one potential bug where it never resets the falltimer.
* This tries to address it by telling Physics that we're not flying this step..  instead of waiting until the next step when the next agent update comes along.
2009-11-25 02:51:11 -05:00
Justin Clark-Casey (justincc) f605d59136 Make load/save iar slightly better in the face of io failures by always attempting to close the streams 2009-11-24 18:27:31 +00:00
Justin Clark-Casey (justincc) c083ab6824 make save and load oar slightly more robust by always closing the archive streams even if there has been an error 2009-11-24 17:47:09 +00:00
Justin Clark-Casey (justincc) 73dcbbd57a minor: remove some mono compiler warnings 2009-11-24 17:32:14 +00:00
Justin Clark-Casey (justincc) 88ead9ee63 pass all command parameters to load/save oar, not just the filename
unfortunately, these commands cannot yet be properly relocated to the region modules due to deficiencies in the region module infrastructure
2009-11-24 17:28:38 +00:00
Justin Clark-Casey (justincc) 52952a75ca minor: remove experimental tags from load iar and save iar commands 2009-11-24 15:20:02 +00:00
Teravus Ovares (Dan Olivares) cf36420d19 * This concludes the packet migrations from the big nasty switch into packet handler delegates. 2009-11-23 22:20:51 -05:00
Teravus Ovares (Dan Olivares) 3bfbd2952d * Moved 60 more packet handlers to Packet Handler Delegates. 2009-11-23 20:19:00 -05:00
Teravus Ovares (Dan Olivares) 3ebb528c79 * Resolves mantis 4390 http://opensimulator.org/mantis/view.php?id=4390 2009-11-23 11:44:22 -05:00
Teravus Ovares (Dan Olivares) 976728029b * Moved 40 more Packet handlers to the PacketDelegate and out of the 5000 line switch. 2009-11-23 01:12:46 -05:00
Teravus Ovares (Dan Olivares) 94cb4b486a Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-11-22 22:05:26 -05:00
Teravus Ovares (Dan Olivares) 21f80b6507 * Adds a test for if the collision is at the bottom of the capsule on avatar. This prevents the 'double jump' capability that's been occurring for ages when avatar collide with prim on the side. 2009-11-22 22:04:52 -05:00
Jeff Ames 9f5c2acd12 Formatting cleanup. 2009-11-23 11:26:06 +09:00
Teravus Ovares (Dan Olivares) 9ba10af6b2 * Added missing lock to m_forcelist when AddForce is called. When a user dragged a prim, in some cases, it would corrupt the datatype in memory and throw spurious IndexOutOfRangeExceptions.
* Physics a situation that causes physics to spew redline messages to the console forever.
2009-11-22 21:08:54 -05:00
Teravus Ovares (Dan Olivares) 0ff3c28f90 * This doesn't fix mantis 3522, but it should mitigate it.
* If the start position is outside of the region on the X and Y, put the user in the center of the region and then damp the Z position at 720 if necessary.  If the start position is not outside of the region on the X or Y, then don't check the Z.
2009-11-22 20:21:33 -05:00
Teravus Ovares (Dan Olivares) c155099faf * The client prevents the avatar from landing if the avatar is going above an unknown certain speed, so, add a speed check on the server.
* This addresses the 'hump the prim' animation playing while you're moving forward full speed and pressing page down over a prim to land.
2009-11-22 19:26:00 -05:00
Teravus Ovares (Dan Olivares) 8db97f7dab * Switched over 15 more packet types from the 5000 line switch to the Packet handler delegate 2009-11-22 05:13:50 -05:00
Teravus Ovares (Dan Olivares) 968b7310f4 * Moved 13 more packet type handlers to PacketHandler Delegates.. and out of of that giant 5000 line switch, ProcessInPacket. 2009-11-22 03:48:56 -05:00
Teravus Ovares (Dan Olivares) 2c8fbc15e8 * Comment out some example code for later. 2009-11-21 21:59:31 -05:00
Teravus Ovares (Dan Olivares) 079691b98f * Move a few of the ProcessInPacket switch case blocks into packet handler delegates 2009-11-21 21:58:11 -05:00
Teravus Ovares (Dan Olivares) f7916d10f3 * This fixes landing on Prim and removes the hack from yesterday. Landing on prim should work fine again. 2009-11-21 19:38:38 -05:00
Teravus Ovares (Dan Olivares) 247fc00ce7 * Hack to get avatar to land on prim. This is a big nasty hack that tricks the client into thinking you're landing on the terrain. There are some visual artifacts when you land. It's only temporary until we figure out how this broke. 2009-11-21 06:39:28 -05:00
Teravus Ovares (Dan Olivares) 7760da1a4c * Fixes the second of two terse update issues. Physical objects should react normally again. 2009-11-21 04:39:41 -05:00
Teravus Ovares (Dan Olivares) 0ffda7128e * Fixes one of two terse update issues. There's still one left, but this one fixes the situation where the object on the server is moving but no updates are being sent. 2009-11-21 04:33:34 -05:00
Justin Clark-Casey (justincc) 8f0db68424 Fix http://opensimulator.org/mantis/view.php?id=3874 - parenthesis in for statements cause script compile failures
This fixes a problem in OpenSim where statements of the form

for ((i = 0); (i < 10); (++i)) { ... }

do not compile even though they are valid lsl.
2009-11-20 18:39:39 +00:00
Justin Clark-Casey (justincc) 622003ab09 minor: tweak log message to say which region is being enabled for logins 2009-11-18 20:27:37 +00:00
Justin Clark-Casey (justincc) 4baac71a5e refactor: Eliminate redundant CreateSceneViewer call on ScenePresence constructors since this is also done on other called constructors 2009-11-17 18:44:57 +00:00
Justin Clark-Casey (justincc) 710a2afd12 Add scene animator set up to apparantly uncalled no-arg ScenePresence constructor 2009-11-17 16:40:59 +00:00
Justin Clark-Casey (justincc) da255be05a refactor: move AvatarAnimations, BinBVHAnimation 2009-11-17 16:25:52 +00:00
Justin Clark-Casey (justincc) de054bc583 minor: remove mono compiler warning due to unreachable code in GroupsModule 2009-11-17 15:21:29 +00:00
Justin Clark-Casey (justincc) 61c76d1810 refactor: move AnimationSet 2009-11-17 15:20:02 +00:00
Justin Clark-Casey (justincc) 1324082b90 refactor: move most animation methods from ScenePresence into a new ScenePresenceAnimator class 2009-11-17 15:05:40 +00:00
Justin Clark-Casey (justincc) 2606bf4a53 minor: very minor formatting change 2009-11-16 19:16:24 +00:00
Diva Canto d5c18f6149 Make GroupRootUpdate be a terse update. This method is not used by opensim (it should), but it's used by external modules. 2009-11-14 14:14:08 -08:00
dahlia 2e24415077 undo previous changes
add a GetGroupByPrim() method to Scene.cs
delete a redundant method
2009-11-13 22:13:40 -08:00
dahlia e7d0aa75ba expose SceneGraph.GetGroupByPrim(UUID) 2009-11-13 20:52:03 -08:00
Justin Clark-Casey (justincc) 96be5e5a88 minor: A further minor tweak to reduce iar load logging verbosity 2009-11-13 20:24:45 +00:00
Justin Clark-Casey (justincc) fe82471c2b Apply patch http://opensimulator.org/mantis/view.php?id=4369
Adds osGetMapTexture() and osGetRegionMapTexture() methods to retrieve region map texture uuids
2009-11-12 19:42:35 +00:00
Justin Clark-Casey (justincc) e2b1fb8ff9 refactor: extract another test asset helper method 2009-11-12 19:15:08 +00:00
Justin Clark-Casey (justincc) ed1089d892 refactor some test asset creation into a helper class
remove mono compiler warning
2009-11-12 19:08:00 +00:00
Justin Clark-Casey (justincc) 2f092d271e Rename test services to mock services, since this is a more accurate description
remove duplicate mock inventory service
2009-11-12 18:44:03 +00:00
Justin Clark-Casey (justincc) d21fc1cefb minor: for now stop iar tests spewing log messages when running testsuite 2009-11-12 18:33:40 +00:00
Justin Clark-Casey (justincc) bb92ba97c6 Stop iar save failing on corrupt assets
Not ideal since one will still have to watch out for big 'corrupt asset' messages in the log, but better than an outright fail
2009-11-12 18:26:22 +00:00
Justin Clark-Casey (justincc) cbe1cc1bc8 minor: refactor common setup in uuid gatherer test 2009-11-12 17:50:09 +00:00
Justin Clark-Casey (justincc) 55a40694e7 minor: remove mono compiler warning 2009-11-12 17:42:26 +00:00
Adam Frisby cedd827f7f * Added some new syntax options for the Monitor Module's HTTP poll. 2009-11-12 11:17:04 +11:00
dahlia 8ae3df22a2 clean up some cruft 2009-11-11 11:10:42 -08:00
Justin Clark-Casey (justincc) 6d88c96e01 minor: remove mono compiler warning 2009-11-11 18:49:05 +00:00
Justin Clark-Casey (justincc) 00102e73a6 Add basic new uuid gatherer tests to check behaviour when the gather seed is a missing asset 2009-11-11 18:46:04 +00:00
Teravus Ovares (Dan Olivares) 4a2d82e14b * Thanks to a little help from jhurliman, jradford, diva, mono's brajkovic, miguel, and the fabulous bug reports by our community members.. The workaround fix for the "ERROR:metadata.c:3211:mono_metadata_token_from_dor: code should not be reached" bug in the RegionCombinerModule. 2009-11-11 02:47:17 -05:00
Teravus Ovares (Dan Olivares) c8268a270f * Fix resources file mapping 2009-11-11 00:00:21 -05:00
Teravus Ovares (Dan Olivares) 1bb510ab17 * Update namespace in the regioncombinermodule. 2009-11-10 23:43:18 -05:00
Teravus Ovares (Dan Olivares) 2e514bfb1b * Move RegionCombinerModule to it's own project
* Moves the mono_metadata_token_from_dor message to a different module on loading.
2009-11-10 22:40:08 -05:00
Diva Canto 05f7fa1543 Broke the monster RegionLoaded method in RegionCombinerModule into 4 smaller methods. Let's see if this avoids a mono bug that is making megaregions not work in mono. Long shot, but worth a try. 2009-11-10 10:39:16 -08:00
Diva Canto 3294714099 Updated HGUserServices with AuthenticateUserByPassword, so that iar works. 2009-11-10 07:57:54 -08:00
Adam Frisby 90b15aa440 * Added HTTP polling for Statistics Monitor Module (access via http://sim.com:httpport/monitorstats/regionUUID/)
* Returns simple formatted XML document containing statistical data on the current sim.
* Example:
<data>
 <AgentCountMonitor>5.0000</AgentCountMonitor>
 ...
</data>
2009-11-11 00:22:06 +11:00
Mic Bowman 167c15db9d Fixed XMLRPC return params
Signed-off-by: Melanie <melanie@t-data.com>
2009-11-10 04:14:41 +00:00
Melanie ba99081bbe Add IScriptModuleComms interface and region module to handle dispatch of
script messages to region modules and sending back replies.
Hook IScriptModuleComms.OnScriptCommand to see commands and use
DispatchReply to reply to the script. It is recommended to pass the "id"
parameter from the event as the "k" parameter of the reply.
The script will receive the reply as a link message from link -1.
2009-11-10 03:36:43 +00:00
dahlia af9b0dcc20 Merge branch 'master' of ssh://dahlia@myConnection01/var/git/opensim 2009-11-09 18:49:13 -08:00
dahlia 3e22bb24f5 add an overload to _SculptMesh for meshing from a list of coordinates
add conditional compilation for System.Drawing dependency
2009-11-09 18:44:03 -08:00
Melanie 7df7e6a0bb Add modSendCommand function (note, this is a new API module, using the API
extension mechanism, it's not a osFunction!
2009-11-10 01:22:14 +00:00
John Hurliman 5145dfa53c * Removing the redundant SendPrimitiveTerseData.State field, it duplicates AttachPoint
* LLClientView.CreateImprovedTerseBlock() now uses AttachPoint and does the proper high-low swap (this should fix disappearing attachment pieces)
2009-11-09 17:13:56 -08:00
Justin Clark-Casey (justincc) a88a463b50 Following various discussions on irc and in the OpenSim dev OSGrid meeting last week, change av_capsule_tilted to false by default
This appears to now give better ODE physics response (less sinking into the ground, etc.)
Please change it back if this is actually a bad idea for some reason
2009-11-09 19:26:42 +00:00
Justin Clark-Casey (justincc) 3274bc39c8 minor: remove some mono compiler warnings 2009-11-09 17:43:32 +00:00
Justin Clark-Casey (justincc) 7f5d0a6735 Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim 2009-11-09 17:36:28 +00:00
Justin Clark-Casey (justincc) 716f70cd31 refactor out iar escaping 2009-11-09 17:34:07 +00:00
Justin Clark-Casey (justincc) 1ded7edde2 minor: correct slightly over-enthusiastic load iar logging message 2009-11-09 17:24:06 +00:00
Justin Clark-Casey (justincc) 7c5dc94cc8 fix load iar regression accidentally introduced in last commit 2009-11-09 17:22:18 +00:00
Justin Clark-Casey (justincc) 3c1f50127c minor: tweak load iar messages to be slightly less verbose 2009-11-09 17:20:30 +00:00
Justin Clark-Casey (justincc) fbcf6ffc18 minor: provide updates on number of assets loaded while executing "load iar" 2009-11-09 17:17:25 +00:00
Justin Clark-Casey (justincc) 1afe5a528c minor: remove some mono compiler warnings 2009-11-09 17:09:56 +00:00
Justin Clark-Casey (justincc) ae92bbcb95 refactor: break actual item load in iar into separate method 2009-11-09 17:04:05 +00:00
Justin Clark-Casey (justincc) a0c1836fde minor: remove some old commented out load iar code 2009-11-09 16:43:35 +00:00
Justin Clark-Casey (justincc) 678a74e4f7 Tell the user when a 'save iar' has failed because the inventory path could not be found 2009-11-09 16:42:17 +00:00
Justin Clark-Casey (justincc) a3105a34ca Implement human / escaping for inventory folders as well as items 2009-11-09 16:12:13 +00:00
Justin Clark-Casey (justincc) 6820cc93ec refactor path delimiter in iar utils 2009-11-09 16:08:17 +00:00
Justin Clark-Casey (justincc) a7af92d5d0 minor: remove some mono compiler warnings 2009-11-09 16:03:15 +00:00
Justin Clark-Casey (justincc) 9b2592a960 refactor: make human iar escape char a constant rather than a magic char 2009-11-09 15:54:43 +00:00
Justin Clark-Casey (justincc) 668850b974 * for iars, allow item names/folders including "/" to be escaped using "\/"
* also, "\" has to be escaped as "\\"
* add item name unit test for escaped characters
2009-11-09 15:49:09 +00:00
Melanie f8bcbe5492 remove the debug stuff 2009-11-08 22:39:00 +00:00
Melanie aff5fe10b0 test commit with debug output per folder fetch. NOT FOR PRODUCTION, SPEWY 2009-11-08 22:29:36 +00:00
Melanie 81c439bcaa Patch from Snoopy2. Fixes Mantis #4342
fixes problems when group owned land was abandoned by the land owner or reclaimed by the estate manager or by god.

Beside that this new patch makes it possible, that users can buy land directly for a group, if the buyer has the required permissions.
2009-11-08 20:36:00 +00:00
John Hurliman 1cddc85078 Fixing the build break 2009-11-06 00:06:49 -08:00
John Hurliman dfe4dc735a Merge branch 'master' of ssh://opensimulator.org/var/git/opensim 2009-11-05 23:50:42 -08:00
John Hurliman 6ed57814c1 * Clamp the CoarseLocationUpdate packet at a maximum of 60 positions per packet. This is a limitation of LLUDP, nothing we can really do about it
* Marking CoarseLocationUpdate as *not* zerocoded. Zerocoding can only save space when a packet contains three or more contiguous zeroes, and will use more space if it contains single zeroes randomly scattered through the packet (which is what you see when you send a long list of UUIDs)
2009-11-05 23:50:17 -08:00
John Hurliman afef1ac191 Changing the AssetBase constructors to avoid initializing assets with an unknown asset type, and log an error if it ever does happen 2009-11-05 13:10:58 -08:00
John Hurliman e6d7303b29 Applying #4332, optional packet statistics logging 2009-11-05 12:01:40 -08:00
Justin Clark-Casey (justincc) f8f1e94cf8 add unit test for iar & escaping 2009-11-05 19:32:24 +00:00
Justin Clark-Casey (justincc) 6f4a588397 minor test var name tweak 2009-11-05 19:09:32 +00:00