Commit Graph

32 Commits

Author SHA1 Message Date
Michael Cortez
6172cd5862 And the mallet strikes again... The Inventory stuff should all be merged in, and the Unknown Packet warning now also includes info on the packet that generated the warning.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@159 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-14 20:11:58 +00:00
axial
7e3f1cb326 libsl-cs: Added support for zerodecoding just the command ID.
SLProxy: various fixes

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@123 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-06 10:56:35 +00:00
axial
4ba6932a6e PacketBuilder: fixed endianness bug in variable field count
SLProxy: fixed sequence tracking bug (thanks bushing)
SLProxy: zerodecoded packets are now copied before being passed to delegates
PacketUtility: removed StringToVariable and VariableToString

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@121 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-06 03:51:21 +00:00
axial
8ed8eaba36 Eliminated extra allocation in Packet.
SLProxy's build script now cleans when libsl-cs is rebuilt.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@118 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-04 22:32:15 +00:00
axial
2ce2da08ff Optimizing SLProxy - fast path for unencoded boring packets
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@115 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-04 14:08:29 +00:00
John Hurliman
536ec5fbb7 * BuildPacket was using an undersized buffer
* Quick fix to update chat packets to protocol changes, a more thorough update is needed here

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@99 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-28 05:43:47 +00:00
axial
9c4f47aa00 Fixed alignment of hexdumps in Packet.ToString().
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@88 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-25 22:00:41 +00:00
axial
743c46a241 SLProxy: fixed handling of zerocoded packets (fixes goto 4)
SLProxy: using a variant of Packet.Blocks that zeroes outs fields after a goto 5 rather than stopping
libsl/Packet: improved error reporting in Packet.Blocks
libsl/examples: updated client versions (I needed something to test the patch with!)


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@86 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-25 16:17:41 +00:00
axial
410ec46fcf Fixed application of patch #572 (Asymmetry in Packet.cs)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@77 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-24 06:47:58 +00:00
John Hurliman
3113698d05 Committed patches #571, #572, #573. Fixes for big endian platforms and IPADDR/IPPORT fields
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@75 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-24 06:21:58 +00:00
John Hurliman
0b101e6157 Syncing my source tree to svn
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@54 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-13 03:49:40 +00:00
John Hurliman
6f5afe3eba * New callback registration system, updated the library and examples to reflect changes
* Fixes in BuildPacket for typecasting
* 255 character limit fix in BuildPacket

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@48 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-11 18:42:58 +00:00
John Hurliman
56e55a0798 * Moved packet helpers in to a separate directory, a separate namespace, and separate categories. Updated the rest of the library and name2key to reflect the changes
* Added Inventory class skeleton
* Added UpdateInventoryItem packet helper
* Removed CRC proof of concept from sldump
* Numerous miscellaneous updates (sorry!)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@46 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-09 22:18:58 +00:00
John Hurliman
c27f354403 * InstantMessage helper renamed to match the packet ImprovedInstantMessage. Now takes a byte array instead of a string for BinaryBucket
* Avatar has another InstantMessage function that allows full parameters to be specified, including the BinaryBucket. A simplified overload is maintained

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@45 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-08 02:20:46 +00:00
John Hurliman
06b943078a * Helper function to convert byte arrays to strings
* DirFindQuery helper added
* name2key updated to use the new DirFindQuery

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@44 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-08 01:38:36 +00:00
John Hurliman
26ba4f0a91 * Fixed a typo in the ImprovedInstantMessage handler
* Added packet helpers for FetchInventoryDescendents and RequestInventoryAsset
* Added a fourth parameter to BuildPacket(); byte flags, allowing the flags to be set for a packet during construction
* Modified all the packet helper routines and slaccountant to use the new BuildPacket() routine

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@43 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-07 22:44:28 +00:00
John Hurliman
1071f3d07c Added missing parentheses in the endian patch to GetField
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@42 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-05 21:20:36 +00:00
John Hurliman
cfad42b0b7 * Applied most of the big endian patch (still need to look at floating point and 64-bit integers)
* Replaced hard-coded packet construction with BuildPacket helper methods

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@41 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-05 19:48:53 +00:00
John Hurliman
b4accdddfc * Added JSON library to parse LLSD fields in the login reply
* Added fields in Avatar to hold the parsed data from login
* CoarseLocationUpdate packets handled internally
* Added Network.LoginValues hashtable, removed second parameter from .Login()
* Updated examples to reflect LoginValues / Login() change

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@39 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-01 03:42:53 +00:00
John Hurliman
e700b207d1 Added chat and IM functionality
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@34 52acb1d6-8a22-11de-b505-999d5b087335
2006-06-27 04:36:53 +00:00
John Hurliman
1a74510ac9 * Added Region class to track region information
* Parcel overlays are tracked per region
* New sim connections reuse the original circuit code
* Teleporting is functional

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@32 52acb1d6-8a22-11de-b505-999d5b087335
2006-06-21 07:39:08 +00:00
John Hurliman
8dfb2970fa * Agent ID is stored in MainAvatar as well now
* FirstName and LastName are stored in MainAvatar at login
* Fixed a BuildPacket bug where it tried to typecast a string to a byte[]

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@31 52acb1d6-8a22-11de-b505-999d5b087335
2006-06-17 05:22:28 +00:00
John Hurliman
0c65934080 * Upped the login timeout from 8 seconds to 15
* BuildPacket is complete, currently using it for CompleteAgentMovement

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@30 52acb1d6-8a22-11de-b505-999d5b087335
2006-06-17 02:18:30 +00:00
John Hurliman
4a9007b2d6 * Exception on logout should be fixed, still need more testing with multiple sim connections
* BuildPacket progress
* New LLUUID functions to generate random UUIDs

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@29 52acb1d6-8a22-11de-b505-999d5b087335
2006-06-16 22:11:20 +00:00
John Hurliman
bd6b891245 Better incoming packet tracking for debugging and to avoid firing callbacks twice
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@28 52acb1d6-8a22-11de-b505-999d5b087335
2006-06-15 23:55:00 +00:00
John Hurliman
8c93fea4a2 * Appended ACKs no longer overwrite packet data
* Basic teleporting support
* Fixed LLUUID comparison operators
* Added packet flags and sequence number output to sldump

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@27 52acb1d6-8a22-11de-b505-999d5b087335
2006-06-15 21:42:41 +00:00
John Hurliman
82161a8518 * Using XmlRpcCS for login now
* Properly handle the Fixed field type in Packet.Blocks()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@25 52acb1d6-8a22-11de-b505-999d5b087335
2006-06-14 20:50:09 +00:00
John Hurliman
a8ce4b327f * Added ProtocolManager.DecodeMapFile()
* Parcel and ParcelManager high-level classes
* Avatar high-level class

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@23 52acb1d6-8a22-11de-b505-999d5b087335
2006-06-14 18:27:19 +00:00
John Hurliman
9c32a490a0 * Internal callback mechanism, user callback hashtable is now UserCallbacks
* Moved some of the packet receiving logic in to internal callbacks
* Fixed HORRIBLE threading race condition with Circuit.Buffer[]

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@22 52acb1d6-8a22-11de-b505-999d5b087335
2006-06-13 07:15:38 +00:00
John Hurliman
a25be7e467 * Added name2key example program
* Basic Logout() function
* Proper functions for halting and closing Circuits
* Infinite bugfixes
* Threw a cert file in the bin directory in case anyone wants to make the SSL auth work properly

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@21 52acb1d6-8a22-11de-b505-999d5b087335
2006-06-12 01:47:53 +00:00
John Hurliman
b186f0312b Circuits should be functional enough for general use now. Some of the highlights include:
* Thread synchronization, mutexes on all shared lists
* Tracks outgoing reliable packets and incoming ACKs (PacketAcks and appended ACKs)
* Can send independent PacketAck datagrams or append ACKs to outgoing packets
* Simplified the Packet class to use a byte[] array for data instead of an ArrayList. Now requires a packet length during initialization

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@20 52acb1d6-8a22-11de-b505-999d5b087335
2006-06-10 20:11:21 +00:00
John Hurliman
f31d44be06 Initial import of the C# fork
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@19 52acb1d6-8a22-11de-b505-999d5b087335
2006-06-08 14:49:17 +00:00