Commit Graph

47 Commits

Author SHA1 Message Date
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
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
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
c7179c17ac Separated Helpers in to it's own code file
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@525 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-07 22:36:58 +00:00
John Hurliman
7e21d49311 Moved the MD5 hashing to the Helpers class
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@524 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-07 21:42:39 +00:00
Michael Cortez
eeec4c24f8 + RequestImage now blocks by using signals via ManualResetEvent.WaitOne()
+ Added ImageManager to SecondLife / is only initialized on first use
+ Updated async callbacks for ImageRequestAsync to include Status Message
+ Updated GroupManager to use ImageManager via Client.Images.*

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@496 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-03 20:42:37 +00:00
John Hurliman
1463df36dd * Added addition overload to LLVector3
* Added multiplication overload to LLQuaternion
* Basic tree/foliage detection in ObjectManager
* Updated primexport to bring it up to speed with sceneviewer
* Implemented the logging callback in SecondLife, and added LogLevel.Debug

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@467 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-02 12:40:44 +00:00
John Hurliman
d71f44c55f Removed all the trailing residue from the mutexes, fixed a Logout bug with closing the sim socket
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@395 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-25 21:22:18 +00:00
John Hurliman
9830bf85e4 On a mad coding spree.
* Implemented AvatarManager, added the async functions
* Rebuilt the key2name functionality
* Fixed and cleaned up a lot of the teleporting code
* More functions implemented in GroupManager
* Renamed SecondLife.Avatar to SecondLife.Self
* Updated the groupmanager example to list group members
* Renamed Form1.cs to AnimationSample.cs

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@386 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-24 11:16:26 +00:00
mindtriggerz
837aba90c4 Avatar.cs: Added additional fields for the forthcoming AvatarManager
SecondLife.cs: fixed exception with key2name handler (you need to check and see if things are in the Dictionary before you mess with them)


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@382 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-24 03:41:52 +00:00
tkimball
a72f16d157 * Fill out comments for GridManager.cs and SecondLife.cs
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@365 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-21 07:38:06 +00:00
John Hurliman
59edffffe7 Converted libsecondlife to .NET 2.0, using generic containers exclusively
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@362 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-21 05:53:58 +00:00
bushing
4fa67d3b35 svn:eol-style native is your friend
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@360 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-21 02:52:28 +00:00
John Hurliman
c3441fe1ab Changed up the logging a bit. DebugLog() is used for noisy and/or debug messages, which will not be compiled in without DEBUG set. bool SecondLife.Debug can turn it off as well. An event was added to SecondLife for both Log and DebugLog messages. Slight cleanups in Parcel.cs as well
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@351 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-21 00:28:48 +00:00
John Hurliman
3238049bc6 * Got rid of SecondLife.CurrentRegion (use SecondLife.Network.CurrentSim.Region instead)
* Initial framework for groups support
* Fixed Logout() issues with freezing or throwing exceptions
* slaccountant small cleanup (still doesn't run under .NET 2.0)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@338 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-19 08:37:46 +00:00
John Hurliman
1477bcbaa0 Fixed the colon-in-strings bug that was introduced a few commits back
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@328 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-18 07:24:11 +00:00
John Hurliman
1fddea1a7f Added a LongToUInts() function to reverse UIntsToLong()
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@320 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-17 08:43:30 +00:00
John Hurliman
d9dc4edd44 * Fixed the ToString() output for packets with byte array fields
* Implemented and tested the OnBalanceUpdated event
* Created a SendInitialPackets() function and commented our current knowledge of the login packets
* CurrentRegion.Handle is now set at login
* Moved the README.Mono file to README.txt and added a bit more information
* Fixed the sldump example to use the 1,50,50,50 version number
* Generated an updated _Packets_.cs file

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@319 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-17 08:21:37 +00:00
bushing
2c9080561c It's Party Time\! (r213:HEAD)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@279 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-14 05:13:39 +00:00
John Hurliman
577f4f6c1a Upgrading all the project files, updating keywords.txt/message_template.msg, removing unused files
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@231 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-30 00:19:01 +00:00
John Hurliman
3b729fb028 Some progress on the ObjectManager, ImprovedTerseObjectUpdate is parsed now and ObjectUpdate is mostly parsed, the delegates still need to be finalized and called
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@175 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-08 08:10:43 +00:00
John Hurliman
bf19f1bc2a * Fixed SecondLife.GetAgentDetails to prevent it from registering multiple callbacks
* Added code documentation skeletons in SecondLife.cs
* Removed Helpers.Log and replaced it with SecondLife.Log that is silent if SecondLife.Debug = false;
* Removed logging from ProtocolManager.cs where an exception was also being thrown
* Replaced logging in the FieldToString method with a sensible return value on error
* Replaced Packet.Blocks() logging with an ugly hack for now
* Replaced most logging with exception throwing to prevent broken apps from breaking further
* Formatting fixes for some of the files

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@173 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-07 03:39:23 +00:00
bushing
822ac760bb fix for Dequantize 'cuz JH broke the build. :P
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@170 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-05 18:45:11 +00:00
John Hurliman
b64f1a820d Initial outline for object (prim and avatar) support
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@169 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-04 19:52:14 +00:00
John Hurliman
c2c94839c6 Accidentally removed ZeroDecodeCommand in the last commit, adding it back
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@129 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-08 04:39:27 +00:00
John Hurliman
d88c8d5bac Committing Adam's parcel patches, added a new example project for parcels and updated the solution file
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@128 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-08 03:58:42 +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
John Hurliman
78821709a1 Fixed small typo in the Zerodecoding padding hack
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@97 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-28 03:00:25 +00:00
axial
812c6a2f66 Moved ZeroDecode truncation hack no longer corrupts appended ACKs
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@96 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-28 02:48:39 +00:00
John Hurliman
61670a1e4a ZeroDecoding hack to handle truncated packets
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@95 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-27 10:23:39 +00:00
John Hurliman
cf22407674 Removed the Circuit class and replaced it with the Simulator class
* Region information is linked to simulators and track per sim
* Region information can be gleaned in callbacks now
* Parcel overlay handling is also done per sim
* Packets should be sent to the proper sim now
* Zerodecoding and appended ACK handling hopefully play nicely together
* Login timeout has been simplified, Simulator uses no timers
* Disconnect (from a sim) is currently broken at the NetworkManager level
* Periodic ACK sending and ACK appending is currently disabled

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@90 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-26 05:34:48 +00:00
axial
341f26d00e Helpers.ZeroEncode and Helpers.ZeroDecode no longer clobber appended ACKs
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@85 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-25 12:45:21 +00:00
John Hurliman
28032f80e5 Added Adam's parcel overlay parsing functions and a few bugfixes to parcel overlay parsing
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@71 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-23 05:43:33 +00:00
John Hurliman
454667daf2 Committed Adam's friend online/offline notification patch
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@69 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-21 22:24:36 +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
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
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
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
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