Commit Graph

42 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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