Commit Graph

56 Commits

Author SHA1 Message Date
bushing
186995206a reverted r826 per SMS
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@827 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-09 08:35:36 +00:00
John Hurliman
ddda42532b Cleaned up MainAvatar.InstantMessageDialog some more (feel free to replace the Unknown tags with your own, non-copy-pasted knowledge)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@826 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-09 08:08:19 +00:00
otakup0pe
e7d0512267 Cleaned up InstantMessageDialog enum
Added FieldToFilteredString to Helpers.cs and setup ChatHandler in MainAvatar.cs to make use of it. This is just a hack around lack of unicode support for now.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@821 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-09 06:42:15 +00:00
John Hurliman
f114e1f151 Initial check-in of DirectoryManager that will handle all directory searches. Classifieds are currently supported but untested
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@813 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-07 11:01:59 +00:00
John Hurliman
b3fc7de42f * Moved several stranded delegates and enums inside parent classes
* Updated the various clients to reflect the moved delegates and enums
* Redid Avatar, AvatarManager, and MainAvatar almost from the ground up
* Moved the avatar caching to AvatarTracker in libsecondlife.Utilities, AvatarManager only does lookups now
* Added support for fuzzy avatar searching through the Picker packets (alternative to directory searches)
* Added a unit test for AvatarTracker.GetAvatarName()
* Removed unused references from SLProxy
* Whitespace reformatting in ImageManager
* Renamed Tests.cs to NetworkTests.cs to reflect its contents properly

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@754 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-22 15:28:33 +00:00
Michael Cortez
b686cebf3d Begining major rework of Asset/Inventory code. Doing a lot of refectoing. What's in here so far?
+ Inventory, Asset and Image managers are now directly apart of the SecondLife class
+ Root Inventory folder has been added to MainAvatar and is set upon login
+ Inventory is no longer downloaded all at once, you have to request the download of individual folders
+ Folder downloading is available Asynchronously, and returns a object that has a ManualResetEvent that you can use to optionally block with
+ The code for AssetManager has been reworked some in prep for allowing Wearables to be Saved/Loaded to/from disk, and for creating new wearables.


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@742 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-19 23:13:04 +00:00
lonecoder
fd1e5d6091 Reverted TestClient using AvatarManager for it's avatar list.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@740 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-19 04:16:34 +00:00
lonecoder
acc8ff8eb5 Reworked how TestClient handles multiple logins.
Made TestClient descend from SecondLife.
Exposed the list of Avatars in AvatarManager, because I thought it was doing the same thing as TestClient.Avatars.  I'm no not so convinced of this and will probably revert the changes tomorrow.
Added EchoMaster command as an example of a bot that responds to chat messages.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@728 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-16 09:07:28 +00:00
John Hurliman
28670e09fe Added a Settings class
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@711 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-11 12:46:58 +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
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