Commit Graph

1831 Commits (fc9b3ec5a8c65f9b97e81f0e41abe4a9f45d4b3a)

Author SHA1 Message Date
lbsa71 1337a3973d * changed form Debug to Verbose on Texture sending 2008-01-03 14:08:51 +00:00
lbsa71 7b062cefa2 * Added removal of TextureSenders and UserTextureDownloadService on agent leaving region. 2008-01-03 14:01:53 +00:00
Jeff Ames 119f9b0d80 Set svn:eol-style. 2008-01-03 13:44:52 +00:00
lbsa71 1d098aa84c * Some work on TextureDownloadModule
* fixed Cancel bug
2008-01-03 13:40:38 +00:00
lbsa71 b95efbb689 * Added lock to Contains to avoid enumeration exceptions 2008-01-03 12:55:23 +00:00
Johan Berntsson 3f78e55ef4 Packet recycling has been temporarily disabled to avoid the performance problems reported in Mantis 281 2008-01-03 05:06:55 +00:00
Justin Clarke Casey f34ccdd222 Reduce maximum number of items in an inventory packet to approximate Linden servers count, to see if this solves Ursula's inventory problem 2008-01-03 01:45:40 +00:00
Justin Clarke Casey 968649aec9 Fix mantis 280 - sim crashes when a prim is deleted. 2008-01-03 01:30:25 +00:00
Johan Berntsson 047aba2067 I have fixed the ZeroDecodeCommand bug, and restored my packet recycling code. Let me know by IRC if there are other problems 2008-01-03 00:59:12 +00:00
Justin Clarke Casey 78ba9cebc5 Minor refactoring to expose PrimInventory from SceneObjectPart 2008-01-02 22:05:10 +00:00
Teravus Ovares a72d33d3a5 * Added the ability for Region Owners to add and remove estate managers using the estate tools.
* Estate managers get abilities like the region owner for now.
* Estate managers, you'll need to request server admin status to be able to activate the estate tools dialog (haven't figured out why this is the case yet)
* Switching from grid mode to standalone or switching grids will make the stored Estate Manager UUIDs not match up with a valid account so you'll see (waiting) listed there instead of a user until you reset them or go back to the grid you added them from.
2008-01-02 20:25:47 +00:00
Johan Berntsson d893c91249 Fixed buffer overrun bug in ZeroDecodeCommand 2008-01-02 16:35:50 +00:00
Tedd Hansen 198dea28ad Full .dll-name in config option for ScriptEngine. Loading only scriptengine specified in config.
ScriptServer will still not start!
2008-01-02 15:58:33 +00:00
lbsa71 459a4b0bb5 * Fixed an issue where the PacketPool would ZeroDecodeCommand into a too small buffer.
The new buffer size is based on analysis of real data, not on knowledge; this should be reviewed by the original PacketPool author.
2008-01-02 12:12:36 +00:00
Teravus Ovares 3a83be1721 * Did a bit of estate work. Added some fields to EstateSettings.xml for estate managers.
* You can put UUIDs in those fields to give other users some ability to help manage a sim you own.
* Also started decoding the EstateOwnerMessage packet convolutions.
2008-01-02 10:06:43 +00:00
lbsa71 4b4ee98070 * Trying to address TextureSender issues
* The BlockingQueue exposes Contains so we can make sure we don't add a TextureSender to the queue if there's already one present
* introduced some TryGetValue and various code convention stuff
2008-01-02 09:07:11 +00:00
lbsa71 20653830fb * Refactored out function to load specified AssetSet Xml
This commit dedicated to 'Mohawk - Bad Girls (Need Love Too)'
2008-01-02 07:13:34 +00:00
lbsa71 7909d80821 * Added using as per mail to see if that does anything for Ursulas build issues. Thanks Ursula! 2008-01-02 06:51:29 +00:00
Teravus Ovares 3aa0f32ce3 * Fixed an issue where the RegionFlags and SimAccess settings were being saved incorrectly. If your region is already having an issue on boot with parsing [region_flags] or [sim_access], then this won't solve your issue. Default value for region_flags is 0 and default value for sim_access is 21 in the EstateSettings.XML file 2008-01-02 04:10:55 +00:00
Teravus Ovares 2f43578386 * Re-wrote IM that sends the friend request so that it displays the name of the person who sent the request, or (hippos) if it can't find it. 2008-01-02 03:05:18 +00:00
Teravus Ovares 3738bc8899 * Updates UserServer
* Updates OSG1UserServices
* Friends list is now persistent in grid mode.
* You can add, new friends and remove them
2008-01-02 00:54:50 +00:00
Tedd Hansen 4d3a8f4b52 Fixed nant compile problem 2008-01-01 15:28:16 +00:00
Tedd Hansen d484df15c0 Trying to fix nant compile error 2008-01-01 15:18:36 +00:00
Tedd Hansen 7ef7caa200 Temp removed new data types patch from Mantis #272, causing compile problems (nant) 2008-01-01 14:56:12 +00:00
Tedd Hansen 8d79a5d93c Minor changes. Changed Prebuild.xml to avoid first-time-compile error because of dependencies. Made some changes to new LSLString. 2008-01-01 14:23:14 +00:00
Tedd Hansen 86a38dfd0f Adrianas 0000272 -- I think we need to implement standard string/integer/float functions too. 2008-01-01 11:41:07 +00:00
Tedd Hansen 9eba3d2f89 Fixed string issue in compiler 2008-01-01 11:28:56 +00:00
Teravus Ovares b4c9b6bd19 * You can add and remove a friend in standalone now within the same simulator. It saves.
* You can add and remove a friend in grid mode now within the same simulator.  It doesn't save yet.
* I got rid of Mr. OpenSim as a friend..   he bothers me /:b...
2008-01-01 06:12:04 +00:00
Justin Clarke Casey b8975ecbd9 Make it possible for new inventory 'libraries' to be added without changing the default OpenSimLibrary files. Additional library folders and items can be added in a separate
directory 
and linked in by an entry to inventory/Libraries.xml
2007-12-31 23:20:49 +00:00
Teravus Ovares 3180432deb * Added database and UserManagerBase glue for FriendsList management
* Don't forget to run prebuild
2007-12-31 22:56:43 +00:00
Justin Clarke Casey e0cf45fe21 Move unused inventory files into the attic 2007-12-31 20:09:47 +00:00
Tedd Hansen a8cb20355c Correction of last commit 2007-12-31 19:31:40 +00:00
Tedd Hansen ff4f2f5681 Changed type comparison from String to object type 2007-12-31 19:18:17 +00:00
Justin Clarke Casey 5ef1433e95 Correctly output library inventory folder type and version information 2007-12-31 18:26:24 +00:00
Justin Clarke Casey db9a7eee51 Correct location of DotNetEngine. Remove some debug stuff since my addins problem turned out to be local. 2007-12-31 17:52:48 +00:00
Jeff Ames 3c9505199a Set svn:eol-style and svn:ignore. 2007-12-31 12:00:40 +00:00
Tedd Hansen fefb00bc91 Changed from "Load all .dll's in ScriptEngine" to "Load only DotNetEngine" (temporarily hardcoded) to avoid problems with two scriptengines existing in ScriptEngine folder. 2007-12-31 11:38:08 +00:00
Justin Clarke Casey 60fa75ac04 Standard library folders can now be configued in the xml in inventory/OpenSimLibrary - no hardcoded changes are required. For some reason, all the folders are currently
showing up as texture folders, even though they are configured with the same types as the agent inventory folders.  This should be resolved soon.
2007-12-31 03:33:21 +00:00
Teravus Ovares b0a6299937 * Added a catch for RemotingErrors on the TCP init 2007-12-31 01:57:14 +00:00
Teravus Ovares 373d801c40 * Added graceful remote script server connection error handling
* Removed a friends module test that I had.
2007-12-30 23:56:29 +00:00
Teravus Ovares 57a1132585 * Fixed References in Prebuild so the project compiles
* Added Friends List methods to IUserData interface
* Created Stub friendslist Database Methods
2007-12-30 23:29:44 +00:00
Tedd Hansen 5b8620d82f Comments + fix = in theory stand alone script server + "RemoteSevrver" ScriptEngine (as opposed to "DotNetEngine") should work for a single region. It will however not work because it doesn't have two-way communication. 2007-12-30 22:57:27 +00:00
Tedd Hansen 6055db2bc3 server->script event path almost ready for remote scriptengine (translation table between local script ID and remote script ID missing) 2007-12-30 22:37:07 +00:00
Justin Clarke Casey 76e74a7667 Add an extra check that we don't create new inventory folders for a user that already has a root folder 2007-12-30 19:40:44 +00:00
Tedd Hansen c084c54fb5 Added ScriptEngine.RemoteServer module 2007-12-30 19:08:22 +00:00
Justin Clarke Casey 7d04cf8d4e Shift default OpenSim library into its own directory 2007-12-30 19:05:11 +00:00
Tedd Hansen 527b5f86a2 In this commit I am using an editor feature called "Save All" before I commit. 2007-12-30 16:34:54 +00:00
Tedd Hansen 7ef09a1202 Added comments to ScriptEngine classes that explains what their purpose is 2007-12-30 16:32:29 +00:00
lbsa71 14a191b285 * re-applied AddNewPrim refactoring... third time now... 2007-12-30 16:00:55 +00:00
Teravus Ovares d430bc62a9 * Patch from Alondria that re-fixes llSetColor 2007-12-30 07:06:14 +00:00
Teravus Ovares 32438ab1b9 * This update rolls back the packetpool and LibSL changes. Please retest and then patch these changes back in. Currently it's not quite ready for 0.5. The down side to this action, is that we loose some performance to the garbage collector for now. Given that the target date for 0.5 is *Two days* from now, I'm taking the initiative to work towards a real stable version.
* This update also fixes scripting and some weird physics reactions
2007-12-30 06:18:17 +00:00
Teravus Ovares 14368d9a73 * Applied Melanie's same instance IM fix. This will make IMs work within the same OpenSim Instance. 2007-12-30 04:12:08 +00:00
lbsa71 3e8df2b868 * Extracted out old RezObject method placing at absolute pos without the raytracing
* Ignored some bins
2007-12-29 19:53:07 +00:00
Justin Clarke Casey 40e89678b7 Make inventory items nominate explicit inventory folders rather than hardcoding 2007-12-29 19:41:50 +00:00
Justin Clarke Casey 1b1649791f Allow OpenSim operators to specify their own asset sets without needing to change the default OpenSim set. Equivalent changes to allow operators to also specify their own
standard inventory library directories and items to follow.
2007-12-29 19:01:55 +00:00
Teravus Ovares 0631151e08 * Patch from Melanie provides Util.CleanString and uses it on the prim name and description. Thanks Melanie. 2007-12-28 23:19:03 +00:00
Justin Clarke Casey 505067658a Migrate opensim default assets up another directory in preparation for extraction of hardcoded asset locations into xml 2007-12-28 22:49:32 +00:00
Justin Clarke Casey 27f7f76d04 Move OpenSimAssetSet assets file up into assets pending further changes 2007-12-28 22:32:52 +00:00
Justin Clarke Casey 592c39a7b0 Remove now dead code 2007-12-28 22:21:53 +00:00
Justin Clarke Casey 4ae10034bd Factor out common asset loading from AssetServerBase and Grid/AssetServer/Main 2007-12-28 22:13:43 +00:00
Teravus Ovares 7685f9c90f * applied melanie's matnis patch #255. Thanks Melanie. 2007-12-28 20:48:27 +00:00
Justin Clarke Casey 7cf9a8d4f9 Move inventory contents configuration files to bin/inventory folder 2007-12-28 18:01:20 +00:00
Teravus Ovares f64d94f8ca * Rezzing items from Inventory on top of other prim rezzes them 0.5 meters above the 'hit' prim instead of buried in the ground somewhere.
* Various Refactorings
2007-12-28 14:24:14 +00:00
lbsa71 5b720b4b39 * Made a copy of parts before updating to avoid dictionary updated exceptions on big updates
* The part now uses the byte[] TextureEntry instead of the object
2007-12-28 13:11:49 +00:00
lbsa71 6a02900c8a * redid the AddNewPrim refactoring as that got lost in r2855 2007-12-28 09:17:01 +00:00
Jeff Ames 1a484fcabf Set svn:eol-style. 2007-12-28 08:56:44 +00:00
Adam Johnson 79496381fc Patch from Johan: LibSL updated to the latest revision (1568) and all packets are now
recycled to improve performance and memory usage.
2007-12-28 08:51:39 +00:00
lbsa71 8cd72beb86 * Moved PrimitiveBaseShape subclasses into factory methods - the subclassing scheme won't hold for serialization
* Extracted out the 'old' AddNewPrimitive that places an object at an exact pos, without the raytracing
2007-12-28 08:34:38 +00:00
Teravus Ovares 5bd5770ed2 * Patch from Melanie. Thanks Melanie!
* This patch addresses a regression where 5 default textures, including the default "new prim" texture, would not be shown unless in viewer cache.
* Further, it supplies a new plywood texture as the base texture, which is purpose-made from locally photo-sourced material (means i took a picture and made it into a tile), which is closer in appearance and color to the Linden one.
* It changes the default new prim texture UUID to match the UUID generated by the viewer when "default" is clicked, which is a texture UUID hardcoded in some scripts as well, so it would cause compatibility issues if not addressed.
* The patch fixes a number of UUID duplications (same UUID for asset and inventory items) and capitalization issues in the XML files.
* It also includes new versions of 4 other textures, which were no longer loadable in grid mode.
2007-12-28 05:36:28 +00:00
Teravus Ovares 67bbed8202 * Added ability to create new prim on existing prim (rezzing prim from inventory on other prim coming soon). No more new prim buried in the ground by accident.
* The prim are at the absolute position of the prim you rezzed it on top of + (0,0,0.5) for now.
2007-12-28 05:25:21 +00:00
Charles Krinke 9b36c6c3ad Add missing "System." to System.NullReferenceException
so Linux build works again.
2007-12-28 03:45:19 +00:00
Teravus Ovares 776e83941a * Fixed Physical prim, various issues, viewer freezes, sim crashes, ODE errors, etc. 2007-12-27 23:19:00 +00:00
Charles Krinke 3cf3b426b6 Thank you again, Alondria for:
Adding some more support to Vectors and Rotations  
Description  * String->Vector/Rotation added
* Vector * and / a double added.
2007-12-27 23:09:31 +00:00
lbsa71 efd90b56b7 * Optimized usings
* shortened references
* Removed redundant 'this'
* Normalized EOF
2007-12-27 21:41:48 +00:00
lbsa71 d508d77122 * removed always true if 2007-12-27 21:06:44 +00:00
Teravus Ovares d82ed9a8c5 * Fixed MonoSQLite Update Table routine
* Charles, this will fix the red issue.
* Same situation, the first run updates the tables (and gives you a ton of red errors), the second run and everything works as expected.
2007-12-27 18:49:16 +00:00
Justin Clarke Casey 997a2907e2 Move hardcoded texture library inventory items out into OpenSimLibrary/xml. However, even before these change the five textures moved
are not displaying (which is why default cubes are coming up as grey plywood unless you happen to have that texture cached).  These
were working before so they must have broken in the last month.  Might be something to do with the fact that these identify (using file
under linux) as jpeg2000 files, while all the other working textures identify simply as data.
2007-12-27 15:17:22 +00:00
lbsa71 87e2a694e2 * AssetServerBase: _ProcessRequest is now called GetAsset
* PrimitiveBaseShape: The textures are now exposed as a 'TextureEntry Textures'; all serialization still using the 'byte[] TextureEntry' for backwards compatibility.
* Scene: Re-added AddTree, since the Tree type isn't gone from libsl, merely relocated.
2007-12-27 14:00:30 +00:00
Teravus Ovares dfbc6e101e * Fixed the matching logic error on the LLQuat to axiom quat :P 2007-12-27 06:09:28 +00:00
Teravus Ovares da66f3eac8 * fixed a logic error in the receiving end of the prim load for the sit target 2007-12-27 05:52:24 +00:00
Adam Frisby 2cb222806b * Fixed compile issue caused by half-refactoring (sorrry!) 2007-12-27 05:48:27 +00:00
Teravus Ovares cbf5ff4a93 * Added Sit Target persistence over sim restarts for mySQL and MonoSQLite.
* SAVE YOUR PRIM DATA, THIS MAKES CHANGES TO YOUR PRIMS TABLE
* The first time you run OpenSim after updating past this revision, you'll see a lot of Errors.   Be calm, shutdown the simulator, and start it again and your prims table will be updated.
* MSSQL added the fields to the Initial CreateTable section, however, you'll need to add the fields to your prims table if you want it to persist.
2007-12-27 05:37:48 +00:00
Adam Frisby af406bf6fa * Added osRegionRestart(float secs) to LSL Commands
* Added osRegionNotice(string msg) to LSL Commands
* Added PermissionManager checks for osTerrainSetHeight, osRegionRestart.
2007-12-27 05:26:52 +00:00
Adam Frisby 8b6dd623bd * Added osTerrainSetHeight(int x, int y, double val) to LSL commands
* Added osTerrainGetHeight(int x, int y) to LSL commands
2007-12-27 05:20:03 +00:00
Teravus Ovares 87d55443d3 * Added slightly better object sit handling
* Added sit handling for sit targets
* Implemented llSitTarget()
* Implemented llAvatarOnSitTarget()
* Sit targets do not persist sim restart.
2007-12-27 03:25:00 +00:00
Justin Clarke Casey 54d9fbc0fe Prim inventory persistence phase 1: Creation of preliminary table in sqlite.
No user functionality yet.  This code is not turned on, so there is no possibility 
of disruption to existing databases.
2007-12-27 00:53:13 +00:00
Teravus Ovares 9f2fb5ba70 * Play the 'landing' animation when landing and minimize the collision protection offset so the animations match up. 2007-12-26 22:26:45 +00:00
Teravus Ovares c7fc0dbeb7 * Patch from Charlie Omega for standard secondlife inventory folders: see mantis:0000246
* Deletes the solution file from OpenSim.Gui
2007-12-26 21:06:51 +00:00
Teravus Ovares 2fc11762ae * Patch from Charlie0 to the OpenSim/Tools/OpenSim.GUI application to include the .sln file. 2007-12-26 20:57:33 +00:00
Justin Clarke Casey 01de4bbfbd If a prim is persisted in the region, scripts dragged into its inventory after a server restart would not appear (though the script they contain would still be invoked). This
change fixes that problem.
2007-12-26 20:21:06 +00:00
Teravus Ovares f852b64555 * This update includes a wide range of changes to the ODEPlugin for avatar movement, including:
** - avatar can navigate stairs better now
** - avatar can land without shooting into the air
** - excessive collisions with the ground are tempered somewhat and should only shoot the avatar up 20m instead of 200m
** - Try Catched a TextureDownloadModule.cs array out of bounds error with a report that causes it not to crash the sim, however it reports a few important items for tracking it down.
2007-12-26 17:16:47 +00:00
Teravus Ovares b7170215ba * Patch by Melanie to fix CreateSelected 2007-12-26 04:36:28 +00:00
Teravus Ovares 0e460a81cc * Coded around another Null packet sent by the packet pool
* Condensed 8 calls to unmanaged code in ODE down to 1
2007-12-26 04:23:36 +00:00
Teravus Ovares 2259bc8ebf * Added a -val heightfield value limiter so giant pits of death don't cause avatar to go into an endless plunge to the middle of the earth. 2007-12-26 01:53:08 +00:00
Teravus Ovares 98f4a568ad * Removed a debug message I left in there
* Added a few more comments.
2007-12-26 01:06:18 +00:00
Teravus Ovares e008c3e4a9 * Added the ability to land automatically on prim by pressing the page down button when over them and colliding
* Reverted the avatar portion of the inter-penetration physics scene explosion management, it needs more work.
2007-12-26 00:57:37 +00:00
Justin Clarke Casey e9efd5bee2 Small non-functional inventory changes 2007-12-25 18:11:56 +00:00
Teravus Ovares 69cc4596b1 * Added some ugly hackish code to the user server to start implementing the new login method. You still can't yet log-in via the new method. Does not interfere with normal userserver operation, ie safe to update if you want. 2007-12-24 23:35:30 +00:00
Justin Clarke Casey 280a5cba8b Prim inventory script saving phase 1. Create necessary CAPS structures for correctly accepting prim inventory script updates.
No user functionality yet.
Refactoring to follow.
2007-12-24 22:35:01 +00:00
Charles Krinke fa2495ae6b Again, great thanks to Alondria for:
Adding:: llSetParcelMusicUrl(), llGetRootPosition(), llGetRootRotation(), 
llGetGeometricCenter(), llSetLocalRot(), llListReplaceList(), 
llGetObjectPrimCount(),llGetParcelDetails(), llGetParcelMaxPrims(), 
llWater(), llGetLocalRot(), and llGetAccel()
2007-12-24 21:16:32 +00:00
Charles Krinke f28f917c61 Revert most of the regionName message stuff. 2007-12-24 19:27:52 +00:00
Charles Krinke edf6f9e573 Go back to displaying the X,Y and not the regionName until
SearializableRegionInfo is a bit more understood. This is
only a mainlog message.
2007-12-24 19:13:01 +00:00
Charles Krinke 09651f298c Added regionName to "far away" region report. 2007-12-24 17:26:28 +00:00
Charles Krinke 60b5130cff Add regionName to OGS1 regionUp report. 2007-12-24 17:21:07 +00:00
Teravus Ovares de43f7e858 * ODE: now using the 10.00000638 density value on prim. 2007-12-24 05:48:16 +00:00
Justin Clarke Casey 57b2bc21a9 Log message tweaking 2007-12-24 05:24:53 +00:00
Charles Krinke a71050a2f8 Thank you kindly, CharlieO for this update to the GUI tool for:
Adding a most all inclusive commandline switch and customizable path flags
for ease of operation for server and client in one nifty window.

