Commit Graph

243 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
bushing
14185aa638 fixed ParcelDownload example
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1036 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-08 07:05:09 +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
7fce4b984a * Asynchronous CAPS requests, quicker logins and logouts
* BakeLayer constructor takes a dictionary of parameter IDs and values
* Fixed naming inconsistency with events in NetworkManager, SimDisconnectCallback and DisconnectCallback became SimDisconnectedCallback and DisconnectedCallback
* Removed the AnimationSample example from svn, code examples should become TestClient commands

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1002 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-22 18:13:42 +00:00
John Hurliman
49c722fef8 * Cleaned up the GroupManager example program and converted it to use Utilities.AssetManager for more reliable image downloads
* Cleaned up the locking code in the image downloading portion of Utilities.AssetManager
* Added another common CAPS error to the ignore list

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1001 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-22 12:36:31 +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
206497b1c4 Added TerrainHeightAtPoint() proof to the Heightmap example. Click anywhere on the map to get the exact height at that point
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@976 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-12 10:47:38 +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
8bfc5e6ec2 * Added key2name to the MSVC project
* Fixed AvatarTracker name fetching (temporary hack)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@956 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-06 18:21:34 +00:00
John Hurliman
ee4c9fffe1 * Thoroughly reworked and tested the teleporting functions
* Added TeleportFlags and TeleportLureFlags enums
* Killed some noisy debugging from ObjectManager and replaced with a FIXME plea

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@955 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-06 08:30:25 +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
691141a956 * CAPS will auto-retry on 502 errors now, should fix teleporting issues
* Heightmap logs in to the main grid now, and uses a wider height range

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@936 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-01 14:59:42 +00:00
John Hurliman
2c7a9a4bb3 Updated the Heightmap program to spin in a circle, set a high land throttle, draw water, and logout on exit
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@935 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-01 03:46:29 +00:00
John Hurliman
08a66d3780 Misc. fixes for Heightmap program
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@933 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-31 16:30:13 +00:00
John Hurliman
9d23185b24 * Added the Heightmap example program
* Upped the login timeout to 60 seconds

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@930 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-31 16:10:56 +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
55cfdab7c5 Switched ImageTool over to openjpegnet and added a missing reference to the openjpegnet nant file
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@900 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-25 12:42:59 +00:00
John Hurliman
c5e4e04505 Updating nant files for openjpegnet
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@898 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-25 11:57:14 +00:00
John Hurliman
34e1e06769 Converted groupmanager to decode images with openjaspernet
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@897 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-25 11:52:31 +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
John Hurliman
b5553ca92e * Updated to the proper message_template.msg and regenerated _Packets_.cs
* Added initial (untested) land searching support to DirectoryManager
* Completely refactored Parcel.cs, moved land directory searching and abstracted out parcel information downloading. Updated to the new protocol
* Added initial (untested) ParcelDownloader class to libsecondlife.Utilities
* Removed dangerous exposed generic lists and parcel downloading state tracking from Region
* Updated the Logout callback to the new protocol

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@859 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-19 13:15:12 +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
Michael Cortez
1c88d7b707 Attempting to rollback changes to not use libsecondlife.utilites for the ImageManager (timeout for large images has been fixed)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@847 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-15 04:36:07 +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
Michael Cortez
b6f69e79f8 Remove unnecessary dependencies on IA_SimpleInventory, and listen to the Obsolete warning about using DownloadInventory()
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@844 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-14 07:13: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