Commit Graph

49 Commits

Author SHA1 Message Date
John Hurliman
3a94792761 * Reworked the Login functions, added documentation and (untested) support for login redirects
* Converted _VisualParam_ back to a static array after further analysis
* Rewrote AppearanceManager to work with the VisualParam rewrite
* Cleaned up ImageTool
* Minor cleanup and FIXME note in name2key.exe
* Cleanup and FIXME note in Teleport.exe
* Reorganized the function naming in GridManager to make more sense (not completely done here)
* Added an enum for requesting the object or terrain layer for the map blocks, and more sun properties
* Made some of the MainAvatar properties read-only (eventually they will all be read-only)
* Added try/catch safeties in openjpegnet
* Finally killed the evil SecondLife.Tick()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@905 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-26 22:01:56 +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
John Hurliman
5201b1c378 Commented everything in research command out as nant isn't setup to link libsecondlife.Utilities in with TestClient?
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@868 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-22 01:18:38 +00:00
John Hurliman
14914a6bbb * Fixed another null reference exception in asset code
* Added a debug logging on/off command to TestClient and a research command that is just a sandbox for random testing
* Fixed the teleport callback
* Added VisualParamGenerator that is like BodyShapeGenerator but different

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@867 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-22 01:15:08 +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
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
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
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
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
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
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
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
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
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
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
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
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