Commit Graph

100 Commits

Author SHA1 Message Date
Michael Cortez
fe5334c539 Some attempts at hardening and providing a debug path for AppearanceManager
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1040 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-08 23:18:57 +00:00
Michael Cortez
0e82e60c7e * AssetWearable should use TryParse() and default value if failed...
* Provide a ghetto work around for what appears to be a bug in SL introduced during one of the last two grid updates.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1022 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-02 00:29:56 +00:00
Michael Cortez
8899d9b766 * Hack for non US-En locales, to make wearable asset parsing work. There could be other float parsing issues in the system
* Added another optional debug for inventory descendants, to track incomplete folder downloads.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1021 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-01 22:41:31 +00:00
Michael Cortez
844e1e2887 * Fixed a bug in AppearanceManager where textures weren't cleared between outfits (jackets could get left on)
* Going mediaeval on Inventory to try and chase down intermittent failures...

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1019 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-01 00:26:47 +00:00
Michael Cortez
1307675a51 Use a different packet when moving inventory.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1014 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-28 02:19:35 +00:00
Michael Cortez
f341e1e42c Make InventoryManager be slightly more thread smart about downloading folder contents. TODO: Should put locks around all folder accessors to prevent enumerators from blowing up by other threads modifying the contents of a folder while enumerating...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1008 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-24 00:17:42 +00:00
John Hurliman
7fce4b984a * Asynchronous CAPS requests, quicker logins and logouts
* BakeLayer constructor takes a dictionary of parameter IDs and values
* Fixed naming inconsistency with events in NetworkManager, SimDisconnectCallback and DisconnectCallback became SimDisconnectedCallback and DisconnectedCallback
* Removed the AnimationSample example from svn, code examples should become TestClient commands

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1002 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-22 18:13:42 +00:00
John Hurliman
49c722fef8 * Cleaned up the GroupManager example program and converted it to use Utilities.AssetManager for more reliable image downloads
* Cleaned up the locking code in the image downloading portion of Utilities.AssetManager
* Added another common CAPS error to the ignore list

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1001 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-22 12:36:31 +00:00
Michael Cortez
018b2da28e Make creating new folders and receiving item event, slightly more robust.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@996 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-21 21:37:37 +00:00
Michael Cortez
82cfa01f08 Appearance, fixed a timeout bug, and a bug introduced by incorrectly back porting the wearable asset decoder (skin/clothing layer # was being lost)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@983 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-15 21:39:59 +00:00
Michael Cortez
1d8b3fdf67 Attempt to back port jhurliman's wearable asset parsing code into the main trunk.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@982 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-15 00:11:46 +00:00
Michael Cortez
e20d8724f8 AppearanceManager, added some minor locking to prevent a possible race condition.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@981 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-14 21:48:16 +00:00
Michael Cortez
be46bafaa1 More fault tolerance in Asset/Appearance system.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@980 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-14 21:13:10 +00:00
Michael Cortez
ce524caf28 Updating Asset/Inv/Appearance to use some enums, and to be somewhat more fault tolerant.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@979 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-14 20:26:37 +00:00
Michael Cortez
2d4984412f Need to call the right method to actually send an AgentSetAppearance packet...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@942 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-03 00:58:38 +00:00
Michael Cortez
01da0e878e AppearanceManager: change the way the wearables ManualResetEvent is defined to possibly solve reported null value error. Also make the old blocking AgentSetAppearance method protected, so people have to switch to BeginAgentSendAppearance()
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@941 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-02 23:17:08 +00:00
John Hurliman
e7843229e9 * Refactored PrimObject and Avatar in to Primitive and Avatar that inherit from LLObject, major restructure
* Latest version of Utilities.Appearance
* Rolled ImageManager in to AssetManager in Utilities.Assets, plus bugfixes
* Added sanity checks to the AgentThrottle stream values
* Added a function to convert a ulong to an LLUUID (for a weird situation with the Xfer system)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@915 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-29 22:20:12 +00:00
John Hurliman
3a94792761 * Reworked the Login functions, added documentation and (untested) support for login redirects
* Converted _VisualParam_ back to a static array after further analysis
* Rewrote AppearanceManager to work with the VisualParam rewrite
* Cleaned up ImageTool
* Minor cleanup and FIXME note in name2key.exe
* Cleanup and FIXME note in Teleport.exe
* Reorganized the function naming in GridManager to make more sense (not completely done here)
* Added an enum for requesting the object or terrain layer for the map blocks, and more sun properties
* Made some of the MainAvatar properties read-only (eventually they will all be read-only)
* Added try/catch safeties in openjpegnet
* Finally killed the evil SecondLife.Tick()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@905 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-26 22:01:56 +00:00
Michael Cortez
480e32d8fd AppearanceManager: Just removing two unneeded variables since JH switched to using a helper function for my float to byte stuff...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@895 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-25 01:57:26 +00:00
Michael Cortez
653aaa05c7 Try preventing a possible race condition in AppearanceManager when sending an AgentSetAppearance.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@889 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-23 22:30:33 +00:00
John Hurliman
04be85d52c Converted AppearanceManager to use the more robust FloatToByte() function
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@888 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-23 04:40:07 +00:00
John Hurliman
5e1509bf0d Changed ParamDictionary references to Params
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@887 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-23 04:32:55 +00:00
Michael Cortez
74fa8bbb40 Switched to using jhurliman's generated VisualParams...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@885 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-23 04:18:24 +00:00
Michael Cortez
9ca790660f Make sure the AppearanceManager handles failed asset download requests.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@884 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-23 04:16:17 +00:00
Michael Cortez
4776f091c9 Add support for asynchronous AgentSetAppearance by calling BeginAgentSendAppearance()
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@883 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-23 04:08:28 +00:00
John Hurliman
dcc915a769 Fixed the documentation for AssetSystem.AssetPacketHelpers.TransferRequest()
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@877 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-23 02:05:41 +00:00
Michael Cortez
c1c9e80a1f Allow AssetID to be LLUUID.Zero for scripts, since the asset ID is no longer supplied when downloading inventory. This may be a problem with other assets :-(
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@873 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-22 23:45:11 +00:00
John Hurliman
14914a6bbb * Fixed another null reference exception in asset code
* Added a debug logging on/off command to TestClient and a research command that is just a sandbox for random testing
* Fixed the teleport callback
* Added VisualParamGenerator that is like BodyShapeGenerator but different

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@867 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-22 01:15:08 +00:00
John Hurliman
b67c837838 * Added a big endian byte to uint converter
* More work on my asset manager
* Fixed the UTF8 string conversion
* Caps.Dead is an internal variable now
* Fixed endianness in the teleporting routine

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@864 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-20 09:13:46 +00:00
Michael Cortez
56bf12b088 Asset System: Fixing System.NullReferenceException bug
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@848 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-18 00:20:55 +00:00
Michael Cortez
0caf38bd0f Changed implementation of image download timeout. Now only times out if a packet for the image hasn't arrived in the last 10 seconds. It also now correctly reports the timeout, rather then just dying with an empty error string.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@846 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-15 04:23:52 +00:00
Michael Cortez
54caae3a54 Last one actually fixed the Inventory Event mechanism, not the asset one -- which this should fix.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@843 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-14 05:36:34 +00:00
Michael Cortez
3ebfbf4b79 Asset System work... Refactoring, documentation, making more sub-class friendly, and oh yeah -- Asset Downloading no longer requires blocking, and timeouts have been added through-out.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@840 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-13 00:23:00 +00:00
Michael Cortez
fd02e78e1c line endings...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@831 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-11 02:24:57 +00:00
John Hurliman
1bc0fc5f5a Updating some more enums, ObjectFlags is complete and there is a (currently unused) WearableType in AppearanceManager now
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@829 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-09 09:47:45 +00:00
otakup0pe
8d453803ec Cleaned up a few build warnings.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@825 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-09 07:19:44 +00:00
Michael Cortez
1faaa2cef4 Inventory: Refactoring, Documentation, and work on providing more control and stability in tracking inventory.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@804 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-05 22:38:15 +00:00
John Hurliman
11b96964f7 * AssemblyInfo matches the auto-generated one more closely
* Removed a lot of SinkFee cruft from AssetManager, the Settings class is used now
* Enough sanity checks in ImageManager to keep it from constantly exploding on me
* Added GivenPositive and GivenNegative to the ratings structure for Avatars
* Added group lookup support for avatars. The callback format will change slightly soon
* HelpCommand in TestClient is more readable
* Sanity check in TestClient IM callback, may close an open bug
* Committing all of my latest modifications to AvatarTracker, it's fairly useful now
* Fixed the documentation of Self.SetHeightWidth(); it actually tells the server the dimensions of the viewer window, nothing to do with Avatars
* Added Self.ActivateGroup()
* Changed some "" to String.Empty

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@800 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-05 00:10:36 +00:00
otakup0pe
1f95cb5558 r787 redux
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@790 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-03 18:54:14 +00:00
otakup0pe
34648ea108 Merged in patches 1796 & 1795. Who likes scripts? I don't think I need to change the nant process.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@787 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-03 17:55:31 +00:00
Michael Cortez
13cda9165f + Some inventory/asset documentation
+ Changing getFolder to GetFolder to match with rest of library.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@784 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-29 17:59:48 +00:00
Michael Cortez
3a703eff19 Baby Steps part deux, Allow the adding of individual items to your current outfit.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@761 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-22 17:34:00 +00:00
John Hurliman
b3fc7de42f * Moved several stranded delegates and enums inside parent classes
* Updated the various clients to reflect the moved delegates and enums
* Redid Avatar, AvatarManager, and MainAvatar almost from the ground up
* Moved the avatar caching to AvatarTracker in libsecondlife.Utilities, AvatarManager only does lookups now
* Added support for fuzzy avatar searching through the Picker packets (alternative to directory searches)
* Added a unit test for AvatarTracker.GetAvatarName()
* Removed unused references from SLProxy
* Whitespace reformatting in ImageManager
* Renamed Tests.cs to NetworkTests.cs to reflect its contents properly

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@754 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-22 15:28:33 +00:00
Michael Cortez
13fa436199 Baby Steps... WearOutfit() now keeps your current body info (Shape, Skin, Eyes, Hair) if the outfit folder doesn't specify replacements.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@753 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-22 15:24:20 +00:00
Michael Cortez
4a68f70b00 More work on the Inventory/Asset/AppearanceManager code... there is now a WearOutfit() function.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@751 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-22 00:21:54 +00:00
John Hurliman
2c6a5d463a Small typo fix for the broken compile, and removed some commented out code of mine in TestClient
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@747 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-20 23:55:13 +00:00
John Hurliman
090eb2c066 * Changed most of the Console.WriteLine() calls to SecondLife.Log() or .DebugLog()
* Updated the TextureEntry creation to properly display jackets (shoes may still be missing, not sure)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@746 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-20 23:50:35 +00:00
Michael Cortez
3c76af707d + Bring wearable Assets and Inventory items into the same framework as all the rest of the I&A stuff
+ Updated iManager LS/DIR command to support displaying of /assetid /itemid /type

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@745 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-20 22:19:52 +00:00
Michael Cortez
b686cebf3d Begining major rework of Asset/Inventory code. Doing a lot of refectoing. What's in here so far?
+ Inventory, Asset and Image managers are now directly apart of the SecondLife class
+ Root Inventory folder has been added to MainAvatar and is set upon login
+ Inventory is no longer downloaded all at once, you have to request the download of individual folders
+ Folder downloading is available Asynchronously, and returns a object that has a ManualResetEvent that you can use to optionally block with
+ The code for AssetManager has been reworked some in prep for allowing Wearables to be Saved/Loaded to/from disk, and for creating new wearables.


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@742 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-19 23:13:04 +00:00
Michael Cortez
df1ac0424f Make AssetManager attempt to deal with potentially stale SecondLife instances
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@741 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-19 18:32:59 +00:00