Commit Graph

87 Commits

Author SHA1 Message Date
John Hurliman
142d5b75fe * Fixed Utilities.ParcelDownload so more than one parcel is returned
* Converted ParcelDownload example to a TestClient command, ParcelInfoCommand
* Removed weird SLProxy project called Proxy
* Cleaned up SayCommand

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1041 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-09 05:02:31 +00:00
John Hurliman
9b304de160 * Removed superfluous empty quotes from ToString methods in _Packets_.cs
* Rewrote GroupManager to use public events like the rest of the library
* Renamed ExportScriptCommand to ExportParticlesCommand
* TestClient converts Windows line endings to UNIX style when sending reply IMs
* Fixed a counting bug and an endian bug in object update parsing
* Velocity and Accleration are now properly set in object update parsing

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1015 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-28 03:47:46 +00:00
John Hurliman
33bb5e06b9 Changed the example code to properly use the automatic AgentThrottle (throttle values need to be set before the client logs in)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1013 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-27 23:57:36 +00:00
John Hurliman
20cda34fd0 * Added several new unpacking functions to BitPack
* Added the ExportScript command to TestClient, for fword
* Added a skeleton function for handling ParticleSystem ObjectUpdate blocks
* Rewrote the ParticleSystem class, binary unpacking now uses the BitPack class and everything has been renamed
* LLColor now stores floats instead of bytes
* Minor memory optimizations in some of the basic type classes

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1011 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-27 10:07:50 +00:00
John Hurliman
dc370a972b * Added alpha mask resources to the library for appearance baking
* Changed the MSVC project file and NAnt build file to compile alpha mask resources in
* Added libsecondlife.BakeLayer for compositing bakes
* Utilities.AppearanceManager now handles pre-bake image downloading
* Can send reliable AgentUpdate packets with MainAvatar.Status now
* Bugfix in DumpOutfitCommand
* Better CAPS error handling

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@994 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-20 03:29:44 +00:00
John Hurliman
a3da38bad5 Adding openjpegnet to the TestClient nant build file
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@993 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-17 02:07:21 +00:00
John Hurliman
39d8812483 Adding DumpOutfitCommand (dump outfit textures to the hard drive), MD5Command (for converting passwords in to MD5 hashes), and removing ResearchCommand
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@992 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-17 02:00:01 +00:00
John Hurliman
6442eb9fbd * Changed the InstantMessageCallback to use enums instead of bytes
* Fixed several inconsistencies and missing values in the InstantMessageDialog enum
* Consolidated the InstantMessage overrides down to four functions, made the IM behavior closer to the actual client in some cases
* Better handling of CAPS errors on logout
* Added ClickObject
* Fixed incorrect flags setting in Parcel.Update()
* Converted Primitive.ClickAction to an enum

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@990 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-17 01:41:12 +00:00
John Hurliman
e92257ba8d * Added BuyObject and SelectObject
* Simplified the login call in some of the samples
* Converted OnChat to use enums instead of bytes
* TestClient uses MainAvatar.Status instead of sending it's own AgentUpdate packets now
* Slight cleanups to MainAvatarStatus
* Consolidated the DefaultLoginValues functions and added another Login override
* Converted two foreach loops in NetworkManager to for loops for performance
* Duplicate and resent packets are logged at Debug level now

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@984 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-15 22:13:44 +00:00
John Hurliman
7265df1b5c Applying patch from issue 45, TestClient.build doesn't compile commands in subdirectories
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@958 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-06 21:06:16 +00:00
John Hurliman
f8534129a1 Everything changed. Clever commit message TBA
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@952 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-06 00:08:51 +00:00
John Hurliman
766734e546 * Added ObjectProperties to LLObject
* Renamed Avatar.Properties to Avatar.AvatarProperties to avoid a naming conflict
* ExportCommand exports ObjectProperties now
* Applied patch from issue 27, reworked ImportCommand

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@949 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-04 19:52:14 +00:00
John Hurliman
a3967ab4d4 Applied patch from issue 31, upgraded ExportCommand (although ObjectProperties exporting isn't supported yet)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@948 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-03 23:26:49 +00:00
John Hurliman
2c54052d63 RegisterCommand() is now public
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@946 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-03 16:30:14 +00:00
John Hurliman
769fc1e80a Fixed two decoding bugs with ObjectUpdateCompressed packets. If anyone feels like being awesome, add support for foliage decoding to ObjectUpdateCompressed!
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@925 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-30 23:13:02 +00:00
jef
855ee07465 Testclient works again. Someone add it to the M$ solutions and monodevelop.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@924 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-30 20:07:18 +00:00
John Hurliman
2a29dc70ee * Part two of the major object restructuring
* Fixed a bug with the LogoutTimer not dying
* Major surgery on how objects are decoded off the wire, handles more cases now
* Added support for lots more object and primitive parameters
* Added several new Helpers functions for converting bytes to values

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@923 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-30 12:47:47 +00:00
John Hurliman
d8696e2ae0 Added TouchCommand to the project file for TestClient and updated it to the latest codebase
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@918 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-29 22:40:07 +00:00
John Hurliman
e7843229e9 * Refactored PrimObject and Avatar in to Primitive and Avatar that inherit from LLObject, major restructure
* Latest version of Utilities.Appearance
* Rolled ImageManager in to AssetManager in Utilities.Assets, plus bugfixes
* Added sanity checks to the AgentThrottle stream values
* Added a function to convert a ulong to an LLUUID (for a weird situation with the Xfer system)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@915 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-29 22:20:12 +00:00
jef
928660b958 Added Simulator.Dilation, and corresponding dilation command in testclient
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@911 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-27 10:16:21 +00:00
jef
245597788d Two new options for testclient. --contact is now required and --start is optional.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@909 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-27 08:23:17 +00:00
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
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
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
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
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
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
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
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