Commit Graph

205 Commits

Author SHA1 Message Date
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
John Hurliman
2cbfdfef13 Fixed the TestClient project in VS2005 and more cleanup on Caps
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@860 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-19 13:30:56 +00:00
John Hurliman
b5553ca92e * Updated to the proper message_template.msg and regenerated _Packets_.cs
* Added initial (untested) land searching support to DirectoryManager
* Completely refactored Parcel.cs, moved land directory searching and abstracted out parcel information downloading. Updated to the new protocol
* Added initial (untested) ParcelDownloader class to libsecondlife.Utilities
* Removed dangerous exposed generic lists and parcel downloading state tracking from Region
* Updated the Logout callback to the new protocol

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@859 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-19 13:15:12 +00:00
otakup0pe
77c5088e98 Added patch #1826 & #1825. Cleaned up a few warnings in TestClient. WearCommand, DeleteFolderComand and InventoryCommand all need to cease using InventoryManager.DownloadInventory
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@858 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-19 10:43:30 +00:00
otakup0pe
e085f2ecef I found this one hiding under the bed.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@857 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-19 10:09:23 +00:00
otakup0pe
e5d591a950 Merged in patches #1828, #1833, #1835, #1836, #1832 (c/o omegaworks and happyguy)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@856 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-19 10:05:16 +00:00
John Hurliman
c1963dac5a Merging aditi r853 to the trunk
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@854 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-19 00:33:24 +00:00
Michael Cortez
1c88d7b707 Attempting to rollback changes to not use libsecondlife.utilites for the ImageManager (timeout for large images has been fixed)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@847 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-15 04:36:07 +00:00
John Hurliman
c7732280ae * Cleaned up the Logout code (it works for me now)
* Added the skeleton for the ViewerEffect system and implemented the PointAt effect
* Fixed a critical bug when region handle was not being set for the current Region
* Added the LLColor type, a four byte value made up of R,G,B,A
* Tweaked the Settings values for login and logout
* Switched ImageTool.exe to use libsecondlife.Utilities.ImageManager so that it works (switch it back to the main system when it works again)
* Fixed the build patch in a couple project files

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@845 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-14 21:21:05 +00:00
Michael Cortez
b6f69e79f8 Remove unnecessary dependencies on IA_SimpleInventory, and listen to the Obsolete warning about using DownloadInventory()
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@844 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-14 07:13:05 +00:00
otakup0pe
a7388fbe32 Fixed ?
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@824 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-09 07:10:02 +00:00
otakup0pe
121628d54b Fix for testclient re-org
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@823 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-09 07:02:22 +00:00
otakup0pe
e9765aec88 Whee.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@822 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-09 07:00:57 +00:00
lonecoder
3592d2948b Added AppearanceManager to TestClient
Added DeleteFolderCommand to TestClient
Added WearCommand to TestClient
Organized TestClient Commands


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@820 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-09 05:59:37 +00:00
lonecoder
c9054f3b70 Added full InstantMessageDialog enum info.
Added new InstantMessage override for sending dialog responses.
Added InventoryCommand to TestClient
Added response to InventoryOffer messages for TestClient, but it appears to be cosmetic and has nothing to do with the actual inventory transfer.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@819 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-09 04:56:12 +00:00
John Hurliman
f114e1f151 Initial check-in of DirectoryManager that will handle all directory searches. Classifieds are currently supported but untested
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@813 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-07 11:01:59 +00:00
John Hurliman
d075407a06 * Hacked up slaccountant enough to function again
* Reorganized MainAvatarStatus and added comment skeletons
* All NetworkManager callbacks are protected with try/catch blocks now
* Slight initialization cleanup in Region

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@811 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-07 03:25:26 +00:00
John Hurliman
280fecf75d * CloneProfileCommand clones and activates groups now as well
* Changes in NetworkManager:
 - Removed the exception throwing when a socket is disconnected and replaced it with a warning log message as it's not feasible to try/catch every time a packet is sent out
 - Sequence numbers can automatically be set when sending out raw bytecode packets
 - The sequence number has a lock now to prevent a very rare race condition

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@802 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-05 13:21:55 +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
lonecoder
f17b7d8252 Long shot at fixing CC
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@798 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-04 07:51:26 +00:00
lonecoder
1e8c6b6bad Added Text To Speech Command to TestClient. When activated, client will echo all recieved chat messages out thru the computer's speakers.
Since this requires .Net 3.0 I've left it out of the project by default.  Nant files may need to be edited to exclude it.
To use this: include it in the project and add a reference to the System.Speech.dll