on hitting of the start button, my 4 most used switches auto check 
(can be unchecked before run). Otherwise can select various other switches
and add required data in entry fields. Or there is a raw cmd field that you 
can pass what ever you want after the exe.

Great for setting and forgetting switches without having to use the cmd
prompt and /or editing a shortcut. Tedious constant restarts of the client made easier.
2007-12-24 05:20:27 +00:00
Justin Clarke Casey bde1690c4c FOR http://opensimulator.org/mantis/view.php?id=226 I have a theory that an inventory descendents packet which exceeds a certain size is not being received by the client due
to something in the network constraining the maximum UDP packet size.
This hypothesis fits the observed facts.  The change here reduces the maximum number of items in any single packet to 20.
If I'm wrong I'll go back and correct the comments.
2007-12-24 03:26:55 +00:00
Teravus Ovares b2903c4a8a * Patch from Alondria - Added LLFunctions llGetMass(), llGetLandOwnerAt(), llGetVel(), llGround() 2007-12-23 13:14:56 +00:00
Justin Clarke Casey 984f2da17d Some log fixing for the LoadRegionsPlugin 2007-12-23 12:34:30 +00:00
Justin Clarke Casey 77a2755e14 Yet more inventory debugging messages 2007-12-23 11:43:46 +00:00
Charles Krinke c34b5e9071 Clean up the region initialization GridServer messages a bit. 2007-12-23 04:42:55 +00:00
Justin Clarke Casey c545cc8cd9 Miscellaneous small tweaks and more logging messages to move towards resolving inventory problems 2007-12-23 02:14:29 +00:00
Charles Krinke 1a679c8cd9 Simplify GridServer mainmap log messages. 2007-12-23 01:09:21 +00:00
Charles Krinke 5cd6f235ce Thank you, Alondria for:
Reverts the LSL Texture/Color functions back to the original code, allowing them to function again
2007-12-22 22:49:37 +00:00
Justin Clarke Casey 96dbe9fea0 Remove a now unnecessary bit of inventory log verbosity 2007-12-22 20:21:15 +00:00
Justin Clarke Casey c470efea57 Make copying of scripts into prim inventories more reliable on the first attempt when the asset server is lagging by formalising the de facto polling.
This may not be the best solution in the long run, but should improve things for now.
This may also improve reliability when updating inventory item metadata (e.g. renaming an item) and in retrieving textures
for the main map view.
2007-12-22 19:48:01 +00:00
Justin Clarke Casey ed0f8bd572 minor refactor 2007-12-22 16:45:44 +00:00
Justin Clarke Casey e52c217e44 Put in some race revealing warning messages triggered when a user rezzes a script to prim inventory 2007-12-22 14:34:05 +00:00
Teravus Ovares b64deca32f * Masochistically updated libsecondlife.dll to r1550
* after some tweaking to the UDPServer all appears to be well
* Added what 'was' the GetType(bytes,packetEnd,zeroBuffer) to the UDPServer. (it was removed as a static method from Packet)
2007-12-22 14:02:50 +00:00
Teravus Ovares 9f886083ab * Fixed general avatar bounciness in ODE
* Craggy terrain mishandling by ODE still occasionally causes point bounciness
2007-12-22 07:23:02 +00:00
Teravus Ovares de32006f9a * Added smoother handling of interpenetrating physical objects.
* Fixes:
* -- duplicating Active physical object causes objects to explode in opposite directions
* -- Rezzing objects too close to you avatar causes avatar to shoot around in odd directions
* Vanity
2007-12-22 05:43:34 +00:00
Justin Clarke Casey 1ac57290ae Initial hookup of update task inventory event. No functionality yet. 2007-12-22 02:52:35 +00:00
mingchen 21e32196c7 *Fixed logic issue in LandManager that caused an 'invalid parcel' error to spew in the debug when land was selected 2007-12-21 21:04:27 +00:00
Justin Clarke Casey 42bc256e4f Refix bug where inventory textures don't appear in prim edit texture selection box
unless previously expanded in inventory.
2007-12-21 19:47:45 +00:00
Teravus Ovares 13f85c9d82 * Fixed UserServer crash when it's passed 00000000000000000000000000 as the UUID.
* It turns out that by proxy, this means that you won't have to look up people's UUID anymore in grid mode, If the UUID is LLUUID.Zero, it tries to look up avatar by name.
2007-12-21 19:00:07 +00:00
Teravus Ovares a453672edb * Remapped the Connection shutdown path.
* This fixes a *bunch* of Mantis bugs related to the following
* -- Neighbouring simulators not appearing after relog
* -- Login to simulator only to be logged off by simulator.
* -- ThreadAbort 
* -- Unable to shutdown circuitCode: x
2007-12-21 16:55:03 +00:00
Teravus Ovares 6a51c3addd * Fix for Mantis: 0000224 2007-12-21 15:11:59 +00:00
Teravus Ovares ba9e0e5cab * Fix for Mantis: 0000229 2007-12-21 15:02:57 +00:00
mingchen 169e176f47 *RemoteAdminPlugin can now be password protected. Add the password in the INI under [RemoteAdmin] with the name access_password
*Removed a few more unneeded exceptions in land that has been fixed
2007-12-21 03:34:51 +00:00
Teravus Ovares 9f3170b49f * Update to send the parcel gathering error to a .Debug message.. so that a developer can see it in the environment, but it doesn't cause any adverse effects. 2007-12-21 03:16:42 +00:00
mingchen 37ea050886 *Removed some exceptions that were thrown in Land that is no longer needed. 2007-12-21 00:35:55 +00:00
Teravus Ovares 9961a5565f *on more implicit use of .ToString() on deleting shapes in MonoSqliteDataStore 2007-12-21 00:04:38 +00:00
Teravus Ovares 23f761231d * and another :/ 2007-12-20 23:37:41 +00:00
Teravus Ovares f1f57ca267 * Fixed implicit .ToString() in shape fetch. 2007-12-20 23:34:30 +00:00
Teravus Ovares 97c78ce0fd * fixed a few Implicit uses of .ToString() 2007-12-20 23:25:19 +00:00
Justin Clarke Casey e2fa5efb59 Revert a couple of UUIDs back to hyphenated since we actually sometimes store as hyphenated, sometimes not... 2007-12-20 22:56:30 +00:00
Justin Clarke Casey 30a8e27c40 Convert an sqlite user LLUUID I'd missed 2007-12-20 22:42:24 +00:00
Charles Krinke 1eb46424c7 Comment out "METHOD BY UUID CALLED" WriteLine as it is
obscuring the UserServer console for now.
2007-12-20 22:38:22 +00:00
Teravus Ovares 7cd8f808c8 * Matched up all previous .ToString() references (r2764) in OpenSim.Framework.Data.MySQL with Justincc's Util.ToRawUuidString() 2007-12-20 22:36:18 +00:00
Justin Clarke Casey 288e7def7d Convert some inventory ids I managed to miss 2007-12-20 21:49:21 +00:00
Justin Clarke Casey f1ebe79824 Fix up other sqlite db interactions to use non-hyphenated uuid
Inventory contents retrieval and persistent region storage standalone now appear to work as well as they did before :)
This patch will not fix grid problems.
May be bugs present due to conversions I didn't spot.
I personally probably don't have any more time for this today.  I'm also not entirely convinced this is the right way forward
so this might be a handy pause for thought.  I'll also be delighted if I wake up tommorrow and everything is fine again.
2007-12-20 19:13:34 +00:00
Justin Clarke Casey dd1e2c8eb9 Establish Util.ToRawUuidString to get LLUUIDs in unhyphenated form
Apply method to UUID crud in SqliteInventoryStore as an initial test
This appears now to successfully recover inventory upon login
This will almost certainly only work on standalone
2007-12-20 18:43:39 +00:00
mingchen 0e6915ae48 *Ban lines now work if they are enabled grid wide.
*Restricted lines just give you a friendly warning for now
2007-12-20 16:50:16 +00:00
Teravus Ovares dcaea6cd50 * Cleaned up some code from an earlier commit 2007-12-20 15:42:53 +00:00
Teravus Ovares 2641f78a20 * Fixed a null NewPack error in ClientView.InPacket (object pool returning null objects?) 2007-12-20 14:44:59 +00:00
Teravus Ovares 8aae909412 * Added a configuration parameter on the Grid Server to disallow forceful banlists.
* Added a way for Grid based configuration parameters to (generally used in overriding functionality) to get to the regions on Registration.
2007-12-20 06:31:03 +00:00
Jeff Ames be2ad79e52 Added patch from Johan. First attempt to solve the LibSL.Packet GC problem. Works with LibSL rev>1532 2007-12-20 05:43:02 +00:00
mingchen 8d84156551 *Added event called after any movement is handled (OnClientMovement) - will be used for parcel banning goodness 2007-12-20 03:24:34 +00:00
mingchen a596b7696a *Made a much more network friendly method of ban and pass line sending
*Added an event that is triggered when an agent enters a new parcel
2007-12-20 02:36:27 +00:00
Jeff Ames 24bd5ad399 Added null check back into ModuleLoader.cs 2007-12-20 01:08:01 +00:00
Jeff Ames 36a8f70931 Extended svn:eol-style to check some other file types. 2007-12-20 01:01:42 +00:00
Teravus Ovares 27e0287526 * Re-did the mass calculations in ODE for Prim
* Exposed the mass as a PhysicsActor read only property (so scripts can get at it - hint hint -)
* Hollow and Path Cuts affect the prim mass (all Hollow Types are supported in this calculation (sphere,square,triangle))
* Prim no longer sink into the ground.
2007-12-19 22:42:06 +00:00
Charles Krinke 94ec2a508a Thank you very much, CharlieO for:
Added: llSetLinkAlpha() and finished off llSetLinkColor() by adding the ability to use LINK_SET.
2007-12-19 21:48:50 +00:00
Justin Clarke Casey 45567b71b8 Refactor asset request processing for consistent status information on whether an asset was actually found or not 2007-12-19 18:05:45 +00:00
Jeff Ames 4314b6115b Stopped module loader from re-loading .dll once for every plugin found within it. 2007-12-19 10:06:56 +00:00
Jeff Ames 6702b03733 Misc. cleanup:
* added Util.Clip(value, min, max)
* modified asset cache's numPackets calculation to use max packet size (600) instead of 1000
* removed a few magic numbers
2007-12-19 08:44:25 +00:00
mingchen bd16dddce5 *Added Ban Lines around parcels for banned avatars, but there is no actual blocking done yet.
*Made the OnSignificantClientMovement distance from .02 to .45 to make it easier on the server.
2007-12-19 04:28:54 +00:00
Charles Krinke 16174dac6e Thanks to CharlieO for:
llSetLinkColor() and a temp place holder for llOwnerSay() since many example scripts that are copy/pasted from outside sources have llOwnerSay() and its obnoxious to change in scripts each time.
2007-12-19 02:30:28 +00:00
mingchen fd3195ea53 *Parcels now fully work on MySQL as a datastore after a few tweaks and bug fixes after testing 2007-12-18 23:48:36 +00:00
mingchen 43b82099ca *Fixed MySQLDataStore bug causing errors on startup 2007-12-18 22:20:42 +00:00
mingchen 20eecd4155 *Using Mysql as the datastore should now store parcels across multiple sessions 2007-12-18 20:31:51 +00:00
Sean Dague 698a63ed1a Fix typo. AutionID -> AuctionID 2007-12-18 19:13:28 +00:00
mingchen 30b7c047fa *Removed Unneeded Debug I added in my last revison
*Fixed typo causing access lists not to be stored correctly in sqlite
2007-12-18 18:32:20 +00:00
mingchen 128f2b1e1b *Parcels and their access lists now store over multiple sessions when the datastore is sqlite 2007-12-18 17:42:02 +00:00
Teravus Ovares f79a500621 * Sakai appears to be having some sort of socket error that we've not accounted for. We're going to assume that our endpoint is okay and continue reading. 2007-12-18 12:33:29 +00:00
Teravus Ovares ccc8ffaaec * Added Incomplete Handling of the RegionInfoRequest packet
* Added Incomplete Handling of the EstateCovenantRequest packet 
* Added Incomplete Handling of the EstateOwnerMessageRequest.ChangeEstateCovenantid method
* Fixed a race condition with avatar animations
2007-12-18 12:08:34 +00:00
Adam Frisby 7948033565 * Removed redundant code in RestService.cs
* Removed unchecked TryParse, replaced with Parse as we were not checking for success and could lead to weirdness if an exception is ignored.
* Removed unused variable m_newAvatar
* Removed several unused try{}catch(Exception e){}'s.
* Added null assignment in simpleapp to prevent warning.
2007-12-18 08:41:23 +00:00
lbsa71 03635aa336 * Renamed AgentWearable to AvatarWearable
* Made Terrain texture temp (it's re-created on every run)
2007-12-18 07:57:06 +00:00
Brian McBee 1e92cfa475 textures that fit in one packet expect the packet number to be 1. You clear texture should now work. 2007-12-18 04:04:42 +00:00
Charles Krinke 6f389ba4cf Many Thanks to Alondria for adding:
The list type and a bunch of support functions to LSL  
Added/ReImplmented: llGetListLength(), llList2Integer(), osList2Double() (note rename), 
    llList2Float(), llList2String(), llList2Key(), llList2Vector(), llList2Rot(), 
    llList2List(), llDeleteSubList(), llGetListEntryType(), llList2CSV(), llCSV2List(), 
    llListInsertList(), llDumpList2String(), 
Borked Still: llListSort(), llListRandomize(), llList2ListStrided(), llListFindList(),
Changed: llHTTPRequest() (Made wrapper of LSL_Types.list->List<string>)
2007-12-18 02:41:34 +00:00
Teravus Ovares badcbd4bea * Fixed a potential race condition with adding Caps handlers 2007-12-18 01:49:21 +00:00
Teravus Ovares 38fe0dfa90 * Added a Verbose and Debug error to border crossing so that this can be diagnosed further. 2007-12-18 01:45:39 +00:00
Teravus Ovares 425a7656ed * Removed the ObjectDisposed error. 2007-12-18 01:38:06 +00:00
Teravus Ovares afe63faa2e * Fix for mantis 0000040 After client logout remote host closed connection on Simulator makes sim unuseable->'Closed Connection Called'
* I've fundamentally changed a few things, so this is experimental
* The routine that I used needs to be tested on Linux.  I don't expect it to cause a problem, but hey, it might.
* Child agents are still not logged off properly, so when the first set time out, the second set get logged off also, on the second log in if the second login is initiated before the first one fully times out.
2007-12-18 00:34:42 +00:00
Justin Clarke Casey 348e5b7648 Make region storage Sqlite by default rather than NullStorage 2007-12-17 23:06:41 +00:00
Teravus Ovares adf7afb606 * Turned all instances of ForEach loops in ClientManager into Local Arrays.
* Added Locking while the Copy is taking place.
* Added an error message to describe what's actually happening.
2007-12-17 20:24:49 +00:00
Sean Dague f9540e3f11 make it so prims don't relay into IRC 2007-12-17 19:43:48 +00:00
Sean Dague fac91d0ff5 ignore Primitive for the IRC relay 2007-12-17 17:28:59 +00:00
Charles Krinke a990c64698 Thank you to Kiryu for a patch to fix an out of Sync
error in Scene. Affects 6 files and is Mantis#201
2007-12-17 16:41:28 +00:00
Charles Krinke e7170496be Thank you, Kiryu for a patch to fix out of sync error in UDP server
in the file UDPServer.cs. Submitted by Jeff Ames via Mantis#200
2007-12-17 16:39:11 +00:00
Teravus Ovares 94d8976140 * Hack to make sim saving terrain more friendly to larger parcel selection modifications 2007-12-17 04:28:36 +00:00
mingchen d845da215f *Land has now been linked to the StorageManager. Next step is to fill in the functions for the different datastore interfaces for Land Objects. 2007-12-17 03:49:13 +00:00
Charles Krinke 8e8c26acac Again, thanks to Alondria for:
Added: LinkNum to SceneObjectPart
Added: Bunch-o settings of LinkNum in SceneObjectGroup
Added: llGetNumberOfPrims()
Added: llGetLinkNumber()
Added: llGetLinkKey()
Added: llGetLinkName() (and change to string return type)
2007-12-17 02:30:03 +00:00
Charles Krinke 413fcc5709 The "Got a packet from an invalid client" has served its purpose
and is commented out, but is still there to help us if Mr.Murphy
decides to teach us (me) a lesson.
2007-12-17 00:51:51 +00:00
Charles Krinke 5bec7f5ff3 Clean up the Login message on UserServer console just
before CustomizeResponse is called (this one redundant).
2007-12-16 23:37:40 +00:00
Charles Krinke 030d735b7e More subtle message tuning of log messages. 2007-12-16 22:51:17 +00:00
Charles Krinke f426423f21 A bit more tuning of UserServer messages. 2007-12-16 22:15:36 +00:00
Charles Krinke b56c61ce0a Comment out an unneeded "Home Location" message. 2007-12-16 21:21:44 +00:00
mingchen bd6720b349 *Access/Ban list now copies correctly to a new parcel after a subdivision occurs. 2007-12-16 20:34:08 +00:00
Charles Krinke 0eec2ad030 Improve UserServer login messages for logging. 2007-12-16 20:33:04 +00:00
mingchen e2ed1a4e1f *Adding and Removing Avatars from the Access/Ban List for a parcel now works, but the actual ban lines, etc are not done. 2007-12-16 19:53:27 +00:00
Justin Clarke Casey 2061f55007 Reposition 'user profile not found' messages to stop spurious messages caused by other usermanager usage
This should stop the regular spurious messages in the grid user console
2007-12-16 13:57:08 +00:00
Teravus Ovares e4276f566d * Beating on the head that is terrain editing.
* SelectAABB + Radio Button Action + 'brush size' + Apply works now.
* There's something wrong with the byte for brush size that causes it to be unpredictable sometimes causing massive spikes. This appears to have always been this way, however it's more noticeable now that you can apply the effect to a selection of terrain.
2007-12-15 23:44:57 +00:00
Justin Clarke Casey 019d662606 Put out a more comprehensible message when user authentication fails than the current NullReferenceException based one 2007-12-15 21:58:07 +00:00
Sean Dague 0047522859 more dorking around with exporter. Still far
from doing anything useful.
2007-12-15 20:14:29 +00:00
Justin Clarke Casey c63369017f * Make inventory operations sync rather than async. This is to alleviate race conditions such as that in mantis #190
* Make inventory messages more verbose.  Hopefully they aren't now too verbose
* This may resolve some grid instability but it's likely there's much more out there.
2007-12-15 19:42:23 +00:00
Teravus Ovares e3dd15bef0 * Added support for multiple terrain blocks to be edited at the same time
* Now sending South and East cords to the terrain editor..    
* No new functionality from a user perspective 
* Programming wise, there's enough information to get the select based terrain editor working in an upcoming revision.
2007-12-15 17:10:12 +00:00
Charles Krinke fd360406b9 Thanks again to Alondria for adding: math support for
rot * rot, vec / rot, == and != overriders for Rotations and Vectors.
Also: llRotBetween(), llGetRegionTimeDilation(). And fixing:
Error in LSL2CSConverter that botched a variable with a type name in it (ex: rotationCenter)
Fixed: Error in LSL2CSConverter that parsed which() loops incorrectly.
Fixed: Changed definition of Quaternion to <x, y, z, r> from <x, y, z, t> (As per LSL)
Finished: llEuler2Rot()
2007-12-15 16:26:32 +00:00
lbsa71 653a41fa03 * some work on not storing the circuitPack (bad thing if we're going to reuse packets)
* some work on encapsulation, code convention compliance and beautification.
* also, some ignores
2007-12-15 12:19:29 +00:00
Teravus Ovares 81828c9b14 * Added an Avatar control tweak that disables the PID controller in certain circumstances.
* This allows collisions with other avatar and prim with a velocity greater then 0 to push avatar around.
2007-12-15 05:08:08 +00:00
Brian McBee 8a8c89a0f3 Grid Inventory feature upgrade: renaming folders should now be correct, subfolders work, moving folders works.
Tested only in MYSQL, but may work in MSSQL and sqlite.
Probably not working in standalone mode.
2007-12-15 04:57:14 +00:00
Jeff Ames 53b5fa4974 Set svn:eol-style. Cleaned up set-eol-style.sh a bit. 2007-12-15 02:36:31 +00:00
Sean Dague a7320acac1 update to OpenSimExport to test loading of a Region 2007-12-14 22:37:51 +00:00
Teravus Ovares fa35101b71 * Tweaked the sim stats so that when a sim is catching up it reports on the slowdown and not the 'catching up'.
* Used the words 'googly moogly' in code.   (always wanted to do that)
2007-12-14 22:08:02 +00:00
Charles Krinke 0ef0c9f4fb Thanks, Justin, for:
Message to confirm inventory retrieval rather than simply
 relying on the absence of a not found message.
2007-12-14 21:19:13 +00:00
Charles Krinke 4e7763f8de Thank you Justin for:
0000188: Clean up of some AssetCache.ProcessAssetQueue() code
2007-12-14 20:09:44 +00:00
Sean Dague a5a408c444 pluging away, setting up storage manager 2007-12-14 18:01:51 +00:00
Sean Dague 7d53c736f6 start to pull in config for OpenSim export 2007-12-14 17:51:18 +00:00
Sean Dague 368333e52c make a change to make it possible to get access to the DefaultConfig
from other places.
2007-12-14 17:50:02 +00:00
Teravus Ovares a0d1496475 * Fixed a cause of an ODE 'invalid operation for locked space ' 2007-12-14 17:32:13 +00:00
Sean Dague 65a002fc3a stubbing in OpenSimExport program. This does nothing
yet except compiles a shell
2007-12-14 16:29:06 +00:00
Charles Krinke 9ca70e029a Again, thanks to Alondria for: adding llGetTime, llResetTime, and llGetAndResetTime.
Also for fixing Rot/Vector Regex from being too greedy by removing bug in the 
LSL->C# converter that was causing the vector and rotation parser.
2007-12-14 16:10:56 +00:00
lbsa71 9ed2b26232 * Just making Create public 2007-12-14 15:29:51 +00:00
MW 678254235a Another addition to Inventory debug output. 2007-12-14 12:23:54 +00:00
MW edb1c732fa more inventory debugging output added to region server. 2007-12-14 12:06:29 +00:00
MW 1173a14fbf Added some extra debug console output to Inventory Server and region OGS1 inventory requests. 2007-12-14 11:45:27 +00:00
lbsa71 0a4a5bbcef * ARequest changed name to AssetRequest and moved to own file.
* The AssetServerBase is now responsible for dequeueing, the server implementations merely recieves ProcessRequest( AssetRequest req )
* Catchall added around queue processing thread so thread won't abort on exceptions.
2007-12-14 08:47:15 +00:00
Teravus Ovares 79935881aa * Patch from Justincc that swaps out LLUUIDs for Guid on the inventory REST calls 2007-12-14 07:55:33 +00:00
Jeff Ames c65b2a38d8 Added copyright notice.
Added script (add-copyright.sh) to make doing this relatively painless.
2007-12-14 02:53:15 +00:00
Teravus Ovares fef8c77a8a patch from justincc for Mantis #163 - Opening a script in inventory longer than 1500characters can cause looping crash. 2007-12-14 00:54:12 +00:00
Teravus Ovares 7fdfeb5830 * Added Active(physical) object count to the SimStatsReporter 2007-12-14 00:49:40 +00:00
Sean Dague f773733fcb From Michael Osias (IBM)
This patch makes some enhancements to the llRemoteData functions.  The
module is now a shared module, and allows remote data channels to be
created among multiple regions in the same sim.  The port is controlled
from the remoteDataPort property under the [Network] section in
OpenSim.ini.  If this setting is not present or = 0, the module is
disabled and no port is opened.  llRemoteData commands have not effect
when module is disabled.
2007-12-13 19:50:21 +00:00
Jeff Ames fd09b22552 Enabled the sit_ground animation. The sit state is not properly set, but it looks okay, and doesn't seem to break anything. Just move around to stand up. 2007-12-13 19:44:47 +00:00
Jeff Ames 8338e4999f Added placeholder for sitting on ground support. Doesn't work yet. 2007-12-13 18:59:39 +00:00
Jeff Ames 8d995a5a5d Minor cleanup 2007-12-13 18:45:32 +00:00
lbsa71 1cf4278862 * Debugging Shape
* Adding namesetting to Create
2007-12-13 14:47:44 +00:00
Jeff Ames 83ca8bd178 Fix for #176 (... doesn't appear in chat bubbles). This also gets the viewer to handle starting/stopping of the typing animation. 2007-12-13 07:10:32 +00:00
Sean Dague 7625438ade From Michael Osias (IBM)
This patch implements the llHttpRequest function via a region module,
HttpScriptsRequest.  There were bits and peices in LSLLong_cmd_handler,
which I moved into the region module, and just check for completed
requests and dispatch the http_response callback event instead.

works for me as of r2674
2007-12-12 22:14:43 +00:00
Charles Krinke a0a189aed2 Thanks to Alondria for:
llResetScript() is now functional. With this patch, Kan-script 0000003 should run.
Noted the llListen(0,"","","") errored due to "" != UUID - patched to set to 
NULL_KEY which then works to listen to everything.
2007-12-12 22:07:40 +00:00
Sean Dague 100fb6a0b1 remove another partial class, and map another class back to a real file 2007-12-12 20:45:39 +00:00
Teravus Ovares 5e6483f209 * In our quest for sim heartbeat stats, we're a touch closer to accurate object count on sim stats.
* Fixed a rare, but possible NullReferenceException
2007-12-12 18:03:37 +00:00
Charles Krinke 47b091f663 Thanks to Alondria for: Adding vector->string and rotation->string,
float * vector, vector * float, vector / float, vector + vector,
vector - vector, vector * vector, vector % vector and changing
x, y, z, (and r) parts of vector and rotation to be lower case 
(similar to LL's LSL vectors/rots). With these changes we should 
expect to run kan-ed#1, kan-ed#2 and most of kan-ed#3.
2007-12-12 17:18:15 +00:00
MW 8a2a6ad761 couple of small fixes. 2007-12-12 17:15:37 +00:00
Teravus Ovares da7fd71fa2 * Fixed a catch error. 2007-12-12 14:13:19 +00:00
Teravus Ovares 331db2336c * Added Object count to sim stats (it's incorrect, however, it'll be fixed) 2007-12-12 14:07:26 +00:00
Teravus Ovares 6a4a10f0a1 * Fixed agent counts on the Simulator stats pane 2007-12-12 13:52:30 +00:00
Teravus Ovares 2fd2e0285c * Killed hard coded heart after stats update
* Did some voodoo math on the sim FPS to make the values 0-50
2007-12-12 13:36:53 +00:00
Teravus Ovares 081f4403ea * Added some simstats to fill the simulator pane of the Statistics monitor.
* I stress, this is an initial implementation and the Agents(Child and Root) are definately obviously incorrect.
2007-12-12 06:58:55 +00:00
Teravus Ovares 83f727bb7c * Patch from justincc to fix Inconsistent automatic mysql table creation - see bug 169 2007-12-12 01:23:15 +00:00
Teravus Ovares e32150b1db * Temporarily sisabled neighbour cache for regions in the SceneCommunicationService
* This will fix the grid mode (not seeing regions) issue
2007-12-12 01:10:54 +00:00
Teravus Ovares 9abe4b2ebf * Start listening for client connections immediately after a region initializes during initial instance startup. (as opposed to waiting for 'all of the regions' to initialize first)
* Removed hackish timer based client notification about regions up (no longer needed)
* Added a comment about an inventory based login failure that causes me lots of greif testing and debugging.  Comment includes *why* it's failing.
2007-12-12 00:38:57 +00:00
Sean Dague c7f5a94763 put in a try block to catch the ForEach loop dying. 2007-12-11 22:20:22 +00:00
Sean Dague 6b5db310cd debug to catch any users of the stop interface 2007-12-11 21:57:11 +00:00
Sean Dague 2e38e534d9 consolidate client view exit paths, this seems to
cause a different synchronization issue in other
shutdown routines, though I'm not sure why
2007-12-11 21:47:18 +00:00
Teravus Ovares d67009a78b * Added some locking to help race conditions in the neighbors lists 2007-12-11 21:43:17 +00:00
Sean Dague 1fd62bc1af force a flush before client shutdown, so no important packets are lost 2007-12-11 20:32:22 +00:00
Sean Dague 696fb65199 minor restructure of ClientView.cs to get all the attributes
and properties to the top of the class definition.
2007-12-11 19:04:08 +00:00
Jeff Ames bb408af14d Fix possible array indexing exception in inventory server 2007-12-11 18:45:07 +00:00
MW 60c96ab687 Couple of more small changes 2007-12-11 18:29:19 +00:00
Jeff Ames 77841fe35e Minor cleanup/refactoring of ScenePresence.
Changes flying animation to hover when not moving (as per Teravus's suggestion).
2007-12-11 18:03:25 +00:00
MW 909fcd554f A few minor changes/additions/fixes. 2007-12-11 16:05:53 +00:00
lbsa71 ffd60baa48 * The 'Create' functions should be called to factor up a new, otherwise empty, but with the Id and 1-to-1 child fields instantiated and randomized.
* Added two shape constants that
2007-12-11 13:30:08 +00:00
Brian McBee 16903ec488 Implementing updateinventoryfolder: Should now be able to rename folders in inventory 2007-12-11 03:51:32 +00:00
Sean Dague b7178ec241 refactor SunModule a bit to make more sensible 2007-12-11 03:15:13 +00:00
Jeff Ames 712efda9b9 added copyright notices 2007-12-11 01:26:06 +00:00
Sean Dague e0c43df52a default day's to a more sensible 24 hrs instead of 0.5. You
can still change this in the config file if you want something
different.
2007-12-10 22:33:49 +00:00
Sean Dague ce1ed11aba enable autocreation of mysql inventory tables again. I think
I stopped the looping issue on continous upgrade with this as well.
2007-12-10 22:12:52 +00:00
Charles Krinke 22acc23755 Great Salutations to Alondria for providing implementations for:
llFrand, llSetColor, llGetColor, llSetTexture, llGetTexture,
llSetAlpha, llGetAlpha, llRotateTexture, llScaleTexture,
llOffsetTexture, llGetTextureOffset, llGetTextureScale, llGetTextureRot.
With these changes the "kan-ed" script #2 should be working.
2007-12-10 21:38:01 +00:00
Teravus Ovares 2349dc2e27 * Added comments to many methods in the listed files. 2007-12-10 21:12:38 +00:00
Teravus Ovares eac9bc6889 * More refactoring to prepare for draw distance based agent sim notification. 2007-12-10 19:16:50 +00:00
MW baea4b793d Changed how TextureDownloadModule is initialised, due to some weird behaviour from the module loaded which was resulting in a lot of unused TextureDownloadModule objects being created (and each starting up a thread). 2007-12-10 15:36:33 +00:00
Jeff Ames 40fd37f95a Refactored animation handling in ScenePresence. Now maintains a list of current animations.
* Fixes weirdness when typing and sitting at the same time
* Should fix bug #32 (getting stuck in edit appearance pose)
* Crouchwalk and possibly jump may need more looking into
2007-12-10 15:08:44 +00:00
MW 611327e104 more work on texture downloading.
Refractored the TextureDownloadModule (but currently to make debugging easier, it is running as a non shared module, so this results in a instance of this module being created for each region (and a extra thread per region), this will be changed back soon.
Removed the old texture handling/sending code from AssetCache.
A few other small changes/fixes.
2007-12-10 13:27:23 +00:00
Jeff Ames 081a66d570 added musings on llInstantMessage 2007-12-10 05:58:30 +00:00
Jeff Ames af6eb67999 saved OpenSim source code from the giant rampaging unterminated copyright notice of doom 2007-12-10 05:25:16 +00:00
Jeff Ames 49312de1c8 totally gratuitous svn:eol-style setting 2007-12-10 04:54:02 +00:00
Jeff Ames e278d07220 refactored ChatModule a bit.
misc cleanup and code convention fixes.
2007-12-10 02:29:42 +00:00
Teravus Ovares e595f82489 * Hooked up the GridComm event ChildDataUpdate to the scene.
* Added List<RegionInfo> m_neighbours to Scene 
* Hooked up the OnRegionUp event to m_neighbours list 
* Modified RegionInfo to have a bool commFailTF value so that we can skip neighbors that fail.  (when the region comes up, this gets reset to false and the region will try again.
* Added SetChildAgentThrottle(byte[]) to IClientAPI 
* Several other insignificant changes related to passing child pertanant agent data from sim to sim.
2007-12-10 00:46:56 +00:00
Charles Krinke be5d8811be Added a call to m_host.SendFullUpdateToAllClients().
Thank you to Alondria for suggesting this solution
to getting kan-ed#2 to work with the llSetScale call.
2007-12-09 23:48:27 +00:00
Charles Krinke fbaa8bc9bd Some progress on 4 of the llParticleSystem members
that needed to be cast to libsecondlife.LLColor.
2007-12-09 23:04:11 +00:00
Charles Krinke 2742be6675 "list" becomes "List" in LSL2CSConverter and (f,3) becomes (f,0) in llRound. Thanks to ChrisD/Gromit for pointing these out. 2007-12-09 21:52:01 +00:00
Sean Dague 934c54de5a From Justin Casey (IBM)
This corrects an off by one mistake in my previous patch - with this patch
the user root inventory folder should once again be correctly returned
under sqlite.
This was done correctly for mysql and mssql, my only (feeble) defence is
that with sqlite the code was a little different and I was eliminating
clauses rather than slightly modifying them.
2007-12-09 21:48:29 +00:00
Jeff Ames 696f5e27a9 removed old debugging code from IM and chat modules 2007-12-09 18:07:14 +00:00
Teravus Ovares 1074e5adc8 * Added more info to ChildAgentDataUpdate
* Added (at sdauge's suggestion) byte[] GetThrottlesPacked(float multiplier)
2007-12-09 18:05:08 +00:00
Sean Dague cace0e055c change PacketQueue to take the byte[] throttle instead
of the Packet to set the throttles
2007-12-09 14:47:18 +00:00
Teravus Ovares f2b175ef08 * Added some inter-region comms glue for allowing sims to chat amongst themsevles about an agent behind the agent's back.
* Will be using this glue Tomorrow/today to tell other regions what the agent's draw distance is and what region they're actually in so the region can make decisions on what prim to send, if any.
2007-12-09 05:59:49 +00:00
Jeff Ames 65b9fa9a5f added more packet handling stubs 2007-12-09 00:07:03 +00:00
Brian McBee 890a7c2e80 Adding an explicit close() and dispose() in the hope that it might help with assetserver issues. 2007-12-08 23:47:41 +00:00
Brian McBee 383eccc543 hackish code to allow emptying of trash. This really should be done on the inventory server, and not from the region.
Also: it appeared to work the first try, so I have probably done something horribly wrong.
2007-12-08 20:41:37 +00:00
Brian McBee beca2373e1 Allow moving, deleting, and restoring objects in inventory.
Note: only tested in grid mode, and emptying trash is still not implemented.
2007-12-08 19:13:10 +00:00
Teravus Ovares e0e9237a89 * Added back the regionup code so people in nearby sims can see a downed sim coming back up. 2007-12-08 17:25:34 +00:00
Sean Dague 0855066968 This patch fixes mantis 105. Basically, it stops the index exception when
no root folder is found and it makes the user server wait longer for the
inventory server to do its work.

From Justin Casey (IBM)
2007-12-08 14:27:12 +00:00
Jeff Ames 5e08911400 set svn:eol-style 2007-12-08 10:04:06 +00:00
Teravus Ovares 5f516c9fb2 * All remoting calls are now using Serializable values
* There's still goofyness though, because other regions are denying child agent avatar.
* Still more debugging required.
2007-12-07 23:21:32 +00:00
MW 87b337ebf9 Enabled the TextureDownloadModule, so that hopefully I might get some feedback, as to if it makes the texture problem better or worse. As I plan/hope to work on texture/asset downloading this weekend. 2007-12-07 22:47:11 +00:00
MW a71f4c021b "Borrowed" the LLSD class from a older version of libsl, so that our LLSD decoding (used by CAPS) works again. 2007-12-07 22:29:16 +00:00
Sean Dague 0aa982c252 move to PacketQueue for throttling. This has been tested with a couple
of people, but is enough of a change that more should try it out.  This
removes 500 lines from ClientView.cs in the process.
2007-12-07 21:30:01 +00:00
Sean Dague 4221ec23f9 further screwing around with the PacketQueue data structure.
Nearly time to replace a chunk of ClientView with this.
2007-12-07 19:13:35 +00:00
Teravus Ovares 25ec01311d * Serialized data properly for the InterRegionSingleton InformRegionChild method
* This isn't really that big of a deal(worth lots of commits) doing this, however I'm doing it in small chunks because I'm multi-tasking.
2007-12-07 18:20:34 +00:00
MW e23290eff6 Avatar Appearance refactoring /changes. Added a AvatarAppearance class, each ScenePresence "has" a AvatarAppearance object. All the ScenePresences in a opensim related to one user (so a user's various ScenePresence's in all the regions in that instance) share the same AvatarAppearance object. This means that a user's avatar should appear correctly (to both that user and other users) no matter what border crossing or teleporting they have done.
Note: this mainly improves Standalone mode, as in grid mode the appearance data isn't passed between region servers. Although people should notice a improvement when moving between regions in the same instance.
2007-12-07 17:23:11 +00:00
Sean Dague 7f4d033490 This small patch means that the inventoryserver for grid mode now
retrieves items in the agent's root inventory folder.

From Justin Casey (IBM)
2007-12-07 15:59:26 +00:00
Teravus Ovares cbc8a27b34 * Added class sAgentCircuitData and unmarked AgentCircuitData as Serializable.
* Created converter constructors between sAgentCircuitData and AgentCircuitData
2007-12-07 15:56:16 +00:00
lbsa71 9414d6a1e1 * miniscule changes just to keep myself in synch 2007-12-07 13:49:33 +00:00
Adam Johnson 3d938f76b7 Updates to LibSL revision 1498. Thanks Johan! 2007-12-07 08:54:31 +00:00
Teravus Ovares 57f666497b * Added hacked support for 'anyone can move' and 'anyone can copy'.
* BACKUP YOUR PRIM BEFORE UPDATING TO THIS and then double check the prim permissions after applying it with a different avatar (then the master avatar or the prim owner avatar).
* Also, beware that any objects created under the old permission scheme may react oddly.  They may automatically allow anyone to modify them, (which you'll then have to un-set).  
* It's hacked support because when 'anyone can move is set', any avatar can modify the prim (texture, shape, scale, etc)
2007-12-07 07:42:03 +00:00
Jeff Ames a45118d35e added one more command to the console help. 2007-12-07 02:00:35 +00:00
Sean Dague 9326ee425b added a lock to prevent multiple Timer popping races
on the packet queues.
2007-12-06 21:59:31 +00:00
Sean Dague 1ad83bcf1b reversing the r2599 patch, as this started causing CreateThread errors for
me on Mono 1.2.4, which led to client crashes.  I think the Timer.Stop() 
wasn't doing what was desired on Mono.  The Queue refactoring should address
the readability issues lbsa71 was working on as soon as I get the merge together.
2007-12-06 20:13:02 +00:00
Jeff Ames 73599c0f25 removed obsolete Verbose() function 2007-12-06 18:17:44 +00:00