Commit Graph

669 Commits

Author SHA1 Message Date
John Hurliman
1b2a61ab67 NameValue is now serializable
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@945 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-03 15:49:07 +00:00
John Hurliman
ac6930cbb7 LLObject uses a SerializableDictionary instead of a Dictionary now
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@944 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-03 15:44:16 +00:00
John Hurliman
aaafde0b9d * TerrainManager no longer returns oversized arrays for 16x16 patches
* Increased some timeout values in SecondLife.Settings to compensate for grid performance issues

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@943 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-03 03:36:51 +00:00
Michael Cortez
2d4984412f Need to call the right method to actually send an AgentSetAppearance packet...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@942 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-03 00:58:38 +00:00
Michael Cortez
01da0e878e AppearanceManager: change the way the wearables ManualResetEvent is defined to possibly solve reported null value error. Also make the old blocking AgentSetAppearance method protected, so people have to switch to BeginAgentSendAppearance()
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@941 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-02 23:17:08 +00:00
John Hurliman
5b04888206 Big performance optimizations to FieldTo*String commands, removed FieldToFilteredString
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@940 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-02 00:45:08 +00:00
John Hurliman
12be647385 Fixed NameValue parsing, cleanups in ObjectManager (especially ObjectUpdateCompressed handling)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@939 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-02 00:19:45 +00:00
John Hurliman
8806e9174c Implemented NameValue parsing
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@938 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-01 18:29:40 +00:00
John Hurliman
4d20c6b945 Upped the maximum limit for variable field sizes to 1500 bytes
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@937 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-01 16:49:37 +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
9ff1583a67 FIXME hack in AvatarManager to work with the new protocol, we need a Flags enum built for AvatarProperties
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@932 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-31 16:17:49 +00:00
John Hurliman
6236919c68 Syncing message_template.msg to aditi in preparation for 1.13.3
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@931 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-31 16:14:34 +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
eef9209c5d * Initial import of LayerData decoding (small land patches only)
* SecondLife.Directory is now properly initialized
* Added BitPack class (and unit test) for decoding an arbitrary number of bytes from a byte array

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@928 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-31 13:46:16 +00:00
Michael Cortez
d733dbb0c8 Allow ObjectManager subclasses to track Avatars too.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@927 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-31 00:47:33 +00:00
Michael Cortez
be18aa94aa ObjectManager: Provide some support to allow new subclassing for object tracking, see http://feathertail.googlecode.com/svn/trunk/Feathertail/Tracker/ObjectOverlord.cs for example.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@926 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-31 00:09:22 +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
18a5f43acf Added a very liberal llVector3.Parse() and .TryParse().
If you feed it 3 numbers with any combinations of arrow brackets, commas or spaces, you should get a vector.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@921 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-30 03:41:37 +00:00
2053ee5430 Helpers.cs: Added Axis2Rot(llVector3 axis) to convert axis rotations to quaternions.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@920 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-30 00:15:30 +00:00
John Hurliman
0db0e3adc2 Added ObjectPropertiesFamily PropertiesFamily; to LLObject
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@919 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-29 22:55:54 +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
c92d399986 Adding missing LLObject.cs file
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@917 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-29 22:31:50 +00:00
John Hurliman
69bc2fe011 Changed Primitive.ObjectPropertiesFamily references to LLObject.ObjectPropertiesFamily
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@916 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-29 22:26:03 +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
b9c6d86c25 Helpers.cs: added RotMag for returning the magnitude of an LLQuaternion rotation, and const doubles DEG_TO_RAD and RAD_TO_DEG.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@914 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-29 21:31:15 +00:00
John Hurliman
f7ee6bb2ee Added handlers for TeleportCancel and TeleportLocal (TeleportLocal isn't 100% complete and I don't know what triggers TeleportCancel)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@913 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-29 05:13:10 +00:00
733011ea98 Removed Client.Self.SetAlwaysRun(bool) and changed all occurrences of it to new bool Client.Self.Status.AlwaysRun property.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@912 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-29 04:38:55 +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
John Hurliman
76fdbc7f80 * Added an LLUUID.Combine() function
* Added NetworkManager.SecureSessionID
* Added a missing SendPacket function for raw payloads to non-current sims
* Documented a few things in NetworkManager

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@910 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-27 09:57:29 +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
a709c25a9f Does post-commit work yet? (comment fix in InventoryManager)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@903 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-25 14:04:23 +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
Michael Cortez
480e32d8fd AppearanceManager: Just removing two unneeded variables since JH switched to using a helper function for my float to byte stuff...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@895 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-25 01:57:26 +00:00
0d884ece39 Fixed missing TransactionID in MainAvatar.AutoPilot
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@892 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-24 02:56:35 +00:00
John Hurliman
f477fde024 Fixed FloatsToTerseStrings and added a unit test proving it works
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@891 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-24 00:45:44 +00:00
John Hurliman
92f4a3ed8f Added UIntToHexString and FloatToTerseString (for creating wearable assets) to Helpers
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@890 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-24 00:32:32 +00:00
Michael Cortez
653aaa05c7 Try preventing a possible race condition in AppearanceManager when sending an AgentSetAppearance.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@889 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-23 22:30:33 +00:00
John Hurliman
04be85d52c Converted AppearanceManager to use the more robust FloatToByte() function
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@888 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-23 04:40:07 +00:00
John Hurliman
5e1509bf0d Changed ParamDictionary references to Params
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@887 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-23 04:32:55 +00:00
John Hurliman
5a640603e5 * Fixed the double initialization of LLUUID data
* VisualParamGenerator outputs a dictionary instead of an array now

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@886 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-23 04:30:43 +00:00
Michael Cortez
74fa8bbb40 Switched to using jhurliman's generated VisualParams...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@885 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-23 04:18:24 +00:00
Michael Cortez
9ca790660f Make sure the AppearanceManager handles failed asset download requests.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@884 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-23 04:16:17 +00:00