It's like turning off Close Captioning!  All y'all just gotta try it.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@797 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-04 07:48:28 +00:00
lonecoder
241597c00c TestClient: Cleaned up Command->Client references.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@796 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-04 05:41:23 +00:00
Michael Cortez
9fba81b64d Adding a note, so people can find the other samples.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@794 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-03 20:10:14 +00:00
Michael Cortez
40d2f88b65 Too much stuff in main trunk, IMHO -- some of the IA sample code is moving to: http://code.google.com/p/libsl-ia-samples/
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@793 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-03 20:07:48 +00:00
otakup0pe
08af2639ba Merged in patch #1780
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@788 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-03 18:17:31 +00:00
otakup0pe
266ebbfcde Small changes to logout process to deal with a bug in the logout timer.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@785 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-30 03:05:19 +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
John Hurliman
5dfd504cd4 * Fixed a bug in SetAvatarInformation() where the AboutText wasn't being set
* Added FindSimCommand to TestClient that searches for a simulator name and returns the region handle and X/Y coords
* Added CloneProfileCommand to TestClient that demos the avatar profile commands in libsl

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@766 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-27 21:55:35 +00:00
mindtriggerz
0faf97b3dd Added Baba's example Key2Name function.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@762 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-23 02:55:54 +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
7a15519fbc Implemented TestClient's IMCommand using the new Avatars.RequestAvatarNameSearch()
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@760 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-22 17:29:30 +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
otakup0pe
443565835d Minor change due to InventoryManager changes recently. Thx Flexi.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@749 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-21 15:42:20 +00:00
John Hurliman
1788cb1d22 * Refactored TestClient, all Commands now have a reference to the SecondLife class that is in charge of them
* ExportCommand will only export objects owned by the bot (will add master support soon)
* libsecondlife.Tests project file references the latest available NUnit

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@748 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-21 08:53:08 +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
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
lonecoder
fd1e5d6091 Reverted TestClient using AvatarManager for it's avatar list.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@740 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-19 04:16:34 +00:00
John Hurliman
4a29790db2 Reverted r728 on ImportCommand.cs, which broke importing
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@738 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-18 09:23:49 +00:00
John Hurliman
96842bb5d6 * Added libsecondlife.Utilities, for all your awesome code that doesn't directly have to do with moving data between the client and the network
* Renamed the tests folder to libsecondlife.Tests
* More NetworkManager hardening code, should throw less warnings now
* Fixed the solution file (again) to be VS C# Express compatible, and removed a missing project reference

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@737 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-18 01:20:10 +00:00
otakup0pe
befd7027f3 12:58 < makomk> otakup0pe: Ah. I ran into that earlier. Unfortunately, the.csproj refers to SetAppearanceCommand.cs (i.e. the one you just deleted...)..... FIXED
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@731 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-16 17:27:08 +00:00
otakup0pe
eb559ec825 New nant build scans for TestClient commands to compile in. This caused some duplication as SetAppearanceCommand and AppearanceCommand.cs were the same.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@730 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-16 17:02:51 +00:00
otakup0pe
a2a9e5bf8a More documenting. Applied patches #1723 and #1724. Someone test nant build.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@729 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-16 16:51:04 +00:00
lonecoder
acc8ff8eb5 Reworked how TestClient handles multiple logins.
Made TestClient descend from SecondLife.
Exposed the list of Avatars in AvatarManager, because I thought it was doing the same thing as TestClient.Avatars.  I'm no not so convinced of this and will probably revert the changes tomorrow.
Added EchoMaster command as an example of a bot that responds to chat messages.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@728 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-16 09:07:28 +00:00
John Hurliman
70e7aeb0e7 Added ExportOutfit and ImportOutfit commands to TestClient
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@725 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-15 01:05:52 +00:00
otakup0pe
aa6cd597f6 Applied patches #1713 and #1689.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@722 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-14 02:35:59 +00:00
John Hurliman
baae5a17ed * Updated the message_template.msg to 1.13.1.4
* Moved MainAvatar delegates and enums in to the MainAvatar.cs file
* TestClient now stores prims in per-sim dictionaries
* TestClient throttles the connection at login
* OnTeleport callback passes a reference to the current Simulator
* Removed unneeded typecasts to Packet
* AutoPilotLocal() doesn't need the GridRegionData reference
* Disconnects and packets resent multiple times are handled better
* OnNewAvatar is fired for our own avatar as well, and our avatar position is updated all the time now, as well as confirming it's our avatar by UUID instead of name

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@721 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-13 21:15:49 +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