Commit Graph

372 Commits

Author SHA1 Message Date
John Hurliman
3d8e7fd39c Initial skeleton of the FromXml() function for PrimObject
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@643 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-28 01:38:13 +00:00
otakup0pe
e925557a6b look mah. a svn delete. (finishing patch)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@642 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-28 00:39:32 +00:00
otakup0pe
ed0b027328 Merged patch from mindtriggerz into TestClient
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@641 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-27 23:13:48 +00:00
John Hurliman
41c7c30b41 UnACKed packets are resent after 2500ms
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@640 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-27 21:51:28 +00:00
John Hurliman
ace66cb497 Header flags can properly be set to true and false now
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@639 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-27 21:47:40 +00:00
John Hurliman
4805c41383 Added a unit test for the setting and reading packet header flags
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@638 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-27 21:42:46 +00:00
John Hurliman
d1b0da66d1 * A single buffer is reused for zerocoding outgoing packets now
* Various cleanups in NetworkManager
* Added small bits of documentation in SecondLife.cs

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@637 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-26 23:42:20 +00:00
36e49e4506 Re-fixed RotBetween
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@636 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-26 20:13:34 +00:00
22ae68363d Fixed RotBetween (made it public)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@635 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-26 20:05:45 +00:00
e2269b98b1 Added Helpers.RotBetween(llVector3 a, llVector3 b) - Still needs more extensive testing to verify accuracy
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@634 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-26 19:07:41 +00:00
7a9e1be92c Fixed Helpers.VecNorm
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@633 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-26 04:05:09 +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
c4c39eab80 Added Self.GrabUpdate(LLUUID objectID, LLVector3 grabPosition)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@630 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-25 05:24:28 +00:00
e21c38b4cd Added Self.Grab(uint objectLocalID) and Self.DeGrab; Changed Self.Touch to use them.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@629 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-25 03:15:33 +00:00
7fc15eee2a Avatar.cs: Added Self.Touch(uint objectLocalID, llVector3 offset)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@628 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-25 00:53:51 +00:00
lonecoder
02c54d7f85 Fixed nant build file for TestClient
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@626 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-24 22:28:38 +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
lonecoder
84ff554cbb TestTool:
Fixed Follow Command
Added Who Command
Added Think method that gets called once per second on active commands so that Follow could be properly implemented.


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@624 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-24 22:15:13 +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
lonecoder
c7fc80bb41 Added robust command line argument system to TestTool
Fixed FollowCommand so that it sorta works.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@619 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-22 08:20:02 +00:00
lonecoder
3c78099ed5 Checked in a slightly broken Follow command for TestTool
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@618 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-22 00:46:33 +00:00
lonecoder
3fb3c976c8 Initial Commit of TestTool
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@615 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-22 00:09:31 +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
Latif Khalifa
814db8ff45 * Changed Packet.BuildPacket to take an existing byte buffer for zerodecoding packets to avoid initializing a new buffer every packet. Added one zerobuffer per simulator to NetworkManager
* Cleaned up sldump slightly, added a "seconds to run" option to the command-line
* Cleaned up the AgentThrottle class, renamed variables to proper casing

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@611 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-21 15:24:17 +00:00
axial
c4c670f52a InvariantCulture fix for libsecondlife-cs/XmlRpc/XmlRpcDecoder
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@608 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-20 05:20:35 +00:00
axial
0004af9114 applying Stefan / Duplo's InvariantCulture patch for libsecondlife-cs/NetworkManager
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@607 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-20 04:57:35 +00:00
98be4c1791 Added Helpers.VecMag(LLVector3 vector) and VecNorm(LLVector3 vector)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@605 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-20 03:16:08 +00:00
eba5c34ef4 Added VecDist(LLVector3 pointA, LLVector3 pointB)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@604 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-20 00:34:23 +00:00
98acd40aa2 Added SetAlwaysRun(bool running)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@603 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-19 22:48:15 +00:00
qode
3b3a552317 *added BodyPart -> Byte[] functionality
*added a (byte[]) constructor to the BodyPart class 

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@593 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-18 16:00:31 +00:00
bushing
cd729bade8 oops
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@590 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-17 02:58:15 +00:00
bushing
fac7d7b634 Qode: *Added the BodyPart class to the trunk and to the libsecondlife.csproj file
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@589 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-16 12:32:44 +00:00
bushing
7fd738ed94 Added full AgentThrottle support
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@585 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-14 16:03:06 +00:00
Michael Cortez
8697a9cebb Just a quick instruction change for the getasset command in iManager
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@581 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-13 23:34:31 +00:00
Michael Cortez
b2bc4ae974 More support in iManager for asset downloading.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@580 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-13 23:29:55 +00:00
John Hurliman
b467febfde All the PrimObject unit tests succeed now
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@579 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-13 10:53:01 +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
93b309d61f * Fixed PathEndByte
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@576 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-13 10:09:28 +00:00
John Hurliman
3c949b36b6 Added a partially complete PrimObject.ToString() to help with debugging
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@575 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-13 09:56:13 +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
1afcab8952 libsecondlife was building to the wrong directory with the VS solution
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@568 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-12 06:07:27 +00:00
John Hurliman
6824062ab0 Added our license to the readme
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@566 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-12 02:08:58 +00:00
John Hurliman
2ee4403238 * Added Self.TeleportLureRespond()
* Added a ToString() method for Simulator
* Fixed teleporting to a new region and AgentUpdates in CopyBot

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@565 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-12 01:49:47 +00:00
John Hurliman
d397ea1b18 Check for client sequence number rollover
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@564 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-12 00:43:48 +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