Commit Graph

474 Commits

Author SHA1 Message Date
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
2829f34d2f Changed the buildfile to include the Utilities file in the singular libsecondlife dll on NAant. This should fix the repo.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@763 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-23 03:00:55 +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
mindtriggerz
0ebe66672f Created GetAvatarName for grabbing an avatar's name from the cache or sim in a blocking manner.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@752 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-22 03:26:00 +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
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
John Hurliman
e6b6d3e3a7 * Fixed a logic bug in Simulator.Disconnect()
* Removed a missing file reference from the libsecondlife project file

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@744 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-20 05:39:19 +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
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
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
48deb42a1b Added InstantMessageDialog.GiveNotecard to IM dialog types
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@739 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-18 18:30:04 +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
mindtriggerz
3b18127435 Added a timer for Status to send AgentUpdates every 500ms, disabled by default.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@736 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-18 01:15:31 +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
otakup0pe
af5a3f0678 It's a thousand pages, give or take a few, I'll be writing more in a week or two.
I can make it longer if you like the style,I can change it round and I want to be a paperback writer,
Paperback writer.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@727 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-16 03:24:05 +00:00
lancej
9bf85d3f02 * Added SittingOn to Avatar. (Same as SittingOn in MainAvatar)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@726 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-15 02:46:07 +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
John Hurliman
c242a3e0c4 Added OnScriptDialog event to MainAvatar for receiving scripted pop-up dialogs
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@724 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-14 22:46:00 +00:00
John Hurliman
a7f066c343 * Changed disconnect callbacks in NetworkManager to events
* Sanity check for sending a zero or negative amount in GiveMoney()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@723 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-14 20:26:51 +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
f4ac2ae8b4 Fixed Agent/SessionID in Status.SendUpdate()
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@720 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-12 00:57:45 +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
John Hurliman
c385a816a5 * Added an event and uint to MainAvatar for tracking whether the avatar is sitting on an object
* Added a NONE flag to AgentUpdateFlags

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@718 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-12 00:44:39 +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
5851753c94 * Added Client.Self.Status.SendUpdate()
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@715 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-11 22:38:02 +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
e3822e6024 * Added MainAvatarStatus class for keeping track of local camera/controls via Client.Self.Status
* Changed MainAvatar to a partial class, shared with MainAvatarStatus.cs

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@713 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-11 21:49:15 +00:00
John Hurliman
8eee09d5fe Fixed a zerodecoding bug introduced in r710
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@712 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-11 20:59:09 +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
John Hurliman
d3bb2fe74f Fixed a zerodecoding bug with appended ACKs
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@710 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-11 11:38:50 +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
otakup0pe
74bbe7a9b2 removed stupid debugging crap. i'm not slow.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@708 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-11 04:31:06 +00:00
otakup0pe
499195eb2a Fixed max IM length bug in TextClient IM command responses (i.e. help command).
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@707 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-11 04:25:35 +00:00
John Hurliman
765fdda1b1 Fixed the sequence-rollover-network-explosion bug (needs confirmation). The sequence number is actually the second, third, and fourth bytes of the packet header, giving it a max value of 16777215, or approximately 26 days of connectivity to a single simulator.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@706 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-11 02:34:04 +00:00
John Hurliman
e8c8852b6b Removed solution folders from the project file, they are not supported in Visual C# Express 2005 (a sad day indeed)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@705 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-11 00:38:36 +00:00