Commit Graph

74 Commits

Author SHA1 Message Date
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
bushing
cd729bade8 oops
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@590 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-17 02:58:15 +00:00
Michael Cortez
63ca911da5 Body params wasn't correctly detecting some parameters because they didn't specify labels
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@555 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-10 19:08:35 +00:00
Michael Cortez
06e8af7691 Making note that the AssetID only version of the TransferRequest packet does not work for Notecards
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@549 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-10 00:19:51 +00:00
Michael Cortez
450fa36c2c In BodyShapeParams
+ Fixed IsValid
+ Added a function to validate a Dictionary<uint,float> representing a bodyshape
+ Added a function to do a pretty print ToString() for a Dictionary bodyshape

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@548 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-10 00:10:48 +00:00
Michael Cortez
8c4c4d6256 Code for generating the _BodyShapeParams_.cs file, which contains information about body shape parameters mapping IDs to Labels, Names, Min/Max values, etc
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@547 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-09 23:47:47 +00:00
John Hurliman
d54bbd9232 * Moved all the delegates and enumerations I could find inside of parent classes, part of a major cleanup
* Reverted the PathTaper / PathScale code
* Added small bits of xmldoc here and there, trying to clean up now that we have auto-generating docs

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@542 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-09 10:18:03 +00:00
Michael Cortez
b36d92a585 Body part assets are retrieved using a different set of parameters and a different asset source. Started work on adding Body Part asset downloads.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@535 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-08 19:00:01 +00:00
w7cook
9f7cd3bc8c Add option to output packet headers.... but if you turn this option off, upload fails. Must be some kind of race condition.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@534 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-08 14:42:34 +00:00
John Hurliman
28ecfa5976 Updated the entire library (where appropriate) to use LLUUID.Zero, LLVector*.Zero, and LLQuaternion.Unit instead of creating new instances of the class
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@528 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-07 23:30:09 +00:00
Michael Cortez
2e763682e0 Image tool now supports downloading a list of textures provided in a text file, one UUID per line.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@515 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-07 01:17:10 +00:00
w7cook
4d66315cdd Put resend delay back to 2 seconds (I had changed it to 5)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@509 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-05 21:17:25 +00:00
w7cook
da7bcf370f Refactored image upload into a class. Any xfer packet
can now be resent. The upload request is not resent yet.
(I also added the "obj" directories to the SNV-ignore list)



git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@508 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-05 21:05:25 +00:00