Commit Graph

86 Commits

Author SHA1 Message Date
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
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
John Hurliman
28670e09fe Added a Settings class
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@711 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-11 12:46:58 +00:00
bushing
af5b757e86 cleaned up warnings
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@709 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-11 09:36:52 +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
John Hurliman
3dbdbec13b * Added more documentation to Types.cs
* Renamed LLUUID.GenerateUUID() to LLUUID.Random()
* Optimized the type classes hashing functions
* Fixed a bug where source packet data would be modified on big endian platforms when creating type classes
* Normalized the ToString() output of the type classes

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@677 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-04 00:19:58 +00:00
Michael Cortez
659432feee * Fixed an infinite loop problem when requesting bodyshape Assets
* Added a variable to define XML/Login timeout -- boosted original default of 15 seconds to 60

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@665 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-30 21:19:45 +00:00
otakup0pe
dcdbb6e256 submitted patch from flexi. was experiencing some kind of packet flood on uploads. see http://cl1p.net/kthxcrash/
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@644 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-28 01:47:24 +00:00
qode
3b3a552317 *added BodyPart -> Byte[] functionality
*added a (byte[]) constructor to the BodyPart class 

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@593 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-18 16:00:31 +00:00