Commit Graph

29 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Michael Cortez
3448e9842a Added asset upload packet time-outs and resending code, also started refactoring AssetManager some.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@499 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-04 00:43:30 +00:00
Michael Cortez
0eb4ab0b7f + Fixed a race condition where the second packet of an image download would come before the initial packet (where the initial packet caused the image buffer to be initialized)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@482 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-03 01:02:08 +00:00
Michael Cortez
6c0b335f85 Trying to get rid of while(){tick tick tick} by using more intelligent threading classes
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@474 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-02 22:28:46 +00:00
w7cook
579dc0d281 Use a ManualResetEvent to wait for upload to be complete, rather than using the busy wait and Tick() functions.
Seems faster, and uses much less CPU.



git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@473 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-02 20:29:33 +00:00
Michael Cortez
f55d44f8a9 + Fixed Image Upload
+ Made Rate for image compression optional and exposed via cmdline in ImageTool

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@472 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-02 20:05:03 +00:00
w7cook
8b98485d41 Fixed problem where only one image could be uploaded.
Also check for conversion errors, allow more types of 
files to be converted. Finally, use TryParse to avoid
exceptions in converting from strings to numbers.



git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@470 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-02 18:01:50 +00:00
John Hurliman
9830bf85e4 On a mad coding spree.
* Implemented AvatarManager, added the async functions
* Rebuilt the key2name functionality
* Fixed and cleaned up a lot of the teleporting code
* More functions implemented in GroupManager
* Renamed SecondLife.Avatar to SecondLife.Self
* Updated the groupmanager example to list group members
* Renamed Form1.cs to AnimationSample.cs

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@386 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-24 11:16:26 +00:00
John Hurliman
59edffffe7 Converted libsecondlife to .NET 2.0, using generic containers exclusively
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@362 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-21 05:53:58 +00:00
bushing
4fa67d3b35 svn:eol-style native is your friend
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@360 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-21 02:52:28 +00:00
John Hurliman
46ee60f13b General cleanup to remove some of the build warnings, mostly XML comment fixing and making public event handlers private. Also changed the asset uploading function to return the new asset ID instead of the transaction ID
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@321 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-17 09:03:28 +00:00
bushing
2c9080561c It's Party Time\! (r213:HEAD)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@279 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-14 05:13:39 +00:00
Michael Cortez
81d6670494 + Fixed a few issues with the Assets and Inventory systems
+ Renamed my utils class, and added unix time to it
+ Fixed the On_Chat event, it was assuming an old packet format

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@222 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-26 20:10:37 +00:00
Michael Cortez
cf448c3e29 Fixing up Asset/Inventory Uploads so they work again.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@218 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-25 21:33:50 +00:00
Michael Cortez
1dcc08735c Centralizing the Asset/Inventory Systems' packets to the main libsecondlife.Packet name space.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@160 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-14 20:23:21 +00:00
Michael Cortez
fb42b3f778 Trying to merge the Asset/Inventory sub-systems into the main libsecondlife project to solve some issues I was having with MSVS
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@156 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-14 19:33:51 +00:00