Michael Cortez
636a13f997
Recursive inventory download was queuing up child folders, but not downloading them. [Fixed]
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1003 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-22 23:59:39 +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
Michael Cortez
2896d33f8b
If the first lock doesn't succeed... lock, lock, and lock again?
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@999 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-22 00:09:45 +00:00
Michael Cortez
cac1790e06
InventorySystem: Don't we all just love race conditions... Two more locks. One is probably overly aggressive -- if it effects performance when downloading inventory, it can be locked down a little better.
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@998 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-21 23:55:36 +00:00
Michael Cortez
b709575376
Inventory Manager: Add a lock in case multiple items are received very quickly, which could cause a collection to be modified while enumerating it.
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@997 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-21 21:45:56 +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
John Hurliman
6442eb9fbd
* Changed the InstantMessageCallback to use enums instead of bytes
...
* Fixed several inconsistencies and missing values in the InstantMessageDialog enum
* Consolidated the InstantMessage overrides down to four functions, made the IM behavior closer to the actual client in some cases
* Better handling of CAPS errors on logout
* Added ClickObject
* Fixed incorrect flags setting in Parcel.Update()
* Converted Primitive.ClickAction to an enum
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@990 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-17 01:41:12 +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
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
John Hurliman
a709c25a9f
Does post-commit work yet? (comment fix in InventoryManager)
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@903 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-25 14:04:23 +00:00
John Hurliman
58040e48f8
* Moved ViewerEffect handling to AvatarManager
...
* Reworked the teleport system to get rid of bad Tick and Sleep calls and clean up callback confusion
* Removed the DownloadInventory() command and replaced all usage of it with fixme notes as it was found to be potentially dangerous to simulators
* Updated the VS2005 solution file with openjpegnet and VisualParamGenerator
* Removed a Sleep call from NetworkManager
* Moved SecondLife.Debug boolean to SecondLife.Settings.Debug
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@902 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-25 13:02:20 +00:00
Michael Cortez
b4b9682c85
Added a way to make folder downloads block to block (hide complexity when wanting a simple blocking function.)
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@876 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-23 01:42:00 +00:00
Michael Cortez
2d209f332e
Add a OnInventoryItemReceived event. Example and documentation available at http://code.google.com/p/libsl-ia-samples/
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@875 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-23 01:22:58 +00:00
Michael Cortez
8cb14ab687
Remove more LLUUID.Zero safe checks to allow downloading of Inventory where AssetID was not specified during inventory download.
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@874 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-23 00:13:07 +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
Michael Cortez
a4ddb0d8db
Refactor ObjectManager to allow subclassing. For an example of a subclass see the ObjectOverlord (ObjectManager w/ Object tracking) in the Feathertail project ( http://code.google.com/p/feathertail/ )
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@861 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-19 20:53:05 +00:00
Michael Cortez
b141aa79b0
Asset/Inventory : Lets try this again, and we'll add tests for .Body, and .j2cData
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@849 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-18 01:03:32 +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
6aaaaf4bdd
Need a little if == null, to make sure we don't try to fire asset events if there are no listeners defined.
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@842 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-14 05:27:40 +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
27af449225
Added support to Inventory System for attaching/detaching items
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@838 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-11 20:44:16 +00:00
Michael Cortez
e62ffedacd
(InventoryManager) Shift insertion of downloadrequest into the status collection, to prevent a possible race condition.
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@834 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-11 18:04:18 +00:00
Michael Cortez
4972863a12
Minor documentation and deprecated warning additions for InventoryManager
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@833 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-11 17:53:55 +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
e171607543
Add support to the InventorySystem to RezObjects from Inventory.
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@805 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-06 00:13:39 +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
866b5c55af
Cleared out some unneeded spagetti, so that the folder download completed event will work.
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@803 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-05 18:23:19 +00:00
Michael Cortez
5d5b804292
Add an event for when InventoryFolders finish downloading.
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@801 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-05 02:32:21 +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
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
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
f369c1923a
Needed for that last commit...
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@743 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-19 23:15:29 +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
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
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
b2bc4ae974
More support in iManager for asset downloading.
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@580 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-13 23:29:55 +00:00
Michael Cortez
8d549817f8
+ fixed some ItemID bugs in InventorySystem
...
+ iManager can now display XML output for items, create new notecards, and displays uuid when doing a directory listing
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@545 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-09 19:14:11 +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
9f63919b70
Converting to use TickCount in a few more places, and removing UnixTime
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@538 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-08 21:51:39 +00:00
w7cook
3dd679f936
Resend the ItemCreate packet up to 10 times
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@533 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-08 14:40:55 +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
f001299254
Fixes a bug where ItemID wasn't being set on download, this was causing only the first item in each packet to be received.
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@527 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-07 23:14:19 +00:00