Commit Graph

36 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
de6be98eae Shhhh. Don't tell Qode, but I forgot to face it actually specify that Face ID it was that was having problems...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@719 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-12 00:49:33 +00:00
Michael Cortez
6938c0335b It ain't broke, I didn't see it broke, it could never be broke. So ... it Ain't!!!
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@717 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-12 00:23:46 +00:00
Michael Cortez
8da8e4d314 Calculate Size vector based on VisualParam values
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@716 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-12 00:17:26 +00:00
Michael Cortez
ca6ef98efc + Added in the order for 3 more layers of the avatar textures as submitted by (Myrddin Ambrose)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@714 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-11 22:33:11 +00:00
Michael Cortez
7ab14b8ed0 AppearanceManager is closer to 95% working... Only thing missing is the order of some of the textures (faces 8-11, and 16, 17) and how to get the LLVector3 for Size.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@686 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-06 03:30:00 +00:00
Michael Cortez
11e0420d1c + Added code to handle asset info packets arriving *after* asset data has started to arrive.
+ Fixed a bug that was resulting in incorrect visualparam values.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@683 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-05 23:01:06 +00:00
Michael Cortez
962113a0ea Simplify access to the AssetManager so you don't have to use InventoryManager.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@679 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-05 00:21:45 +00:00
Michael Cortez
0c011fc846 + New AppearanceManager to allow you to have your bot's set their appearance based on what is currently set in the data server (*think outfit saved and left "wearing"*)
+ Added code to IManager (IA_InventoryManager) that uses the AppearanceManager, simply log in with Imanager and use the command "getlook" to have your avatar set it's appearance based on what's stored on the data server.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@678 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-05 00:07:30 +00:00