Commit Graph

405 Commits

Author SHA1 Message Date
John Hurliman
6f73835ea8 Removing code that set empty namespaces on the xml output, this may fix the List deserialization issue
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@681 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-05 02:28:59 +00:00
John Hurliman
6e51bfa54d Adding error catching to ZeroDecode and removed the padding hack that shouldn't be relevant any more. Moved SerializableDictionary in to the libsecondlife namespace
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@680 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-05 02:24:28 +00:00
Michael Cortez
962113a0ea Simplify access to the AssetManager so you don't have to use InventoryManager.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@679 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-05 00:21:45 +00:00
Michael Cortez
0c011fc846 + New AppearanceManager to allow you to have your bot's set their appearance based on what is currently set in the data server (*think outfit saved and left "wearing"*)
+ Added code to IManager (IA_InventoryManager) that uses the AppearanceManager, simply log in with Imanager and use the command "getlook" to have your avatar set it's appearance based on what's stored on the data server.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@678 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-05 00:07:30 +00:00
John Hurliman
3dbdbec13b * Added more documentation to Types.cs
* Renamed LLUUID.GenerateUUID() to LLUUID.Random()
* Optimized the type classes hashing functions
* Fixed a bug where source packet data would be modified on big endian platforms when creating type classes
* Normalized the ToString() output of the type classes

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@677 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-04 00:19:58 +00:00
otakup0pe
2a5d1750f4 Merged in patch from mindtriggerz.[ Patch #1680 ] Prim Serialization Junk
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@676 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-03 20:00:34 +00:00
John Hurliman
50fc0db56f Packets are exported as a List with Helpers.PacketListToXml() now to make deserialization easier
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@675 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-03 01:50:00 +00:00
John Hurliman
9d153328a5 Added packet serialization, and a demo command for serialization to TestClient called packetlog
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@673 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-02 22:30:36 +00:00
John Hurliman
1a877f4f6a Removed old build script lying around
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@672 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-02 10:45:28 +00:00
John Hurliman
4f4e0d0afe TextureEntryFace repeatU/V values default to 1.0 now, and the quotes around avatar first/last name bug is fixed
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@671 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-02 10:31:20 +00:00
otakup0pe
6f28081c40 Added optional channel support to Say/Shout/Whisper in TestClient.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@670 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-02 03:12:37 +00:00
otakup0pe
f278271ae3 Added shout / whisper
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@669 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-02 02:09:29 +00:00
otakup0pe
dde0d8ca21 Slowly chipping away at documentation.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@668 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-02 01:59:09 +00:00
John Hurliman
fa19b0cf8d * Added ImpotCommand and IMCommand to TestClient (neither are working yet)
* Added documentation to TextureEntry and renamed SetFace() to CreateFace()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@667 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-01 23:32:12 +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
Michael Cortez
659432feee * Fixed an infinite loop problem when requesting bodyshape Assets
* Added a variable to define XML/Login timeout -- boosted original default of 15 seconds to 60

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@665 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-30 21:19:45 +00:00
John Hurliman
95adb23b09 PrimObject.ToXml() outputs cleaner XML that is capable of being imported and accurately recreates the exported object (in theory)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@664 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-30 21:13:06 +00:00
Michael Cortez
598b36ce68 Move magic numbers for network timeouts out of code into some constants.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@663 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-30 18:47:44 +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
70b10f6cad Raised login timeout from 8sec to 15sec
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@661 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-30 00:48:03 +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
Michael Cortez
a3b0d55719 output a CSV file with body shape paramid stuff as well.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@659 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-29 20:08:18 +00:00
Michael Cortez
e39abbd8f5 Just added a remark indicating that using the GridRegionData member variable may cause a blocking action while that data is retrieved.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@658 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-29 20:06:41 +00:00
John Hurliman
1fb53c4778 Removed all the manual GetXml() and FromXml() routines so we can use the .NET framework for (de)serialization instead
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@657 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-29 20:05:19 +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
7a1c5bda5b Added a simple command-line parser to TestClient, it can be expanded later
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@655 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-29 13:41:22 +00:00
lonecoder
5eff25dc40 TestClient: Added LoadCommand that dynamically loads an assembly containing commands.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@654 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-29 09:18:34 +00:00
lonecoder
080d6bf5d2 Updated TestClient to optionally read a master from a file.
Added option for follow command to follow master if no target given.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@653 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-29 06:54:12 +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
391ecc645a TestClient can load a list of accounts from a file at the command line now, and a slew of bugfixes
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@647 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-28 17:58:48 +00:00
John Hurliman
de56cee137 Minor fixes in NetworkManager
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@646 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-28 07:55:15 +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
otakup0pe
dcdbb6e256 submitted patch from flexi. was experiencing some kind of packet flood on uploads. see http://cl1p.net/kthxcrash/
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@644 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-28 01:47:24 +00:00
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