Commit Graph

167 Commits

Author SHA1 Message Date
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
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
7edc76c697 TestClient now builds with nant
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@704 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-11 00:30:18 +00:00
John Hurliman
4881411127 * Helpers.StringToField() returns an empty byte array when given an empty string
* MediaUrl can be set with Objects.SetTextures() now
* TestClient no longer sets appearance at bot login, until the appearance code is more reliable
* Some ImportCommand improvements

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@699 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-09 14:39:17 +00:00
lancej
d109dcc1f8 * ImportCommand now creates prims.
* Added SetTextures, SetLight, SetFlexible functions to ObjectManager.
* Added XML defaults to ParticleSystem and TextureAnimation.
* Fixed an XML default for LLQuaternion.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@698 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-09 07:55:46 +00:00
Michael Cortez
568db5148b Switch to ArrayList & Hashtable due to changes in XML stuff
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@697 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-09 01:23:25 +00:00
John Hurliman
2d45b08478 * Moved the mapgen.bat script to the root and removed the bin dir from svn to prevent nant clean from screwing up the repository
* Removed all the build-dll references in nant files from projects dependent on libsl, should speed up build times at the possible expense of less build-sanity checking
* TestClient uses the new AppearanceManager code at login

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@690 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-07 06:33:43 +00:00
John Hurliman
b5f1a9ac21 Added XML deserialization callbacks to ImportCommand to help debugging
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@689 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-07 01:21:42 +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
438f4043e3 Updated TestClient to take advantage of Helpers.VecDist()
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@685 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-06 00:56:36 +00:00
otakup0pe
01c01722e5 Merged in new testclient command from mindtriggerz.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@682 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-05 03:52:59 +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
otakup0pe
2a5d1750f4 Merged in patch from mindtriggerz.[ Patch #1680 ] Prim Serialization Junk
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@676 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-03 20:00:34 +00:00
John Hurliman
50fc0db56f Packets are exported as a List with Helpers.PacketListToXml() now to make deserialization easier
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@675 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-03 01:50:00 +00:00
John Hurliman
9d153328a5 Added packet serialization, and a demo command for serialization to TestClient called packetlog
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@673 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-02 22:30:36 +00:00
otakup0pe
6f28081c40 Added optional channel support to Say/Shout/Whisper in TestClient.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@670 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-02 03:12:37 +00:00
otakup0pe
f278271ae3 Added shout / whisper
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@669 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-02 02:09:29 +00:00
John Hurliman
fa19b0cf8d * Added ImpotCommand and IMCommand to TestClient (neither are working yet)
* Added documentation to TextureEntry and renamed SetFace() to CreateFace()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@667 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-01 23:32:12 +00:00
John Hurliman
7db025d58c XML export attacks for MASSIVE DAMAGE! Cleaned up the output further, PCode is no longer serialized, and linksets are now supported
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@666 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-01 00:28:53 +00:00
John Hurliman
95adb23b09 PrimObject.ToXml() outputs cleaner XML that is capable of being imported and accurately recreates the exported object (in theory)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@664 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-30 21:13:06 +00:00
John Hurliman
ed6b88a017 libsecondlife:
* Added a SerializableDictionary class, implements a generic Dictionary<,> that can be serialized to xml
* Added all possible values for ObjectFlags to allow serializing
* Added a few initial xml serialization attributes to prim-related classes and structures
* Created ToXml() and FromXml() functions for PrimObject
TestClient:
* ExportCommand exports a single prim to an xml file
* quit and login commands now work when no avatars are logged in

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@662 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-30 03:35:36 +00:00
Michael Cortez
a3b0d55719 output a CSV file with body shape paramid stuff as well.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@659 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-29 20:08:18 +00:00
John Hurliman
1fb53c4778 Removed all the manual GetXml() and FromXml() routines so we can use the .NET framework for (de)serialization instead
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@657 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-29 20:05:19 +00:00
John Hurliman
7a1c5bda5b Added a simple command-line parser to TestClient, it can be expanded later
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@655 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-29 13:41:22 +00:00
lonecoder
5eff25dc40 TestClient: Added LoadCommand that dynamically loads an assembly containing commands.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@654 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-29 09:18:34 +00:00
lonecoder
080d6bf5d2 Updated TestClient to optionally read a master from a file.
Added option for follow command to follow master if no target given.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@653 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-29 06:54:12 +00:00
John Hurliman
be6bcb07a1 More TestClient fixes, more networking tweaks, and AddPrim() no longer sets the TextureEntry field to accomodate for tomorrow's update
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@649 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-29 00:32:25 +00:00
John Hurliman
391ecc645a TestClient can load a list of accounts from a file at the command line now, and a slew of bugfixes
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@647 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-28 17:58:48 +00:00
John Hurliman
f55b8c8d18 libsecondlife:
* Publically exposed the Simulator reference to SecondLife
* SecondLife.Debug = false; actually works now
* All incoming packets are added to the simulator inbox now, and the inbox size has been cut in half to 100
TestClient:
* Completely revamped to support multiple clients
* Added login/logout Commands
* Added the all prefix for IM commands to send the command to all logged in bots

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@645 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-28 07:48:43 +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
otakup0pe
e925557a6b look mah. a svn delete. (finishing patch)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@642 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-28 00:39:32 +00:00
otakup0pe
ed0b027328 Merged patch from mindtriggerz into TestClient
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@641 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-27 23:13:48 +00:00
John Hurliman
c17074a645 primexport:
* Supports libprims and prim.blender output formats now
* Less noisy output, doesn't warn about missing parent prims for attachments
libsecondlife:
* Cleaned up the AgentThrottle class, it's now accessible through SecondLife.Throttle
* Fixed PrimObject null members
* Fixed PrimFlexibleData invalid XML
* Fixed invalid TextureAnimation XML
* Speckled documentation here and there

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@632 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-25 20:25:02 +00:00
John Hurliman
7ea0e0e5c2 * Added GetXml() functions for several of the data types and most all of the prim-related classes
* Added a few FromXml() skeletons with FIXME notes
* Teleport example checks the current region name against "" instead of null (we need a callback here)
* Got rid of an SLProxy warning with an empty set of brackets

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@631 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-25 14:07:29 +00:00
lonecoder
02c54d7f85 Fixed nant build file for TestClient
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@626 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-24 22:28:38 +00:00
lonecoder
a8acb61702 Renamed TestTool to TestClient
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@625 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-24 22:27:15 +00:00