Commit Graph

16773 Commits (25b3edc21c4d5deb7563410a4e0a5364153b1002)

Author SHA1 Message Date
lbsa71 fb2588b409 * Refactored NumPackets calculation 2007-11-23 13:21:39 +00:00
Teravus Ovares 1ecd803e87 * added some functions for use in raytracing. They're kind of crappy now, so they only display 'guesses' on the console when you rez a prim.
* any math gurus who'd like to improve rezzing need only to make the raytracer in SceneObjectPart work :D
2007-11-23 05:56:35 +00:00
Brian McBee 4af84b0bb2 Fixed Terrain rescale command 2007-11-23 03:45:53 +00:00
Teravus Ovares 2db19b7d65 * Added more comments
* Tweaked the esoteric throttler parameters again.
2007-11-22 23:56:44 +00:00
Teravus Ovares 01cd8014da * Added another code path to skip the packet throttle queues when there's no need to queue the packet up. 2007-11-22 23:14:38 +00:00
Teravus Ovares f97aeab916 * Quelled a Log format exception in the logging routines.
* Tweaked some esoteric throttle settings
* Removed AgentThrottle from the unsupported packet list.
2007-11-22 21:40:53 +00:00
Teravus Ovares 999eec603e Created a client driven packet throttler. The sim now respects the client's network throttle settings but does sanity checks to avoid too little(nothing gets sent) or too much(the sim crashes) data.
* Consider this experimental..   however, it looks very promising.
2007-11-22 19:01:53 +00:00
lbsa71 ae5999c3d5 * removed erroneous comments 2007-11-22 15:43:28 +00:00
Teravus Ovares e69c810486 * Added code to capture the draw distance setting from the client.
* Added a support function to InnerScene to calculate the distance between two vectors.
2007-11-22 01:32:13 +00:00
MW e5a0049c16 Fixed bug that can lead to infinitive loops 2007-11-21 12:00:28 +00:00
Teravus Ovares 7cb38712d5 * Did some initial work for prim crossing. Just glue so far.
* Added the child_get_tasks OpenSim.ini flag for testing the UDP packet sending code and packet throttler.   This flag gets purposely disabled in grid mode.  This flag also has the consequence that you can see the prim in neighboring regions without going into them.  Be warned, this causes tons of dropped packets.
2007-11-21 02:17:24 +00:00
Sean Dague 7b09800d5b fix for mantis #2 from Justin Casey (IBM) 2007-11-20 21:25:27 +00:00
Sean Dague ee8512ee20 patch for llDie from Kurt Taylor (IBM) 2007-11-20 21:19:45 +00:00
Brian McBee 5d786056fb per chi11ken: adding check for out-of-bounds avatars in POS 2007-11-20 05:59:35 +00:00
Brian McBee c8293d908d New improved POS! With slippery avatars and extra calculations. 2007-11-20 05:40:50 +00:00
Jeff Ames 83ed435d01 fixed potential reference invalidation and array out of bounds exception in basicphysics 2007-11-20 05:09:30 +00:00
Jeff Ames 3aa73ae1c7 fixed array range out of bounds exception and reference invalidation under load in POS 2007-11-20 05:05:27 +00:00
Brian McBee c6619b6f7d Reverting my POS changes. I need to think this through a bit more. 2007-11-20 04:54:19 +00:00
Teravus Ovares 5a71d03b7a *Huge* structural changes in ODE/OdePrim to get all of the calls in threadlocked code. ODEPrim was almost completely re-written.
Copy/Space test needed.
2007-11-20 04:38:08 +00:00
Brian McBee db3858c13a POS physics. tweaking stair-climbing which broke with my last change 2007-11-20 04:28:31 +00:00
Brian McBee 26909477fc POS physics: removed "stickiness" from avatars so they can slide along surfaces instead of sticking to them. 2007-11-20 04:04:07 +00:00
Brian McBee 61bc26226f Turned on more verbosity to try to debug assetserver failures 2007-11-20 03:47:47 +00:00
Sean Dague ec5186c98a there is no real reason to write this value back to estate settings,
and it is the most often tickled part of this race condition.
2007-11-19 23:00:08 +00:00
Sean Dague 98f82105a0 put in changes to only keep the last terrain revision. The current
unbounded model causes performance and filesystem filling grief.
Before enabling this again, we need a reasonable bounding model.
2007-11-19 22:59:28 +00:00
Teravus Ovares 79e9d4faf9 Tweaked for a possibility of 10 elements. 2007-11-19 16:12:53 +00:00
Teravus Ovares 4eb4082e27 * Added noisy debug information on the Verbose console to help debugging oddly placed prim. 2007-11-19 15:59:05 +00:00
Teravus Ovares 4afe393ce4 * Space allocation fix for prim outside region. >256 & <0. 2007-11-19 15:37:50 +00:00
Sean Dague 2fdca28dd4 hopefully resolve mantis issue #10 by locking correcty around terrain methods 2007-11-19 15:07:04 +00:00
lbsa71 34fa2a4db4 * added ttensy but important piece of knowledge to MySQL provider in OpenSim.ini.example 2007-11-19 13:13:28 +00:00
lbsa71 7d26d8ffd0 * Added example MySQL connectionstring to OpenSim.ini.example 2007-11-19 13:10:44 +00:00
Teravus Ovares 2910f1b949 Fixed - outside of bounds error. 2007-11-19 12:28:00 +00:00
lbsa71 ce3a87daa5 * Changed namespace 2007-11-19 11:20:36 +00:00
Jeff Ames a1391d0848 fixed POS rotation with certain angles 2007-11-19 05:28:00 +00:00
Jeff Ames c261812e39 added rotation support to POS 2007-11-19 04:46:05 +00:00
Teravus Ovares aaab1448f7 * Split space array structure into a two dimentional array instead of a single one. Once again. Should help debugging space/copy issues. 2007-11-19 04:15:18 +00:00
Teravus Ovares 72525d3015 Added medium debug information to Verbose mode of the console about Prim/space movements. Should help make sense of the copy prim bug. Use for Pastebin. :D 2007-11-19 03:06:17 +00:00
Teravus Ovares 694bab9513 * Copy/SpaceBorder Fix attempt number 3, hopefully the last 2007-11-18 20:45:47 +00:00
Teravus Ovares 3bb4cd51fd * 2nd attempt to fix the Spaceborder/copy bug 2007-11-18 20:24:51 +00:00
Adam Frisby b1b9f79a04 * Supressed the "not a module assembly" warning for verbosity reasons. 2007-11-18 18:26:51 +00:00
Jeff Ames c40cfb01aa flying in POS should be a bit smoother 2007-11-18 18:20:02 +00:00
Teravus Ovares 7672237bcd * Tentative Bug fix for OptikSL's intermittant Copy prim error. 2007-11-18 17:25:12 +00:00
Teravus Ovares 615b40b68b * Refactored IClientAPI.OutPacket to require a second mandatory parameter. This parameter has an enum:int ThrottleOutPacketType and contains types; Resend, Land, Wind, Cloud, Task, Texture, and Asset. 2007-11-18 15:54:05 +00:00
Jeff Ames 924026d01c cleaned up some mono compiler warnings 2007-11-18 15:14:37 +00:00
Jeff Ames d10c79d421 first stab at implementation of CopyInventoryItem 2007-11-18 13:50:46 +00:00
Teravus Ovares 46ccfa1741 * Found several cases where prim set physical were not subscribing to physics events. 2007-11-18 13:37:02 +00:00
MW f71fa731f5 Made the background (ie empty space) colour of the exported map image blue. 2007-11-18 12:18:56 +00:00
MW 87b07c19ef Added "export-map <filename>" console command to the region server that will export a jpg image of the world map covering a 20 X 20 regions area centred on the current active region (ie the one set with change-region). While this should work in grid mode (if using the grid asset server and if my last commit did fix the world map), you might need to call the "export-map" command then wait a little while (60 seconds?) and then call it again so that you make sure the region has got all the texture assets from the asset server. 2007-11-18 12:04:21 +00:00
MW 7f99644864 Attempt to get World Map working in Grid mode, will need to be using the grid asset server for it to work correctly and has only been quickly tested in a three region grid.
Moved PermissionManager creation out of the Scene constructor and instead a PermissionManager is passed to the constructor as a param. So that we could create and use custom permissionsManagers.
Added AllowMovement property to ScenePresence which can be used to stop movement of avatars (for example in a custom region that wanted avatars always in one place).
Added PermissionManager call when copying objects, although currently the call will always return true so that it allows copying in places like Wright Plaza. 
A few other changes/fixes.
2007-11-18 11:11:44 +00:00
Dalien Talbot 2cd00f46b9 For every problem there's a solution that is simple, neat and wrong.
Looks like it has nothing to do with childregions - reverting and will 
try to debug after the sleep. Sorry for the noise :)
2007-11-18 07:58:04 +00:00
Dalien Talbot 0d8a2cccfd Looks like we're requesting the mapblocks for every agent - including
childagents. The infrastructure is not robust enough to handle it at 
this time - so ignore all the MapBlock requests for childagents.
2007-11-18 07:40:30 +00:00