Commit Graph

93 Commits

Author SHA1 Message Date
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
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
539a4863fd Fixing broken XML comments all over the place
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@987 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-16 00:50:19 +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
jef
23366eb629 I must be drunk again. Reverted.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@974 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-11 17:09:04 +00:00
jef
0a7d6775b8 Small change. Simulator.Dilation is always available now regardless of callbacks being registerd or AlwaysDecode
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@973 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-11 16:05:58 +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
65e1e8d30f Adding ObjectProperties support (closing issues 28 and 29)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@947 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-03 20:34:49 +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
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
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
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
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
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
e60a803dce * Added a FieldToUTF8String method and converted some of the MainAvatar functions to use it as an experiment (needs testing!)
* Added try/catch blocks around the callbacks in ObjectManager

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@863 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-19 23:19:45 +00:00
Michael Cortez
a4ddb0d8db Refactor ObjectManager to allow subclassing. For an example of a subclass see the ObjectOverlord (ObjectManager w/ Object tracking) in the Feathertail project (http://code.google.com/p/feathertail/)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@861 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-19 20:53:05 +00:00
Michael Cortez
27af449225 Added support to Inventory System for attaching/detaching items
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@838 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-11 20:44:16 +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
lancej
9bf85d3f02 * Added SittingOn to Avatar. (Same as SittingOn in MainAvatar)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@726 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-15 02:46:07 +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
c385a816a5 * Added an event and uint to MainAvatar for tracking whether the avatar is sitting on an object
* Added a NONE flag to AgentUpdateFlags

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@718 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-12 00:44:39 +00:00
bushing
af5b757e86 cleaned up warnings
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@709 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-11 09:36:52 +00:00
John Hurliman
bd632a0584 Applied JesseMalt's patch for requesting object properties (name, owner, permissions, etc)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@703 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-10 11:27:28 +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
lonecoder
d7931495d7 Fixed Prim Deserialization. The problem was with LLUUID.ReadXml not moving the reader position up, so anything read after that would be corrupt.
Changed vector types to structs.  LLUUID should probably be changed to a struct as well.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@694 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-08 09:06:13 +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
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
lonecoder
b81cb88b39 Added RegionsByHandle dictionary to GridManager
Added RegionHandle field and GridRegion property to PrimObject


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@660 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-29 20:30:06 +00:00
John Hurliman
b025d0f1fb Merged the updates from the aditi branch in preparation for 1.13, and converted all the newline characters in mapgenerator to Environment.NewLine
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@656 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-29 14:44:23 +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
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
John Hurliman
c17074a645 primexport:
* Supports libprims and prim.blender output formats now
* Less noisy output, doesn't warn about missing parent prims for attachments
libsecondlife:
* Cleaned up the AgentThrottle class, it's now accessible through SecondLife.Throttle
* Fixed PrimObject null members
* Fixed PrimFlexibleData invalid XML
* Fixed invalid TextureAnimation XML
* Speckled documentation here and there

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@632 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-25 20:25:02 +00:00
John Hurliman
7ea0e0e5c2 * Added GetXml() functions for several of the data types and most all of the prim-related classes
* Added a few FromXml() skeletons with FIXME notes
* Teleport example checks the current region name against "" instead of null (we need a callback here)
* Got rid of an SLProxy warning with an empty set of brackets

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@631 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-25 14:07:29 +00:00
John Hurliman
c947930192 * Added a CompressedFlags bitflag enum
* More debugging output in ObjectManager so we can nail down the remaining issues
* Prims, attached prims, avatars, and trees/grass (foliage) all have separate callbacks now. Prims and attached prims might be combined again since there are some design issues with attached linksets

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@620 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-22 13:21:21 +00:00
John Hurliman
12f256a1fe Moved the permissions enums to Helpers instead of ObjectManager
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@614 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-21 20:08:58 +00:00
John Hurliman
019d1397fa Typecast ObjectFlags.CreateSelected to a uint
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@578 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-13 10:38:56 +00:00
John Hurliman
d73699c7db * Unit tests for PrimObject byte and float conversion functions (most of them are broken right now)
* Removed the RezObject function which has been replaced by AddPrim

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@577 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-13 10:36:43 +00:00
lancej
321be8926c * Added SetPosition, SetRotation, AttachObject, DetachObjects functions to ObjectManager and made CopyBot use them.
* Fixed a bug involving TerseUpdateHandler and TextureEntry.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@574 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-13 08:52:41 +00:00
John Hurliman
ac7add070e Added an Animate() function, and less debugging noise in CopyBot
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@573 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-13 07:46:22 +00:00
John Hurliman
8b0952ccfc * AddTree and AddGrass methods
* Added default constructors for more of the prim parameter classes and initialize them in the default prim constructor. Should reduce null reference issues
* TextureEntry.ToBytes() correctly handles null DefaultTexture

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@572 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-13 05:36:52 +00:00
John Hurliman
3ced78e8ff CopyBot:
* More aggressive AgentUpdate timer
* Workaround hack for prims appearing in the wrong position for other clients
* Fixed ViewerEffect handling to copy over multiple Effect blocks, and never send ViewerEffect packets with no blocks (which will crash the sim)
* CopyBot will rotate to face the original avatar (kind of, needs refining)
libsecondlife:
* Added an enum for AttachmentPoint
* Couple additional sanity checks for null simulators after disconnecting
* Can build a quaternion from normalized X/Y/Z only now

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@569 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-12 11:33:42 +00:00
John Hurliman
4274589e15 Attempting to fix PathSkew and PathTaper float methods
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@563 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-11 22:54:43 +00:00
bushing
d1496430da switch() is your friend, yo
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@562 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-11 09:03:17 +00:00
lancej
0fcb2e3b72 * Added handling of UpdateFlags.
* Added functions AddPrim, LinkPrims, SetPermissions to ObjectManager.
* Implemented ToBytes for TextureEntry.


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@550 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-10 09:50:54 +00:00