Commit Graph

704 Commits

Author SHA1 Message Date
bushing
fe25a0fa62 Added a lil bit of code to the whole ping thing
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1043 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-09 19:42:42 +00:00
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
Michael Cortez
fe5334c539 Some attempts at hardening and providing a debug path for AppearanceManager
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1040 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-08 23:18:57 +00:00
Michael Cortez
ac0638a0d3 Added new OnMoneyBalanceReplyReceived event, to monitor MoneyBalanceReplies which are sent in response to MoneyBalanceRequest Packets as well as automatically generated when your account has a transaction.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1039 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-08 22:20:36 +00:00
bushing
313c571ef4 Started adding a latency-detection routine; off by default.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1038 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-08 21:36:19 +00:00
bushing
68ffd3374b added hooks to measure network traffic
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1037 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-08 08:26:29 +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
bushing
d315dcc4ce fix for 502 error
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1035 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-07 22:47:21 +00:00
John Hurliman
14b15d556a Fixing an interlacing error with LayerData packet creation
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1034 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-07 04:41:21 +00:00
bushing
be3a0a23cc fixed up ParcelDownloader
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1033 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-06 12:19:10 +00:00
bushing
579ef8ffdd made ParcelDownloader data structures public
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1032 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-06 08:49:31 +00:00
Michael Cortez
21cf8d82a3 Double the length of the wait time between inventory receive item/folder retries. The darn thing is bound to arrive sooner or later...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1031 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-05 23:37:47 +00:00
Michael Cortez
4ba3857b51 Make it so you can't queue multiple, duplicate requests for the same folder. Attempts to queue duplicate requests, will return a reference to the existing request in the queue.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1030 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-05 23:00:03 +00:00
Michael Cortez
510d046481 Bug fix, for the inventory descendant bug work around...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1029 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-05 21:59:27 +00:00
38769332b1 * Tidying up last commit
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1028 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-05 21:00:10 +00:00
4684ba7d51 * Added HUD attachment points to ObjectManager.AttachmentPoint
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1027 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-05 20:52:42 +00:00
John Hurliman
cff05b288e Applying modified patch from Jesse Malthus for issue 62, adding parcel downloaded event to libsecondlife.Utilities.ParcelDownloader
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1025 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-03 22:45:46 +00:00
John Hurliman
6c67ffcec8 * Added public properties to BitPack for getting at the Data and current bit/byte positions
* Added a BitPacking unit test
* Added initial LayerData packet creation to TerrainManager, doesn't appear to work 100% correctly yet

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1024 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-02 21:01:36 +00:00
Michael Cortez
0e82e60c7e * AssetWearable should use TryParse() and default value if failed...
* Provide a ghetto work around for what appears to be a bug in SL introduced during one of the last two grid updates.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1022 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-02 00:29:56 +00:00
Michael Cortez
8899d9b766 * Hack for non US-En locales, to make wearable asset parsing work. There could be other float parsing issues in the system
* Added another optional debug for inventory descendants, to track incomplete folder downloads.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1021 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-01 22:41:31 +00:00
Michael Cortez
844e1e2887 * Fixed a bug in AppearanceManager where textures weren't cleared between outfits (jackets could get left on)
* Going mediaeval on Inventory to try and chase down intermittent failures...

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1019 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-01 00:26:47 +00:00
John Hurliman
94a8874793 * Bugfixes in BitPack packing
* Changed a locking order in Caps
* Fixed a stack trace destruction bug in ProtocolManager

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1018 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-28 20:44:02 +00:00
John Hurliman
a393bde83c Added another sanity check in InventoryManager for failed incoming folder requests
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1017 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-28 05:16:00 +00:00
John Hurliman
ca4529ac3a Added null checks and try catch blocks to two callbacks in InventoryManager
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1016 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-28 04:40: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
Michael Cortez
1307675a51 Use a different packet when moving inventory.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1014 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-28 02:19:35 +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
93a82a327d AgentThrottle packets are sent by default upon connection to each new sim by default, disable with Settings.SEND_THROTTLE
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1012 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-27 23:45:21 +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
0b04f815a6 * Moved the Caps class to a separate file
* Numerous CAPS reliability fixes as well as some restructuring
* Renamed Client.Settings.SEND_AGENTUPDATES to SEND_AGENT_UPDATES

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1010 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-27 05:34:52 +00:00
Michael Cortez
d299921930 Get rid of console.writeline debug... oops
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1009 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-24 00:20:11 +00:00
Michael Cortez
f341e1e42c Make InventoryManager be slightly more thread smart about downloading folder contents. TODO: Should put locks around all folder accessors to prevent enumerators from blowing up by other threads modifying the contents of a folder while enumerating...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1008 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-24 00:17:42 +00:00
Michael Cortez
8881081f01 Add the InventoryType enum to the main trunk inventory manager
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1007 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-23 21:59:56 +00:00
John Hurliman
f3b34812ac * Fixed a few compile errors introduced in the last commit
* Added Settings.SEND_AGENTUPDATES and Settings.AGENT_UPDATE_INTERVAL, AgentUpdate packets are automatically sent by default now

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1006 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-23 21:26:08 +00:00
John Hurliman
c0fc4fa266 * Added untested bit packing support to BitPack, needs a unit test to verify it
* Moved CoarseLocationUpdate handling to GridManager, each sim now has a list of vectors defining avatar positions inside that sim
* Fixed a bug where CoarseLocationUpdate packets were overwriting the actual relative position of the avatar when seated
* Fixed a CAPS bug in the new async code

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1005 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-23 11:51:38 +00:00
John Hurliman
e1157504ac * BakeLayer.FinalData is public now
* Added baked texture uploading support to Utilities.AppearanceManager

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1004 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-23 02:23:30 +00:00
Michael Cortez
636a13f997 Recursive inventory download was queuing up child folders, but not downloading them. [Fixed]
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1003 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-22 23:59:39 +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
Michael Cortez
2896d33f8b If the first lock doesn't succeed... lock, lock, and lock again?
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@999 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-22 00:09:45 +00:00
Michael Cortez
cac1790e06 InventorySystem: Don't we all just love race conditions... Two more locks. One is probably overly aggressive -- if it effects performance when downloading inventory, it can be locked down a little better.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@998 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-21 23:55:36 +00:00
Michael Cortez
b709575376 Inventory Manager: Add a lock in case multiple items are received very quickly, which could cause a collection to be modified while enumerating it.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@997 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-21 21:45:56 +00:00
Michael Cortez
018b2da28e Make creating new folders and receiving item event, slightly more robust.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@996 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-21 21:37:37 +00:00
John Hurliman
8b8bdf4d83 Fixed a typo in the NAnt build file
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@995 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-20 03:33:35 +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
b313606c98 Removing deprecated attributes from the nant build files
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@991 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-17 01:48:19 +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
c2728e392d Fixed a bug parsing byte fields in to hex dump strings
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@989 52acb1d6-8a22-11de-b505-999d5b087335
2007-02-17 01:15:43 +00:00